Subject: Re: /usr/src build failed
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: George Georgalis <george@galis.org>
List: netbsd-help
Date: 01/07/2006 18:13:43
On Sat, Jan 07, 2006 at 08:46:23PM +0100, Manuel Bouyer wrote:
>On Thu, Jan 05, 2006 at 09:05:30AM -0500, George Georgalis wrote:
>> On Thu, Jan 05, 2006 at 11:20:00AM +0100, Manuel Bouyer wrote:
>> >On Thu, Jan 05, 2006 at 12:03:22AM -0500, George Georgalis wrote:
>> >> 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
>> >
>> >You should have box.h in /usr/src/gnu/dist/groff/src/preproc/eqn/, do you
>> >have it ?
>> 
>> yes.
>> 
>> -rw-r--r--  1 root  wheel  6148 Jul 30  2004 /usr/src/gnu/dist/groff/src/preproc/eqn/box.h
>
>Well, it does works for me. I'm not sure what's going on on your system.
>Do you have something in /etc/mk.conf

Yes, that was it...

cat /etc/mk.conf                                                                                                                                  
#CFLAGS= -O1 -pipe

something about those flags breaks it. I've
been using those options for years (?) without
a problem.  ...I'll send a bug report to
/usr/src/gnu/dist/groff/BUG-REPORT

Ironically, I came across another mk.conf issue today
MAKEFLAGS= -B -j3
for a 2x CPU system breaks devel/boehm-gc -- I have a note
out to that maintainer.


 cd /usr/src && ./build.sh distribution

...unfortunately I have another problem below. But I
saw something about ./METALOG on netbsd-current, so
I'll take this to that thread, or a new thread after
I've taken a more careful review.

(I presume I need to make distribution, to maintain
cflash based installations... seems like the best
way but I'm still working it out)

Thanks for all your help.

// George



checkflist ===> distrib/sets
cd /usr/src/distrib/sets &&  DESTDIR=/usr/src/obj/destdir.i386  MACHINE=i386 MACHINE_ARCH=i386  CKSUM=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbcksum MAKE=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmake MTREE=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmtree  MKTEMP=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmktemp PAX=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbpax HOST_SH=sh  sh ./checkflist

============  1 extra files  ===============
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./METALOG
=========  end of 1 extra files  ===========


*** Failed target:  checkflist
*** Failed command: cd /usr/src/distrib/sets && DESTDIR=/usr/src/obj/destdir.i386 MACHINE=i386 MACHINE_ARCH=i386 CKSUM=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbcksum MAKE=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmake MTREE=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmtree MKTEMP=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmktemp PAX=/usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbpax HOST_SH=sh sh ./checkflist
*** Error code 1

Stop.
nbmake: stopped in /usr/src/distrib/sets

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj/tooldir.NetBSD-3.0.0_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget distrib/sets checkflist
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***


-- 
George Georgalis, systems architect, administrator <IXOYE><
http://galis.org/ cell:646-331-2027 mailto:george@galis.org