[DRE-maint] Bug#1019605: feed2imap: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed.
Antonio Terceiro
terceiro at debian.org
Tue Sep 13 00:07:32 BST 2022
Source: feed2imap
Version: 1.3.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1
Hi,
We are about to start the ruby3.1 transition in unstable. While trying to
rebuild feed2imap with ruby3.1 enabled, the build failed.
Relevant part of the build log (hopefully):
> /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.1 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> GEM_PATH=/<<PKGBUILDDIR>>/debian/feed2imap/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"feed2imap\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rb │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=. GEM_PATH=/<<PKGBUILDDIR>>/debian/feed2imap/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 debian/ruby-tests.rb
> Loaded suite debian/ruby-tests
> Started
> ...E
> ===============================================================================
> Error: test_integer_as_name(ConfigTest): Psych::BadAlias: Unknown alias: target
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:430:in `visit_Psych_Nodes_Alias'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `block in register_empty'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `register_empty'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:146:in `visit_Psych_Nodes_Sequence'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `block in register_empty'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `register_empty'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:146:in `visit_Psych_Nodes_Sequence'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in `visit_Psych_Nodes_Document'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
> /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
> /<<PKGBUILDDIR>>/lib/feed2imap/config.rb:43:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_config.rb:109:in `new'
> /<<PKGBUILDDIR>>/test/tc_config.rb:109:in `test_integer_as_name'
> 106:
> 107: def test_integer_as_name
> 108: sio = StringIO.new CONFINTNAME
> => 109: conf = F2IConfig.new(sio)
> 110: assert_equal "10", conf.feeds.first.name
> 111: end
> 112:
> ===============================================================================
> .E
> ===============================================================================
> Error: test_url_array(ConfigTest): Psych::BadAlias: Unknown alias: target
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:430:in `visit_Psych_Nodes_Alias'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `block in register_empty'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `register_empty'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:146:in `visit_Psych_Nodes_Sequence'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `block in register_empty'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:338:in `register_empty'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:146:in `visit_Psych_Nodes_Sequence'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in `visit_Psych_Nodes_Document'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
> /usr/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
> /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
> /usr/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
> /usr/lib/ruby/3.1.0/psych.rb:370:in `load'
> /<<PKGBUILDDIR>>/lib/feed2imap/config.rb:43:in `initialize'
> /<<PKGBUILDDIR>>/test/tc_config.rb:103:in `new'
> /<<PKGBUILDDIR>>/test/tc_config.rb:103:in `test_url_array'
> 100:
> 101: def test_url_array
> 102: sio = StringIO::new CONFARRAYTARGET
> => 103: conf = F2IConfig::new(sio)
> 104: assert_equal "/tmp/Maildir/feed1", conf.feeds.first.folder
> 105: end
> 106:
> ===============================================================================
> ........
> Finished in 0.016493688 seconds.
> -------------------------------------------------------------------------------
> 14 tests, 32 assertions, 0 failures, 2 errors, 0 pendings, 0 omissions, 0 notifications
> 85.7143% passed
> -------------------------------------------------------------------------------
> 848.81 tests/s, 1940.14 assertions/s
> ERROR: Test "ruby3.1" failed.
The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/feed2imap/feed2imap_1.3.1-1+rebuild1663007227_amd64-2022-09-12T18:27:07Z.build
To reproduce this, you need ruby-all-dev >= 1:3.0+2. Depending on when you
read this, this might mean installing ruby-all-dev from experimental, or ir the
transition has alraedy started in unstable, a normal build on unstable should
do it. If you fail to reproduce, please provide a build log and diff it with
mine so that we can identify if something relevant changed in the meantime.
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!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- 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/20220912/6f30824e/attachment.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list