[DRE-maint] Bug#812735: ruby-net-scp: FTBFS: /usr/lib/ruby/2.2.0/rubygems/specification.rb:927:in `block in find_by_path': undefined method `contains_requirable_file?' for nil:NilClass (NoMethodError)

Chris Lamb lamby at debian.org
Tue Jan 26 08:29:11 UTC 2016


Source: ruby-net-scp
Version: 1.2.1-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

ruby-net-scp fails to build from source in unstable/amd64:

  [..]

  
  RUBYLIB=/home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/debian/ruby-net-scp/usr/lib/ruby/vendor_ruby:. GEM_PATH=/home/lamby/.gem/ruby/2.2.0:/var/lib/gems/2.2.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.2.0:/usr/share/rubygems-integration/2.2.0:/usr/share/rubygems-integration/2.2:/usr/share/rubygems-integration/all:debian/ruby-net-scp/usr/share/rubygems-integration/all ruby2.2 -S rake -f debian/ruby-tests.rake
  /usr/bin/ruby2.2   "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_all.rb" "test/test_download.rb" "test/test_scp.rb" "test/test_upload.rb" -v
  /usr/lib/ruby/2.2.0/rubygems/specification.rb:927:in `block in find_by_path': undefined method `contains_requirable_file?' for nil:NilClass (NoMethodError)
  	from /usr/lib/ruby/2.2.0/rubygems/specification.rb:895:in `block in each'
  	from /usr/lib/ruby/2.2.0/rubygems/specification.rb:894:in `each'
  	from /usr/lib/ruby/2.2.0/rubygems/specification.rb:894:in `each'
  	from /usr/lib/ruby/2.2.0/rubygems/specification.rb:926:in `find'
  	from /usr/lib/ruby/2.2.0/rubygems/specification.rb:926:in `find_by_path'
  	from /usr/lib/ruby/2.2.0/rubygems.rb:190:in `try_activate'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:126:in `rescue in require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
  	from /usr/lib/ruby/vendor_ruby/net/ssh/prompt.rb:81:in `<module:SSH>'
  	from /usr/lib/ruby/vendor_ruby/net/ssh/prompt.rb:1:in `<module:Net>'
  	from /usr/lib/ruby/vendor_ruby/net/ssh/prompt.rb:1:in `<top (required)>'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/vendor_ruby/net/ssh/key_factory.rb:2:in `<top (required)>'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/vendor_ruby/net/ssh/authentication/key_manager.rb:2:in `<top (required)>'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/vendor_ruby/net/ssh/authentication/session.rb:4:in `<top (required)>'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/vendor_ruby/net/ssh.rb:11:in `<top (required)>'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/test/common.rb:11:in `<top (required)>'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/test/test_upload.rb:1:in `<top (required)>'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/test/test_all.rb:2:in `block (2 levels) in <top (required)>'
  	from /home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/test/test_all.rb:2:in `each'
  	from /home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/test/test_all.rb:2:in `block in <top (required)>'
  	from /home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/test/test_all.rb:1:in `chdir'
  	from /home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/test/test_all.rb:1:in `<top (required)>'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
  	from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:15:in `block in <main>'
  	from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in `select'
  	from /usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb:4:in `<main>'
  rake aborted!
  Command failed with status (1): [ruby   "/usr/lib/ruby/vendor_ruby/rake/rake_test_loader.rb" "test/test_all.rb" "test/test_download.rb" "test/test_scp.rb" "test/test_upload.rb" -v]
  
  Tasks: TOP => default
  (See full trace by running task with --trace)
  ERROR: Test "ruby2.2" failed. Exiting.
  dh_auto_install: dh_ruby --install /home/lamby/temp/cdt.20160126092606.gZdR9RA6w0/ruby-net-scp-1.2.1/debian/ruby-net-scp returned exit code 1
  debian/rules:15: recipe for target 'binary' failed
  make: *** [binary] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ruby-net-scp.1.2.1-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 1390 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ruby-extras-maintainers/attachments/20160126/98f85aa1/attachment-0001.obj>


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