`I can repeat the problem and have pushed a fix.<div><br></div><div>git pull and try again.</div><div><br><div class="gmail_quote">On Sat, Apr 14, 2012 at 6:20 AM, T.J. Yang <span dir="ltr"><<a href="mailto:tjyang2001@gmail.com">tjyang2001@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I am trying out the instruction(See R1) to build OmniOS on an OmniOS vm session.<br>
Thanks to stephen's pointer to use anonymous user to check out the src tree.<br>
<br>
1. Doing a simple build of zlib is causing "build.sh" not found issue.<br>
<br>
-bash-4.2$ pwd<br>
/export/home/build/omnios-build/build<br>
-bash-4.2$ uname -a<br>
SunOS omni 5.11 omni-os-d669e00 i86pc i386 i86pc<br>
<br>
-bash-4.2$ ./buildctl list |grep zlib<br>
* library/zlib<br>
-bash-4.2$ ./buildctl build library/zlib<br>
./buildctl: line 89: build.sh: command not found<br>
-bash-4.2$ ls -l zlib/build.sh<br>
-rwxr-xr-x 1 build other 784 Apr 14 13:04 zlib/build.sh<br>
-bash-4.2$<br>
<br>
2. following is debugging log by " bash -x ./buildctl build library/zlib"<br>
<snipped><br>
+ DEFAULT_PKGPUBLISHER=omnios<br>
+ case "$1" in<br>
+ shift<br>
+ for tgt in '$*'<br>
+ build library/zlib<br>
+ [[ -z zlib/build.sh ]]<br>
++ dirname zlib/build.sh<br>
+ DIR=zlib<br>
+ pushd zlib<br>
+ PKGSRVR=<a href="http://pkg-internal.omniti.com:10006/" target="_blank">http://pkg-internal.omniti.com:10006/</a><br>
+ PKGPUBLISHER=omnios<br>
++ pwd<br>
+ PKGROOT=/export/home/build/omnios-build/build/zlib/root<br>
+ [[ -f environment ]]<br>
++ basename zlib/build.sh<br>
+ SCRIPT=build.sh<br>
++ echo build.sh<br>
++ grep '.p5m$'<br>
+ [[ -n '' ]]<br>
+ build.sh<br>
./buildctl: line 89: build.sh: command not found<br>
+ popd<br>
+ exit<br>
-bash-4.2$<br>
<br>
<br>
Looks like I am missing configuration step to change depot server from<br>
<a href="http://pkg-internal.omniti.com:10006/" target="_blank">http://pkg-internal.omniti.com:10006/</a> to my own ?<br>
<br>
R1: <a href="http://omnios.omniti.com/wiki.php/BuildInstructions" target="_blank">http://omnios.omniti.com/wiki.php/BuildInstructions</a><br>
<span class="HOEnZb"><font color="#888888">--<br>
T.J. Yang<br>
_______________________________________________<br>
OmniOS-discuss mailing list<br>
<a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
<a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>
<p>Theo Schlossnagle</p>
<p><a href="http://omniti.com/is/theo-schlossnagle" target="_blank">http://omniti.com/is/theo-schlossnagle</a></p><br>
</div>
`