Since about last Friday (Dec.11) I am encountering an error building the distribution for amd64 NetBSD 9_Stable branch from latest sources.
Tracking stable branch via: cvs -q up -rnetbsd-9 -PAd src Building tools itself with: ./build.sh -O ../obj -T ../tools -u tools completes without error, which seems confusing... I had previously built successfully, first had the error when trying to update sources, then started with clean tools and obj directory, but have same error. Using build.sh with command: ./build.sh -x -O ../obj -T ../tools -u distribution [stuff that seems normal deleted] # create makestrs/.depend rm -f .depend /usr/src/../tools/bin/nbhost-mkdep -s .lo\ .ln\ .d -d -f .depend makestrs.d /usr/src/../tools/bin/nbhost-mkdep: Ignoring makestrs.d # link makestrs/nbmakestrs cc -O -I/usr/src/../tools/include/compat -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I. -o nbmakestrs makestrs.lo -L/usr/src/../tools/lib -lnbcompat -lrt -lz cc: error: makestrs.lo: No such file or directory *** Failed target: nbmakestrs *** Failed command: cc -O -I/usr/src/../tools/include/compat -I/usr/src/tools/compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -I. -o nbmakestrs makestrs.lo -L/usr/src/../tools/lib -lnbcompat -lrt -lz *** Error code 1 Stop. nbmake[6]: stopped in /usr/src/tools/makestrs *** Failed target: dependall *** Failed command: cd "/usr/src/tools/makestrs"; /usr/src/../tools/bin/nbmake realall *** Error code 1 Stop. nbmake[5]: stopped in /usr/src/tools/makestrs *** Failed target: dependall-makestrs *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/usr/src/tools" ;; *) this="tools/${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget makestrs dependall *** Error code 1 Stop. nbmake[4]: stopped in /usr/src/tools *** Failed target: build_install *** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="tools/"; real="/usr/src/tools" ;; *) this="tools/${dir}/"; real="/usr/src/tools/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall-llvm-tblgen dependall-groff dependall-mandoc dependall-makestrs dependall-makekeys dependall-cvslatest *** Error code 1 Stop. nbmake[3]: stopped in /usr/src/tools *** Failed target: do-tools *** 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/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget tools build_install *** Error code 1 Stop. nbmake[2]: 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/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-tools *** Error code 1 Stop. nbmake[1]: 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/../tools/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 ***