Source: ruby-fakeweb Version: 1.3.0+git20170806+dfsg1-3 Severity: important Justification: FTBFS Tags: trixie sid ftbfs User: debian-r...@lists.debian.org Usertags: ruby-mocha-2
Hi, We are trying to update ruby-mocha to version 2, currently available in experimental. During a test rebuild, ruby-fakeweb was found to fail to build in that situation. To reproduce this locally, you need to install ruby-mocha from experimental on an unstable system or build chroot. Relevant part (hopefully): > NoMethodError: undefined method `any_instance' for URI::RFC2396_Parser:Class > > parsing_object = URI.const_defined?(:Parser) ? URI::Parser.any_instance > : URI > ^^^^^^^^^^^^^ > /build/reproducible-path/ruby-fakeweb-1.3.0+git20170806+dfsg1/test/test_utility.rb:78:in > `test_uri_escape_delegates_to_uri_parser_when_available' > 75: end > 76: > 77: def test_uri_escape_delegates_to_uri_parser_when_available > => 78: parsing_object = URI.const_defined?(:Parser) ? > URI::Parser.any_instance : URI > 79: parsing_object.expects(:escape).with("string", > /unsafe/).returns("escaped") > 80: assert_equal "escaped", FakeWeb::Utility.uri_escape("string", > /unsafe/) > 81: end > =============================================================================== > > Finished in 0.181855606 seconds. > ------------------------------------------------------------------------------- > 181 tests, 294 assertions, 0 failures, 1 errors, 0 pendings, 0 omissions, 0 > notifications > 99.4475% passed > ------------------------------------------------------------------------------- > 995.30 tests/s, 1616.67 assertions/s > ERROR: Test "ruby3.1" failed: The full build log is available at https://people.debian.org/~terceiro/ruby-mocha-2/ruby-fakeweb_arm64-2024-12-20T10:24:38Z.build This bug report is being filed as severity important, but will be raised to serious once ruby-mocha is updated in unstable.
signature.asc
Description: PGP signature