Current-Users archive

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

non-executable script after netbsd-6 to -current update causes tool build failure.



I made a copy of my netbsd-6-tagged source tree using 'pax -rwpe foo bar'.
I then updated the copy to HEAD with 'cvs update -A'.

A subsequent build attempt failed with:

[...]
nbgmake[2]: Entering directory 
`/d0/build/current/obj/i386/tools/gcc/build/lto-plugin'
test -z "/d0/build/current/tools/i386/libexec/gcc/i486--netbsdelf/4.8.3" || 
/d0/nbsd/current/src/tools/gcc/../../external/gpl3/gcc/dist/lto-plugin/../install-sh
 -c -d "/d0/build/current/tools/i386/libexec/gcc/i486--netbsdelf/4.8.3"
nbgmake[2]: Nothing to be done for `install-data-am'.
sh: 
/d0/nbsd/current/src/tools/gcc/../../external/gpl3/gcc/dist/lto-plugin/../install-sh:
 permission denied
nbgmake[2]: *** [install-libexecsubLTLIBRARIES] Error 126
nbgmake[2]: Leaving directory 
`/d0/build/current/obj/i386/tools/gcc/build/lto-plugin'
nbgmake[1]: *** [install-am] Error 2
nbgmake[1]: Leaving directory 
`/d0/build/current/obj/i386/tools/gcc/build/lto-plugin'
nbgmake: *** [install-lto-plugin] Error 2
[...]

$ ls -l 
/d0/nbsd/current/src/tools/gcc/../../external/gpl3/gcc/dist/lto-plugin/../install-sh
-rw-rw-r--  1 sysop  wsrc  13663 Jun 20  2011 
/d0/nbsd/current/src/tools/gcc/../../external/gpl3/gcc/dist/lto-plugin/../install-sh

Is this another instance where a script should be run by explicit shell
invocation?

Strangely, I used this same copy-update procedure on two other systems and
did not encounter this problem on either of them.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index