Subject: toolchain/21081: tools fail to build if started as a part of another operation with more jobs
To: None <gnats-bugs@gnats.netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-bugs
Date: 04/10/2003 04:49:07
>Number: 21081
>Category: toolchain
>Synopsis: tools fail to build if started as a part of another operation with more jobs (-j n, n>1)
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 09 19:50:01 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Lubomir Sedlacik
>Release: NetBSD 1.6Q
>Organization:
>Environment:
>Description:
sources updated at Thu Apr 10 01:14:07 CEST 2003
while building 'distribution' with -j 2, tools failed to build with the
following error:
--- netbsdaout.lo ---
cc -DHAVE_CONFIG_H -I. -I/cvs/src/tools/toolchain/../../gnu/dist/toolchain/bfd -I. -D_GNU_SOURCE -I.
-I/cvs/src/tools/toolchain/../../gnu/dist/toolchain/bfd -I/cvs/src/tools/toolchain/../../gnu/dist/t
oolchain/bfd/../include -I/cvs/src/tools/toolchain/../../gnu/dist/toolchain/bfd/../intl -I../intl -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -O -c /cvs/src/tools/toolchain/../../gnu/dist/toolch
ain/bfd/netbsdaout.c -o netbsdaout.o
/cvs/src/tools/toolchain/../../gnu/dist/toolchain/bfd/netbsdaout.c:1: bfd.h: No such file or directo
ry
*** [netbsdaout.lo] Error code 1
--- targmatch.h ---
mv -f targmatch.new targmatch.h
1 error
nbmake: stopped in /opt/obj/tools/toolchain/build/bfd
*** [all-recursive] Error code 1
1 error
the full command is:
===> build.sh command: ./build.sh -D /opt/dest -R /opt/release -O /opt/obj
-T /opt/tools -U -j 2 distribution sets
tools build correctly if using:
===> build.sh command: ./build.sh -D /opt/dest -R /opt/release -O /opt/obj
-T /opt/tools -U -j 2 tools
full logs of the builds are available at:
http://Xtrmntr.org/salo/doc/log.distribution.bz2 (forced quit)
http://Xtrmntr.org/salo/doc/log.tools.bz2
>How-To-Repeat:
probably 'build.sh -j 2 distribution' without tools present is enough to
trigger this issue
>Fix:
n/a
>Release-Note:
>Audit-Trail:
>Unformatted: