pkgsrc-Bugs archive

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

pkg/44425: devel/lua-alt-getopt install problem



>Number:         44425
>Category:       pkg
>Synopsis:       devel/lua-alt-getopt install problem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 20 10:55:00 +0000 2011
>Originator:     Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
>Release:        NetBSD 5.1_RC4
>Organization:
-- 
     The ASCII Ribbon Campaign                    Hauke Fath
()     No HTML/RTF in email             Institut für Nachrichtentechnik
/\     No Word docs in email                     TU Darmstadt
     Respect for open standards              Ruf +49-6151-16-3281
>Environment:
        
        
System: NetBSD Gstoder 5.1_RC4 NetBSD 5.1_RC4 (ATALK) #0: Thu Sep 30 15:22:21 
CEST 2010 
hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/ATALK i386
Architecture: i386
Machine: i386
>Description:

        On a NIS client, building the package from an unprivileged
        account, installation fails with

[...]
===> Installing for lua-alt-getopt-0.7.0
=> Generating pre-install file lists
=> Creating installation directories
#   install  
/var/obj/pkgsrc/devel/lua-alt-getopt/work/.destdir/usr/pkg/share/lua/5.1/alt_getopt.lua
/usr/bin/install  -N /amd/hochstuhl/public/netbsd-developer/etc -c  -r  -o hf  
-g spgmit  -m 644   alt_getopt.lua /var/obj/pkgsrc/devel/lua-alt-getopt/
work/.destdir/usr/pkg/share/lua/5.1/alt_getopt.lua
install: unknown group spgmit
*** Error code 1

Stop.
make: stopped in /var/obj/pkgsrc/devel/lua-alt-getopt/work/lua-alt-getopt-0.7.0
*** Error code 1

        This is because the package's Makefile imports <bsd.prog.mk>
        which points install(8) to the NetBSD src/etc/{group,passwd}
        if it figures it is run from within the src tree. For a
        similar case, see PR 44415.

>How-To-Repeat:

        Build the package on a NIS client under an unprivileged
        account with the NetBSD src tree present.

>Fix:
        Similar to PR 44415, a workaround could be to let
        devel/lua-alt-getopt/Makefile handle installation via
        "do-install:" target.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index