Last active
December 12, 2015 06:18
-
-
Save dpetzel/4727746 to your computer and use it in GitHub Desktop.
minitest-chef-handler json compile failure
http://lists.opscode.com/sympa/arc/chef/2013-02/msg00110.html
This file contains 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
1.1.1.1 [2013-02-06T17:51:04-08:00] INFO: Processing chef_gem[minitest-chef-handler] action nothing (minitest-handler::default line 7) | |
1.1.1.1 [2013-02-06T17:51:05-08:00] INFO: Processing chef_gem[minitest-chef-handler] action install (minitest-handler::default line 7) | |
1.1.1.1 [2013-02-06T17:51:19-08:00] ERROR: chef_gem[minitest-chef-handler] (minitest-handler::default line 7) has had an error | |
1.1.1.1 [2013-02-06T17:51:19-08:00] ERROR: Running exception handlers | |
1.1.1.1 [2013-02-06T17:51:19-08:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json | |
1.1.1.1 [2013-02-06T17:51:19-08:00] ERROR: Exception handlers complete | |
1.1.1.1 [2013-02-06T17:51:19-08:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
1.1.1.1 [2013-02-06T17:51:19-08:00] FATAL: Gem::Installer::ExtensionBuildError: chef_gem[minitest-chef-handler] (minitest-handler::default line 7) | |
had an error: Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. | |
1.1.1.1 | |
1.1.1.1 /opt/chef/embedded/bin/ruby extconf.rb | |
1.1.1.1 creating Makefile | |
1.1.1.1 | |
1.1.1.1 make | |
1.1.1.1 sh: make: command not found | |
1.1.1.1 | |
1.1.1.1 | |
1.1.1.1 Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6 for inspection. | |
1.1.1.1 Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6/ext/json/ext/generator/gem_make.out | |
1.1.1.1 | |
###Debug Output Trying to install Gem manually | |
[root@test ~]# /opt/chef/embedded/bin/gem install minitest-chef-handler --debug | |
Exception `NameError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:177 - uninitialized constant Gem::Commands::InstallCommand | |
Exception `Gem::LoadError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247 - Could not find psych (>= 1.2.1, ~> 1.2) amongst [builder-3.1.4, bundler-1.0.22, bunny-0.7.9, chef-10.12.0, chef-10.12.0.rc.1, ci_reporter-1.8.4, erubis-2.7.0, highline-1.6.13, highline-1.6.12, ipaddress-0.8.0, json-1.6.1, mime-types-1.18, minitest-3.0.1, minitest-1.6.0, minitest-chef-handler-0.6.5, mixlib-authentication-1.3.0, mixlib-authentication-1.1.4, mixlib-cli-1.3.0, mixlib-cli-1.2.2, mixlib-config-1.1.2, mixlib-log-1.3.0, mixlib-shellout-1.0.0, moneta-0.6.0, net-ssh-2.2.2, net-ssh-gateway-1.1.0, net-ssh-multi-1.1, ohai-6.14.0, polyglot-0.3.3, rake-0.8.7, rdoc-2.5.8, rest-client-1.6.7, systemu-2.5.1, treetop-1.4.10, uuidtools-2.1.2, yajl-ruby-1.1.0] | |
Exception `LoadError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 - no such file to load -- psych | |
Exception `LoadError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:62 - no such file to load -- psych | |
Exception `Errno::EAGAIN' at /opt/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block | |
Exception `Errno::EAGAIN' at /opt/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block | |
Exception `Errno::EAGAIN' at /opt/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block | |
Exception `Errno::EAGAIN' at /opt/chef/embedded/lib/ruby/1.9.1/net/protocol.rb:135 - Resource temporarily unavailable - read would block | |
Exception `NoMethodError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1473 - undefined method `to_ary' for #<Gem::Specification name=minitest-chef-handler version=0.6.5> | |
Exception `NoMethodError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1473 - undefined method `to_ary' for #<Gem::Specification name=json version=1.7.6> | |
Exception `NoMethodError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1473 - undefined method `to_ary' for #<Gem::Specification name=net-ssh version=2.6.5> | |
Exception `NoMethodError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1473 - undefined method `to_ary' for #<Gem::Specification name=minitest-chef-handler version=0.6.5> | |
Exception `NoMethodError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1473 - undefined method `to_ary' for #<Gem::Specification name=json version=1.7.6> | |
Exception `NoMethodError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1473 - undefined method `to_ary' for #<Gem::Specification name=net-ssh version=2.6.5> | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1 | |
Exception `NoMethodError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/package/tar_input.rb:57 - undefined method `readpartial' for #<Gem::Package::TarReader::Entry:0x0000000e8a1ea8> | |
Exception `IOError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/format.rb:45 - closed stream | |
Exception `Errno::ENOENT' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6/ext/json/ext/fbuffer | |
Exception `Errno::ENOENT' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1 | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6 | |
Exception `Errno::ENOENT' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6/java/src/json/ext | |
Exception `Errno::ENOENT' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1 | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6 | |
Exception `Errno::ENOENT' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6/lib/json/add | |
Exception `Errno::ENOENT' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1 | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6 | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6/lib | |
Exception `Errno::ENOENT' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6/tests/fixtures | |
Exception `Errno::ENOENT' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - No such file or directory - | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1 | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems | |
Exception `Errno::EEXIST' at /opt/chef/embedded/lib/ruby/1.9.1/fileutils.rb:243 - File exists - /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6 | |
Building native extensions. This could take a while... | |
Exception `Gem::InstallError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/ext/builder.rb:37 - make failed: | |
["/opt/chef/embedded/bin/ruby extconf.rb", "creating Makefile\n", "make", "gcc -I. -I/opt/chef/embedded/include/ruby-1.9.1/x86_64-linux -I/opt/chef/embedded/include/ruby-1.9.1/ruby/backward -I/opt/chef/embedded/include/ruby-1.9.1 -I. -DJSON_GENERATOR -I/opt/chef/embedded/include -fPIC -L/opt/chef/embedded/lib -I/opt/chef/embedded/include -fPIC -O3 -Wall -O0 -ggdb -o generator.o -c generator.c\nmake: gcc: Command not found\nmake: *** [generator.o] Error 127\n"] | |
Exception `Gem::Installer::ExtensionBuildError' at /opt/chef/embedded/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:552 - ERROR: Failed to build gem native extension. | |
/opt/chef/embedded/bin/ruby extconf.rb | |
creating Makefile | |
make | |
gcc -I. -I/opt/chef/embedded/include/ruby-1.9.1/x86_64-linux -I/opt/chef/embedded/include/ruby-1.9.1/ruby/backward -I/opt/chef/embedded/include/ruby-1.9.1 -I. -DJSON_GENERATOR -I/opt/chef/embedded/include -fPIC -L/opt/chef/embedded/lib -I/opt/chef/embedded/include -fPIC -O3 -Wall -O0 -ggdb -o generator.o -c generator.c | |
make: gcc: Command not found | |
make: *** [generator.o] Error 127 | |
Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6 for inspection. | |
Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6/ext/json/ext/generator/gem_make.out | |
ERROR: Error installing minitest-chef-handler: | |
ERROR: Failed to build gem native extension. | |
/opt/chef/embedded/bin/ruby extconf.rb | |
creating Makefile | |
make | |
gcc -I. -I/opt/chef/embedded/include/ruby-1.9.1/x86_64-linux -I/opt/chef/embedded/include/ruby-1.9.1/ruby/backward -I/opt/chef/embedded/include/ruby-1.9.1 -I. -DJSON_GENERATOR -I/opt/chef/embedded/include -fPIC -L/opt/chef/embedded/lib -I/opt/chef/embedded/include -fPIC -O3 -Wall -O0 -ggdb -o generator.o -c generator.c | |
make: gcc: Command not found | |
make: *** [generator.o] Error 127 | |
Gem files will remain installed in /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6 for inspection. | |
Results logged to /opt/chef/embedded/lib/ruby/gems/1.9.1/gems/json-1.7.6/ext/json/ext/generator/gem_make.out | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment