Subject: toolchain/32348: Parallel build fails in xsrc
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <krille@users.sf.net>
List: netbsd-bugs
Date: 12/21/2005 09:40:01
>Number: 32348
>Category: toolchain
>Synopsis: Parallel build fails in xsrc
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Dec 21 09:40:00 +0000 2005
>Originator: Christian Hattemer
>Release: 3.0
>Organization:
>Environment:
NetBSD webster 3.0 NetBSD 3.0 (WEBSTER-TMP) #1: Tue Dec 20 19:48:09 CET 2005 krille@webster:/usr/src/sys/arch/i386/compile/WEBSTER-TMP i386
>Description:
When using
time ./build.sh -U -x -j 2 -D /usr/home/krille/pc-build2/dest -O /usr/home/krille/pc-build2/obj -R /usr/home/krille/pc-build2/release -T /usr/home/krille/pc-build2/tools release 2>&1| tee /home/krille/pc-build2/buildlog
the build of the 3.0 release src and xsrc fails here:
--- install-dpstk ---
install ===> x11/lib/dpstk
--- install-Xaw ---
--- /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw_p.a ---
# install /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw_p.a
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 -a "/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-ranlib -t" libXaw_p.a /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw_p.a
--- /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw_pic.a ---
# install /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw_pic.a
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 -a "/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-ranlib -t" libXaw_pic.a /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw_pic.a
--- install-dpstk ---
--- checkver ---
--- install-Xaw ---
--- /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw.so.7.0 ---
# install /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw.so.7.0
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 libXaw.so.7.0 /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw.so.7.0
--- install-dpstk ---
--- /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk.a ---
# install /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk.a
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 -a "/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-ranlib -t" libdpstk.a /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk.a
--- install-Xaw ---
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -l s -r libXaw.so.7.0 /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw.so.7
--- install-dpstk ---
--- /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk_p.a ---
# install /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk_p.a
--- install-Xaw ---
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -l s -r libXaw.so.7.0 /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libXaw.so
--- install-dpstk ---
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 -a "/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-ranlib -t" libdpstk_p.a /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk_p.a
--- install-Xaw ---
--- /usr/home/krille/pc-build2/dest/usr/libdata/lint/llib-lXaw.ln ---
# install /usr/home/krille/pc-build2/dest/usr/libdata/lint/llib-lXaw.ln
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 llib-lXaw.ln /usr/home/krille/pc-build2/dest/usr/libdata/lint
--- install-dpstk ---
--- /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk_pic.a ---
# install /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk_pic.a
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 -a "/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-ranlib -t" libdpstk_pic.a /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk_pic.a
--- install-Xaw ---
--- /usr/home/krille/pc-build2/dest/usr/X11R6/man/man3/Xaw.3 ---
--- /usr/home/krille/pc-build2/dest/usr/X11R6/man/cat3/Xaw.0 ---
--- install-dpstk ---
--- /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk.so.1.0 ---
# install /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk.so.1.0
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 libdpstk.so.1.0 /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk.so.1.0
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -l s -r libdpstk.so.1.0 /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk.so.1
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -l s -r libdpstk.so.1.0 /usr/home/krille/pc-build2/dest/usr/X11R6/lib/libdpstk.so
--- /usr/home/krille/pc-build2/dest/usr/libdata/lint/llib-ldpstk.ln ---
# install /usr/home/krille/pc-build2/dest/usr/libdata/lint/llib-ldpstk.ln
STRIP=/usr/home/krille/pc-build2/tools/bin/i386--netbsdelf-strip /usr/home/krille/pc-build2/tools/bin/nbinstall -U -M /usr/home/krille/pc-build2/dest/METALOG -D /usr/home/krille/pc-build2/dest -h sha1 -N /usr/src/etc -c -r -o root -g wheel -m 444 llib-ldpstk.ln /usr/home/krille/pc-build2/dest/usr/libdata/lint
--- install-xlibi18n ---
install ===> x11/lib/xlibi18n
--- install-im ---
--- install-lc ---
--- install-im ---
install ===> x11/lib/xlibi18n/im
--- install-lc ---
install ===> x11/lib/xlibi18n/lc
--- install-Utf8 ---
install ===> x11/lib/xlibi18n/lc/Utf8
--- install-def ---
--- install-om ---
--- install-lc ---
install ===> x11/lib/xlibi18n/lc/def
--- install-om ---
install ===> x11/lib/xlibi18n/om
--- install-lc ---
--- install-gen ---
install ===> x11/lib/xlibi18n/lc/gen
--- install-xlocale ---
install ===> x11/lib/xlibi18n/lc/xlocale
1 error
nbmake: stopped in /usr/src/x11
*** Failed target: do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="x11/"; real="/usr/src/x11" ;; *) this="x11/${dir}/"; real="/usr/src/x11/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/home/krille/pc-build2/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . install
*** Error code 2
Stop.
nbmake: stopped in /usr/src/x11
*** [build] Error code 1
1 error
nbmake: stopped in /usr/src/x11
*** Failed target: do-x11
*** 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/home/krille/pc-build2/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget x11 build
*** Error code 2
Stop.
nbmake: stopped in /usr/src
*** [build] Error code 1
1 error
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/home/krille/pc-build2/tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 2
Stop.
nbmake: stopped in /usr/src
*** [release] Error code 1
1 error
nbmake: stopped in /usr/src
ERROR: Failed to make release
*** BUILD ABORTED ***
mk.conf includes cpuflags.mk (cpuflags-0.78) and has some other unrelated pkgsrc stuff.
When omiting the "-j 2" the build completes ok. Perhaps the problem is related to PR toolchain/24020?
This has happend on 2.0 and does still happen on 3.0.
>How-To-Repeat:
See above.
>Fix:
Unknown.