Your message dated Wed, 17 Nov 2021 21:06:25 +0000
with message-id <e1mns8p-000fod...@fasolo.debian.org>
and subject line Bug#996366: fixed in ruby-regexp-parser 1.7.1-2
has caused the Debian Bug report #996366,
regarding ruby-regexp-parser: FTBFS with ruby3.0: ERROR: Test "ruby3.0" failed: 
      Failure/Error: (min..max).tap { |r| r.define_singleton_method(:minmax) { 
[min, max] } }
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
996366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996366
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: ruby-regexp-parser
Version: 1.7.1-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-regexp-parser 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):
>       Failure/Error: (min..max).tap { |r| r.define_singleton_method(:minmax) 
> { [min, max] } }
> 
>       FrozenError:
>         can't modify frozen object: 2..4
>       # ./lib/regexp_parser/expression.rb:84:in `define_singleton_method'
>       # ./lib/regexp_parser/expression.rb:84:in `block in repetitions'
>       # <internal:kernel>:90:in `tap'
>       # ./lib/regexp_parser/expression.rb:84:in `repetitions'
>       # ./lib/regexp_parser/expression/methods/match_length.rb:11:in 
> `initialize'
>       # ./lib/regexp_parser/expression/methods/match_length.rb:102:in `new'
>       # ./lib/regexp_parser/expression/methods/match_length.rb:102:in 
> `match_length'
>       # ./spec/expression/methods/match_length_spec.rb:157:in `block (3 
> levels) in <top (required)>'
> 
> Finished in 5.25 seconds (files took 1.46 seconds to load)
> 1498 examples, 23 failures
> 
> Failed examples:
> 
> rspec ./spec/expression/base_spec.rb:88 # Regexp::Expression::Base 
> #repetitions
> rspec ./spec/expression/methods/match_length_spec.rb:15 # Regexp::MatchLength 
> fixed quantified
> rspec ./spec/expression/methods/match_length_spec.rb:16 # Regexp::MatchLength 
> range quantified
> rspec ./spec/expression/methods/match_length_spec.rb:17 # Regexp::MatchLength 
> nested quantified
> rspec ./spec/expression/methods/match_length_spec.rb:18 # Regexp::MatchLength 
> open-end quantified
> rspec ./spec/expression/methods/match_length_spec.rb:24 # Regexp::MatchLength 
> backreference
> rspec ./spec/expression/methods/match_length_spec.rb:25 # Regexp::MatchLength 
> subexp call
> rspec ./spec/expression/methods/match_length_spec.rb:28 # Regexp::MatchLength 
> quantified alternation
> rspec ./spec/expression/methods/match_length_spec.rb:65 # 
> Regexp::MatchLength#include? fixed quantified
> rspec ./spec/expression/methods/match_length_spec.rb:72 # 
> Regexp::MatchLength#include? variably quantified
> rspec ./spec/expression/methods/match_length_spec.rb:78 # 
> Regexp::MatchLength#include? nested quantified
> rspec ./spec/expression/methods/match_length_spec.rb:95 # 
> Regexp::MatchLength#include? called on leaf node
> rspec ./spec/expression/methods/match_length_spec.rb:105 # 
> Regexp::MatchLength#fixed? fixed quantified
> rspec ./spec/expression/methods/match_length_spec.rb:106 # 
> Regexp::MatchLength#fixed? variably quantified
> rspec ./spec/expression/methods/match_length_spec.rb:109 # 
> Regexp::MatchLength#fixed? equal quantified branches
> rspec ./spec/expression/methods/match_length_spec.rb:110 # 
> Regexp::MatchLength#fixed? unequal quantified branches
> rspec ./spec/expression/methods/match_length_spec.rb:115 # 
> Regexp::MatchLength#each returns an Enumerator if called without a block
> rspec ./spec/expression/methods/match_length_spec.rb:123 # 
> Regexp::MatchLength#each is aware of limit option even if called without a 
> block
> rspec ./spec/expression/methods/match_length_spec.rb:130 # 
> Regexp::MatchLength#each is limited to 1000 iterations in case there are 
> infinite match lengths
> rspec ./spec/expression/methods/match_length_spec.rb:134 # 
> Regexp::MatchLength#each scaffolds the Enumerable interface
> rspec ./spec/expression/methods/match_length_spec.rb:142 # 
> Regexp::MatchLength#endless_each returns an Enumerator if called without a 
> block
> rspec ./spec/expression/methods/match_length_spec.rb:150 # 
> Regexp::MatchLength#endless_each never stops iterating for infinite match 
> lengths
> rspec ./spec/expression/methods/match_length_spec.rb:156 # 
> Regexp::MatchLength#inspect is nice
> 
> /usr/bin/ruby3.0 
> -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib
>  /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec 
> --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available at
https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-regexp-parser/ruby-regexp-parser_1.7.1-1+rebuild1633393116_amd64.build.txt

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ruby-regexp-parser
Source-Version: 1.7.1-2
Done: Daniel Leidert <dleid...@debian.org>

