[DRE-maint] Bug#996370: ruby-rgen: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed.

Antonio Terceiro terceiro at debian.org
Wed Oct 13 14:30:33 BST 2021


Source: ruby-rgen
Version: 0.8.4-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.0

Hi,

We are about to enable building against ruby3.0 on unstable. During a test
rebuild, ruby-rgen was found to fail to build in that situation.

To reproduce this locally, you need to install ruby-all-dev from experimental
on an unstable system or build chroot.

Relevant part (hopefully):
> /usr/bin/ruby3.0 /usr/bin/gem2deb-test-runner
> 
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.0 from debian/ruby-tests.rb                              │
> └──────────────────────────────────────────────────────────────────────────────┘
> 
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-rgen/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-rgen/usr/share/rubygems-integration/all:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 ruby3.0 debian/ruby-tests.rb
> Run options: --seed 22447
> 
> # Running:
> 
> ................................................................F..............................................................F......................................................................................................F...F..........................
> 
> Finished in 3.114809s, 83.7933 runs/s, 561.8322 assertions/s.
> 
>   1) Failure:
> MetamodelFromEcoreTest#test_many_to_many [/<<PKGBUILDDIR>>/test/metamodel_builder_test.rb:619]:
> Expected /In (\w+::)+BClassMM : Can not use a Symbol\(:notaaclass\) where a (\w+::)+AClassMM is expected/ to match "In MetamodelFromEcoreTest::MetamodelFromEcore::BClassMM : Can not use a Symbol(notaaclass)(:notaaclass) where a MetamodelFromEcoreTest::MetamodelFromEcore::AClassMM is expected".
> 
>   2) Failure:
> MetamodelFromEcoreTest#test_has_attr [/<<PKGBUILDDIR>>/test/metamodel_builder_test.rb:229]:
> Expected /In (\w+::)+SimpleClass : Can not use a Symbol\(:someSymbol\) where a \[true,false\] is expected/ to match "In MetamodelFromEcoreTest::MetamodelFromEcore::SimpleClass : Can not use a Symbol(someSymbol)(:someSymbol) where a [true,false] is expected".
> 
>   3) Failure:
> MetamodelBuilderTest#test_many_to_many [/<<PKGBUILDDIR>>/test/metamodel_builder_test.rb:619]:
> Expected /In (\w+::)+BClassMM : Can not use a Symbol\(:notaaclass\) where a (\w+::)+AClassMM is expected/ to match "In MetamodelBuilderTest::TestMetamodel::BClassMM : Can not use a Symbol(notaaclass)(:notaaclass) where a MetamodelBuilderTest::TestMetamodel::AClassMM is expected".
> 
>   4) Failure:
> MetamodelBuilderTest#test_has_attr [/<<PKGBUILDDIR>>/test/metamodel_builder_test.rb:229]:
> Expected /In (\w+::)+SimpleClass : Can not use a Symbol\(:someSymbol\) where a \[true,false\] is expected/ to match "In MetamodelBuilderTest::TestMetamodel::SimpleClass : Can not use a Symbol(someSymbol)(:someSymbol) where a [true,false] is expected".
> 
> 261 runs, 1750 assertions, 4 failures, 0 errors, 0 skips
> ERROR: Test "ruby3.0" failed.


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-rgen/ruby-rgen_0.8.4-1+rebuild1633393340_amd64.build.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20211013/e91b054c/attachment.sig>


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