Control: tags -1 fixed-upstream On Mon, Sep 12, 2022 at 09:54:33PM -0300, Antonio Terceiro wrote: > Source: ruby-hoe > Version: 3.22.1+dfsg1-2 > Severity: important > Justification: FTBFS > Tags: bookworm sid ftbfs > User: [email protected] > Usertags: ruby3.1 > > Hi, > > We are about to start the ruby3.1 transition in unstable. While trying to > rebuild ruby-hoe 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-hoe/usr/share/rubygems-integration/all:/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\ \"hoe\" > > > > ┌──────────────────────────────────────────────────────────────────────────────┐ > > │ Run tests for ruby3.1 from debian/ruby-tests.rake > > │ > > └──────────────────────────────────────────────────────────────────────────────┘ > > > > RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-hoe/usr/lib/ruby/vendor_ruby:. > > GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-hoe/usr/share/rubygems-integration/all:/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"test" > > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb > > "test/test_hoe_test.rb" "test/test_hoe.rb" "test/test_hoe_debug.rb" > > "test/test_hoe_gemcutter.rb" "test/test_hoe_package.rb" > > "test/test_hoe_publish.rb" "test/test_hoe_test.rb" -v > > /<<PKGBUILDDIR>>/test/test_hoe.rb:325: warning: assigned but unused > > variable - t > > Run options: -v --seed 21598 > > > > # Running: > > > > TestHoeTest#test_make_test_cmd_for_minitest_prelude = 0.00 s = . > > TestHoeTest#test_make_test_cmd_for_faketestlib = 0.00 s = . > > TestHoeTest#test_make_test_cmd_for_no_framework = 0.00 s = . > > TestHoeTest#test_make_test_cmd_defaults_to_minitest = 0.00 s = . > > TestHoeTest#test_make_test_cmd_for_minitest = 0.00 s = . > > TestHoeTest#test_make_test_cmd_for_testunit = 0.00 s = . > > TestHoePackage#test_prerelease_version_regular = 0.00 s = . > > TestHoePackage#test_prerelease_version_prerelease = 0.00 s = . > > TestHoePackage#test_prerelease_version_pre = 0.00 s = . > > TestHoeDebug#test_check_manifest_generated = 0.00 s = . > > TestHoeDebug#test_check_manifest_missing = 0.00 s = . > > TestHoeDebug#test_check_manifest = 0.00 s = . > > TestHoePublish#test_make_rdoc_cmd = 0.01 s = . > > TestHoeGemcutter#test_gemcutter_tasks_defined = 0.00 s = . > > TestHoe#test_initialize_intuit = 0.00 s = . > > TestHoe#test_parse_mrww = 0.00 s = . > > TestHoe#test_with_config_default = 0.00 s = . > > TestHoe#test_intuit_values_should_be_silent_if_urls_are_already_set = 0.00 > > s = . > > TestHoe#test_plugins = 0.00 s = . > > TestHoe#test_rename = 0.00 s = . > > TestHoe#test_activate_plugins_hoerc = 0.00 s = . > > TestHoe#test_parse_urls_ary = 0.00 s = . > > TestHoe#test_metadata = 0.00 s = . > > TestHoe#test_activate_plugins = 0.00 s = . > > TestHoe#test_multiple_calls_to_license = 0.00 s = . > > TestHoe#test_extensions = 0.01 s = . > > TestHoe#test_file_read_utf = 0.00 s = . > > TestHoe#test_nosudo = 0.00 s = . > > TestHoe#test_setting_licenses = 0.01 s = . > > TestHoe#test_initialize_intuit_ambiguous = 0.00 s = . > > TestHoe#test_with_config_overrides = 0.00 s = E > > TestHoe#test_class_bad_plugins = 0.00 s = . > > TestHoe#test_possibly_better = 0.00 s = . > > TestHoe#test_initialize_plugins_hoerc = 0.00 s = . > > TestHoe#test_read_manifest = 0.00 s = . > > TestHoe#test_class_load_plugins = 0.00 s = . > > TestHoe#test_no_license = 0.00 s = . > > TestHoe#test_license = 0.00 s = . > > TestHoe#test_parse_urls_hash = 0.00 s = . > > > > Finished in 0.100783s, 386.9687 runs/s, 1141.0615 assertions/s. > > > > 1) Error: > > TestHoe#test_with_config_overrides: > > Psych::DisallowedClass: Tried to load unspecified class: Regexp > > /usr/lib/ruby/3.1.0/psych/class_loader.rb:99:in `find' > > /usr/lib/ruby/3.1.0/psych/class_loader.rb:28:in `load' > > (eval):2:in `regexp' > > /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:97:in `deserialize' > > /usr/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:128:in > > `visit_Psych_Nodes_Scalar' > > /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' > > /usr/lib/ruby/3.1.0/psych.rb:671:in `block in load_file' > > /usr/lib/ruby/3.1.0/psych.rb:670:in `open' > > /usr/lib/ruby/3.1.0/psych.rb:670:in `load_file' > > /<<PKGBUILDDIR>>/debian/ruby-hoe/usr/lib/ruby/vendor_ruby/hoe.rb:919:in > > `with_config' > > /<<PKGBUILDDIR>>/debian/ruby-hoe/usr/lib/ruby/vendor_ruby/hoe.rb:402:in > > `activate_plugins' > > /<<PKGBUILDDIR>>/debian/ruby-hoe/usr/lib/ruby/vendor_ruby/hoe.rb:392:in > > `spec' > > /<<PKGBUILDDIR>>/test/test_hoe.rb:16:in `hoe' > > /<<PKGBUILDDIR>>/test/test_hoe.rb:517:in `block in > > test_with_config_overrides' > > /usr/lib/ruby/3.1.0/tmpdir.rb:96:in `mktmpdir' > > /<<PKGBUILDDIR>>/test/test_hoe.rb:508:in `test_with_config_overrides' > > > > 39 runs, 115 assertions, 0 failures, 1 errors, 0 skips > > rake aborted! > > Command failed with status (1): [ruby -w -I"test" > > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb > > "test/test_hoe_test.rb" "test/test_hoe.rb" "test/test_hoe_debug.rb" > > "test/test_hoe_gemcutter.rb" "test/test_hoe_package.rb" > > "test/test_hoe_publish.rb" "test/test_hoe_test.rb" -v] > > > > Tasks: TOP => default > > (See full trace by running task with --trace) > > ERROR: Test "ruby3.1" failed.
This seems to be fixed in 3.26.0. cu Adrian

