pkgsrc-Bugs archive

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

pkg/44691: lang/erlang doesn't build with PKG_DEVELOPER and umask 077



>Number:         44691
>Category:       pkg
>Synopsis:       lang/erlang doesn't build with PKG_DEVELOPER and umask 077
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 06 22:50:03 +0000 2011
>Originator:     David A. Holland
>Release:        NetBSD 5.99.29, pkgsrc 20110306
>Organization:
>Environment:
System: NetBSD valkyrie 5.99.29 NetBSD 5.99.29 (VALKYRIE) #1: Sat May 29 
23:00:44 EDT 2010  dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE 
amd64
Architecture: x86_64
Machine: amd64
>Description:

With PKG_DEVELOPER set, building erlang croaks checking file permissions:

 => Checking file permissions in erlang-13.2.3nb4
 warning: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/observer-0.9.8.1/priv/bin/etop.bat:
 executable bit is set on non-executable file.
 warning: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/observer-0.9.8.1/priv/bin/getop.bat:
 executable bit is set on non-executable file.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/ebin:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/client:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/erlangCA:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/erlangCA/newcerts:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/erlangCA/private:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/otpCA:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/otpCA/newcerts:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/otpCA/private:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/etc/server:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/rnd:
 inconsistent group permissions (r--) for directory.
 error: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/ssl-3.10.7/examples/certs/src:
 inconsistent group permissions (r--) for directory.
 warning: 
/usr/pkgsrc/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/webtool-0.8.5/priv/bin/start_webtool.bat:
 executable bit is set on non-executable file.
 13 errors and 3 warnings.
 *** Error code 1

>How-To-Repeat:

as above

>Fix:

The directories are coming out mode 740, which with a umask of 077
requires explicit chmod, so all someone needs to do is figure out
where...



Home | Main Index | Thread Index | Old Index