[DRE-maint] Bug#1095884: ruby-invisible-captcha: autopkgtest failure with rails 7: Could not find gem 'rails (~> 6.1.0)' in locally installed gems.
Antonio Terceiro
terceiro at debian.org
Thu Feb 13 10:18:27 GMT 2025
Source: ruby-invisible-captcha
Version: 2.1.0-1
Severity: serious
Justification: autopkgtest failure
Tags: trixie sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: rails7
Hi,
We are about to upload rails 7 to unstable, as we are targetting to have rails
7 being released with Trixie.
After the last upload of rails 7 to experimental, we noticed that ruby-invisible-captcha
fails its autopkgtests when run against that version of rails.
To reproduce this failure locally, you can run autopkgtest with the following
options:
--add-apt-release=experimental --pin-packages=experimental=src:rails
(or wait until rails 7 is uploaded to unstable)
Relevant part (hopefully):
> Setting up ruby-actioncable (2:7.2.2.1+dfsg-1~exp6) ...
> Setting up ruby-actionmailer (2:7.2.2.1+dfsg-1~exp6) ...
> Setting up ruby-activestorage (2:7.2.2.1+dfsg-1~exp6) ...
> Setting up ruby-actiontext (2:7.2.2.1+dfsg-1~exp6) ...
> Setting up ruby-actionmailbox (2:7.2.2.1+dfsg-1~exp6) ...
> Setting up ruby-railties (2:7.2.2.1+dfsg-1~exp6) ...
> Setting up ruby-rspec-rails (6.1.5-2) ...
> Setting up ruby-rails (2:7.2.2.1+dfsg-1~exp6) ...
> Setting up ruby-invisible-captcha (2.1.0-1) ...
> Processing triggers for libc-bin (2.40-6) ...
> autopkgtest [19:06:21]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1
> autopkgtest [19:06:21]: test gem2deb-test-runner: [-----------------------
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Checking Rubygems dependency resolution on ruby3.3 │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=. GEM_PATH= ruby3.3 -e gem\ \"invisible_captcha\"
> mv lib ./.gem2deb.lib
> mv ./.gem2deb.lib lib
>
> ┌──────────────────────────────────────────────────────────────────────────────┐
> │ Run tests for ruby3.3 from debian/ruby-tests.rake │
> └──────────────────────────────────────────────────────────────────────────────┘
>
> RUBYLIB=. GEM_PATH= ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
> mv lib ./.gem2deb.lib
> /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
>
> An error occurred while loading spec_helper.
> Failure/Error: require 'bundler/setup' # Set up gems listed in the Gemfile.
>
> Bundler::GemNotFound:
> Could not find gem 'rails (~> 6.1.0)' in locally installed gems.
>
> The source contains the following gems matching 'rails':
> * rails-7.2.2.1
> # /usr/share/rubygems-integration/all/gems/bundler-2.6.3/lib/bundler.rb:167:in `setup'
> # ./spec/dummy/config/boot.rb:3:in `<top (required)>'
> # ./spec/dummy/config/application.rb:1:in `<top (required)>'
> # ./spec/dummy/config/environment.rb:2:in `require_relative'
> # ./spec/dummy/config/environment.rb:2:in `<top (required)>'
> # ./spec/spec_helper.rb:8:in `<top (required)>'
> No examples found.
> No examples found.
>
>
> Finished in 0.00106 seconds (files took 0.29444 seconds to load)
> 0 examples, 0 failures, 1 error occurred outside of examples
>
> Finished in 0.00106 seconds (files took 0.29444 seconds to load)
> 0 examples, 0 failures, 1 error occurred outside of examples
>
>
> Coverage report generated for RSpec to /tmp/autopkgtest-lxc.0jvzkane/downtmp/build.fq4/src/coverage. 4 / 12 LOC (33.33%) covered.
> Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
> /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
> mv ./.gem2deb.lib lib
> autopkgtest [19:06:22]: test gem2deb-test-runner: -----------------------]
> autopkgtest [19:06:22]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - -
> gem2deb-test-runner FAIL non-zero exit status 1
The full autopkgtest logs are available and linked from
https://release.debian.org/britney/pseudo-excuses-experimental.html#rails
and after rails 7 gets into unstable, at
https://qa.debian.org/excuses.php?package=rails
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20250213/e9b0a414/attachment-0001.sig>
More information about the Pkg-ruby-extras-maintainers
mailing list