[DRE-maint] Bug#1019647: ruby-power-assert: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed.
Antonio Terceiro
terceiro at debian.org
Tue Sep 13 02:15:41 BST 2022
Source: ruby-power-assert
Version: 1.1.7-2
Severity: important
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 ruby-power-assert 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-power-assert/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\ \"power_assert\"
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.1 from debian/ruby-tests.rake │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-power-assert/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-power-assert/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/block_test.rb" "test/dyna_symbol_key_test.rb" "test/parser_test.rb" "test/safe_op_test.rb" "test/trace_test.rb" "test/test_core_ext_helper.rb" "test/test_helper.rb" -v
> Loaded suite /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader
> Started
> TestBlockContext:
> test_assertion_message_with_string: .: (0.014455)
> test_colorized_pp[_colorize_message/_use_pp]: .: (0.010077)
> test_colorized_pp[_colorize_message]: .: (0.006736)
> test_colorized_pp[_use_pp]: .: (0.001601)
> test_workaround_for_bug11182: .: (0.000056)
> test_workaround_for_ruby_2_2: .: (0.001612)
> alias_method:
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 400 : .: (0.001681)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 411 : .: (0.001549)
> assertion_message:
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 105 : .: (0.001161)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 111 : .: (0.001391)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 120 : .: (0.001416)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 131 : .: (0.001413)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 140 : .: (0.001622)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 154 : .: (0.001533)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 167 : .: (0.001718)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 185 : .: (0.001369)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 195 : .: (0.001439)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 207 : .: (0.001403)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 218 : .: (0.001576)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 233 : .: (0.001481)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 244 : .: (0.002198)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 254 : .: (0.002909)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 264 : .: (0.001618)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 313 : .: (10.007866)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 335 : .: (0.007029)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 66 : .: (0.002944)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 90 : .: (0.002604)
> attribute:
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 290 : F
> ===============================================================================
> Failure: test: /<<PKGBUILDDIR>>/test/block_test.rb --location 290 (TestBlockContext::assertion_message::attribute)
> /<<PKGBUILDDIR>>/test/block_test.rb:291:in `block (3 levels) in <class:TestBlockContext>'
> 288: end
> 289:
> 290: t do
> => 291: assert_equal <<END.chomp, assertion_message {
> 292: @obj.to_i.to_i.to_s
> 293: | |
> 294: | "0"
> <" @obj.to_i.to_i.to_s\n" +
> " | |\n" +
> " | \"0\"\n" +
> " #<Class>"> expected but was
> <" @obj.to_i.to_i.to_s\n" +
> " | | | |\n" +
> " | | | \"0\"\n" +
> " | | 0\n" +
> " | 0\n" +
> " #<Class>">
>
> diff:
> @obj.to_i.to_i.to_s
> ? | | | |
> ? | "0"
> ? | |
> ? ??????
> + | | 0
> + | 0
> #<Class>
> ===============================================================================
> : (0.011436)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 301 : F
> ===============================================================================
> Failure: test: /<<PKGBUILDDIR>>/test/block_test.rb --location 301 (TestBlockContext::assertion_message::attribute)
> /<<PKGBUILDDIR>>/test/block_test.rb:302:in `block (3 levels) in <class:TestBlockContext>'
> 299: end
> 300:
> 301: t do
> => 302: assert_equal <<END.chomp, assertion_message {
> 303: true ? @obj.to_i.to_s : @obj.to_i
> 304: | |
> 305: | "0"
> <" true ? @obj.to_i.to_s : @obj.to_i\n" +
> " | |\n" +
> " | \"0\"\n" +
> " #<Class>"> expected but was
> <" true ? @obj.to_i.to_s : @obj.to_i\n" +
> " | | |\n" +
> " | | \"0\"\n" +
> " | 0\n" +
> " #<Class>">
>
> diff:
> true ? @obj.to_i.to_s : @obj.to_i
> ? | | |
> ? | "0"
> ? |
> ? ?
> + | 0
> #<Class>
> ===============================================================================
> : (0.013844)
> assertion_message_with_incompatible_encodings:
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 428 : .: (0.003577)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 445 : .: (0.001376)
> branch:
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 462 : .: (0.001596)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 476 : .: (0.001507)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 490 : .: (0.001309)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 498 : .: (0.001372)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 508 : .: (0.001482)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 524 : .: (0.001528)
> inspection_failure:
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 352 : .: (0.001934)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 363 : .: (0.001371)
> lazy_inspection:
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 30 : .: (0.002248)
> test: /<<PKGBUILDDIR>>/test/block_test.rb --location 44 : .: (0.002794)
> TestDynaSymbolKey:
> test: /<<PKGBUILDDIR>>/test/dyna_symbol_key_test.rb --location 20 : .: (0.001430)
> test_parser[{"a": b}]: .: (0.000135)
> TestParser:
> test_recoverable_invalid_syntax[if a]: .: (0.000165)
> test_recoverable_invalid_syntax[end.a]: .: (0.000088)
> test_recoverable_invalid_syntax[a.]: .: (0.000081)
> test_recoverable_invalid_syntax[a&&]: .: (0.000078)
> test_recoverable_invalid_syntax[a||]: .: (0.000075)
> test_recoverable_invalid_syntax[a do]: .: (0.000077)
> test_valid_syntax[a(b(c), d)]: .: (0.000115)
> test_valid_syntax[a.b.c(d)]: .: (0.000099)
> test_valid_syntax[a(b).c.d(e)]: .: (0.000112)
> test_valid_syntax[f(a(b).c.d(g(e)))]: .: (0.000129)
> test_valid_syntax[a(b: c, d: e)]: .: (0.000104)
> test_valid_syntax[a(b => c, d => e)]: .: (0.000106)
> test_valid_syntax[{a: b, c: d}]: .: (0.000092)
> test_valid_syntax[{a => b, c => d}]: .: (0.000094)
> test_valid_syntax[[[a, b], [c, d]]]: .: (0.000101)
> test_valid_syntax[a b, c { d }]: .: (0.000114)
> test_valid_syntax[assertion_message { a }]: .: (0.000085)
> test_valid_syntax[a { b }]: .: (0.000087)
> test_valid_syntax[A(B(c), d)]: .: (0.000105)
> test_valid_syntax[a(b = c, (d, e = f), G = h)]: .: (0.000137)
> test_valid_syntax[a(b, *c, d, e, f: g, h: i, **j)]: .: (0.000136)
> test_valid_syntax[a == b + c]: .: (0.000130)
> test_valid_syntax[var.var(var)]: .: (0.000095)
> test_valid_syntax[a(B, @c, @@d, $e, f.self, self)]: .: (0.000135)
> test_valid_syntax[a.b c]: .: (0.000091)
> test_valid_syntax["a#{b}c"]: .: (0.000097)
> test_valid_syntax[/a#{b}c/]: .: (0.000093)
> test_valid_syntax[[]]: .: (0.000069)
> test_valid_syntax[a[0]]: .: (0.000103)
> test_valid_syntax[[][]]: .: (0.000088)
> test_valid_syntax[{}[]]: .: (0.000088)
> test_valid_syntax[!a]: .: (0.000088)
> test_valid_syntax[+a]: .: (0.000085)
> test_valid_syntax[-a]: .: (0.000085)
> test_valid_syntax[! a == (+b == -c)]: .: (0.000152)
> test_valid_syntax[%x{a#{b}c}]: .: (0.000097)
> test_valid_syntax[a..b]: .: (0.000079)
> test_valid_syntax[a...b]: .: (0.000077)
> test_valid_syntax[:"a#{b}c"]: .: (0.000093)
> test_valid_syntax[return a, b]: .: (0.000087)
> test_valid_syntax[->{}.()]: .: (0.000116)
> test_valid_syntax[->{}.().()]: .: (0.000118)
> test_valid_syntax[a.(b)]: .: (0.000102)
> test_valid_syntax[a.[](b)]: .: (0.000091)
> test_valid_syntax[a += b]: .: (0.000085)
> test_valid_syntax[a if b]: .: (0.000110)
> test_valid_syntax[a unless b]: .: (0.000097)
> test_valid_syntax[if a then b; c else d; e end]: .: (0.000131)
> test_valid_syntax[if a then b end]: .: (0.000101)
> test_valid_syntax[unless a then b; c else d; e end]: .: (0.000123)
> test_valid_syntax[unless a then b end]: .: (0.000110)
> test_valid_syntax[a.b ? c.d : e.f]: .: (0.000132)
> test_valid_syntax[a.b ? (c ? d : e) : f.g]: .: (0.000145)
> test_valid_syntax[a ? 0 : 0]: .: (0.000100)
> test_valid_syntax[a && b || c]: .: (0.000115)
> test_valid_syntax[a and b or c]: .: (0.000112)
> TestSafeOp:
> test_parser[a&.b(c) + d]: .: (0.000212)
> test_parser[a&.b.c]: .: (0.000113)
> test_parser[a&.(b)]: .: (0.000126)
> branch:
> test: /<<PKGBUILDDIR>>/test/safe_op_test.rb --location 32 : .: (0.001498)
> test: /<<PKGBUILDDIR>>/test/safe_op_test.rb --location 42 : .: (0.001439)
> TestTraceContext:
> test_all_refs: .: (0.043233)
> test_bmethod: .: (0.008634)
> test_cfunc: .: (0.007742)
> test_iseq: .: (0.008282)
>
> Finished in 10.212954903 seconds.
> -------------------------------------------------------------------------------
> 108 tests, 154 assertions, 2 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
> 98.1481% passed
> -------------------------------------------------------------------------------
> 10.57 tests/s, 15.08 assertions/s
> 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/block_test.rb" "test/dyna_symbol_key_test.rb" "test/parser_test.rb" "test/safe_op_test.rb" "test/trace_test.rb" "test/test_core_ext_helper.rb" "test/test_helper.rb" -v]
>
> Tasks: TOP => default
> (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/ruby-power-assert/ruby-power-assert_1.1.7-2+rebuild1663007954_amd64-2022-09-12T18:39:15Z.build
To reproduce this, you need to install ruby-all-dev >= 1:3.0+2. Depending on
when you try this, it might mean installing ruby-all-dev from experimental, or
if the transition has already started, a normal build on unstable will be
enough. 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/398dd4c2/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list