dmake install in usr/src/pkg: 'validate_pkg: not found'
$ ksh93 ./bldenv.sh -d ./illumos.sh Build type is DEBUG RELEASE is VERSION is il_r13643_120323_01-onbld RELEASE_DATE is March 2012 The top-level 'setup' target is available to build headers and tools. newtask: failed to grab for process 13179: process is traced Using /bin/bash as shell. $ cd $CODEMGR_WS/usr/src/pkg $ dmake clobber /usr/bin/rm -f -r packages.i386 proto_list_i386 $ dmake install <...> ksh93: line 1: validate_pkg: not found *** Error code 127 The following command caused the error: validate_pkg -a i386 -L -m packages.i386 > proto_list_i386 dmake: Fatal error: Command failed for target `proto_list_i386' Current working directory /illumos-estibi/illumos-gate/usr/src/pkg
This is related to https://www.illumos.org/issues/2572
Updated by Rich Lowe over 9 years ago
We default to searching for it in $PATH, not /opt/onbld, but searching for it specifically relative to $ONBLD_TOOLS is a great idea.
There's a reason we did things this way, initially, but I forgot what it is. I think the plan was always to switch it to $ONBLD_TOOLS later on.