# [OmniOS-discuss] trouble compiling OmniOS

Theo Schlossnagle jesus at omniti.com
Fri Feb 22 09:27:29 EST 2013

- Previous message: [OmniOS-discuss] trouble compiling OmniOS
- Next message: [OmniOS-discuss] trouble compiling OmniOS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    You have two choices and both should work equally well:

    If you want to run latest stable (that happens to be r151004) you'll need
    to use the r151004 branch of omnios-build: git clone -b r151004
    anon at src.omniti.com:~omnios/core/omnios-build

    If you want to dev stuff, it may be better to use bloody. Bloody is...
    well... bloody. And as you've noticed has some issues handling an upgrade
    from 151004 that have not been fixed yet.  So, you'll need to directly
    install it or work some IPS trickery to get bloody installed.  The "master"
    branch of omnios-build is bloody.

    On Fri, Feb 22, 2013 at 9:07 AM, Kent Watsen <kent at watsen.net> wrote:

    >
    > I'm trying to compile the AMD fork of illumos-kvm<https://github.com/arekinath/illumos-kvm/blob/master/README.md>,
    > the build instructions for which say " set the path for the KERNEL_SOURCEdirectory to point to the root of a checked out and built illumos
    > directory".
    >
    > I figured that compiling OmniOS would be one way to get a checked out and
    > built illumos directory, so I decided to give  OmniOS's Build Instructions<http://omnios.omniti.com/wiki.php/BuildInstructions>a go, which I I struggled through.
    >
    > Currently I'm stuck on the ` # ./buildctl list` command, but I want to
    > recount all my so that this document can be enhanced.
    >
    > Environment: OmniOS stable, updated to most recent release.
    >                      Created a non-global zone for this compiling activity
    >                       (I put all services into zones, leaving the global
    > zone in its most minimal state)
    >
    >
    > Following the instructions, the "Closed Tools" section didn't seems to
    > provide any actions, so I skipped it.
    > The "How-to" section has a very nice block of commands to cut-n-paste,
    > here's how it went:
    >
    > STEP 1
    > ====
    >
    > *root at compiler:~# git clone anon at src.omniti.com:~omnios/core/omnios-build*
    > -bash: git: command not found
    > *root at compiler:~# pkg install pkg:/developer/versioning/git     (Add an
    > instruction to install git?)*
    >            Packages to install:  1
    >        Create boot environment: No
    > Create backup boot environment: No
    >
    > DOWNLOAD                                  PKGS       FILES    XFER (MB)
    > Completed                                  1/1     353/353    10.4/10.4$<3>
    >
    > PHASE                                        ACTIONS
    > Install Phase                                635/635
    >
    > PHASE                                          ITEMS
    > Package State Update Phase                       1/1
    > Image State Update Phase                         2/2
    > *root at compiler:~# git clone anon at src.omniti.com:~omnios/core/omnios-build*
    > *
    > *Cloning into 'omnios-build'...
    > The authenticity of host 'src.omniti.com (199.15.226.39)' can't be
    > established.
    > RSA key fingerprint is 51:bb:7a:4a:3a:de:ff:dc:0a:87:8b:4f:d4:63:b0:d2.
    > Are you sure you want to continue connecting (yes/no)? yes
    > Warning: Permanently added 'src.omniti.com,199.15.226.39' (RSA) to the
    > list of known hosts.
    > remote: Counting objects: 6243, done.
    > remote: Compressing objects: 100% (5116/5116), done.
    > remote: Total 6243 (delta 2924), reused 1441 (delta 679)
    > Receiving objects: 100% (6243/6243), 25.84 MiB | 1.85 MiB/s, done.
    > Resolving deltas: 100% (2924/2924), done.
    >
    > STEP 2
    > ====
    >
    > *root at compiler:~# cd omnios-build/build**
    > *
    >
    > STEP 3
    > ====
    >
    > *root at compiler:~/omnios-build/build# ./buildctl list**
    > *You appear to be missing some basic build requirements.
    > To fix this run:
    >
    >   sudo pkg install developer/gcc47 developer/object-file
    > developer/build/gnu-make system/header system/library/math/header-math
    >
    > An Error occured in the build. Do you wish to continue anyway? (y/n) n
    > ===== Build aborted =====
    > *root at compiler:~/omnios-build/build# pkg install developer/gcc47
    > developer/object-file developer/build/gnu-make system/header
    > system/library/math/header-math**
    > *Creating Plan
    > pkg install: The following pattern(s) did not match any allowable
    > packages.  Try
    > using a different matching pattern, or refreshing publisher information:
    >
    >     developer/gcc47
    >
    > *root at compiler:~/omnios-build/build# pkg set-publisher -G '*' -g
    > http://pkg.omniti.com/omnios/bloody/ omnios
    > (Add an instruction to install bloody?)
    > ****root at compiler:~/omnios-build/build# pkg publisher**
    > *PUBLISHER                             TYPE     STATUS   URI
    > omnios                                origin   online
    > http://pkg.omniti.com/omnios/bloody/
    > *root at compiler:~/omnios-build/build# pkg update**
    > *            Packages to update:   5
    >        Create boot environment:  No
    > Create backup boot environment: Yes
    >
    > DOWNLOAD                                  PKGS       FILES    XFER (MB)
    > Completed                                  5/5       63/63    53.6/53.6$<3>
    >
    > PHASE                                        ACTIONS
    > Update Phase                                   76/76
    >
    > PHASE                                          ITEMS
    > Package State Update Phase                     10/10
    > Package Cache Update Phase                       5/5
    > Image State Update Phase                         2/2
    >
    > ---------------------------------------------------------------------------
    > NOTE: Please review release notes posted at:
    >
    > http://omnios.omniti.com/ReleaseNotes
    > ---------------------------------------------------------------------------
    >
    > *root at compiler:~/omnios-build/build# ./buildctl list**
    > *You appear to be missing some basic build requirements.
    > To fix this run:
    >
    >   sudo pkg install developer/gcc47 developer/object-file
    > developer/build/gnu-make system/header system/library/math/header-math
    >
    > An Error occured in the build. Do you wish to continue anyway? (y/n) n
    > ===== Build aborted =====
    > *root at compiler:~/omnios-build/build# pkg install developer/gcc47
    > developer/object-file developer/build/gnu-make system/header
    > system/library/math/header-math**
    > *Creating Plan /
    > pkg install: No matching version of system/library/math/header-math can be
    > installed:
    >   Reject:
    > pkg://omnios/system/library/math/header-math@0.5.11,5.11-0.151002:20120401T180415Z
    >
    > pkg://omnios/system/library/math/header-math@0.5.11,5.11-0.151005:20121031T183225Z
    >   Reason:  This version is excluded by installed incorporation
    > pkg://omnios/incorporation/jeos/omnios-userland@11,5.11-0.151004:20130208T215446Z
    > No matching version of developer/build/gnu-make can be installed:
    >   Reject:
    > pkg://omnios/developer/build/gnu-make@3.82,5.11-0.151002:20120401T174135Z
    >
    > pkg://omnios/developer/build/gnu-make@3.82,5.11-0.151005:20121031T155036Z
    >   Reason:  This version is excluded by installed incorporation
    > pkg://omnios/incorporation/jeos/omnios-userland@11,5.11-0.151004:20130208T215446Z
    > No matching version of developer/object-file can be installed:
    >   Reject:
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120401T174415Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120418T163114Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120418T225330Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120509T022251Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120518T203209Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120522T010146Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120529T141500Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120611T191626Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120614T103701Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120628T043959Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120705T162018Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120719T230832Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120726T140607Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120807T211706Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120813T150123Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120827T190440Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120831T134351Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120912T140322Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120914T135506Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120920T221650Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20120926T053938Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151002:20121004T184549Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20121102T203643Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20121105T213146Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20121107T173024Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20121112T150347Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20121210T220409Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20121228T023348Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20130105T180723Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20130116T230003Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20130117T170208Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20130124T225816Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20130129T221145Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20130208T145400Z
    >
    > pkg://omnios/developer/object-file@0.5.11,5.11-0.151005:20130220T191556Z
    >   Reason:  This version is excluded by installed incorporation
    > pkg://omnios/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151004:20121011T223920Z
    >            This version is excluded by installed incorporation
    > pkg://omnios/incorporation/jeos/illumos-gate@11,5.11-0.151004:20121023T161839Z
    > No matching version of system/header can be installed:
    >   Reject:
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120401T180118Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120418T164413Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120418T225419Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120509T022340Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120518T203257Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120522T010234Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120529T141549Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120611T191715Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120614T103750Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120628T044048Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120705T162106Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120719T230920Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120726T140655Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120807T211754Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120813T150211Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120827T190528Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120831T134439Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120912T140411Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120914T135555Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120920T221738Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20120926T054026Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151002:20121004T184637Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20121102T203731Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20121105T213234Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20121107T173112Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20121112T150435Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20121210T220457Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20121228T023436Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20130105T180811Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20130116T230051Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20130117T170257Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20130124T225904Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20130129T221233Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20130208T145448Z
    >
    > pkg://omnios/system/header@0.5.11,5.11-0.151005:20130220T191644Z
    >   Reason:  This version is excluded by installed incorporation
    > pkg://omnios/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.151004:20121011T223920Z
    >            This version is excluded by installed incorporation
    > pkg://omnios/incorporation/jeos/illumos-gate@11,5.11-0.151004:20121023T161839Z
    >
    > *root at compiler:~/omnios-build/build# ./buildctl list**
    > *You appear to be missing some basic build requirements.
    > To fix this run:
    >
    >   sudo pkg install developer/gcc47 developer/object-file
    > developer/build/gnu-make system/header system/library/math/header-math
    >
    > An Error occured in the build. Do you wish to continue anyway? (y/n) n
    > ===== Build aborted =====
    >
    >
    > Now what?
    >
    >
    > Thanks,
    > Kent
    >
    >
    >
    > _______________________________________________
    > 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: <http://lists.omniti.com/pipermail/omnios-discuss/attachments/20130222/8daa3532/attachment-0001.html>

- Previous message: [OmniOS-discuss] trouble compiling OmniOS
- Next message: [OmniOS-discuss] trouble compiling OmniOS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

More information about the OmniOS-discuss mailing list