[DRE-maint] Bug#918600: ruby-backports FTBFS: Failure: test_rails(AAA_TestBackportGuards)

Adrian Bunk bunk at debian.org
Mon Jan 7 18:08:36 GMT 2019


Source: ruby-backports
Version: 3.11.1-1
Severity: serious
Tags: ftbfs

Some recent change in unstable makes ruby-backports FTBFS:

https://tests.reproducible-builds.org/debian/history/ruby-backports.html
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/ruby-backports.html

...
┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby2.5 from debian/ruby-tests.rb                              │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/build/1st/ruby-backports-3.11.1/debian/ruby-backports/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-backports/usr/share/rubygems-integration/all:/var/lib/gems/2.5.0:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all ruby2.5 debian/ruby-tests.rb
/build/1st/ruby-backports-3.11.1/test/_backport_guards_test.rb:54: warning: constant ::Bignum is deprecated
/build/1st/ruby-backports-3.11.1/test/_backport_guards_test.rb:54: warning: constant ::Fixnum is deprecated
/build/1st/ruby-backports-3.11.1/test/lazy_test.rb:212: warning: assigned but unused variable - enum
/build/1st/ruby-backports-3.11.1/test/lazy_test.rb:304: warning: assigned but unused variable - bug7696
Loaded suite /usr/lib/ruby/vendor_ruby/rake/rake_test_loader
Started
.....F
===============================================================================
Failure: test_rails(AAA_TestBackportGuards):
  <{Array=>[".alias_method_chain"],
   Binding=>[".alias_method_chain"],
   Integer=>[".alias_method_chain"],
   Dir=>[".alias_method_chain"],
   Comparable=>[".alias_method_chain"],
   Enumerable=>[".alias_method_chain"],
   FalseClass=>[".alias_method_chain"],
   Float=>[".alias_method_chain"],
   GC=>[".alias_method_chain"],
   Hash=>[".alias_method_chain"],
   IO=>[".alias_method_chain"],
   Kernel=>[".alias_method_chain"],
   Math=>[".alias_method_chain"],
   MatchData=>[".alias_method_chain"],
   Method=>[".alias_method_chain"],
   Module=>[:alias_method_chain, ".alias_method_chain"],
   NilClass=>[".alias_method_chain"],
   Numeric=>[".alias_method_chain"],
   ObjectSpace=>[".alias_method_chain"],
   Proc=>[".alias_method_chain"],
   Process=>[".alias_method_chain"],
   Range=>[".alias_method_chain"],
   Regexp=>[".alias_method_chain"],
   String=>[".alias_method_chain"],
   Struct=>[".alias_method_chain"],
   Symbol=>[".alias_method_chain"],
   TrueClass=>[".alias_method_chain"],
   #<Class:#<Object:0x0000557471bbbeb8>>=>[".alias_method_chain"],
   #<Class:#<ARGF.class:0x0000557471bb3998>>=>[".alias_method_chain"],
   Enumerator=>[".alias_method_chain"]}> was expected to be nil.
/build/1st/ruby-backports-3.11.1/test/_backport_guards_test.rb:159:in `test_rails'
     156:     before = digest
     157:     require "backports/rails"
     158:     after = digest
  => 159:     assert_nil digest_delta(before, after)
     160:   end
     161: end
===============================================================================
.............................................
Finished in 0.703883895 seconds.
-------------------------------------------------------------------------------
51 tests, 170 assertions, 1 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
98.0392% passed
-------------------------------------------------------------------------------
72.46 tests/s, 241.52 assertions/s
/usr/lib/ruby/vendor_ruby/rake/testtask.rb:130:in `block (3 levels) in define': Command failed with status (1) (RuntimeError)
	from /usr/lib/ruby/vendor_ruby/rake/file_utils.rb:57:in `sh'
	from /usr/lib/ruby/vendor_ruby/rake/file_utils.rb:105:in `ruby'
	from /usr/lib/ruby/vendor_ruby/rake/testtask.rb:117:in `block (2 levels) in define'
	from /usr/lib/ruby/vendor_ruby/rake/file_utils_ext.rb:59:in `verbose'
	from /usr/lib/ruby/vendor_ruby/rake/testtask.rb:111:in `block in define'
	from /usr/lib/ruby/vendor_ruby/rake/task.rb:271:in `block in execute'
	from /usr/lib/ruby/vendor_ruby/rake/task.rb:271:in `each'
	from /usr/lib/ruby/vendor_ruby/rake/task.rb:271:in `execute'
	from /usr/lib/ruby/vendor_ruby/rake/task.rb:213:in `block in invoke_with_call_chain'
	from /usr/lib/ruby/2.5.0/monitor.rb:226:in `mon_synchronize'
	from /usr/lib/ruby/vendor_ruby/rake/task.rb:193:in `invoke_with_call_chain'
	from /usr/lib/ruby/vendor_ruby/rake/task.rb:182:in `invoke'
	from debian/ruby-tests.rb:5:in `<main>'
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-backports-3.11.1/debian/ruby-backports returned exit code 1
make: *** [debian/rules:7: binary] Error 1


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