Subject: Building NetBSD 4.99.2 Broken ... :(
To: None <current-users@netbsd.org>
From: KlinT <klint@klintcentral.net>
List: current-users
Date: 09/20/2006 12:13:06
Hi all,
I'm trying to build NetBSD Current i386 ( Sources Updated this
morning ) and it fails on the BUILD RELEASE ... :(
I'm running 4.99.2 i386 ( 18 Sept 2006 ) / GENERIC.MP kernel on an
Athlon64 X2.
I've the option HAVE_GCC=4 in my MK.CONF
I've found many errors like the following :
------------------------------------------------------------------------
------------------------------------------------------------
i386--netbsdelf-gcc: .: linker input file unused because linking not
done
------------------------------------------------------------------------
------------------------------------------------------------
and then the build process stops :
------------------------------------------------------------------------
------------------------------------------------------------
dependall ===> games/dm
compile msgfmt/msgfmt.o
create dm/dm.d
create dm/utmpentry.d
compile bfd/section.o
create dm/.depend
format dm/dm.cat8
format dm/dm.conf.cat5
compile dm/dm.o
In file included from /sata2/BUILD/src/games/dm/dm.c:61:
/sata2/BUILD/src/usr.bin/who/utmpentry.h:53: error: '_UTX_USERSIZE'
undeclared here (not in a function)
/sata2/BUILD/src/usr.bin/who/utmpentry.h:54: error: '_UTX_LINESIZE'
undeclared here (not in a function)
/sata2/BUILD/src/usr.bin/who/utmpentry.h:55: error: '_UTX_HOSTSIZE'
undeclared here (not in a function)
--- dm.o ---
*** [dm.o] Error code 1
1 error
nbmake: stopped in /sata2/BUILD/src/games/dm
--- dependall ---
*** [dependall] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src/games/dm
--- dependall-dm ---
*** [dependall-dm] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src/games
--- dependall-games ---
*** [dependall-games] Error code 2
A failure has been detected in another branch of the parallel make
nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gdb53/bfd
--- dependall ---
*** [dependall] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gdb53/bfd
--- dependall-bfd ---
*** [dependall-bfd] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gdb53
--- dependall-gdb53 ---
*** [dependall-gdb53] Error code 2
A failure has been detected in another branch of the parallel make
nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gettext/msgfmt
--- dependall ---
*** [dependall] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gettext/msgfmt
--- dependall-msgfmt ---
*** [dependall-msgfmt] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin/gettext
--- dependall-gettext ---
*** [dependall-gettext] Error code 2
2 errors
nbmake: stopped in /sata2/BUILD/src/gnu/usr.bin
--- dependall-usr.bin ---
*** [dependall-usr.bin] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src/gnu
--- dependall-gnu ---
*** [dependall-gnu] Error code 2
2 errors
nbmake: stopped in /sata2/BUILD/src
--- do-build ---
*** [do-build] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src
--- build ---
*** [build] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src
--- distribution ---
*** [distribution] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src
--- release ---
*** [release] Error code 2
1 error
nbmake: stopped in /sata2/BUILD/src
ERROR: Failed to make release
*** BUILD ABORTED ***
------------------------------------------------------------------------
------------------------------------------------------------
Here is my command line for the BUILD RELEASE Step :
------------------------------------------------------------------------
------------------------------------------------------------
===> build.sh command: ./build.sh -N 1 -j 3 -m i386 -O /sata2/BUILD/
obj.i386 -T /sata2/BUILD/tools.i386 -D /sata2/BUILD/dest.i386 -R
/sata2/BUILD/release.i386 -X /sata2/BUILD/xsrc -U -x -u release
------------------------------------------------------------------------
------------------------------------------------------------
Please note that I've experienced such error a few months ago when
switching to GCC4 ...
Any idea or workarround ?
Many Thanks,
Arnaud.