Subject: Build failure in sys/lkm
To: None <current-users@NetBSD.org>
From: Julio M. Merino Vidal <jmmv@menta.net>
List: current-users
Date: 11/14/2004 11:55:39
Hi all,

trying to compile today's sources, with a call like:

dawn:~/NetBSD/src$ ./build.sh -M /var/build/obj -V MKSOFTFLOAT=yes -R /archive/NetBSD/NetBSD-current -U -u -m mac68k release 2>&1 | tee ~/log

results in the following (note that I started with a clean build first,
but used -u in a second attempt to capture the error...).  Looks like
there were multiple changes yesterday in sys/lkm/exec/...

dependall ===> sys/lkm
dependall ===> sys/lkm/arch
dependall ===> sys/lkm/arch/mac68k
dependall ===> sys/lkm/arch/mac68k/iwm
dependall ===> sys/lkm/compat
dependall ===> sys/lkm/compat/aoutm68k
dependall ===> sys/lkm/compat/sunos
dependall ===> sys/lkm/compat/svr4
dependall ===> sys/lkm/exec
dependall ===> sys/lkm/exec/linux_aout
#    create  linux_aout/.depend
rm -f .depend
CC=/var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/m68k--netbsdelf-gcc /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/nbmkdep -d -f .depend -s .o linux_exec_aout.d linux_exec_machdep.d lkminit_exec.d
nbmkdep: ignoring linux_exec_machdep.d: No such file or directory
/var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/m68k--netbsdelf-ld -r  -o tmp.o lkminit_exec.o linux_exec_aout.o linux_exec_machdep.o
/var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/m68k--netbsdelf-ld: cannot open linux_exec_machdep.o: No such file or directory

*** Failed target:  exec_linux_aout.o
*** Failed command: /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/m68k--netbsdelf-ld -r -o tmp.o lkminit_exec.o linux_exec_aout.o linux_exec_machdep.o
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src/sys/lkm/exec/linux_aout

*** Failed target:  dependall
*** Failed command: cd /home/jmmv/NetBSD/src/sys/lkm/exec/linux_aout; /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/nbmake realall
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src/sys/lkm/exec/linux_aout

*** Failed target:  dependall-linux_aout
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="sys/lkm/exec/"; real="/home/jmmv/NetBSD/src/sys/lkm/exec" ;; *) this="sys/lkm/exec/${dir}/"; real="/home/jmmv/NetBSD/src/sys/lkm/exec/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget linux_aout dependall
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src/sys/lkm/exec

*** Failed target:  dependall-exec
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="sys/lkm/"; real="/home/jmmv/NetBSD/src/sys/lkm" ;; *) this="sys/lkm/${dir}/"; real="/home/jmmv/NetBSD/src/sys/lkm/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget exec dependall
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src/sys/lkm

*** Failed target:  dependall-lkm
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="sys/"; real="/home/jmmv/NetBSD/src/sys" ;; *) this="sys/${dir}/"; real="/home/jmmv/NetBSD/src/sys/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget lkm dependall
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src/sys

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

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src

*** Failed target:  do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/home/jmmv/NetBSD/src" ;; *) this="${dir}/"; real="/home/jmmv/NetBSD/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src

*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/home/jmmv/NetBSD/src" ;; *) this="${dir}/"; real="/home/jmmv/NetBSD/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-build
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src

*** Failed target:  release
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/home/jmmv/NetBSD/src" ;; *) this="${dir}/"; real="/home/jmmv/NetBSD/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /var/build/obj/home/jmmv/NetBSD/src/tooldir.NetBSD-2.99.10-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /home/jmmv/NetBSD/src

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


-- 
Julio M. Merino Vidal <jmmv@menta.net>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/