[DRE-maint] Bug#1123470: ruby-regexp-parser: FTBFS: Failure/Error: expect(unsupported).to be_empty

Santiago Vila sanvila at debian.org
Tue Dec 16 20:29:44 GMT 2025


Package: src:ruby-regexp-parser
Version: 2.6.1-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202512/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:ruby-regexp-parser, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=ruby --with ruby
   dh_auto_clean -O--buildsystem=ruby
	dh_ruby --clean
W: XS-Ruby-Versions is deprecated, and will be ignored
   dh_autoreconf_clean -O--buildsystem=ruby
   dh_clean -O--buildsystem=ruby
 debian/rules binary
dh binary --buildsystem=ruby --with ruby
   dh_update_autotools_config -O--buildsystem=ruby
   dh_autoreconf -O--buildsystem=ruby
   dh_auto_configure -O--buildsystem=ruby
	dh_ruby --configure
   dh_auto_build -O--buildsystem=ruby
	dh_ruby --build

[... snipped ...]

  given the pattern a\sc
    scans token 1 as space type at 1..3
  given the pattern a\Sc
    scans token 1 as nonspace type at 1..3
  given the pattern a\wc
    scans token 1 as word type at 1..3
  given the pattern a\Wc
    scans token 1 as nonword type at 1..3
  given the pattern a\Rc
    scans token 1 as linebreak type at 1..3
  given the pattern a\Xc
    scans token 1 as xgrapheme type at 1..3

Regexp::Syntax
  ::new is a deprecated alias of ::for
  not implemented
  supported?
  raises for unknown constant lookups
  instantiation is deprecated but still works
  ::for
    is expected to eq Regexp::Syntax::V1_8_6
    is expected to eq Regexp::Syntax::V1_8_6
    is expected to eq Regexp::Syntax::V1_9_1
    is expected to eq Regexp::Syntax::V1_9_3
    is expected to eq Regexp::Syntax::V2_0_0
    is expected to eq Regexp::Syntax::V2_0_0
    is expected to eq Regexp::Syntax::V2_0_0
    is expected to eq Regexp::Syntax::V2_2_0
    is expected to eq Regexp::Syntax::V2_2_0
    is expected to eq Regexp::Syntax::V2_2_0
    is expected to eq Regexp::Syntax::V2_3_0
    is expected to eq Regexp::Syntax::V2_3_0
    is expected to eq Regexp::Syntax::V2_4_0
    is expected to eq Regexp::Syntax::V2_4_1
    is expected to eq Regexp::Syntax::V2_5_0
    is expected to eq Regexp::Syntax::V2_5_0
    is expected to eq Regexp::Syntax::V2_6_0
    is expected to eq Regexp::Syntax::V2_6_2
    is expected to eq Regexp::Syntax::V2_6_3
    is expected to eq Regexp::Syntax::V2_6_3
    is expected to eq Regexp::Syntax::V2_6_3
    is expected to eq Regexp::Syntax::V2_6_3
    is expected to eq Regexp::Syntax::V3_1_0
    is expected to eq Regexp::Syntax::V3_1_0
    is expected to eq Regexp::Syntax::V3_2_0
    is expected to eq Regexp::Syntax::V3_2_0
    is expected to eq Regexp::Syntax::Any
    is expected to eq Regexp::Syntax::Any
    warns for future versions
    raises for unknown names
    raises for invalid names

{:free_space=>[:comment, :whitespace], :literal=>[:literal], [too-long-redacted] :in_znamenny_musical_notation]}
  is complete
  contains no duplicate tokens
  contains no duplicate type/token combinations

Regexp::Syntax::V1_8_6
  implements lookahead assertion
  implements nlookahead assertion
  implements number backref
  implements backslash escape
  implements literal escape
  implements bell escape
  implements backspace escape
  implements escape escape
  implements form_feed escape
  implements newline escape
  implements carriage escape
  implements tab escape
  implements vertical_tab escape
  implements dot escape
  implements alternation escape
  implements zero_or_one escape
  implements zero_or_more escape
  implements one_or_more escape
  implements bol escape
  implements eol escape
  implements group_open escape
  implements group_close escape
  implements interval_open escape
  implements interval_close escape
  implements set_open escape
  implements set_close escape
  implements control escape
  implements meta_sequence escape
  implements capture group
  implements close group
  implements options group
  implements options_switch group
  implements named group
  implements atomic group
  implements passive group
  implements comment group
  implements zero_or_one quantifier
  implements zero_or_more quantifier
  implements one_or_more quantifier
  implements zero_or_one_reluctant quantifier
  implements zero_or_more_reluctant quantifier
  implements one_or_more_reluctant quantifier
  implements interval quantifier
  implements interval_reluctant quantifier
  does not implement lookbehind assertion
  does not implement nlookbehind assertion
  does not implement name_ref backref
  does not implement number_ref backref
  does not implement number_rel_ref backref
  does not implement name_recursion_ref backref
  does not implement number_recursion_ref backref
  does not implement name_call backref
  does not implement number_call backref
  does not implement number_rel_call backref
  does not implement zero_or_one_possessive quantifier
  does not implement zero_or_more_possessive quantifier
  does not implement one_or_more_possessive quantifier

