[OmniOS-discuss] Omni OS building issue

T.J. Yang tjyang2001 at gmail.com
Sat Apr 14 06:20:53 EDT 2012


Hi,

I am trying out the instruction(See R1) to build OmniOS on an OmniOS vm session.
Thanks to stephen's pointer to use anonymous user to check out the src tree.

1. Doing a simple build of zlib is causing "build.sh" not found issue.

-bash-4.2$ pwd
/export/home/build/omnios-build/build
-bash-4.2$ uname -a
SunOS omni 5.11 omni-os-d669e00 i86pc i386 i86pc

-bash-4.2$ ./buildctl list |grep zlib
 * library/zlib
-bash-4.2$ ./buildctl build  library/zlib
./buildctl: line 89: build.sh: command not found
-bash-4.2$ ls -l zlib/build.sh
-rwxr-xr-x   1 build    other        784 Apr 14 13:04 zlib/build.sh
-bash-4.2$

2. following is debugging log by " bash -x ./buildctl build  library/zlib"
<snipped>
+ DEFAULT_PKGPUBLISHER=omnios
+ case "$1" in
+ shift
+ for tgt in '$*'
+ build library/zlib
+ [[ -z zlib/build.sh ]]
++ dirname zlib/build.sh
+ DIR=zlib
+ pushd zlib
+ PKGSRVR=http://pkg-internal.omniti.com:10006/
+ PKGPUBLISHER=omnios
++ pwd
+ PKGROOT=/export/home/build/omnios-build/build/zlib/root
+ [[ -f environment ]]
++ basename zlib/build.sh
+ SCRIPT=build.sh
++ echo build.sh
++ grep '.p5m$'
+ [[ -n '' ]]
+ build.sh
./buildctl: line 89: build.sh: command not found
+ popd
+ exit
-bash-4.2$


Looks like I am missing configuration step to change depot server from
http://pkg-internal.omniti.com:10006/ to my own ?

R1: http://omnios.omniti.com/wiki.php/BuildInstructions
-- 
T.J. Yang


More information about the OmniOS-discuss mailing list