Subject: build of alpha (cross from amd64) fails in tools/lex
To: None <current-users@netbsd.org, port-alpha@netbsd.org>
From: Rhialto <rhialto@falu.nl>
List: port-alpha
Date: 09/23/2005 21:34:44
The same tree had built succesfully native (amd64) and cross to i386
(except that a boot floppy was too large again).
After a "cvs update" there was no improvement.
===> build.sh command: ./build.sh -D /vol1/rhialto/destdir.alpha -m alpha -O /vol1/rhialto/obj.alpha -R /vol1/rhialto/release.alpha -T /vol1/rhialto/tools.amd64 -u -U -N 1 release
===> build.sh started: Fri Sep 23 21:21:00 CEST 2005
===> MACHINE: alpha
===> MACHINE_ARCH: alpha
===> TOOLDIR path: /vol1/rhialto/tools.amd64
===> DESTDIR path: /vol1/rhialto/destdir.alpha
===> RELEASEDIR path: /vol1/rhialto/release.alpha
===> makewrapper: /vol1/rhialto/tools.amd64/bin/nbmake-alpha
===> Updated /vol1/rhialto/tools.amd64/bin/nbmake-alpha
distribution ===> .
build ===> . (with: NOPOSTINSTALL=1)
Build started at: Fri Sep 23 21:21:01 CEST 2005
check-tools ===> .
...
dependall ===> tools/yacc
compile yacc/closure.lo
compile yacc/error.lo
compile yacc/lalr.lo
compile yacc/lr0.lo
compile yacc/main.lo
compile yacc/mkpar.lo
compile yacc/output.lo
compile yacc/reader.lo
compile yacc/skeleton.lo
compile yacc/symtab.lo
compile yacc/verbose.lo
compile yacc/warshall.lo
link yacc/yacc
install ===> tools/yacc
install /vol1/rhialto/tools.amd64/bin/nbyacc
dependall ===> tools/lex
compile lex/ccl.lo
In file included from /vol1/rhialto/obj.alpha/tools/compat/config.h:114,
from /vol1/rhialto/cvs/src/usr.bin/lex/flexdef.h:34,
from /vol1/rhialto/cvs/src/usr.bin/lex/ccl.c:31:
/vol1/rhialto/cvs/src/tools/compat/compat_defs.h:66:2: #error _NETBSD_SOURCE is *not* to be defined.
In file included from /vol1/rhialto/obj.alpha/tools/compat/config.h:114,
from /vol1/rhialto/cvs/src/usr.bin/lex/flexdef.h:34,
from /vol1/rhialto/cvs/src/usr.bin/lex/ccl.c:31:
/vol1/rhialto/cvs/src/tools/compat/compat_defs.h:156: warning: redefinition of `u_char'
/usr/include/sys/types.h:101: warning: `u_char' previously declared here
/vol1/rhialto/cvs/src/tools/compat/compat_defs.h:160: warning: redefinition of `u_int'
/usr/include/sys/types.h:103: warning: `u_int' previously declared here
/vol1/rhialto/cvs/src/tools/compat/compat_defs.h:164: warning: redefinition of `u_short'
/usr/include/sys/types.h:102: warning: `u_short' previously declared here
*** Failed target: ccl.lo
*** Failed command: cc -O -I/vol1/rhialto/obj.alpha/tools/compat -I/vol1/rhialto/obj.alpha/tools/compat/include -I/vol1/rhialto/cvs/src/tools/lex/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I. -I/vol1/rhialto/cvs/src/tools/lex/../../usr.bin/lex -c -o ccl.lo.o /vol1/rhialto/cvs/src/usr.bin/lex/ccl.c
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src/tools/lex
*** Failed target: dependall
*** Failed command: cd /vol1/rhialto/cvs/src/tools/lex; /vol1/rhialto/tools.amd64/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src/tools/lex
*** Failed target: dependall-lex
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/vol1/rhialto/cvs/src/tools" ;; *) this="tools/${dir}/"; real="/vol1/rhialto/cvs/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lex dependall
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src/tools
*** Failed target: do-tools
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools dependall
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
*** Failed target: build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-tools
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
*** Failed target: distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
*** Failed target: release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/vol1/rhialto/cvs/src" ;; *) this="${dir}/"; real="/vol1/rhialto/cvs/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /vol1/rhialto/tools.amd64/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . distribution
*** Error code 1
Stop.
nbmake: stopped in /vol1/rhialto/cvs/src
ERROR: Failed to make release
*** BUILD ABORTED ***
-Olaf.
--
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.