Omnnibus-chef sources

Hi all,

I want to build chef-server with omnibus-chef (‘rake
projects:chef-server’), but the build currently fails on my system
during configuring erlang. I assume the information on how the
components are built - what the fetcher and builder processes are doing

  • are stored in a cookbook. But I can’t find that cookbook. Where is it,
    or where does the information then come from?

Regards,
Nanuk

Definitions for projects and component software are in the config/ directories of the omnibus projects:

https://github.com/opscode/omnibus-chef/tree/master/config

If you're missing OS packages for compilers or such, those should be installed by cookbooks in omnibus-ruby:

https://github.com/opscode/omnibus-ruby/tree/master/cookbooks

Running the whole thing under vagrant makes the process pretty automatic.

--
Daniel DeLeo

On Tuesday, March 12, 2013 at 2:45 PM, Nanuk Krinner wrote:

Hi all,

I want to build chef-server with omnibus-chef ('rake
projects:chef-server'), but the build currently fails on my system
during configuring erlang. I assume the information on how the
components are built - what the fetcher and builder processes are doing

  • are stored in a cookbook. But I can't find that cookbook. Where is it,
    or where does the information then come from?

Regards,
Nanuk

Hi Nanuk,

The "information on how the components are built" is
part of the omnibus-software git repository. Omnibus-chef
(and other omnibus-* projects) include this repo as a
set of base build instructions. Here's the erlang config:

https://github.com/opscode/omnibus-software/blob/master/config/software/erl
ang.rb

Also, what platform are you building on? Do you have any
detailed output about what is failing?

HTH,
Stephen

On 3/12/13 2:45 PM, "Nanuk Krinner" nkrinner@suse.de wrote:

Hi all,

I want to build chef-server with omnibus-chef ('rake
projects:chef-server'), but the build currently fails on my system
during configuring erlang. I assume the information on how the
components are built - what the fetcher and builder processes are doing

  • are stored in a cookbook. But I can't find that cookbook. Where is it,
    or where does the information then come from?

Regards,
Nanuk

Hi,

On 03/13/2013 01:28 AM, Stephen Delano wrote:

Hi Nanuk,

The "information on how the components are built" is
part of the omnibus-software git repository. Omnibus-chef
(and other omnibus-* projects) include this repo as a
set of base build instructions. Here's the erlang config:

https://github.com/opscode/omnibus-software/blob/master/config/software/erl
ang.rb

Thanks, that's what I was looking for. I wonder how I could actually
overlook this, as I was browsing through the omnibus code too...

Also, what platform are you building on? Do you have any
detailed output about what is failing?

It is failing on a openSUSE 12.2. I'm working on making the omnibus
install procedure available on openSUSE/SLES systems.

The error message I get is:
configure: error: /bin/sh
'/var/cache/omnibus/src/otp_src_R15B02/erts/configure' failed for erts
---- End output of ./configure --prefix=/opt/chef-server/embedded
--enable-threads --enable-smp-support --enable-kernel-poll
--enable-dynamic-ssl-lib --enable-shared-zlib --enable-hipe
--without-javac --with-ssl=/opt/chef-server/embedded --disable-debug ----
Ran ./configure --prefix=/opt/chef-server/embedded --enable-threads
--enable-smp-support --enable-kernel-poll --enable-dynamic-ssl-lib
--enable-shared-zlib --enable-hipe --without-javac
--with-ssl=/opt/chef-server/embedded --disable-debug returned 1

Tasks: TOP => projects:chef-server => projects:chef-server:copy =>
projects:chef-server:makeself => projects:chef-server:software:rabbitmq
=> projects:chef-server:software:erlang =>
/var/cache/omnibus/build/opt_chef-server/erlang.manifest =>
projects:chef-server:software:erlang:build
(See full trace by running task with --trace)

Right now I suspect a missing ERL_TOP environment variable.

Regards,
Nanuk