Project

General

Profile

Actions

Bug #2573

open

dmake install in usr/src/pkg: 'validate_pkg: not found'

Added by Piotr Jasiukajtis over 11 years ago. Updated over 11 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
tools - gate/build tools
Start date:
2012-03-31
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

$ 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


Related issues

Related to illumos gate - Bug #2572: bldenv.sh missing PATH for bash shellFeedback2012-03-31

Actions
Actions #1

Updated by Piotr Jasiukajtis over 11 years ago

I think the best way to fix it would be to use ONBLD_TOOLS in Makefile and force to use internal tools instead of /opt/onbld.

Actions #2

Updated by Rich Lowe over 11 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.

Actions

Also available in: Atom PDF