pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41323: [devel/ltsa] installation error



>Number:         41323
>Category:       pkg
>Synopsis:       [devel/ltsa] installation error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 01 16:30:01 +0000 2009
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 5.99.11, pkgsrc-current
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 5.99.11 NetBSD 5.99.11 (MONOLITHIC) #74: Thu 
Apr 30 18:21:56 JST 2009 
root%bonnie.jaist.ac.jp@localhost:/usr/src/sys/arch/i386/compile/MONOLITHIC i386
Architecture: i386
Machine: i386
>Description:
permission error of installed files:

$ make install
===> install-message [ltsa-2.2nb1] ===> Installing for ltsa-2.2nb1
=> Generating pre-install file lists
=> Creating installation directories
/usr/bin/install -c -o root -g wheel -m 555 
/usr/pkgsrc/devel/ltsa/work/ltsa2.2/ltsa.sh /usr/pkg/bin/ltsa
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/lib/ltsa
cd /usr/pkgsrc/devel/ltsa/work/ltsa2.2/lib && pax -rwpppm . /usr/pkg/lib/ltsa
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/doc/ltsa
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/devel/ltsa/work/ltsa2.2/fspv2.pdf /usr/pkg/share/doc/ltsa
/usr/bin/install -c -o root -g wheel -m 444 
/usr/pkgsrc/devel/ltsa/work/ltsa2.2/readme.txt /usr/pkg/share/doc/ltsa
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/examples/ltsa
cd /usr/pkgsrc/devel/ltsa/work/ltsa2.2/examples && pax -rwpppm . 
/usr/pkg/share/examples/ltsa
=> Automatic manual page handling
=> Generating post-install file lists
=> Registering installation for ltsa-2.2nb1
ltsa-2.2nb1 requires installed package openjdk7-bin-20090129nb1
=> Checking file-check results for ltsa-2.2nb1
=> Checking for non-existent script interpreters in ltsa-2.2nb1
=> Checking file permissions in ltsa-2.2nb1
warning: /usr/pkg/lib/ltsa/jel.jar: group-writable file.
error: /usr/pkg/lib/ltsa/jel.jar: world-writable file.
...
error: /usr/pkg/share/examples/ltsa/sceneanimations/xml/window.xml: 
world-writable file.
184 errors and 184 warnings.
*** Error code 1

Stop.
        
>How-To-Repeat:
        
>Fix:
Index: Makefile
===================================================================
RCS file: /usr/cvsup/pkgsrc/devel/ltsa/Makefile,v
retrieving revision 1.9
diff -d -p -u -r1.9 Makefile
--- Makefile    30 Apr 2009 17:11:46 -0000      1.9
+++ Makefile    1 May 2009 16:16:15 -0000
@@ -32,11 +32,13 @@ do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/ltsa.sh ${DESTDIR}${PREFIX}/bin/ltsa
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/ltsa
        cd ${WRKSRC}/lib && pax -rwpppm . ${DESTDIR}${PREFIX}/lib/ltsa
+       ${CHMOD} -R og-w ${DESTDIR}${PREFIX}/lib/ltsa
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/ltsa
        ${INSTALL_DATA} ${WRKSRC}/fspv2.pdf ${DESTDIR}${PREFIX}/share/doc/ltsa
        ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DESTDIR}${PREFIX}/share/doc/ltsa
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/ltsa
        cd ${WRKSRC}/examples && pax -rwpppm . 
${DESTDIR}${PREFIX}/share/examples/ltsa
+       ${CHMOD} -R og-w ${DESTDIR}${PREFIX}/share/examples/ltsa

 .include "../../mk/java-vm.mk"
 .include "../../mk/bsd.pkg.mk"
        



Home | Main Index | Thread Index | Old Index