NetBSD-Bugs archive

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

misc/46182: Sources from src.tgz do not build



>Number:         46182
>Category:       misc
>Synopsis:       Sources from src.tgz do not build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 12 20:15:00 +0000 2012
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current
>Organization:
>Environment:
System: NetBSD
Architecture: i386
Machine: i386
>Description:

If I do a "build.sh release" using sources extracted from source sets like
http://nyftp.netbsd.org/pub/NetBSD-daily/HEAD/201203091940Z/source/sets/src.tgz
instead of sources directly checked out from CVS, the build fails:

    Making install in doc
    test -z "/usr/src/obj/tooldir.NetBSD-6.99.3-i386/share/info" || 
/usr/src/tools/gmp/../../external/lgpl3/gmp/dist/install-sh -c -d 
"/usr/src/obj/tooldir.NetBSD-6.99.3-i386/share/info"
    sh: /usr/src/tools/gmp/../../external/lgpl3/gmp/dist/install-sh: permission 
denied

Looks like the install-sh script is lacking execute permissions:

  $ zcat src.tgz | tar tfv - | grep gmp/dist/install-sh
  -rw-rw-r--  1 root     wsrc        9505 Jun 20  2011 
usr/src/external/lgpl3/gmp/dist/install-sh

The same script in a source tree checked out from CVS does have
execute permissions.

>How-To-Repeat:

See above.

>Fix:



Home | Main Index | Thread Index | Old Index