[DRE-maint] Bug#926381: ruby-fakeweb: FTBFS (failing tests)

Ivo De Decker ivodd at debian.org
Wed Apr 10 11:01:20 BST 2019


Hi Lucas,

On Wed, Apr 10, 2019 at 09:06:48AM +0200, Lucas Nussbaum wrote:
> My understanding:
> - ruby-fakeweb is a key package because ruby-thor build-depends on it
> - ruby-fakeweb is unmaintained upstream
> - ruby-thor doesn't actually need fakeweb
>   + newer upstream releases use webmock instead:
>     https://github.com/erikhuda/thor/commit/3241f2fbf1172b6182723b073fd4b390200660e9
>   + ruby-fakeweb is only used for the test suite of ruby-thor, and
>     ruby-thor does not include a test suite anymore (we should probably
>     download from github rather than from rubygems.org, but that's
>     another issue).
> 
> A solution that would work to make that bug disappear from the buster RC
> bugs list is:
> 1) modify ruby-thor to drop the useless build-dependency on ruby-fakeweb
> 2) get it to migrate to testing
> 3) remove ruby-fakeweb from testing

There are a number of build-dependencies, so that probably won't work:

Checking reverse dependencies...
# Broken Build-Depends:
ruby-fastimage: ruby-fakeweb
ruby-httparty: ruby-fakeweb
ruby-messagebus-api: ruby-fakeweb
ruby-open-uri-redirections: ruby-fakeweb
ruby-thor: ruby-fakeweb

Dependency problem found.


It seems this is the line causing the issue:

https://sources.debian.org/src/ruby-fakeweb/1.3.0+git20170806+dfsg1-1/test/test_helper.rb/#L123

Disabling this line seems to make the build succeed. I haven't prepared a
patch, because something in the testsuite seems to be changing that file, and
I don't really understand what's going on.

Alternatively, the entire testsuite for ruby-fakeweb could be disabled.

Cheers,

Ivo



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