Source: ruby-json Version: 2.5.1+dfsg-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: debian-r...@lists.debian.org Usertags: ruby3.0
Hi, We are about to enable building against ruby3.0 on unstable. During a test rebuild, ruby-json 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): > Did you mean? assert_empty>, @method_name="test_generate">], > @stop_tag=#<Object:0x000055bf83e6b750>, @failures=[], > @errors=[#<Test::Unit::Error:0x000055bf838480a8 > @test_name="test_generate(JSONInRactorTest)", @exception=#<NoMethodError: > undefined method `assert_separately' for > #<JSONInRactorTest:0x000055bf83dee390 ...> > Did you mean? assert_empty>, @method_name="test_generate">], @pendings=[], > @omissions=[], @notifications=[], > @channels={"Test::Unit::TestResult::FINISHED"=>{#<Test::Unit::Util::ProcWrapper:0x000055bf83e6b570 > @a_proc=#<Proc:0x000055bf83e6b598 > /usr/share/rubygems-integration/all/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb:88>, > @hash=94281040049560>=>#<Proc:0x000055bf83e6b598 > /usr/share/rubygems-integration/all/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb:88>}, > > "Test::Unit::TestResult::CHANGED"=>{#<Test::Unit::Util::ProcWrapper:0x000055bf83e6b0e8 > @a_proc=#<Proc:0x000055bf83e6b110 > /usr/share/rubygems-integration/all/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb:91>, > @hash=94281040048400>=>#<Proc:0x000055bf83e6b110 > /usr/share/rubygems-integration/all/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb:91>}, > > "Test::Unit::TestResult::PASS_ASSERTION"=>{#<Test::Unit::Util::ProcWrapper:0x000055bf83e6acd8 > @a_proc=#<Proc:0x000055bf83e6ad00 > /usr/share/rubygems-integration/all/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb:94>, > @hash=94281040047360>=>#<Proc:0x000055bf83e6ad00 > /usr/share/rubygems-integration/all/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb:94>}, > > "Test::Unit::TestResult::FAULT"=>{#<Test::Unit::Util::ProcWrapper:0x000055bf83e6a8c8 > @a_proc=#<Proc:0x000055bf83e6a8f0 > /usr/share/rubygems-integration/all/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb:97>, > @hash=94281040046320>=>#<Proc:0x000055bf83e6a8f0 > /usr/share/rubygems-integration/all/gems/test-unit-3.3.9/lib/test/unit/ui/testrunnermediator.rb:97>}}>> > Did you mean? assert_empty > /<<PKGBUILDDIR>>/tests/ractor_test.rb:8:in `test_generate' > 5: > 6: class JSONInRactorTest < Test::Unit::TestCase > 7: def test_generate > => 8: assert_separately([], "#{<<~"begin;"}\n#{<<~'end;'}") > 9: begin; > 10: $VERBOSE = nil > 11: require "json" > =============================================================================== > : (0.042820) > JSONParserTest: > test_argument_encoding: .: (0.000209) > test_backslash: .: (0.000121) > test_construction: .: (0.000078) > test_error_message_encoding: .: (0.000158) > test_freeze: .: (0.000218) > test_generate_core_subclasses_with_default_to_json: .: (0.000145) > test_generate_core_subclasses_with_new_to_json: .: (0.000242) > test_generate_of_core_subclasses: .: (0.000123) > test_nesting: .: (0.000632) > test_parse_array_custom_array_derived_class: .: (0.000104) > test_parse_array_custom_non_array_derived_class: .: (0.000105) > test_parse_arrays: .: (0.000156) > test_parse_big_integers: .: (0.000178) > test_parse_bigdecimals: .: (0.000125) > test_parse_comments: .: (0.000163) > test_parse_complex_objects: .: (0.019595) > test_parse_generic_object: .: (0.000173) > test_parse_json_primitive_values: .: (0.000492) > test_parse_more_complex_arrays: .: (0.012031) > test_parse_numbers: .: (0.000589) > test_parse_object: .: (0.000103) > test_parse_object_custom_hash_derived_class: .: (0.000108) > test_parse_object_custom_non_hash_derived_class: .: (0.000154) > test_parse_simple_arrays: .: (0.000364) > test_parse_simple_objects: .: (0.000253) > test_parse_some_strings: .: (0.000102) > test_parse_values: .: (0.000173) > test_parser_reset: .: (0.000082) > test_parsing: .: (0.000070) > test_parsing_frozen_ascii8bit_string: .: (0.000081) > test_some_wrong_inputs: .: (0.000475) > test_symbolize_names: .: (0.000127) > JSONStringMatchingTest: > test_match_date: .: (0.000540) > > Finished in 0.138216227 seconds. > ------------------------------------------------------------------------------- > 103 tests, 2057 assertions, 0 failures, 1 errors, 0 pendings, 0 omissions, 0 > notifications > 99.0291% passed > ------------------------------------------------------------------------------- > 745.21 tests/s, 14882.48 assertions/s > rake aborted! > Command failed with status (1): [ruby -w -I"tests" > /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb > "tests/json_addition_test.rb" "tests/json_common_interface_test.rb" > "tests/json_encoding_test.rb" "tests/json_ext_parser_test.rb" > "tests/json_fixtures_test.rb" "tests/json_generator_test.rb" > "tests/json_generic_object_test.rb" "tests/json_parser_test.rb" > "tests/json_string_matching_test.rb" "tests/ractor_test.rb" > "tests/test_helper.rb" -v] > > Tasks: TOP => default > (See full trace by running task with --trace) > ERROR: Test "ruby3.0" failed: The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-json/ruby-json_2.5.1+dfsg-1+rebuild1633384536_amd64.build.txt
signature.asc
Description: PGP signature