Created
July 15, 2013 17:04
-
-
Save ocxo/6001594 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [33m[Berkshelf] This version of the Berkshelf plugin has not been fully tested on this version of Vagrant.[0m | |
| [33m[Berkshelf] You should check for a newer version of vagrant-berkshelf.[0m | |
| [33m[Berkshelf] If you encounter any errors with this version, please report them at https://github.com/RiotGames/vagrant-berkshelf/issues[0m | |
| [33m[Berkshelf] You can also join the discussion in #berkshelf on Freenode.[0m | |
| [Berkshelf] Updating Vagrant's berkshelf: '/Users/Adam/.berkshelf/default/vagrant/berkshelf-20130708-21737-op0tog-default' | |
| [Berkshelf] Using apt (1.10.0) | |
| [Berkshelf] Using java (1.9.4) | |
| [Berkshelf] Using tomcat (0.12.0) | |
| [Berkshelf] Using database (1.4.0) | |
| [Berkshelf] Using postgresql (3.0.0) | |
| [Berkshelf] Using scorm-engine-test (0.1.0) | |
| [Berkshelf] Using build-essential (1.3.4) | |
| [Berkshelf] Using windows (1.10.0) | |
| [Berkshelf] Using chef_handler (1.1.4) | |
| [Berkshelf] Using mysql (3.0.2) | |
| [Berkshelf] Using openssl (1.0.2) | |
| [Berkshelf] Using aws (0.101.2) | |
| [Berkshelf] Using xfs (1.1.0) | |
| [default] Running provisioner: chef_solo... | |
| Generating chef JSON and uploading... | |
| Running chef-solo... | |
| stdin: is not a tty | |
| [2013-07-15T17:04:21+00:00] INFO: *** Chef 11.4.0 *** | |
| [2013-07-15T17:04:22+00:00] INFO: Setting the run_list to ["recipe[scorm-engine-test::default]"] from JSON | |
| [2013-07-15T17:04:22+00:00] INFO: Run List is [recipe[scorm-engine-test::default]] | |
| [2013-07-15T17:04:22+00:00] INFO: Run List expands to [scorm-engine-test::default] | |
| [2013-07-15T17:04:22+00:00] INFO: Starting Chef Run for scorm-engine-berkshelf | |
| [2013-07-15T17:04:22+00:00] INFO: Running start handlers | |
| [2013-07-15T17:04:22+00:00] INFO: Start handlers complete. | |
| [2013-07-15T17:04:22+00:00] INFO: Processing execute[apt-get update] action run (postgresql::ruby line 24) | |
| [2013-07-15T17:04:25+00:00] INFO: execute[apt-get update] ran successfully | |
| [2013-07-15T17:04:25+00:00] INFO: Processing chef_gem[pg] action install (postgresql::ruby line 40) | |
| [0m | |
| ================================================================================[0m | |
| [31mError executing action `install` on resource 'chef_gem[pg]'[0m | |
| ================================================================================[0m | |
| [0m | |
| Gem::Installer::ExtensionBuildError[0m | |
| -----------------------------------[0m | |
| ERROR: Failed to build gem native extension. | |
| /opt/chef/embedded/bin/ruby extconf.rb | |
| checking for pg_config... no | |
| No pg_config... trying anyway. If building fails, please try again with | |
| --with-pg-config=/path/to/pg_config | |
| checking for libpq-fe.h... no | |
| Can't find the 'libpq-fe.h header | |
| *** extconf.rb failed *** | |
| Could not create Makefile due to some reason, probably lack of | |
| necessary libraries and/or headers. Check the mkmf.log file for more | |
| details. You may need configuration options. | |
| Provided configuration options: | |
| --with-opt-dir | |
| --with-opt-include | |
| --without-opt-include=${opt-dir}/include | |
| --with-opt-lib | |
| --without-opt-lib=${opt-dir}/lib | |
| --with-make-prog | |
| --without-make-prog | |
| --srcdir=. | |
| --curdir | |
| --ruby=/opt/chef/embedded/bin/ruby | |
| --with-pg | |
| --without-pg | |
| --with-pg-dir | |
| --without-pg-dir | |
| --with-pg-include | |
| --without-pg-include=${pg-dir}/include | |
| --with-pg-lib | |
| --without-pg-lib=${pg-dir}/lib | |
| --with-pg-config | |
| --without-pg-config | |
| --with-pg_config | |
| --without-pg_config | |
| Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/pg-0.15.1 for inspection. | |
| Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/pg-0.15.1/ext/gem_make.out | |
| [0m | |
| [0m | |
| Cookbook Trace:[0m | |
| ---------------[0m | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:40:in `rescue in from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/postgresql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/scorm-engine-test/recipes/database.rb:2:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/scorm-engine-test/recipes/default.rb:15:in `from_file'[0m | |
| [0m | |
| Resource Declaration:[0m | |
| ---------------------[0m | |
| # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb | |
| 40: chef_gem "pg" | |
| 41: rescue Gem::Installer::ExtensionBuildError => e | |
| [0m | |
| [0m | |
| Compiled Resource:[0m | |
| ------------------[0m | |
| # Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:40:in `rescue in from_file' | |
| chef_gem("pg") do | |
| provider Chef::Provider::Package::Rubygems | |
| action :install | |
| retries 0 | |
| retry_delay 2 | |
| package_name "pg" | |
| version "0.15.1" | |
| cookbook_name :postgresql | |
| recipe_name "ruby" | |
| end | |
| [0m | |
| [0m | |
| [2013-07-15T17:04:27+00:00] WARN: Failed to properly build pg gem. Forcing properly linking and retrying (omnibus fix) | |
| [2013-07-15T17:04:27+00:00] INFO: Processing execute[generate pg gem Makefile] action run (postgresql::ruby line 71) | |
| [0m | |
| ================================================================================[0m | |
| [31mError executing action `run` on resource 'execute[generate pg gem Makefile]'[0m | |
| ================================================================================[0m | |
| [0m | |
| Mixlib::ShellOut::ShellCommandFailed[0m | |
| ------------------------------------[0m | |
| Expected process to exit with [0], but received '1' | |
| ---- Begin output of /opt/chef/embedded/bin/ruby extconf.rb ---- | |
| STDOUT: checking for pg_config... no | |
| checking for libpq-fe.h... no | |
| STDERR: No pg_config... trying anyway. If building fails, please try again with | |
| --with-pg-config=/path/to/pg_config | |
| Can't find the 'libpq-fe.h header | |
| *** extconf.rb failed *** | |
| Could not create Makefile due to some reason, probably lack of | |
| necessary libraries and/or headers. Check the mkmf.log file for more | |
| details. You may need configuration options. | |
| Provided configuration options: | |
| --with-opt-dir | |
| --with-opt-include | |
| --without-opt-include=${opt-dir}/include | |
| --with-opt-lib | |
| --without-opt-lib=${opt-dir}/lib | |
| --with-make-prog | |
| --without-make-prog | |
| --srcdir=. | |
| --curdir | |
| --ruby=/opt/chef/embedded/bin/ruby | |
| --with-pg | |
| --without-pg | |
| --with-pg-dir | |
| --without-pg-dir | |
| --with-pg-include | |
| --without-pg-include=${pg-dir}/include | |
| --with-pg-lib | |
| --without-pg-lib=${pg-dir}/lib | |
| --with-pg-config | |
| --without-pg-config | |
| --with-pg_config | |
| --without-pg_config | |
| ---- End output of /opt/chef/embedded/bin/ruby extconf.rb ---- | |
| Ran /opt/chef/embedded/bin/ruby extconf.rb returned 1[0m | |
| [0m | |
| Cookbook Trace:[0m | |
| ---------------[0m | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:76:in `rescue in rescue in from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:39:in `rescue in from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/postgresql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/scorm-engine-test/recipes/database.rb:2:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/scorm-engine-test/recipes/default.rb:15:in `from_file'[0m | |
| [0m | |
| Resource Declaration:[0m | |
| ---------------------[0m | |
| # In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb | |
| 71: lib_builder = execute 'generate pg gem Makefile' do | |
| 72: command "#{RbConfig.ruby} extconf.rb" | |
| 73: cwd ext_dir | |
| 74: action :nothing | |
| 75: end | |
| 76: lib_builder.run_action(:run) | |
| [0m | |
| [0m | |
| Compiled Resource:[0m | |
| ------------------[0m | |
| # Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:71:in `rescue in rescue in from_file' | |
| execute("generate pg gem Makefile") do | |
| action [:nothing] | |
| retries 0 | |
| retry_delay 2 | |
| command "/opt/chef/embedded/bin/ruby extconf.rb" | |
| backup 5 | |
| cwd "/opt/chef/embedded/lib/ruby/gems/1.9.1/gems/pg-0.15.1/ext" | |
| returns 0 | |
| cookbook_name :postgresql | |
| recipe_name "ruby" | |
| end | |
| [0m | |
| [0m | |
| [0m | |
| ================================================================================[0m | |
| [31mRecipe Compile Error in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/scorm-engine-test/recipes/default.rb[0m | |
| ================================================================================[0m | |
| [0m | |
| Mixlib::ShellOut::ShellCommandFailed[0m | |
| ------------------------------------[0m | |
| execute[generate pg gem Makefile] (postgresql::ruby line 71) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
| ---- Begin output of /opt/chef/embedded/bin/ruby extconf.rb ---- | |
| STDOUT: checking for pg_config... no | |
| checking for libpq-fe.h... no | |
| STDERR: No pg_config... trying anyway. If building fails, please try again with | |
| --with-pg-config=/path/to/pg_config | |
| Can't find the 'libpq-fe.h header | |
| *** extconf.rb failed *** | |
| Could not create Makefile due to some reason, probably lack of | |
| necessary libraries and/or headers. Check the mkmf.log file for more | |
| details. You may need configuration options. | |
| Provided configuration options: | |
| --with-opt-dir | |
| --with-opt-include | |
| --without-opt-include=${opt-dir}/include | |
| --with-opt-lib | |
| --without-opt-lib=${opt-dir}/lib | |
| --with-make-prog | |
| --without-make-prog | |
| --srcdir=. | |
| --curdir | |
| --ruby=/opt/chef/embedded/bin/ruby | |
| --with-pg | |
| --without-pg | |
| --with-pg-dir | |
| --without-pg-dir | |
| --with-pg-include | |
| --without-pg-include=${pg-dir}/include | |
| --with-pg-lib | |
| --without-pg-lib=${pg-dir}/lib | |
| --with-pg-config | |
| --without-pg-config | |
| --with-pg_config | |
| --without-pg_config | |
| ---- End output of /opt/chef/embedded/bin/ruby extconf.rb ---- | |
| Ran /opt/chef/embedded/bin/ruby extconf.rb returned 1[0m | |
| [0m | |
| Cookbook Trace:[0m | |
| ---------------[0m | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:76:in `rescue in rescue in from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:39:in `rescue in from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb:21:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/database/recipes/postgresql.rb:20:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/scorm-engine-test/recipes/database.rb:2:in `from_file' | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/scorm-engine-test/recipes/default.rb:15:in `from_file'[0m | |
| [0m | |
| Relevant File Content:[0m | |
| ----------------------[0m | |
| /tmp/vagrant-chef-1/chef-solo-1/cookbooks/postgresql/recipes/ruby.rb: | |
| 69: end | |
| 70: | |
| 71: lib_builder = execute 'generate pg gem Makefile' do | |
| 72: command "#{RbConfig.ruby} extconf.rb" | |
| 73: cwd ext_dir | |
| 74: action :nothing | |
| 75: end | |
| 76>> lib_builder.run_action(:run) | |
| 77: | |
| 78: lib_maker = execute 'make pg gem lib' do | |
| 79: command 'make' | |
| 80: cwd ext_dir | |
| 81: action :nothing | |
| 82: end | |
| 83: lib_maker.run_action(:run) | |
| 84: | |
| 85: lib_installer = execute 'install pg gem lib' do | |
| [0m | |
| [0m | |
| [2013-07-15T17:04:28+00:00] ERROR: Running exception handlers | |
| [2013-07-15T17:04:28+00:00] ERROR: Exception handlers complete | |
| [2013-07-15T17:04:28+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out | |
| [2013-07-15T17:04:28+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: execute[generate pg gem Makefile] (postgresql::ruby line 71) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
| ---- Begin output of /opt/chef/embedded/bin/ruby extconf.rb ---- | |
| STDOUT: checking for pg_config... no | |
| checking for libpq-fe.h... no | |
| STDERR: No pg_config... trying anyway. If building fails, please try again with | |
| --with-pg-config=/path/to/pg_config | |
| Can't find the 'libpq-fe.h header | |
| *** extconf.rb failed *** | |
| Could not create Makefile due to some reason, probably lack of | |
| necessary libraries and/or headers. Check the mkmf.log file for more | |
| details. You may need configuration options. | |
| Provided configuration options: | |
| --with-opt-dir | |
| --with-opt-include | |
| --without-opt-include=${opt-dir}/include | |
| --with-opt-lib | |
| --without-opt-lib=${opt-dir}/lib | |
| --with-make-prog | |
| --without-make-prog | |
| --srcdir=. | |
| --curdir | |
| --ruby=/opt/chef/embedded/bin/ruby | |
| --with-pg | |
| --without-pg | |
| --with-pg-dir | |
| --without-pg-dir | |
| --with-pg-include | |
| --without-pg-include=${pg-dir}/include | |
| --with-pg-lib | |
| --without-pg-lib=${pg-dir}/lib | |
| --with-pg-config | |
| --without-pg-config | |
| --with-pg_config | |
| --without-pg_config | |
| ---- End output of /opt/chef/embedded/bin/ruby extconf.rb ---- | |
| Ran /opt/chef/embedded/bin/ruby extconf.rb returned 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment