FreeBSD 11 builds are failing with the following errors:
[Builder: preparation] I | 2018-07-24T19:44:30+00:00 | Finished build
[Licensing] W | 2018-07-24T19:44:31+00:00 | Software 'preparation' is not supported project type for transitive dependency license collection. See https://github.com/chef/license_scout for the list of supported languages and dependency managers. If this project does not have any transitive dependencies, consider setting 'skip_transitive_dependency_licensing' to 'true' in order to correct this error.
[Licensing] W | 2018-07-24T19:44:31+00:00 | Licensing output report at '/opt/sensu/license-cache/preparation' has errors:
Can not find a dependency license manifest under '/opt/sensu/license-cache/preparation'.
STDERR: env: illegal option -- 0
usage: env [-iv] [-P utilpath] [-S string] [-u name]
[name=value ...] [utility [argument ...]]
/home/omnibus/load-omnibus-toolchain.sh: gcc: not found
/opt/sensu-omnibus/omnibus.rb:11: warning: already initialized constant OpenSSL::SSL::VERIFY_PEER
[2018-07-24T19:44:01+00:00] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
The following shell command exited with status 128:
$ git -c core.autocrlf=false --git-dir=/var/cache/omnibus/cache/git_cache/opt/sensu --work-tree=/opt/sensu commit -q -m "Backup of preparation-f350533c25dc2a0f77f7bd82b08c161a46a4d597f2492f1ff1e7c9b2a80375e2-2"
Output:
(nothing)
Error:
*** Please tell me who you are.
Run
git config --global user.email "you@example.com"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@freebsd.(none)')
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/util.rb:102:in `rescue in shellout!'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/util.rb:98:in `shellout!'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/git_cache.rb:193:in `git_cmd'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/git_cache.rb:130:in `incremental'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/software.rb:1239:in `execute_build'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/software.rb:1096:in `build_me'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/project.rb:1077:in `block (2 levels) in build'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/project.rb:1076:in `each'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/project.rb:1076:in `block in build'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/licensing.rb:62:in `block in create_incrementally'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/licensing.rb:57:in `tap'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/licensing.rb:57:in `create_incrementally'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/project.rb:1075:in `build'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/cli.rb:84:in `build'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor/command.rb:27:in `run'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in `invoke_command'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor.rb:359:in `dispatch'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/cli/base.rb:33:in `dispatch'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/gems/thor-0.19.1/lib/thor/base.rb:440:in `start'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/lib/omnibus/cli.rb:42:in `execute!'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bundler/gems/omnibus-788c6494dbfd/bin/omnibus:16:in `<top (required)>'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bin/omnibus:22:in `load'
/opt/sensu-omnibus/vendor/bundle/ruby/2.3.0/bin/omnibus:22:in `<top (required)>'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:74:in `load'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:74:in `kernel_load'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli/exec.rb:27:in `run'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:332:in `exec'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:20:in `dispatch'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/cli.rb:11:in `start'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/exe/bundle:34:in `block in <top (required)>'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/lib/bundler/friendly_errors.rb:100:in `with_friendly_errors'
/opt/omnibus-toolchain/embedded/lib/ruby/gems/2.3.0/gems/bundler-1.13.6/exe/bundle:26:in `<top (required)>'
/opt/omnibus-toolchain/bin/bundle:22:in `load'
/opt/omnibus-toolchain/bin/bundle:22:in `<main>'
---- End output of . /home/omnibus/load-omnibus-toolchain.sh
bundle exec omnibus build sensu --log-level info --config /opt/sensu-omnibus/omnibus.rb
----
Ran . /home/omnibus/load-omnibus-toolchain.sh
bundle exec omnibus build sensu --log-level info --config /opt/sensu-omnibus/omnibus.rb
returned 1
Cookbook Trace:
---------------
/tmp/kitchen/cache/cookbooks/omnibus/libraries/omnibus_build.rb:150:in `execute_with_omnibus_toolchain'
/tmp/kitchen/cache/cookbooks/omnibus/libraries/omnibus_build.rb:82:in `block (2 levels) in <class:OmnibusBuild>'
/tmp/kitchen/cache/cookbooks/omnibus/libraries/omnibus_build.rb:77:in `block in <class:OmnibusBuild>'
Compiled Resource:
------------------
# Declared in
execute("sensu: bundle exec omnibus build sensu --log-level info --config /opt/sensu-omnibus/omnibus.rb ") do
action [:run]
retries 0
retry_delay 2
default_guard_interpreter :execute
command ". /home/omnibus/load-omnibus-toolchain.sh\nbundle exec omnibus build sensu --log-level info --config /opt/sensu-omnibus/omnibus.rb \n"
backup 5
cwd "/opt/sensu-omnibus"
environment {"SENSU_VERSION"=>"1.4.3", "BUILD_NUMBER"=>"1", "PATH"=>"/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/ec2-user/bin:/opt/chef/embedded/bin:/opt/chef/embedded/bin", "USER"=>"root", "USERNAME"=>"root", "LOGNAME"=>"root"}
returns 0
user "root"
live_stream true
end
Platform:
---------
x86_64-freebsd10.2
================================================================================
Error executing action `execute` on resource 'omnibus_build[sensu]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
execute[sensu: bundle exec omnibus build sensu --log-level info --config /opt/sensu-omnibus/omnibus.rb ] (dynamically defined) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of . /home/omnibus/load-omnibus-toolchain.sh
bundle exec omnibus build sensu --log-level info --config /opt/sensu-omnibus/omnibus.rb
----
STDOUT: ========================================
= Environment
========================================
========================================
= Tool Versions
========================================
Bash.........GNU bash, version 4.3.30(1)-release (x86_64-unknown-freebsd10.2)
Bundler......Bundler version 1.13.6
GCC..........
Git..........git version 2.10.2
Make.........GNU Make 4.1
Ruby.........ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-freebsd10.2]
RubyGems.....2.6.10
========================================
[CLI] I | 2018-07-24T19:44:01+00:00 | Using config from '/opt/sensu-omnibus/omnibus.rb'
Failed to load gpg_passphrase: No such file or directory @ rb_sysopen - /home/omnibus/.gpg_passphrase
[Software: config_guess] W | 2018-07-24T19:44:02+00:00 | Version master for software config_guess was not parseable. Comparison methods such as #satisfies? will not be available for this version.
[Software: eventmachine] W | 2018-07-24T19:44:02+00:00 | Version v1.2.5 for software eventmachine was not parseable. Comparison methods such as #satisfies? will not be available for this version.
Building sensu 1.4.3...
and:
/home/omnibus/load-omnibus-toolchain.sh: gcc: not found
FreeBSD 11 builds are failing with the following errors:
and: