NetBSD-Bugs archive

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

port-i386/51358: /usr/bin/cvs fakes file permissions



>Number:         51358
>Category:       port-i386
>Synopsis:       /usr/bin/cvs fakes file permissions
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 25 15:10:00 +0000 2016
>Originator:     Richard PALO
>Release:        NetBSD 7.0.1 (GENERIC.201605221355Z) i386
>Organization:
>Environment:
>Description:
after freshly installing 7.0.1 i386 on a laptop,
I did a cvs checkout of the pkgsrc current tree.

noticed when hitting the first gnu-configure package
that the mk/gnu-config directory has the following:
> bash-4.3$ ls  -la /usr/pkgsrc/mk/gnu-config/
> total 256
> drwxr-xr-x   3 richard  wheel    512 Jul 25 14:57 .
> drwxr-xr-x  32 richard  wheel   2560 Jul 25 14:14 ..
> drwxr-xr-x   2 richard  wheel    512 Jul 25 14:57 CVS
> -rw-r--r--   1 richard  wheel  43423 Jul 25 14:57 config.guess
> -rw-r--r--   1 richard  wheel  36087 Jul 25 14:57 config.sub
> -rw-r--r--   1 richard  wheel  29308 Jul 25 14:57 libtool-1.4.m4
> -rw-r--r--   1 richard  wheel  10179 Jul 25 14:57 missing

which caused the following when building the first gnu package:
> --- ./configure ---
> CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/pkgsrc/x11/xproto/work/xproto-7.0.29/missing autoconf
> --- ./do-not-use-config.h.in ---
> /tmp/pkgsrc/x11/xproto/work/.tools/bin/autoheader: /usr/pkgsrc/mk/gnu-config/missing: permission denied
> *** [./do-not-use-config.h.in] Error code 126
>
> make: stopped in /tmp/pkgsrc/x11/xproto/work/xproto-7.0.29


To compare, on SunOS the cvs directory above comes out as follows:
>richard@omnis:/home/richard/src/pkgsrc/mk/gnu-config$ ls -l
>total 149
>-rwxr-xr-x   1 richard  staff      43423 juin  9  2015 config.guess*
>-rwxr-xr-x   1 richard  staff      36087 juin  9  2015 config.sub*
>drwxr-xr-x   2 richard  staff          6 juil. 24 10:52 CVS/
>-rw-r--r--   1 richard  staff      29308 févr. 20  2004 libtool-1.4.m4
>-rwxr-xr-x   1 richard  staff      10179 oct.  1  2013 missing*


>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index