How do I diagnose this?  Are there more detailed logfiles that have the full 
compiler and linker output?  If not, is there a way to turn those on so they 
can be saved and scanned later?

My SOP for large systems is to investigate all warnings and then filter out the 
ones I've checked and decided are OK.  Basically "Extract; Build; Test; Check" 
to retrieve the source, compile it, run the test suite and then check for 
warnings and errors.  Check ignores anything that has been investigated so only 
new messages will appear at the output.

I couldn't make much sense of the build system as stuff I read referenced files 
 e.g. "developer"  which didn't exist anywhere in the git clone. 

So I took a SWAG and started the build with:

 dmake -C usr/src install |& tee bld.log

which died with:

[snip]

/usr/bin/rm -f /git/illumos/illumos-gate/proto/root_i386/usr/lib/lp/bin/netpr; 
/git/illumos/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/install
 -s -m 04511 -f /git/illumos/illumos-gate/proto/root_i386/usr/lib/lp/bin netpr
*** Error code 1
The following command caused the error:
cd cmd; pwd; dmake install
dmake: Fatal error: Command failed for target `cmd'
Current working directory /git/illumos/illumos-gate/usr/src
> 
> find . -name netpr
./proto/root_i386/usr/lib/lp/bin/netpr
./usr/src/cmd/lp/model/netpr
./usr/src/cmd/lp/model/netpr/netpr


Reg

------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/Td7233eed32a00459-M46d0e70c39c90f4b78fc055a
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to