- From: Sean OMeara <
>
- To:
- Subject: [chef] Re: Trying to build omnibus installer on FreeBSD
- Date: Tue, 8 Jan 2013 10:47:43 -0500
This patch lets ncurses build on Solaris. Try it on FreeBSD.
-s
https://github.com/someara/omnibus-software/blob/CHEF-2576/config/patches/ncurses/ncurses-5.9-solaris-xopen_source_extended-detection.patch
On Tue, Jan 8, 2013 at 10:41 AM, Sean OMeara
<
>
wrote:
>
I patched up Omnibus to build on SmartOS.
>
Maybe it fixes FreeBSD?
>
>
Try this branch. Let me know.
>
>
https://github.com/someara/omnibus-software/tree/CHEF-2576
>
>
-s
>
>
On Tue, Jan 8, 2013 at 6:12 AM,
>
<
>
>
wrote:
>
> Hi,
>
>
>
> though I can build the chef-client via FreeBSD ports, due to the
>
> various dependencies and because we'd like to have the same
>
> chef-version on every platform (Linux, FreeBSD, Solaris), I'd like to
>
> build the omnibus-installer.
>
>
>
>
>
> I've installed a basic FreeBSD 9.1 jail with only the following
>
> packages:
>
>
>
>
>
> /home/chef-build/repo/omnibus-chef]# pkg info
>
> bash-4.2.37 The GNU Project's Bourne Again SHell
>
> ca_root_nss-3.14 The root certificate bundle from the
>
> Mozilla Project curl-7.24.0_1 Non-interactive tool to
>
> get files from FTP, GOPHER, HTTP(S) servers
>
> cvsps-2.1_1 Create patchset information from CVS
>
> expat-2.0.1_2 XML 1.0 parser written in C
>
> gettext-0.18.1.1 GNU gettext package
>
> git-1.8.0 Distributed source code management tool
>
> gmake-3.82_1 GNU version of 'make' utility
>
> libiconv-1.14 A character set conversion library
>
> p5-Error-0.17018 Perl module to provide Error/exception
>
> support for perl: Error p5-Net-SMTP-SSL-1.01_1 An SMTP client
>
> supporting SSL perl-5.16.2 Practical Extraction and
>
> Report Language pkg-1.0.2 New generation package
>
> manager python27-2.7.3_3 An interpreted object-oriented
>
> programming language ruby-1.8.7.371,1 An object-oriented
>
> interpreted scripting language ruby18-gems-1.8.24 Package
>
> management framework for the Ruby language
>
> rubygem-bundler-1.1.5 A tool that manages gem dependencies for
>
> ruby applications rubygem-rake-0.9.2.2 Ruby Make
>
>
>
>
>
> I've aliased gmake to make
>
> (BTW: does it need gmake or make?), but upon running
>
>
>
> /home/chef-build/repo/omnibus-chef]#
>
> CHEF_GIT_REV=10.14.4 rake projects:chef --trace
>
>
>
>
>
> I get:
>
>
>
> Omnibus::BuildVersion.full is deprecated. Use
>
> Omnibus::BuildVersion.new.semver or
>
> Omnibus::BuildVersion.new.git_describe. Omnibus::BuildVersion.full is
>
> deprecated. Use Omnibus::BuildVersion.new.semver or
>
> Omnibus::BuildVersion.new.git_describe. ** Invoke projects:chef
>
> (first_time) ** Invoke projects:chef:copy (first_time) ** Invoke
>
> projects:chef:makeself (first_time) ** Invoke
>
> projects:chef:software:preparation (first_time) **
>
> Invoke /var/cache/omnibus/build/opt_chef/preparation.manifest
>
> (first_time) ** Invoke (first_time) ** Execute ** Invoke
>
> projects:chef:software:preparation:build (first_time) ** Invoke
>
> projects:chef:software:preparation:fetch (first_time) **
>
> Invoke /var/cache/omnibus/build/opt_chef (first_time, not_needed) **
>
> Invoke /var/cache/omnibus/src (first_time, not_needed) **
>
> Invoke /var/cache/omnibus/cache (first_time, not_needed) **
>
> Invoke /var/cache/omnibus/src/preparation (first_time, not_needed) **
>
> Execute projects:chef:software:preparation:fetch ** Execute
>
> projects:chef:software:preparation:build **
>
> Invoke /var/cache/omnibus/build/opt_chef/preparation.fetch (first_time)
>
> ** Invoke projects:chef:software:preparation:fetch **
>
> Invoke
>
> /usr/local/lib/ruby/gems/1.8/bundler/gems/omnibus-software-b22fa6b16ff7/config/software/preparation.rb
>
> (first_time, not_needed) **
>
> Execute /var/cache/omnibus/build/opt_chef/preparation.fetch **
>
> Execute /var/cache/omnibus/build/opt_chef/preparation.manifest **
>
> Execute projects:chef:software:preparation ** Invoke
>
> projects:chef:software:chef (first_time) ** Invoke
>
> projects:chef:software:preparation ** Invoke
>
> projects:chef:software:ruby (first_time) ** Invoke
>
> projects:chef:software:preparation ** Invoke
>
> projects:chef:software:zlib (first_time) ** Invoke
>
> projects:chef:software:preparation **
>
> Invoke /var/cache/omnibus/build/opt_chef/zlib.manifest (first_time) **
>
> Invoke /var/cache/omnibus/build/opt_chef/preparation.manifest **
>
> Invoke /var/cache/omnibus/src/zlib-1.2.6/examplesh (first_time,
>
> not_needed) ** Invoke projects:chef:software:zlib:build (first_time) **
>
> Invoke projects:chef:software:zlib:fetch (first_time) **
>
> Invoke /var/cache/omnibus/build/opt_chef (not_needed) **
>
> Invoke /var/cache/omnibus/src (not_needed) **
>
> Invoke /var/cache/omnibus/cache (not_needed) **
>
> Invoke /var/cache/omnibus/src/zlib-1.2.6 (first_time, not_needed) **
>
> Execute projects:chef:software:zlib:fetch ** Execute
>
> projects:chef:software:zlib:build **
>
> Invoke /var/cache/omnibus/build/opt_chef/zlib.fetch (first_time) **
>
> Invoke projects:chef:software:zlib:fetch **
>
> Invoke
>
> /usr/local/lib/ruby/gems/1.8/bundler/gems/omnibus-software-b22fa6b16ff7/config/software/zlib.rb
>
> (first_time, not_needed) **
>
> Execute /var/cache/omnibus/build/opt_chef/zlib.fetch **
>
> Execute /var/cache/omnibus/build/opt_chef/zlib.manifest ** Execute
>
> projects:chef:software:zlib ** Invoke projects:chef:software:ncurses
>
> (first_time) ** Invoke projects:chef:software:preparation **
>
> Invoke /var/cache/omnibus/build/opt_chef/ncurses.manifest (first_time)
>
> ** Invoke /var/cache/omnibus/build/opt_chef/preparation.manifest **
>
> Invoke /var/cache/omnibus/src/ncurses-5.9/man (first_time, not_needed)
>
> ** Invoke projects:chef:software:ncurses:build (first_time) ** Invoke
>
> projects:chef:software:ncurses:fetch (first_time) **
>
> Invoke /var/cache/omnibus/build/opt_chef (not_needed) **
>
> Invoke /var/cache/omnibus/src (not_needed) **
>
> Invoke /var/cache/omnibus/cache (not_needed) **
>
> Invoke /var/cache/omnibus/src/ncurses-5.9 (first_time, not_needed) **
>
> Execute projects:chef:software:ncurses:fetch ** Execute
>
> projects:chef:software:ncurses:build [fetcher:s3cache::ncurses]
>
> cleaning existing build from /var/cache/omnibus/src/ncurses-5.9
>
> [fetcher:s3cache::ncurses] extracting the source
>
> in /var/cache/omnibus/cache/ncurses-5.9.tar.gz
>
> to /var/cache/omnibus/src [builder:ncurses] building ncurses
>
> [builder:ncurses] Executing: `./configure --prefix=/opt/chef/embedded
>
> --with-shared --with-termlib --without-debug --enable-widec` with
>
> timeout=5400,cwd=/var/cache/omnibus/src/ncurses-5.9,env="CFLAGS=-L/opt/chef/embedded/lib
>
> -I/opt/chef/embedded/include
>
> LD_RUN_PATH=/opt/chef/embedded/lib" [builder:ncurses] ./configure
>
> command succeeded, 10.03133s [builder:ncurses] Executing: `make -j 2`
>
> with
>
> timeout=5400,cwd=/var/cache/omnibus/src/ncurses-5.9,env="CFLAGS=-L/opt/chef/embedded/lib
>
> -I/opt/chef/embedded/include
>
> LD_RUN_PATH=/opt/chef/embedded/lib" [builder:ncurses] make command
>
> failed, 0.223738s [builder:ncurses] Failed to execute cmd make -j
>
> 2timeout5400cwd/var/cache/omnibus/src/ncurses-5.9envCFLAGS-L/opt/chef/embedded/lib
>
> -I/opt/chef/embedded/includeLD_RUN_PATH/opt/chef/embedded/lib 1
>
> time(s). Retrying in 5s. [builder:ncurses] Executing: `make -j 2` with
>
> timeout=5400,cwd=/var/cache/omnibus/src/ncurses-5.9,env="CFLAGS=-L/opt/chef/embedded/lib
>
> -I/opt/chef/embedded/include
>
> LD_RUN_PATH=/opt/chef/embedded/lib" [builder:ncurses] make command
>
> failed, 0.022254s [builder:ncurses] Failed to execute cmd make -j
>
> 2timeout5400cwd/var/cache/omnibus/src/ncurses-5.9envCFLAGS-L/opt/chef/embedded/lib
>
> -I/opt/chef/embedded/includeLD_RUN_PATH/opt/chef/embedded/lib 2
>
> time(s). Retrying in 10s. [builder:ncurses] Executing: `make -j 2` with
>
> timeout=5400,cwd=/var/cache/omnibus/src/ncurses-5.9,env="CFLAGS=-L/opt/chef/embedded/lib
>
> -I/opt/chef/embedded/include
>
> LD_RUN_PATH=/opt/chef/embedded/lib" [builder:ncurses] make command
>
> failed, 0.03299s [builder:ncurses] Failed to execute cmd make -j
>
> 2timeout5400cwd/var/cache/omnibus/src/ncurses-5.9envCFLAGS-L/opt/chef/embedded/lib
>
> -I/opt/chef/embedded/includeLD_RUN_PATH/opt/chef/embedded/lib 3
>
> time(s). Retrying in 20s.
>
>
>
>
>
> ...
>
>
>
> Can anyone shed light on what exactly it wants to do here and why it's
>
> failing?
>
>
>
>
>
> Thanks in advance,
>
> Rainer
Archive powered by MHonArc 2.6.16.