[OmniOS-discuss] Omni OS building issue

Theo Schlossnagle jesus at omniti.com
Sat Apr 14 11:10:13 EDT 2012


I can repeat the problem and have pushed a fix.

git pull and try again.

On Sat, Apr 14, 2012 at 6:20 AM, T.J. Yang <tjyang2001 at gmail.com> wrote:

> 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
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss
>



-- 

Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20120414/51d919a9/attachment-0001.html>


More information about the OmniOS-discuss mailing list