Regexp::Syntax::V1_9_1
  implements hex escape
  implements octal escape
  implements codepoint escape
  implements codepoint_list escape
  implements hex type
  implements nonhex type
  implements zero_or_one quantifier
  implements zero_or_more quantifier
  implements one_or_more quantifier
  implements zero_or_one_reluctant quantifier
  implements zero_or_more_reluctant quantifier
  implements one_or_more_reluctant quantifier
  implements zero_or_one_possessive quantifier
  implements zero_or_more_possessive quantifier
  implements one_or_more_possessive quantifier

Regexp::Syntax::V1_9_3
  implements brahmi property
  implements batak property
  implements mandaic property
  implements age=1.1 property
  implements age=2.0 property
  implements age=2.1 property
  implements age=3.0 property
  implements age=3.1 property
  implements age=3.2 property
  implements age=4.0 property
  implements age=4.1 property
  implements age=5.0 property
  implements age=5.1 property
  implements age=5.2 property
  implements age=6.0 property
  implements brahmi nonproperty
  implements batak nonproperty
  implements mandaic nonproperty
  implements age=1.1 nonproperty
  implements age=2.0 nonproperty
  implements age=2.1 nonproperty
  implements age=3.0 nonproperty
  implements age=3.1 nonproperty
  implements age=3.2 nonproperty
  implements age=4.0 nonproperty
  implements age=4.1 nonproperty
  implements age=5.0 nonproperty
  implements age=5.1 nonproperty
  implements age=5.2 nonproperty
  implements age=6.0 nonproperty

Regexp::Syntax::V2_0_0
  implements age=6.1 property
  implements age=6.1 nonproperty
  does not implement newline property
  does not implement newline nonproperty

Regexp::Syntax::V2_2_0
  implements caucasian_albanian property
  implements bassa_vah property
  implements duployan property
  implements elbasan property
  implements grantha property
  implements pahawh_hmong property
  implements khojki property
  implements linear_a property
  implements mahajani property
  implements manichaean property
  implements mende_kikakui property
  implements modi property
  implements mro property
  implements old_north_arabian property
  implements nabataean property
  implements palmyrene property
  implements pau_cin_hau property
  implements old_permic property
  implements psalter_pahlavi property
  implements siddham property
  implements khudawadi property
  implements tirhuta property
  implements warang_citi property
  implements age=6.2 property
  implements age=6.3 property
  implements age=7.0 property
  implements caucasian_albanian nonproperty
  implements bassa_vah nonproperty
  implements duployan nonproperty
  implements elbasan nonproperty
  implements grantha nonproperty
  implements pahawh_hmong nonproperty
  implements khojki nonproperty
  implements linear_a nonproperty
  implements mahajani nonproperty
  implements manichaean nonproperty
  implements mende_kikakui nonproperty
  implements modi nonproperty
  implements mro nonproperty
  implements old_north_arabian nonproperty
  implements nabataean nonproperty
  implements palmyrene nonproperty
  implements pau_cin_hau nonproperty
  implements old_permic nonproperty
  implements psalter_pahlavi nonproperty
  implements siddham nonproperty
  implements khudawadi nonproperty
  implements tirhuta nonproperty
  implements warang_citi nonproperty
  implements age=6.2 nonproperty
  implements age=6.3 nonproperty
  implements age=7.0 nonproperty

Regexp::Syntax::V3_2_0
  implements cypro_minoan property
  implements old_uyghur property
  implements tangsa property
  implements toto property
  implements vithkuqi property
  implements age=14.0 property
  implements cypro_minoan nonproperty
  implements old_uyghur nonproperty
  implements tangsa nonproperty
  implements toto nonproperty
  implements vithkuqi nonproperty
  implements age=14.0 nonproperty

Regexp::Token
  #offset
  #length
  #to_h
  #next
  #previous

Failures:

  1) Property parsing parse all properties of current ruby
     Failure/Error: expect(unsupported).to be_empty
       expected `[#<RegexpPropertyValues::Value:0x00007f7d07387558 @name="Age=15.0", @identifier="age=15.0", @regexp=/...::Value:0x00007f7d0739e578 @name="Nag_Mundari", @identifier="nagmundari", @regexp=/\p{nagmundari}/>].empty?` to be truthy, got false
     # ./spec/parser/properties_spec.rb:56:in `block (2 levels) in <top (required)>'
     # ./spec/spec_helper.rb:26:in `block (3 levels) in <top (required)>'
     # ./spec/spec_helper.rb:26:in `block (2 levels) in <top (required)>'

Finished in 0.44772 seconds (files took 0.23211 seconds to load)
1861 examples, 1 failure

Failed examples:

rspec ./spec/parser/properties_spec.rb:52 # Property parsing parse all properties of current ruby

/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
/usr/lib/ruby/vendor_ruby/gem2deb.rb:52:in `run': /usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner (Gem2Deb::CommandFailed)
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:64:in `block in run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:87:in `maybe_crossbuild'
	from /usr/lib/ruby/vendor_ruby/gem2deb.rb:63:in `run_ruby'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:189:in `run_tests_for_version'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:176:in `block in run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `each'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:175:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:71:in `run_tests'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:57:in `install'
	from /usr/lib/ruby/vendor_ruby/gem2deb/dh_ruby.rb:163:in `install'
	from /usr/bin/dh_ruby:89:in `<main>'
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-regexp-parser returned exit code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------



More information about the Pkg-ruby-extras-maintainers mailing list