[DRE-maint] Bug#1019610: ruby-ahoy-email: FTBFS with ruby3.1: ERROR: Test "ruby3.1" failed: cannot load such file -- net/smtp (LoadError)

Adrian Bunk bunk at debian.org
Sat Nov 19 22:19:44 GMT 2022


Control: reassign -1 ruby-actionmailer 2:6.1.7+dfsg-2
Control: affects -1 src:ruby-ahoy-email

On Sun, Nov 06, 2022 at 08:31:39PM +0200, Adrian Bunk wrote:
> On Fri, Oct 07, 2022 at 02:16:35PM -0300, Antonio Terceiro wrote:
> >...
> > But nothing in ruby-ahoy-email codebase uses net/smtp explicitly, so
> > this is a bit weird.
> >...
> 
> $ cat /usr/share/rubygems-integration/all/gems/actionmailer-6.1.7/lib/action_mailer/mail_with_error_handling.rb
> # frozen_string_literal: true
> 
> begin
>   require "mail"
> rescue LoadError => error
>   if error.message.match?(/net\/smtp/)
>     $stderr.puts "You don't have net-smtp installed in your application. Please add it to your Gemfile and run bundle install"
>     raise
>   end
> end
> $
> 
> 
> There is also something that might be related in
> https://sources.debian.org/src/rails/2%3A6.1.7%2Bdfsg-2/Gemfile/#L140
> 
> Is there a bug in rails?
>...

I am reassigning this to rails since it is likely that the problem is there.

cu
Adrian



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