Public bug reported: The autopkgtests for ruby-cookiejar fail [1] with the following error message:
----- 869s /usr/lib/ruby/vendor_ruby/cookiejar/cookie_validation.rb:47: warning: previous definition of PARAM1 was here 869s 869s An error occurred while loading ./spec/cookie_spec.rb. 869s Failure/Error: require 'cookiejar' 869s 869s ArgumentError: 869s wrong number of arguments (given 3, expected 1..2) 869s # ./spec/spec_helper.rb:1:in `<top (required)>' 869s # ./spec/cookie_spec.rb:2:in `<top (required)>' 869s 869s An error occurred while loading ./spec/cookie_validation_spec.rb. 869s Failure/Error: require 'cookiejar' 869s 869s ArgumentError: 869s wrong number of arguments (given 3, expected 1..2) 869s # ./spec/spec_helper.rb:1:in `<top (required)>' 869s # ./spec/cookie_validation_spec.rb:1:in `<top (required)>' 869s 869s An error occurred while loading ./spec/jar_spec.rb. 869s Failure/Error: require 'cookiejar' 869s 869s ArgumentError: 869s wrong number of arguments (given 3, expected 1..2) 869s # ./spec/spec_helper.rb:1:in `<top (required)>' 869s # ./spec/jar_spec.rb:1:in `<top (required)>' 869s No examples found. 869s 869s Finished in 0.00005 seconds (files took 0.10058 seconds to load) 869s 0 examples, 0 failures, 3 errors occurred outside of examples 869s 869s /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 ----- This seems to be a failure due to a change in the Regexp::new/Regexp::compile API in Ruby 3.3 [2][3]. [1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-oracular/oracular/amd64/r/ruby-cookiejar/20240820_142134_f328d@/log.gz [2] https://www.ruby-lang.org/en/news/2023/12/25/ruby-3-3-0-released/ [3] https://bugs.ruby-lang.org/issues/18797 ** Affects: ruby-cookiejar (Ubuntu) Importance: Undecided Assignee: Pushkar Kulkarni (pushkarnk) Status: New ** Tags: update-excuse ** Changed in: ruby-cookiejar (Ubuntu) Assignee: (unassigned) => Pushkar Kulkarni (pushkarnk) ** Tags added: update-excuse -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2077595 Title: autopkgtests fail with ruby-defaults 1:3.3~ubuntu3 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ruby-cookiejar/+bug/2077595/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs