Subject: Re: /usr/src build failed
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: George Georgalis <george@galis.org>
List: netbsd-help
Date: 01/05/2006 00:03:22
On Wed, Jan 04, 2006 at 11:43:50PM +0100, Manuel Bouyer wrote:
>On Wed, Jan 04, 2006 at 01:01:52PM -0500, George Georgalis wrote:
>> On Fri, Dec 30, 2005 at 05:50:24PM -0500, George Georgalis wrote:
>> >An attempt to do an entire netbsd build failed...
>> >
>> >after updating netbsd-3 src by cvs
>> >cd /usr/src && ./build.sh tools kernel=RUN
>> >booting into the new kernel
>> >cd /usr/src && ./build.sh -U distribution
>>
>> I tried with fresh netbsd-3 checkouts, today I tried a netbsd-3-0
>> checkout, with very similar results.
>
>I think you should have used
>cd /usr/src && ./build.sh -U tools kernel=RUN
>
>don't mix -U and non--U builds on the same tree
worth a try, but I get the same error...
cd /usr/src && ./build.sh -U tools kernel=RUN
cd /usr/src && ./build.sh -U distribution
...
# create eqn/eqn.d
CC=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/i386--netbsdelf-gcc /usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmkdep -f eqn.d -- -DHAVE_CONFIG_H -I/usr/src/gnu/dist/groff/src/include -I/usr/src/
gnu/usr.bin/groff/src/include -nostdinc++ -isystem-cxx /usr/src/obj/destdir.i386/usr/include/g++ -nostdinc -isystem /usr/src/obj/destdir.i386/usr/include eqn.cpp
/usr/src/gnu/dist/groff/src/preproc/eqn/eqn.y:27:17: box.h: No such file or directory
nbmkdep: compile failed.
*** Failed target: eqn.d
*** Failed command: CC=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/i386--netbsdelf-gcc /usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmkdep -f eqn.d -- -DHAVE_CONFIG_H -I/usr/src/gnu/dist/groff/src/i
nclude -I/usr/src/gnu/usr.bin/groff/src/include -nostdinc++ -isystem-cxx /usr/src/obj/destdir.i386/usr/include/g++ -nostdinc -isystem /usr/src/obj/destdir.i386/usr/include eqn.cpp
*** Error code 1
Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/groff/src/preproc/eqn
worthy of note, I didn't boot the new kernel, but
given it is from the same config and is the same
size I don't think it matters.
-rwxr-xr-x 1 root wheel 4031004 Jan 4 11:37 /netbsd
-rwxr-xr-x 1 root wheel 4031004 Jan 4 22:35 /usr/src/sys/arch/i386/compile/obj/RUN/netbsd
So I'm a bit perplexed. Quite a lot of stuff seems
to build correctly, until enq, does this only happen
for me? (netbsd-3 and netbsd-3-0)
// George
--
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george@galis.org