[DRE-maint] Bug#725561: ruby-em-socksify: FTBFS: ERROR: Test "ruby2.0" failed: /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- rubyeventmachine (LoadError)

David Suárez david.sephirot at gmail.com
Sun Oct 6 19:27:42 UTC 2013


Source: ruby-em-socksify
Version: 0.2.1-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131006 qa-ftbfs ruby2-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory `/«PKGBUILDDIR»'
> chmod +x debian/start_webrick_hpsockd_and_auto_install.sh
> debian/start_webrick_hpsockd_and_auto_install.sh
> Sleeping 5 seconds for WEBrick to start...
> /usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:31: warning: method redefined; discarding old visit_String
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:4: warning: previous definition of visit_String was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:39: warning: method redefined; discarding old register
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:12: warning: previous definition of register was here
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:43: warning: method redefined; discarding old format_time
> /usr/lib/ruby/1.9.1/rubygems/psych_tree.rb:16: warning: previous definition of format_time was here
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:115: warning: method redefined; discarding old to_s
> /usr/lib/ruby/1.9.1/rubygems/syck_hack.rb:44: warning: previous definition of to_s was here
>   Entering dh_ruby --install
> install -d /«PKGBUILDDIR»/debian/ruby-em-socksify/usr/lib/ruby/vendor_ruby
> install -D -m644 /«PKGBUILDDIR»/lib/em-socksify/version.rb /«PKGBUILDDIR»/debian/ruby-em-socksify/usr/lib/ruby/vendor_ruby/em-socksify/version.rb
> install -D -m644 /«PKGBUILDDIR»/lib/em-socksify/socksify.rb /«PKGBUILDDIR»/debian/ruby-em-socksify/usr/lib/ruby/vendor_ruby/em-socksify/socksify.rb
> install -D -m644 /«PKGBUILDDIR»/lib/em-socksify/socks5.rb /«PKGBUILDDIR»/debian/ruby-em-socksify/usr/lib/ruby/vendor_ruby/em-socksify/socks5.rb
> install -D -m644 /«PKGBUILDDIR»/lib/em-socksify/errors.rb /«PKGBUILDDIR»/debian/ruby-em-socksify/usr/lib/ruby/vendor_ruby/em-socksify/errors.rb
> install -D -m644 /«PKGBUILDDIR»/lib/em-socksify.rb /«PKGBUILDDIR»/debian/ruby-em-socksify/usr/lib/ruby/vendor_ruby/em-socksify.rb
> /usr/bin/ruby1.9.1 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /usr/bin/ruby1.9.1 -S rspec ./spec/socksify_spec.rb
> .
> 
> Finished in 0.00743 seconds
> 1 example, 0 failures
> /usr/bin/ruby2.0 -I/usr/lib/ruby/vendor_ruby /usr/lib/ruby/vendor_ruby/gem2deb/test_runner.rb
> /usr/bin/ruby2.0 -S rspec ./spec/socksify_spec.rb
> Unable to load the EventMachine C extension; To use the pure-ruby reactor, require 'em/pure_ruby'
> /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require': cannot load such file -- rubyeventmachine (LoadError)
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/vendor_ruby/eventmachine.rb:8:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /«PKGBUILDDIR»/lib/em-socksify.rb:1:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /«PKGBUILDDIR»/spec/helper.rb:4:in `<top (required)>'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require'
> 	from /«PKGBUILDDIR»/spec/socksify_spec.rb:1:in `<top (required)>'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `block in load_spec_files'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `each'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load_spec_files'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:22:in `run'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:80:in `run'
> 	from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:17:in `block in autorun'
> /usr/bin/ruby2.0 -S rspec ./spec/socksify_spec.rb failed
> ERROR: Test "ruby2.0" failed: 
> dh_auto_install: dh_ruby --install /«PKGBUILDDIR»/debian/ruby-em-socksify returned exit code 1
> make[1]: *** [override_dh_auto_install] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/10/06/ruby-em-socksify_0.2.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-ruby-extras-maintainers mailing list