Subject: /usr/src build failed
To: None <netbsd-help@netbsd.org>
From: George Georgalis <george@galis.org>
List: netbsd-help
Date: 12/30/2005 17:50:24
An attempt to do an entire netbsd build failed...

/usr/src/gnu/dist/groff/src/preproc/eqn/eqn.y:27:17: box.h: No such file or directory

but I do see that file...

find /usr/src/gnu/dist/groff/src/preproc/ -name box.h
/usr/src/gnu/dist/groff/src/preproc//eqn/box.h

This is the procedure I used per /usr/src/BUILDING examples

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

The complete error set is below. Have I done something wrong?  Is
there a step to clean which I've missed? Am doing a cvs update now,
for a retry.

// George


#    create  eqn/eqn.d
CC=/usr/src/tooldir.NetBSD-3.0_STABLE-i386/bin/i386--netbsdelf-gcc /usr/src/tooldir.NetBSD-3.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/destdir.i386/usr/include/g++    -nostdinc -isystem /usr/src/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/tooldir.NetBSD-3.0_STABLE-i386/bin/i386--netbsdelf-gcc /usr/src/tooldir.NetBSD-3.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/destdir.i386/usr/include/g++ -nostdinc -isystem /usr/src/destdir.i386/usr/include eqn.cpp
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/groff/src/preproc/eqn

*** Failed target:  dependall-eqn
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="gnu/usr.bin/groff/src/preproc/"; real="/usr/src/gnu/usr.bin/groff/src/preproc" ;; *) this="gnu/usr.bin/groff/src/preproc/${dir}/"; real="/usr/src/gnu/usr.bin/groff/src/preproc/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/tooldir.NetBSD-3.0_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget eqn dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/groff/src/preproc

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

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/groff/src

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

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin/groff

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

Stop.
nbmake: stopped in /usr/src/gnu/usr.bin

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

Stop.
nbmake: stopped in /usr/src/gnu

*** Failed target:  dependall-gnu
*** 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/tooldir.NetBSD-3.0_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget gnu dependall
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  do-build
*** 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/tooldir.NetBSD-3.0_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** Failed target:  build
*** 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/tooldir.NetBSD-3.0_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-build
*** Error code 1

Stop.
nbmake: stopped in /usr/src

*** 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/tooldir.NetBSD-3.0_STABLE-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** 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