We believe that the bug you reported is fixed in the latest version of
ruby-regexp-parser, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 996...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Leidert <dleid...@debian.org> (supplier of updated ruby-regexp-parser 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 17 Nov 2021 21:46:24 +0100
Source: ruby-regexp-parser
Architecture: source
Version: 1.7.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Ruby Team 
<pkg-ruby-extras-maintain...@lists.alioth.debian.org>
Changed-By: Daniel Leidert <dleid...@debian.org>
Closes: 996366
Changes:
 ruby-regexp-parser (1.7.1-2) unstable; urgency=medium
 .
   * Team upload.
   * d/patches/996366-fix-frozenerror.patch: Add patch.
     - Don't modify range for Ruby 2.7+ (closes: #996366).
   * d/patches/series: Enable new patch.
Checksums-Sha1:
 de8849e917020b4011d3fe3342c2f6577fa7a954 2136 ruby-regexp-parser_1.7.1-2.dsc
 4f0baa4aabbbbef8cb31427a9344fcd1edda8b2b 3136 
ruby-regexp-parser_1.7.1-2.debian.tar.xz
 98ad284958d9ebe6139e15cfec771301a6d78472 9397 
ruby-regexp-parser_1.7.1-2_amd64.buildinfo
Checksums-Sha256:
 1080d708bb696337065135877e5abcd67ab789079a0c953a7395a6c934b39edd 2136 
ruby-regexp-parser_1.7.1-2.dsc
 8350f4e9793aaa71084085d839aafb04c5b62340a1fbad4d6291d5549a8dc68b 3136 
ruby-regexp-parser_1.7.1-2.debian.tar.xz
 486abac3eb1bb1d90f3810144c59cbbb5bcf5a0443bed09690562f18dd16b45d 9397 
ruby-regexp-parser_1.7.1-2_amd64.buildinfo
Files:
 73213b43973bda4a3d27f96cfe1af5e2 2136 ruby optional 
ruby-regexp-parser_1.7.1-2.dsc
 5f8fe7fb8ffdfd5fa1f57ee88b2d9ee3 3136 ruby optional 
ruby-regexp-parser_1.7.1-2.debian.tar.xz
 56b1c77e1ebfa23d539eef7e7e013fb4 9397 ruby optional 
ruby-regexp-parser_1.7.1-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEvu1N7VVEpMA+KD3HS80FZ8KW0F0FAmGVa7kACgkQS80FZ8KW
0F1jOg/+II3vkTXDt+bTkuWnG21EVNs7k9YJ2yihrj8ffVRAyzJ4fhud/yRzTjXc
rm5R3ThPcr7QN5GydXrjTGsBe986JFYq6us3jTSaXGQErD9wWU0j8K8wbRaddq1P
qIcbRVaaorO8p4WMyjDMkkAPEjwDQwJV0a6K5bcToS8DskesUExoLPcD9zmRMDmj
zSg6AolqLnVlU02J43bEubP9e4ivYy/CwKRGQq6x09cMwwUlRxvDwfK6MEbpGMg3
CnTSCxyH8V6YrdZ0x7Ds8u2C3EZ6jef4FyjNrB/Jiaz2zp/j+pwzW4Ucch45ObLj
OE+QJOyI9EfDLQ6LGMuedXr0Xc53L/s6lVZ3Ow7ta2vPGj/0GdfqlWoHD6DDnOyA
f4iHLPlh3lqg/KwtlbOk7DwUELYMviavcG7x2gOSZHTs3tjQ5Qff8Q5Ym8QSdHWS
2vwHAoR49KSAv2aUA+NLAvdmOvnRFt/3lgqdwcXufmfOB+zrY+XZxkbLJFMNg0Jt
J0rqL1wAj7Zv52KV3YApVKEBPcU9rDkdQPgFIH9ZnmgdS2hKAf5O/ujjbGSvD1Ae
ccde/63ttu2P1DGjwYcg2UUOg3sKaCzjRMdVEHyPxb7vSaPH7zG1/pBi0dhfpcfv
dvEH5wxRlC9WzN9dyH6ciSpzLEeUJ/AeN6TmY+lCYwl/YbDLitw=
=VlDx
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to