Source: asciidoctor Version: 2.0.16-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: debian-r...@lists.debian.org Usertags: ruby3.1
Hi, We are about to start the ruby3.1 transition in unstable. While trying to rebuild asciidoctor 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/ruby-asciidoctor/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\ \"asciidoctor\" > > ┌──────────────────────────────────────────────────────────────────────────────┐ > │ Run tests for ruby3.1 from debian/ruby-tests.rake > │ > └──────────────────────────────────────────────────────────────────────────────┘ > > RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-asciidoctor/usr/lib/ruby/vendor_ruby:. > GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-asciidoctor/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 -S rake -f debian/ruby-tests.rake > /usr/bin/ruby3.1 -w -I"lib:test" > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb > "test/api_test.rb" "test/attribute_list_test.rb" "test/attributes_test.rb" > "test/blocks_test.rb" "test/converter_test.rb" "test/document_test.rb" > "test/extensions_test.rb" "test/helpers_test.rb" "test/invoker_test.rb" > "test/links_test.rb" "test/lists_test.rb" "test/logger_test.rb" > "test/manpage_test.rb" "test/options_test.rb" "test/paragraphs_test.rb" > "test/parser_test.rb" "test/paths_test.rb" "test/preamble_test.rb" > "test/reader_test.rb" "test/sections_test.rb" "test/substitutions_test.rb" > "test/syntax_highlighter_test.rb" "test/tables_test.rb" "test/text_test.rb" > RUBY_GC_HEAP_FREE_SLOTS=750000 (default value: 4096) > RUBY_GC_HEAP_INIT_SLOTS=750000 (default value: 10000) > RUBY_GC_HEAP_GROWTH_FACTOR=2.000000 (default value: 1.800000) > RUBY_GC_HEAP_GROWTH_MAX_SLOTS=50000 (default value: 0) > RUBY_GC_MALLOC_LIMIT=128000000 (default value: 16777216) > RUBY_GC_OLDMALLOC_LIMIT=128000000 (default value: 16777216) > /usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0/gems/nokogiri-1.13.7/lib/nokogiri/version/info.rb:85: > warning: possibly useless use of a variable in void context > Run options: --seed 26197 > > # Running: > > ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F..F..FFF.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... > > Finished in 3.096380s, 844.8576 runs/s, 3008.0289 assertions/s. > > 1) Failure: > Minitest::Test::TestHelpers::TestTypeResolution#test_should_not_resolve_class_if_not_in_scope > [/<<PKGBUILDDIR>>/test/helpers_test.rb:127]: > --- expected > +++ actual > @@ -1 +1,4 @@ > -"Could not resolve class for name: Asciidoctor::Extensions::String" > +"Could not resolve class for name: Asciidoctor::Extensions::String > + > + raise ::NameError, %(Could not resolve class for name: > \#{qualified_name}) > + ^^^^^" > > > 2) Failure: > Minitest::Test::TestHelpers::TestTypeResolution#test_should_raise_exception_if_cannot_find_class_for_name > [/<<PKGBUILDDIR>>/test/helpers_test.rb:79]: > --- expected > +++ actual > @@ -1 +1,4 @@ > -"Could not resolve class for name: InvalidModule::InvalidClass" > +"Could not resolve class for name: InvalidModule::InvalidClass > + > + raise ::NameError, %(Could not resolve class for name: > \#{qualified_name}) > + ^^^^^" > > > 3) Failure: > Minitest::Test::TestHelpers::TestTypeResolution#test_should_raise_exception_if_class_not_found_in_scope > [/<<PKGBUILDDIR>>/test/helpers_test.rb:97]: > --- expected > +++ actual > @@ -1 +1,4 @@ > -"Could not resolve class for name: Asciidoctor::Extensions::String" > +"Could not resolve class for name: Asciidoctor::Extensions::String > + > + raise ::NameError, %(Could not resolve class for name: > \#{qualified_name}) > + ^^^^^" > > > 4) Failure: > Minitest::Test::TestHelpers::TestTypeResolution#test_should_raise_exception_if_name_resolves_to_module > [/<<PKGBUILDDIR>>/test/helpers_test.rb:106]: > --- expected > +++ actual > @@ -1 +1,4 @@ > -"Could not resolve class for name: Asciidoctor::Extensions" > +"Could not resolve class for name: Asciidoctor::Extensions > + > + raise ::NameError, %(Could not resolve class for name: > \#{qualified_name}) > + ^^^^^" > > > 5) Failure: > Minitest::Test::TestHelpers::TestTypeResolution#test_should_raise_exception_if_constant_name_is_invalid > [/<<PKGBUILDDIR>>/test/helpers_test.rb:88]: > --- expected > +++ actual > @@ -1 +1,4 @@ > -"Could not resolve class for name: foobar" > +"Could not resolve class for name: foobar > + > + raise ::NameError, %(Could not resolve class for name: > \#{qualified_name}) > + ^^^^^" > > > 6) Failure: > Minitest::Test::TestExtensions::TestRegister#test_should_raise_NameError_if_extension_class_cannot_be_resolved_from_string > [/<<PKGBUILDDIR>>/test/extensions_test.rb:355]: > --- expected > +++ actual > @@ -1 +1,4 @@ > -"Could not resolve class for name: foobar" > +"Could not resolve class for name: foobar > + > + raise ::NameError, %(Could not resolve class for name: > \#{qualified_name}) > + ^^^^^" > > > 2616 runs, 9314 assertions, 6 failures, 0 errors, 0 skips > rake aborted! > Command failed with status (1): [ruby -w -I"lib:test" > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb > "test/api_test.rb" "test/attribute_list_test.rb" "test/attributes_test.rb" > "test/blocks_test.rb" "test/converter_test.rb" "test/document_test.rb" > "test/extensions_test.rb" "test/helpers_test.rb" "test/invoker_test.rb" > "test/links_test.rb" "test/lists_test.rb" "test/logger_test.rb" > "test/manpage_test.rb" "test/options_test.rb" "test/paragraphs_test.rb" > "test/parser_test.rb" "test/paths_test.rb" "test/preamble_test.rb" > "test/reader_test.rb" "test/sections_test.rb" "test/substitutions_test.rb" > "test/syntax_highlighter_test.rb" "test/tables_test.rb" "test/text_test.rb" ] > > Tasks: TOP => default => test:all => test > (See full trace by running task with --trace) > ERROR: Test "ruby3.1" failed. The full build log is available from: https://people.debian.org/~terceiro/ruby3.1/17/asciidoctor/asciidoctor_2.0.16-2+rebuild1663007202_amd64-2022-09-12T18:26:43Z.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
signature.asc
Description: PGP signature