NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/45410: build-sh tool build fails with read-only sources
>Number: 45410
>Category: toolchain
>Synopsis: build-sh tool build fails with read-only sources
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Sep 28 12:25:00 +0000 2011
>Originator: Hauke Fath
>Release: NetBSD 5.1_STABLE
>Organization:
>Environment:
System: NetBSD Hochstuhl 5.1_STABLE NetBSD 5.1_STABLE (GENERIC) #0: Mon Dec 6
15:19:02 CET 2010
hf@Hochstuhl:/var/obj/netbsd-builds/5/i386/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
For a couple of days, a 'build.sh tools' has failed with a
read-only source tree, because something tries to mv(1) an
existing directory out of the way:
===> build.sh command: ./build.sh -U -r -a sparc -m sparc -O
/var/obj/netbsd-builds/developer/sparc -T /u/netbsd-builds
/developer/sparc/tools tools
===> build.sh started: Wed Sep 28 13:56:00 CEST 2011
===> NetBSD version: 5.99.56
===> MACHINE: sparc
===> MACHINE_ARCH: sparc
===> Build platform: NetBSD 5.1_STABLE i386
===> HOST_SH: /bin/sh
[...]
mv -f .deps/sparc-opc.Tpo .deps/sparc-opc.Plo
/bin/sh ./libtool --tag=CC --mode=link cc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -O -rpath /u/netb
sd-builds/developer/sparc/tools/i386-unknown-netbsdelf5.1./sparc--netbsdelf/lib
-release `cat ../bfd/libtool-soversion`
-o libopcodes.la dis-buf.lo disassemble.lo dis-init.lo sparc-dis.lo
sparc-opc.lo
libtool: link: ar cru .libs/libopcodes.a dis-buf.o disassemble.o dis-init.o
sparc-dis.o sparc-opc.o
libtool: link: ranlib .libs/libopcodes.a
libtool: link: ( cd ".libs" && rm -f "libopcodes.la" && ln -s
"../libopcodes.la" "libopcodes.la" )
libtooldir=`/bin/sh ./libtool --config | sed -n -e 's/^objdir=//p'`; if [ -f
$libtooldir/libopcodes.a ]; then cp $libtoo
ldir/libopcodes.a libopcodes.tmp; ranlib libopcodes.tmp; /bin/sh
/public/netbsd-developer/tools/binutils/../../external/
gpl3/binutils/dist/opcodes/../move-if-change libopcodes.tmp libopcodes.a; else
true; fi
touch stamp-lib
Making all in po
if [ -r sysinfo.c ]; then cc -c -I. -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -O sysinfo.c ; else cc
-c -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -O
/public/netbsd-developer/tools/binutils/../../extern
al/gpl3/binutils/dist/binutils/sysinfo.c ; fi
if [ -r syslex.c ]; then cc -c -I. -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wshadow -O syslex.c ; else cc -c
-I.
-I/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils
-W -Wall -Wstrict-prototypes -Wm
issing-prototypes -Wshadow -O
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/syslex.c
; fi
cc -O -o sysinfo sysinfo.o syslex.o
./sysinfo -d
</public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/sysroff.info
>sysroff.h
Making info in doc
restore=: && backupdir=".am$$" && rm -rf $backupdir && mkdir $backupdir && if
(/u/netbsd-builds/developer/sparc/tools/bin/nbmakeinfo --split-size=5000000
--version) >/dev/null 2>&1; then for f in
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.info
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.info-[0-9]
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.info-[0-9][0-9]
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.i[0-9]
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.i[0-9][0-9];
do if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; done; else
:; fi && if /u/netbsd-builds/developer/sparc/tools/bin/nbmakeinfo
--split-size=5000000 -I
"/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc"!
-I
"/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/../libiberty"
-I
"/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/../bfd/doc"
-I ../../bfd/doc -I
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc
-o
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.info
`test -f 'binutils.texi' | echo
'/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/'`binutils.texi;
then rc=0; else rc=$?; $restore $backupdir/* `echo
".//public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.info"
| sed 's|[^/]*$||'`; fi; rm -rf $backupdir; exit $rc
mv: rename
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.info
to .am5954
/binutils.info: Read-only file system
/public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/binutils.info:
Read-only file system
mv: rename .am5954/* to
.//public/netbsd-developer/tools/binutils/../../external/gpl3/binutils/dist/binutils/doc/:
No such
file or directory
*** Failed target: binutils.info
where BSDSRCDIR is a read-only null mount.
>How-To-Repeat:
build.sh [...] tools on -current sources mounted read-only.
>Fix:
Yes, please.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index