Skip to content

Instantly share code, notes, and snippets.

@bdha
Created May 19, 2015 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bdha/59c452127a3f2e580324 to your computer and use it in GitHub Desktop.
Save bdha/59c452127a3f2e580324 to your computer and use it in GitHub Desktop.
Recipe: build-essential::_smartos
* smartos_package[autoconf] action install
================================================================================
Error executing action `install` on resource 'smartos_package[autoconf]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '3'
---- Begin output of /opt/local/bin/pkgin -y install autoconf-2.69nb5;;Generates ----
STDOUT:
STDERR: sh: syntax error at line 1: `;;' unexpected
---- End output of /opt/local/bin/pkgin -y install autoconf-2.69nb5;;Generates ----
Ran /opt/local/bin/pkgin -y install autoconf-2.69nb5;;Generates returned 3
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/build-essential/recipes/_smartos.rb
21: package 'autoconf'
22: package 'binutils'
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/build-essential/recipes/_smartos.rb:21:in `block in from_file'
smartos_package("autoconf") do
action :install
retries 0
retry_delay 2
default_guard_interpreter :default
package_name "autoconf"
version "2.69nb5;;Generates"
timeout 900
declared_type :package
cookbook_name "build-essential"
recipe_name "_smartos"
end
Running handlers:
[2015-05-19T19:16:35+00:00] ERROR: Running exception handlers
Running handlers complete
[2015-05-19T19:16:35+00:00] ERROR: Exception handlers complete
[2015-05-19T19:16:35+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 4.286596636 seconds
[2015-05-19T19:16:36+00:00] ERROR: smartos_package[autoconf] (build-essential::_smartos line 21) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '3'
---- Begin output of /opt/local/bin/pkgin -y install autoconf-2.69nb5;;Generates ----
STDOUT:
STDERR: sh: syntax error at line 1: `;;' unexpected
---- End output of /opt/local/bin/pkgin -y install autoconf-2.69nb5;;Generates ----
Ran /opt/local/bin/pkgin -y install autoconf-2.69nb5;;Generates returned 3
[2015-05-19T19:16:36+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment