Subject: toolchain/25022: 'cleandir' for cross-build on FreeBSD host for mvme68k failed: read-only src
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 04/02/2004 12:33:05
>Number: 25022
>Category: toolchain
>Synopsis: 'cleandir' for cross-build on FreeBSD host for mvme68k failed: read-only src tree
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Apr 02 10:34:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: FreeBSD 4.9-STABLE
>Organization:
>Environment:
System: FreeBSD 4.9-STABLE
Architecture: i386
Machine: i386
>Description:
cross-building of NetBSD/mvme68k on a FreeBSD/i386 machine failed after
successfully built 'tools', in 'cleandir' part of 'distribution' (well,
it's actually 'build' part of 'distribution') target:
===> build.sh command: ./build.sh -O /www/src/obj -T /www/src/tools -D /www/src/dest -R /www/src/release -U -m mvme68k distribution
===> build.sh started: Fri Apr 2 12:00:31 CEST 2004
===> MACHINE: mvme68k
===> MACHINE_ARCH: m68k
===> TOOLDIR path: /www/src/tools
===> DESTDIR path: /www/src/dest
===> RELEASEDIR path: /www/src/release
===> makewrapper: /www/src/tools/bin/nbmake-mvme68k
===> Updated /www/src/tools/bin/nbmake-mvme68k
(cd /www/src/NetBSD/src && /www/src/tools/bin/nbmake NOPOSTINSTALL=1 build)
Build started at: Fri Apr 2 12:00:33 CEST 2004
...
cleandir ===> gnu/usr.bin/binutils/ld
rm -f ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o em68kelfnbsd.o em68knbsd.o em68k4knbsd.o ldgram.ln ldlex.ln lexsup.ln ldlang.ln mri.ln ldctor.ln ldmain.ln ldwrite.ln ldexp.ln ldemul.ln ldver.ln ldmisc.ln ldfile.ln ldcref.ln em68kelfnbsd.ln em68knbsd.ln em68k4knbsd.ln
rm -f .depend.m68kelfnbsd em68kelfnbsd.c .depend.m68knbsd em68knbsd.c .depend.m68k4knbsd em68k4knbsd.c ld.info
rm -rf ldscripts
rm: ldscripts: Read-only file system
*** Failed target: __cleanldscripts
*** Failed command: rm -rf ldscripts
*** Error code 1
Stop.
nbmake: stopped in /www/src/NetBSD/src/gnu/usr.bin/binutils/ld
*** Failed target: cleandir-ld
*** Failed command: targ=cleandir;dir=ld; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /www/src/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> gnu/usr.bin/binutils/$dir"; cd "/www/src/NetBSD/src/gnu/usr.bin/binutils/$dir"; /www/src/tools/bin/nbmake "_THISDIR_=gnu/usr.bin/binutils/$dir/" $targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /www/src/NetBSD/src/gnu/usr.bin/binutils
*** Failed target: cleandir-binutils
*** Failed command: targ=cleandir;dir=binutils; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /www/src/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> gnu/usr.bin/$dir"; cd "/www/src/NetBSD/src/gnu/usr.bin/$dir"; /www/src/tools/bin/nbmake "_THISDIR_=gnu/usr.bin/$dir/" $targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /www/src/NetBSD/src/gnu/usr.bin
*** Failed target: cleandir-usr.bin
*** Failed command: targ=cleandir;dir=usr.bin; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /www/src/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> gnu/$dir"; cd "/www/src/NetBSD/src/gnu/$dir"; /www/src/tools/bin/nbmake "_THISDIR_=gnu/$dir/" $targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /www/src/NetBSD/src/gnu
*** Failed target: cleandir-gnu
*** Failed command: targ=cleandir;dir=gnu; case "$dir" in /*) echo "$targ ===> $dir"; cd "$dir"; /www/src/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; *) echo "$targ ===> $dir"; cd "/www/src/NetBSD/src/$dir"; /www/src/tools/bin/nbmake "_THISDIR_=$dir/" $targ; ;; esac
*** Error code 1
Stop.
nbmake: stopped in /www/src/NetBSD/src
*** Failed target: build
*** Failed command: (cd /www/src/NetBSD/src && /www/src/tools/bin/nbmake cleandir)
*** Error code 1
Stop.
nbmake: stopped in /www/src/NetBSD/src
*** Failed target: distribution
*** Failed command: (cd /www/src/NetBSD/src && /www/src/tools/bin/nbmake NOPOSTINSTALL=1 build)
*** Error code 1
Stop.
nbmake: stopped in /www/src/NetBSD/src
ERROR: Failed to make distribution
*** BUILD ABORTED ***
>How-To-Repeat:
mount src/ read-only (nfs in my case) on a FreeBSD(?) host,
run /build.sh build (or distribution),
see it fail in 'cleandir' complaining about read-only tree
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: