[DRE-maint] Bug#890689: ruby-rgen FTBFS with ruby 2.5

Adrian Bunk bunk at debian.org
Sat Feb 17 18:52:50 UTC 2018


Source: ruby-rgen
Version: 0.8.0-1
Severity: serious
Tags: buster sid

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

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

RUBYLIB=/build/1st/ruby-rgen-0.8.0/debian/ruby-rgen/usr/lib/ruby/vendor_ruby:. GEM_PATH=debian/ruby-rgen/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
Loaded suite debian/ruby-tests
Started
...........................................................................F
===============================================================================
Failure:
  </In (\w+::)+SimpleClass : Can not use a Fixnum where a String is expected/> was expected to be =~
  <"In MetamodelBuilderTest::TestMetamodel::SimpleClass : Can not use a Integer where a String is expected">.
test_has_attr(MetamodelBuilderTest)
/build/1st/ruby-rgen-0.8.0/test/metamodel_builder_test.rb:189:in `test_has_attr'
     186:     err = assert_raise StandardError do
     187:       sc.name = 5
     188:     end
  => 189:     assert_match /In (\w+::)+SimpleClass : Can not use a Fixnum where a String is expected/, err.message
     190:     assert_equal "EString", mm::SimpleClass.ecore.eAttributes.find{|a| a.name=="name"}.eType.name
     191: 
     192:     assert_equal "xtest", sc.stringWithDefault
===============================================================================
.........../build/1st/ruby-rgen-0.8.0/test/metamodel_builder_test.rb:273: warning: constant ::Bignum is deprecated
.F
===============================================================================
Failure:
  </In (\w+::)+ManyAttrClass : Can not use a Fixnum where a String is expected/> was expected to be =~
  <"In MetamodelBuilderTest::TestMetamodel::ManyAttrClass : Can not use a Integer where a String is expected">.
test_many_attr(MetamodelBuilderTest)
/build/1st/ruby-rgen-0.8.0/test/metamodel_builder_test.rb:291:in `test_many_attr'
     288:     err = assert_raise(StandardError) do
     289:       o.addLiterals(1)
     290:     end
  => 291:     assert_match /In (\w+::)+ManyAttrClass : Can not use a Fixnum where a String is expected/, err.message
     292: 
     293:     assert_equal [], o.literals
     294:     o.addLiterals("a")
===============================================================================
..............................................................F
===============================================================================
Failure:
  </In (\w+::)+SimpleClass : Can not use a Fixnum where a String is expected/> was expected to be =~
  <"In MetamodelFromEcoreTest::MetamodelFromEcore::SimpleClass : Can not use a Integer where a String is expected">.
test_has_attr(MetamodelFromEcoreTest)
/build/1st/ruby-rgen-0.8.0/test/metamodel_builder_test.rb:189:in `test_has_attr'
     186:     err = assert_raise StandardError do
     187:       sc.name = 5
     188:     end
  => 189:     assert_match /In (\w+::)+SimpleClass : Can not use a Fixnum where a String is expected/, err.message
     190:     assert_equal "EString", mm::SimpleClass.ecore.eAttributes.find{|a| a.name=="name"}.eType.name
     191: 
     192:     assert_equal "xtest", sc.stringWithDefault
(eval):2:in `test_has_attr'
===============================================================================
.........../build/1st/ruby-rgen-0.8.0/test/metamodel_builder_test.rb:273: warning: constant ::Bignum is deprecated
.F
===============================================================================
Failure:
  </In (\w+::)+ManyAttrClass : Can not use a Fixnum where a String is expected/> was expected to be =~
  <"In MetamodelFromEcoreTest::MetamodelFromEcore::ManyAttrClass : Can not use a Integer where a String is expected">.
test_many_attr(MetamodelFromEcoreTest)
/build/1st/ruby-rgen-0.8.0/test/metamodel_builder_test.rb:291:in `test_many_attr'
     288:     err = assert_raise(StandardError) do
     289:       o.addLiterals(1)
     290:     end
  => 291:     assert_match /In (\w+::)+ManyAttrClass : Can not use a Fixnum where a String is expected/, err.message
     292: 
     293:     assert_equal [], o.literals
     294:     o.addLiterals("a")
(eval):2:in `test_many_attr'
===============================================================================
...............................................................................
...............

Finished in 1.809860909 seconds.
------
259 tests, 1637 assertions, 4 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
98.4556% passed
------
143.10 tests/s, 904.49 assertions/s
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/1st/ruby-rgen-0.8.0/debian/ruby-rgen returned exit code 1
make: *** [debian/rules:15: binary] Error 1


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