[DRE-maint] Bug#1019633: ruby-invisible-captcha: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: cannot load such file -- net/smtp

Antonio Terceiro terceiro at debian.org
Tue Sep 13 01:55:28 BST 2022


Source: ruby-invisible-captcha
Version: 1.1.0-5
Severity: important
Justification: FTBFS
Tags: bookworm sid ftbfs
User: debian-ruby at lists.debian.org
Usertags: ruby3.1

Hi,

We are about to start the ruby3.1 transition in unstable. While trying to
rebuild ruby-invisible-captcha with ruby3.1 enabled, the build failed.

Relevant part of the build log (hopefully):
>         cannot load such file -- net/smtp
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `block in require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in `load_dependency'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `block in require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in `load_dependency'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
>       # /usr/share/rubygems-integration/all/gems/actionmailer-6.1.6.1/lib/action_mailer/mail_with_error_handling.rb:4:in `<top (required)>'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `block in require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in `load_dependency'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
>       # /usr/share/rubygems-integration/all/gems/actionmailer-6.1.6.1/lib/action_mailer/base.rb:3:in `<top (required)>'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `block in require'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:299:in `load_dependency'
>       # /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in `require'
> 
> Finished in 8.37 seconds (files took 1.01 seconds to load)
> 28 examples, 28 failures
> 
> Failed examples:
> 
> rspec ./spec/controllers_spec.rb:37 # InvisibleCaptcha::ControllerExt without invisible_captcha_timestamp in session passes if disabled at action level
> rspec ./spec/controllers_spec.rb:44 # InvisibleCaptcha::ControllerExt without invisible_captcha_timestamp in session passes if disabled at app level
> rspec ./spec/controllers_spec.rb:30 # InvisibleCaptcha::ControllerExt without invisible_captcha_timestamp in session fails like if it was submitted too fast
> rspec ./spec/controllers_spec.rb:68 # InvisibleCaptcha::ControllerExt submission timestamp_threshold allows a custom on_timestamp_spam callback
> rspec ./spec/controllers_spec.rb:74 # InvisibleCaptcha::ControllerExt submission timestamp_threshold allows a new timestamp to be set in the on_timestamp_spam callback
> rspec ./spec/controllers_spec.rb:58 # InvisibleCaptcha::ControllerExt submission timestamp_threshold fails if submission before timestamp_threshold
> rspec ./spec/controllers_spec.rb:88 # InvisibleCaptcha::ControllerExt submission timestamp_threshold successful submissions passes if submission on or after timestamp_threshold
> rspec ./spec/controllers_spec.rb:104 # InvisibleCaptcha::ControllerExt submission timestamp_threshold successful submissions allow to set a custom timestamp_threshold per action
> rspec ./spec/controllers_spec.rb:128 # InvisibleCaptcha::ControllerExt honeypot attribute passes with no spam
> rspec ./spec/controllers_spec.rb:122 # InvisibleCaptcha::ControllerExt honeypot attribute fails with spam
> rspec ./spec/controllers_spec.rb:140 # InvisibleCaptcha::ControllerExt honeypot attribute honeypot is removed from params if you use a custom honeypot
> rspec ./spec/controllers_spec.rb:134 # InvisibleCaptcha::ControllerExt honeypot attribute allow a custom on_spam callback
> rspec ./spec/controllers_spec.rb:160 # InvisibleCaptcha::ControllerExt honeypot attribute ActiveSupport::Notifications dispatches an `invisible_captcha.spam_detected` event
> rspec ./spec/view_helpers_spec.rb:41 # InvisibleCaptcha::ViewHelpers generated html + styles
> rspec ./spec/view_helpers_spec.rb:31 # InvisibleCaptcha::ViewHelpers with custom html options
> rspec ./spec/view_helpers_spec.rb:67 # InvisibleCaptcha::ViewHelpers should set spam timestamp
> rspec ./spec/view_helpers_spec.rb:23 # InvisibleCaptcha::ViewHelpers with specific honeypot
> rspec ./spec/view_helpers_spec.rb:18 # InvisibleCaptcha::ViewHelpers with no arguments
> rspec ./spec/view_helpers_spec.rb:36 # InvisibleCaptcha::ViewHelpers with CSP nonce
> rspec ./spec/view_helpers_spec.rb:27 # InvisibleCaptcha::ViewHelpers with specific honeypot and scope
> rspec ./spec/view_helpers_spec.rb:78 # InvisibleCaptcha::ViewHelpers injectable_styles option if injectable_styles is set, do not append styles inline
> rspec ./spec/view_helpers_spec.rb:73 # InvisibleCaptcha::ViewHelpers injectable_styles option by default, render styles along with the honeypot
> rspec ./spec/view_helpers_spec.rb:60 # InvisibleCaptcha::ViewHelpers honeypot visibilty invisible from given instance (default override)
> rspec ./spec/view_helpers_spec.rb:56 # InvisibleCaptcha::ViewHelpers honeypot visibilty visible from given instance (default override)
> rspec ./spec/view_helpers_spec.rb:50 # InvisibleCaptcha::ViewHelpers honeypot visibilty visible from defaults
> rspec ./spec/invisible_captcha_spec.rb:22 # InvisibleCaptcha It uses I18n when available
> rspec ./spec/invisible_captcha_spec.rb:4 # InvisibleCaptcha initialize with defaults
> rspec ./spec/invisible_captcha_spec.rb:14 # InvisibleCaptcha allow setup via block
> 
> Randomized with seed 27405
> 
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
https://people.debian.org/~terceiro/ruby3.1/17/ruby-invisible-captcha/ruby-invisible-captcha_1.1.0-5+rebuild1663007736_amd64-2022-09-12T18:35:37Z.build

To reproduce this, you need to install ruby-all-dev >= 1:3.0+2. Depending on
when you try this, it might mean installing ruby-all-dev from experimental, or
if the transition has already started, a normal build on unstable will be
enough.  If you fail to reproduce, please provide a build log and diff it with
mine so that we can identify if something relevant changed in the meantime.

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
-------------- 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/20220912/0dad8bd9/attachment-0001.sig>


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