[DRE-maint] Bug#1084361: ruby-fakeredis: FTBFS: Failure/Error: require 'redis/connection/registry'

Santiago Vila sanvila at debian.org
Mon Oct 7 09:40:58 BST 2024


Package: src:ruby-fakeredis
Version: 0.8.0-7
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  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
    dh_auto_test -O--buildsystem=ruby
	dh_ruby --test
    create-stamp debian/debhelper-build-stamp
    dh_testroot -O--buildsystem=ruby
    dh_prep -O--buildsystem=ruby
    dh_auto_install --destdir=debian/ruby-fakeredis/ -O--buildsystem=ruby
	dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-fakeredis

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install files                                                                │
└──────────────────────────────────────────────────────────────────────────────┘

install -d /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/fake_redis.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fake_redis.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/bitop_command.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/bitop_command.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/command_executor.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/command_executor.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/expiring_hash.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/expiring_hash.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/geo_commands.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/geo_commands.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/geo_set.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/geo_set.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/minitest.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/minitest.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/rspec.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/rspec.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/sort_method.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/sort_method.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/sorted_set_argument_handler.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/sorted_set_argument_handler.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/sorted_set_store.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/sorted_set_store.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/transaction_commands.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/transaction_commands.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/version.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/version.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis/zset.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis/zset.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/fakeredis.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/fakeredis.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/redis/connection/memory.rb /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby/redis/connection/memory.rb

┌──────────────────────────────────────────────────────────────────────────────┐
│ Install Rubygems integration metadata                                        │
└──────────────────────────────────────────────────────────────────────────────┘

generating gemspec at /<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/share/rubygems-integration/all/specifications/fakeredis-0.8.0.gemspec
/usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner

┌──────────────────────────────────────────────────────────────────────────────┐
│ Run tests for ruby3.1 from debian/ruby-tests.rake                            │
└──────────────────────────────────────────────────────────────────────────────┘

RUBYLIB=/<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-fakeredis/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.1 -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

An error occurred while loading ./spec/bitop_command_spec.rb. - Did you mean?
                     rspec ./spec/compatibility_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/bitop_command_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/command_executor_spec.rb. - Did you mean?
                     rspec ./spec/sort_method_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/command_executor_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/compatibility_spec.rb. - Did you mean?
                     rspec ./spec/bitop_command_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/compatibility_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/connection_spec.rb. - Did you mean?
                     rspec ./spec/transactions_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/connection_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/fakeredis_spec.rb. - Did you mean?
                     rspec ./spec/keys_spec.rb
                     rspec ./spec/hashes_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/fakeredis_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/geo_set_spec.rb. - Did you mean?
                     rspec ./spec/sets_spec.rb
                     rspec ./spec/keys_spec.rb
                     rspec ./spec/server_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/geo_set_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/hashes_spec.rb. - Did you mean?
                     rspec ./spec/sets_spec.rb
                     rspec ./spec/keys_spec.rb
                     rspec ./spec/lists_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/hashes_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/hyper_log_logs_spec.rb. - Did you mean?
                     rspec ./spec/memory_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/hyper_log_logs_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/keys_spec.rb. - Did you mean?
                     rspec ./spec/sets_spec.rb
                     rspec ./spec/hashes_spec.rb
                     rspec ./spec/lists_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/keys_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/lists_spec.rb. - Did you mean?
                     rspec ./spec/sets_spec.rb
                     rspec ./spec/keys_spec.rb
                     rspec ./spec/strings_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/lists_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/memory_spec.rb. - Did you mean?
                     rspec ./spec/keys_spec.rb
                     rspec ./spec/sets_spec.rb
                     rspec ./spec/server_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/memory_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/server_spec.rb. - Did you mean?
                     rspec ./spec/sets_spec.rb
                     rspec ./spec/keys_spec.rb
                     rspec ./spec/hashes_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/server_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/sets_spec.rb. - Did you mean?
                     rspec ./spec/hashes_spec.rb
                     rspec ./spec/lists_spec.rb
                     rspec ./spec/keys_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/sets_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/sort_method_spec.rb. - Did you mean?
                     rspec ./spec/sorted_sets_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/sort_method_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/sorted_sets_spec.rb. - Did you mean?
                     rspec ./spec/sort_method_spec.rb
                     rspec ./spec/geo_set_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/sorted_sets_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/strings_spec.rb. - Did you mean?
                     rspec ./spec/sets_spec.rb
                     rspec ./spec/lists_spec.rb
                     rspec ./spec/server_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/strings_spec.rb:3:in `<top (required)>'

An error occurred while loading ./spec/subscription_spec.rb. - Did you mean?
                     rspec ./spec/strings_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/subscription_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/transactions_spec.rb. - Did you mean?
                     rspec ./spec/connection_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/transactions_spec.rb:1:in `<top (required)>'

An error occurred while loading ./spec/upcase_method_name_spec.rb. - Did you mean?
                     rspec ./spec/bitop_command_spec.rb

Failure/Error: require 'redis/connection/registry'

LoadError:
   cannot load such file -- redis/connection/registry
# ./lib/redis/connection/memory.rb:2:in `<top (required)>'
# ./lib/fakeredis.rb:2:in `<top (required)>'
# ./spec/spec_helper.rb:7:in `<top (required)>'
# ./spec/upcase_method_name_spec.rb:1:in `<top (required)>'
No examples found.


Finished in 0.00004 seconds (files took 0.35366 seconds to load)
0 examples, 0 failures, 19 errors occurred outside of examples

/usr/bin/ruby3.1 -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 failed
ERROR: Test "ruby3.1" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/ruby-fakeredis returned exit code 1
make: *** [debian/rules:18: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

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

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 could not 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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.



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