I pulled a clean copy of ON, reverted to b113, grabbed the latest
closed bins, latest SUNWonbld
While I added a few new files, no makefiles were touched _at all_ (yet),
and make setup dies trying to build avs related stuff:
/export/home/jason/hg/lld/lldp-aggr-gate/usr/src/tools/proto/opt/onbld/bin/i386/cw
-_cc -O -xspace -Xa -xildoff -errtags=yes -errwarn=%all
-erroff=E_EMPTY_TRA
NSLATION_UNIT -erroff=E_STATEMENT_NOT_REACHED -xc99=%none
-W0,-xglobalstatic -v -DTEXT_DOMAIN=\"SUNW_OST_OSCMD\" -D_TS_ERRNO
-I/export/home/jason/hg/lld/lldp-aggr-gate/proto/root_i386/usr/include
-c errgen.c
*** Error code 1
*** Error code 1
The following command caused the error:
cd /export/home/jason/hg/lld/lldp-aggr-gate/usr/src/cmd/avs/errgen;
pwd; make install
*** Error code 1
The following command caused the error:
cd i386; pwd; make spcs_dtrinkets.h
*** Error code 1
If i cd into usr/src/tools; do a dmake, then go back to
$CODEMGR_WS/usr/src, running dmake setup completes.
I always thought the build process was roughly:
hg clone ssh://anon at hg.opensolaris.org/hg/onnv/onnv-gate [name]
download + install latest SUNWonbld
download + extract closed-bins in $CODEMGR_WS (which places them in
$CODEMGR_WS/closed)
cp opensolaris.sh to somewhere, modify, setting CODEMGR_WS + GATE +
NIGHTLY_OPTIONS as appropriate
(assuming you don't want to run nightly):
bldenv opensolaris.sh
cd $CODEMGR_WS/usr/src
dmake setup
dmake
or to run nightly:
nightly opensolaris.sh
Is this grossly wrong?