Hi,

On Fri, Oct 07, 2022 at 01:50:56AM +0300, Adrian Bunk wrote:
> On Mon, Sep 12, 2022 at 08:24:43PM -0300, Antonio Terceiro wrote:
> > Source: ruby-ahoy-email
> > Version: 1.1.1-2
> > Severity: serious
> > Justification: FTBFS
> > Tags: bookworm sid ftbfs
> > User: debian-r...@lists.debian.org
> > Usertags: ruby3.1
> > 
> > Hi,
> > 
> > We are about to start the ruby3.1 transition in unstable. While trying to
> > rebuild ruby-ahoy-email with ruby3.1 enabled, the build failed.
> > 
> > Relevant part of the build log (hopefully):
> > > /usr/share/rubygems-integration/all/gems/activesupport-6.1.6.1/lib/active_support/dependencies.rb:332:in
> > >  `require': cannot load such file -- net/smtp (LoadError)
> 
> Do you have any ides where this dependency is required and why it isn't found?

$ dpkg -S net/smtp.rb
libruby3.0:amd64: /usr/lib/ruby/3.0.0/net/smtp.rb
libruby3.1:amd64: /usr/lib/ruby/gems/3.1.0/gems/net-smtp-0.3.1/lib/net/smtp.rb

In ruby3.0, net/smtp was part of the standard library, and in ruby3.1,
it's now a "default gem", which is more or less a third-party library
that happens to be shipped together with the standard library.

And it seems that the test suite for this package loads bundler. bundler
prevents any library that is not part of the standard library and is not
explicitly declared the Gemfile from being loaded, therefore it looks
like the library is not installed.

But nothing in ruby-ahoy-email codebase uses net/smtp explicitly, so
this is a bit weird. Our version is also quite outated wrt upstream, so
my first attempt would be to just update the latest upstream (there are
no reverse dependencies in the archive).

Attachment: signature.asc
Description: PGP signature

Reply via email to