On Tue, Feb 3, 2009 at 1:06 PM, Roland Mainz <roland.mainz at nrubsig.org> wrote: > > Hi! > > ---- > > After installing SXCE B106 I tried to build the B107 sources from the > usual source tarball within the "bldenv" environment but the build > failed during a manual $ make setup # like this: > -- snip -- > /usr/bin/rm -f > /home/test001/ksh93/on_build1/test1_x86/proto/root_i386/usr/include/umem_impl.h; > install -s -m 644 -f /home/test001/ksh93/on_build1/test > 1_x86/proto/root_i386/usr/include common/umem_impl.h > /usr/bin/rm -f > /home/test001/ksh93/on_build1/test1_x86/proto/root_i386/usr/include/sys/vmem_impl_user.h; > install -s -m 644 -f /home/test001/ksh93/on_bu > ild1/test1_x86/proto/root_i386/usr/include/sys > common/sys/vmem_impl_user.h > /home/test001/ksh93/on_build1/test1_x86/usr/src/lib/libunistat > install -s -d -m 755 > /home/test001/ksh93/on_build1/test1_x86/proto/root_i386/usr/include/sys/unistat > /home/test001/ksh93/on_build1/test1_x86/usr/src/lib/libunistat/i386 > /home/test001/ksh93/on_build1/test1_x86/usr/src/cmd/avs/errgen > /home/test001/ksh93/on_build1/test1_x86/usr/src/tools/proto/opt/onbld/bin/i386/cw > -_cc -O -xspace -Xa -xildoff -errtags=yes -errwarn=%all -erroff=E_E > MPTY_TRANSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none > -W0,-xglobalstatic -v -DTEXT_DOMAIN=\"SUNW_OST_OSCMD\" -D_TS_ERRNO > -I/home/test00 > 1/ksh93/on_build1/test1_x86/proto/root_i386/usr/include -c errgen.c > sh: > /home/test001/ksh93/on_build1/test1_x86/usr/src/tools/proto/opt/onbld/bin/i386/cw: > not found > *** Error code 1 > make: Fatal error: Command failed for target `errgen.o' > Current working directory > /home/test001/ksh93/on_build1/test1_x86/usr/src/cmd/avs/errgen > *** Error code 1 > -- snip -- > (doing a manual $ make install # in > /home/test001/ksh93/on_build1/test1_x86/usr/src/tools/ fixes the > problem) > > AFAIK one of the gatekeepers hit this issue a while ago... does anyone > know what kind of problem is the root case - user error, make vs. dmake > issue or something else ?
I've hit that myself (on b105 at least, I cannot remember if I saw it prior to that). It seems like some sort of dependency issue where it wants to use the cw built from usr/src/tools/cw before it's actually compiled. What worked for me was to cd usr/src/tools && dmake, then rerun make setup
