Source: ruby-regexp-parser Version: 2.1.1-2 Severity: important 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 ruby-regexp-parser with ruby3.1 enabled, the build failed. Relevant part of the build log (hopefully): > Failure/Error: expect(result[1]).to eq token > > expected: :meta_sequence > got: :hex > > (compared using ==) > > Diff: > @@ -1 +1 @@ > -:meta_sequence > +:hex > Shared Example Group: "scan" called from > ./spec/scanner/escapes_spec.rb:55 > # ./spec/support/shared_examples.rb:28:in `block (4 levels) in <top > (required)>' > > Finished in 0.91623 seconds (files took 0.29242 seconds to load) > 1561 examples, 24 failures > > Failed examples: > > rspec ./spec/parser/escapes_spec.rb:59 # EscapeSequence parsing parse escape > control sequence lower > rspec ./spec/parser/escapes_spec.rb:68 # EscapeSequence parsing parse escape > control sequence upper > rspec ./spec/parser/escapes_spec.rb:77 # EscapeSequence parsing parse escape > meta sequence > rspec ./spec/parser/escapes_spec.rb:86 # EscapeSequence parsing parse escape > meta control sequence > rspec ./spec/parser/escapes_spec.rb:95 # EscapeSequence parsing parse lower c > meta control sequence > rspec ./spec/parser/escapes_spec.rb:104 # EscapeSequence parsing parse escape > reverse meta control sequence > rspec ./spec/parser/escapes_spec.rb:113 # EscapeSequence parsing parse escape > reverse lower c meta control sequence > rspec './spec/scanner/escapes_spec.rb[1:21:1]' # Escape scanning given the > pattern (?-mix:a\x02c) scans token 1 as control escape at 1..4 > rspec './spec/scanner/escapes_spec.rb[1:22:1]' # Escape scanning given the > pattern (?-mix:a\x1Ec) scans token 1 as control escape at 1..4 > rspec './spec/scanner/escapes_spec.rb[1:23:1]' # Escape scanning given the > pattern (?-mix:a\x0A) scans token 1 as control escape at 1..5 > rspec './spec/scanner/escapes_spec.rb[1:24:1]' # Escape scanning given the > pattern (?-mix:a\x1Cb) scans token 1 as control escape at 1..5 > rspec './spec/scanner/escapes_spec.rb[1:25:1]' # Escape scanning given the > pattern (?-mix:a\x02c) scans token 1 as control escape at 1..5 > rspec './spec/scanner/escapes_spec.rb[1:26:1]' # Escape scanning given the > pattern (?-mix:a\x1Eb) scans token 1 as control escape at 1..5 > rspec './spec/scanner/escapes_spec.rb[1:27:1]' # Escape scanning given the > pattern (?-mix:a\x0Ab) scans token 1 as control escape at 1..6 > rspec './spec/scanner/escapes_spec.rb[1:28:1]' # Escape scanning given the > pattern (?-mix:a\x1Cb) scans token 1 as control escape at 1..6 > rspec './spec/scanner/escapes_spec.rb[1:29:1]' # Escape scanning given the > pattern (?-mix:a\x82c) scans token 1 as control escape at 1..7 > rspec './spec/scanner/escapes_spec.rb[1:30:1]' # Escape scanning given the > pattern (?-mix:a\x82c) scans token 1 as control escape at 1..8 > rspec './spec/scanner/escapes_spec.rb[1:31:1]' # Escape scanning given the > pattern (?-mix:a\xC2c) scans token 1 as meta_sequence escape at 1..5 > rspec './spec/scanner/escapes_spec.rb[1:32:1]' # Escape scanning given the > pattern (?-mix:a\x82c) scans token 1 as meta_sequence escape at 1..7 > rspec './spec/scanner/escapes_spec.rb[1:33:1]' # Escape scanning given the > pattern (?-mix:a\x9E) scans token 1 as meta_sequence escape at 1..7 > rspec './spec/scanner/escapes_spec.rb[1:34:1]' # Escape scanning given the > pattern (?-mix:a\x8A) scans token 1 as meta_sequence escape at 1..8 > rspec './spec/scanner/escapes_spec.rb[1:35:1]' # Escape scanning given the > pattern (?-mix:a\x9C) scans token 1 as meta_sequence escape at 1..8 > rspec './spec/scanner/escapes_spec.rb[1:36:1]' # Escape scanning given the > pattern (?-mix:a\x82c) scans token 1 as meta_sequence escape at 1..8 > rspec './spec/scanner/escapes_spec.rb[1:37:1]' # Escape scanning given the > pattern (?-mix:a\x9C) scans token 1 as meta_sequence escape at 1..9 > > /usr/bin/ruby3.1 > -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib > /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec > --pattern ./spec/\*\*/\*_spec.rb --format documentation failed > ERROR: Test "ruby3.1" failed: The full build log is available from: https://people.debian.org/~terceiro/ruby3.1/17/ruby-regexp-parser/ruby-regexp-parser_2.1.1-2+rebuild1663008118_amd64-2022-09-12T18:41:59Z.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
signature.asc
Description: PGP signature