Source: ruby-friendly-id Version: 5.3.0-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-friendly-id 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): > /usr/share/rubygems-integration/all/gems/activerecord-6.0.3.7/lib/active_record/associations.rb:1370:in > `has_many': wrong number of arguments (given 3, expected 1..2) > (ArgumentError) > from > /<<PKGBUILDDIR>>/debian/ruby-friendly-id/usr/lib/ruby/vendor_ruby/friendly_id/history.rb:75:in > `block in included' > from > /<<PKGBUILDDIR>>/debian/ruby-friendly-id/usr/lib/ruby/vendor_ruby/friendly_id/history.rb:74:in > `class_eval' > from > /<<PKGBUILDDIR>>/debian/ruby-friendly-id/usr/lib/ruby/vendor_ruby/friendly_id/history.rb:74:in > `included' > from > /<<PKGBUILDDIR>>/debian/ruby-friendly-id/usr/lib/ruby/vendor_ruby/friendly_id/configuration.rb:56:in > `include' > from > /<<PKGBUILDDIR>>/debian/ruby-friendly-id/usr/lib/ruby/vendor_ruby/friendly_id/configuration.rb:56:in > `block in use' > from > /<<PKGBUILDDIR>>/debian/ruby-friendly-id/usr/lib/ruby/vendor_ruby/friendly_id/configuration.rb:53:in > `map' > from > /<<PKGBUILDDIR>>/debian/ruby-friendly-id/usr/lib/ruby/vendor_ruby/friendly_id/configuration.rb:53:in > `use' > from > /<<PKGBUILDDIR>>/debian/ruby-friendly-id/usr/lib/ruby/vendor_ruby/friendly_id/base.rb:209:in > `friendly_id' > from /<<PKGBUILDDIR>>/test/history_test.rb:10:in `<class:Manual>' > from /<<PKGBUILDDIR>>/test/history_test.rb:8:in `<class:HistoryTest>' > from /<<PKGBUILDDIR>>/test/history_test.rb:3:in `<top (required)>' > from > <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in > `require' > from > <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:85:in > `require' > from > /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:324:in > `block in require' > from > /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:291:in > `load_dependency' > from > /usr/share/rubygems-integration/all/gems/activesupport-6.0.3.7/lib/active_support/dependencies.rb:324:in > `require' > from > /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:17:in > `block in <main>' > from > /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in > `select' > from > /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb:5:in > `<main>' > ------------------------------------------------------------------------ > Using ruby 3.0.2 AR 6.0.3.7 with sqlite3 (in-memory) > rake aborted! > Command failed with status (1): [ruby -w -I"test" > /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb > "test/base_test.rb" "test/candidates_test.rb" "test/configuration_test.rb" > "test/core_test.rb" "test/finders_test.rb" "test/generator_test.rb" > "test/history_test.rb" "test/numeric_slug_test.rb" > "test/object_utils_test.rb" "test/reserved_test.rb" "test/scoped_test.rb" > "test/sequentially_slugged_test.rb" "test/simple_i18n_test.rb" > "test/slugged_test.rb" "test/sti_test.rb" -v] > > Tasks: TOP => default > (See full trace by running task with --trace) > ERROR: Test "ruby3.0" failed: The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-friendly-id/ruby-friendly-id_5.3.0-1+rebuild1633380511_amd64.build.txt
signature.asc
Description: PGP signature