Skip to content

Instantly share code, notes, and snippets.

@siddheshwar-more
Created June 23, 2015 13:37
Show Gist options
  • Save siddheshwar-more/7ad40bc0816fb51492b3 to your computer and use it in GitHub Desktop.
Save siddheshwar-more/7ad40bc0816fb51492b3 to your computer and use it in GitHub Desktop.
Chef delivery-cli omnibus build related errors
$ bin/omnibus build delivery-cli
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/bundler-1.9.1/lib/bundler.rb:317: warning: Insecure world writable dir /opt in PATH, mode 040777
[CLI] I | Using config from 'omnibus.rb'
Building delivery-cli 20150623111242...
[NullFetcher: preparation] I | Fetching `preparation' (nothing to fetch)
[NullFetcher: version-manifest] I | Fetching `version-manifest' (nothing to fetch)
[PathFetcher: delivery-cli] I | Copying from `/home/clogeny/Documents/work/opscode/chef-delivery/delivery-cli'
[Software: preparation] I | Restored from cache
[Software: zlib] I | Restored from cache
[Software: cacerts] I | Restored from cache
[Software: xproto] I | Restored from cache
[Software: util-macros] I | Restored from cache
[Software: libiconv] I | Restored from cache
[Software: pkg-config] I | Restored from cache
[Software: makedepend] I | Restored from cache
[Software: openssl] I | Restored from cache
[Software: delivery-cli] I | Could not restore from cache
[PathFetcher: delivery-cli] I | Cleaning project directory `/home/clogeny/Documents/work/opscode/chef-delivery/delivery-cli/omnibus-delivery-cli/local/src/delivery-cli'
[PathFetcher: delivery-cli] I | Copying from `/home/clogeny/Documents/work/opscode/chef-delivery/delivery-cli'
[Builder: delivery-cli] I | Starting build
[Builder: delivery-cli] I | Environment:
[Builder: delivery-cli] I | CFLAGS="-I/opt/delivery-cli/embedded/include"
[Builder: delivery-cli] I | CXXFLAGS="-I/opt/delivery-cli/embedded/include"
[Builder: delivery-cli] I | DELIV_CLI_GIT_SHA="5caef92"
[Builder: delivery-cli] I | LDFLAGS="-Wl,-rpath,/opt/delivery-cli/embedded/lib -L/opt/delivery-cli/embedded/lib"
[Builder: delivery-cli] I | LD_RUN_PATH="/opt/delivery-cli/embedded/lib"
[Builder: delivery-cli] I | PATH="/opt/delivery-cli/bin:/opt/delivery-cli/embedded/bin:/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/bin:/home/clogeny/.rvm/gems/ruby-2.0.0-p594/bin:/home/clogeny/.rvm/gems/ruby-2.0.0-p594@global/bin:/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/clogeny/.rvm/bin:/opt/opscode/embedded/bin"
[Builder: delivery-cli] I | PKG_CONFIG_PATH="/opt/delivery-cli/embedded/lib/pkgconfig"
[Builder: delivery-cli] I | RUSTC_VERSION="rustc 1.0.0 (a59de37e9 2015-05-13) (built 2015-05-14)"
[Builder: delivery-cli] I | $ cargo build -j 2 --release
[Builder: delivery-cli] I | Execute: `cargo build -j 2 --release': 115.9609s
[Builder: delivery-cli] I | Build delivery-cli: 115.963s
The following shell command exited with status 101:
$ CFLAGS=-I/opt/delivery-cli/embedded/include CXXFLAGS=-I/opt/delivery-cli/embedded/include DELIV_CLI_GIT_SHA=5caef92 LC_ALL=C LDFLAGS=-Wl,-rpath,/opt/delivery-cli/embedded/lib -L/opt/delivery-cli/embedded/lib LD_RUN_PATH=/opt/delivery-cli/embedded/lib PATH=/opt/delivery-cli/bin:/opt/delivery-cli/embedded/bin:/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/bin:/home/clogeny/.rvm/gems/ruby-2.0.0-p594/bin:/home/clogeny/.rvm/gems/ruby-2.0.0-p594@global/bin:/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/clogeny/.rvm/bin:/opt/opscode/embedded/bin PKG_CONFIG_PATH=/opt/delivery-cli/embedded/lib/pkgconfig RUSTC_VERSION=rustc 1.0.0 (a59de37e9 2015-05-13) (built 2015-05-14) cargo build -j 2 --release
Output:
Compiling matches v0.1.2
Compiling rustc-serialize v0.3.14
Compiling gcc v0.3.5
Compiling libc v0.1.8
Compiling lazy_static v0.1.11
Compiling typeable v0.1.1
Compiling regex-syntax v0.1.1
Compiling term v0.2.7
Compiling httparse v0.1.3
Compiling bitflags v0.1.1
Compiling strsim v0.3.0
Compiling traitobject v0.0.1
Compiling unicase v0.1.0
Compiling pkg-config v0.3.4
Compiling time v0.1.25
Compiling log v0.3.1
Compiling num_cpus v0.2.6
Compiling rand v0.3.8
Compiling regex v0.1.33
Compiling url v0.2.34
Compiling toml v0.1.20
Compiling openssl-sys v0.6.2
Compiling mime v0.0.11
Build failed, waiting for other jobs to finish...
Error:
/home/clogeny/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.33/src/lib.rs:392:34: 392:48 error: unstable feature
/home/clogeny/.cargo/registry/src/github.com-1ecc6299db9ec823/regex-0.1.33/src/lib.rs:392 #![cfg_attr(feature = "pattern", feature(core))]
^~~~~~~~~~~~~~
note: this feature may not be used in the stable release channel
error: aborting due to previous error
Could not compile `regex`.
To learn more, run the command again with --verbose.
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/util.rb:101:in `rescue in shellout!'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/util.rb:97:in `shellout!'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:682:in `shellout!'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:84:in `block in command'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:869:in `instance_eval'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:869:in `run'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:700:in `block (3 levels) in execute'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:722:in `call'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:722:in `with_retries'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:699:in `block (2 levels) in execute'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/instrumentation.rb:23:in `call'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/instrumentation.rb:23:in `measure'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:698:in `block in execute'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:772:in `call'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:772:in `with_clean_env'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:697:in `execute'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:593:in `block (2 levels) in build'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:592:in `each'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:592:in `block in build'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/instrumentation.rb:23:in `call'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/instrumentation.rb:23:in `measure'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/builder.rb:591:in `build'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/software.rb:849:in `execute_build'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/software.rb:729:in `build_me'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/project.rb:925:in `block in build_me'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/project.rb:924:in `each'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/project.rb:924:in `build_me'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/cli.rb:69:in `build'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/cli/base.rb:33:in `dispatch'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/lib/omnibus/cli.rb:41:in `execute!'
/home/clogeny/.rvm/rubies/ruby-2.0.0-p594/lib/ruby/gems/2.0.0/gems/omnibus-4.0.0/bin/omnibus:11:in `<top (required)>'
bin/omnibus:16:in `load'
bin/omnibus:16:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment