pkgsrc-Bugs archive

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

pkg/33419: clisp pkg does not build if you aren't root



>Number:         33419
>Category:       pkg
>Synopsis:       clisp pkg does not build if you aren't root
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 03 15:05:00 +0000 2006
>Originator:     Perry E. Metzger
>Release:        NetBSD 3.99.18
>Organization:
Perry E. Metzger                perry%piermont.com@localhost
--
"Ask not what your country can force other people to do for you..."
>Environment:
        
        
System: NetBSD hackworth 3.99.18 NetBSD 3.99.18 (HACKWORTH) #0: Thu Apr 27 
15:04:36 EDT 2006 perry@hackworth:/usr/src/sys/arch/i386/compile/HACKWORTH i386
Architecture: i386
Machine: i386
>Description:
        Try to build /usr/pkgsrc/lang/clisp without being root.
        Discover that the pkg has an "install" during the build that
wants to chown something, thus crashing the build:

[...]
cd lib && make all
cd lib && make install-lib 
libdir='/usr/pkgsrc/lang/clisp/work.hackworth/clisp-2.38/src' 
includedir='/usr/pkgsrc/lang/clisp/work.hackworth/clisp-2.38/src'
/bin/sh ../../../libcharset/build-aux/mkinstalldirs 
/usr/pkgsrc/lang/clisp/work.hackworth/clisp-2.38/src
/bin/sh ../libtool --mode=install /usr/bin/install -c -o root -g wheel -m 444 
libcharset.la /usr/pkgsrc/lang/clisp/work.hackworth/clisp-2.38/src/libcharset.la
/usr/bin/install -c -o root -g wheel -m 444 .libs/libcharset.so.1.0.0 
/usr/pkgsrc/lang/clisp/work.hackworth/clisp-2.38/src/libcharset.so.1.0.0
install: 
/usr/pkgsrc/lang/clisp/work.hackworth/clisp-2.38/src/libcharset.so.1.0.0: 
chown/chgrp: Operation not permitted
*** Error code 1

Stop.
make: stopped in 
/usr/pkgsrc/lang/clisp/work.hackworth/clisp-2.38/src/libcharset/lib
*** Error code 1
[...]

>How-To-Repeat:
        as a non-root user, "cd /usr/pkgsrc/lang/clisp && make"
>Fix:
        The obvious thing to do is to add a patch to remove the privs
        from the interim install being done here. Also, the developers
        of the package should probably be informed that this is not a
        good way to do this.

>Unformatted:
        
        



Home | Main Index | Thread Index | Old Index