Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732964 - dev-ruby/faraday_middleware-1.0.0 fails tests when dev-ruby/brotli not installed
Summary: dev-ruby/faraday_middleware-1.0.0 fails tests when dev-ruby/brotli not installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2020-07-17 00:28 UTC by Jonathan Lovelace
Modified: 2020-07-20 06:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-ruby:faraday_middleware-1.0.0:20200716-233944.log (dev-ruby:faraday_middleware-1.0.0:20200716-233944.log,2.01 KB, text/plain)
2020-07-17 00:28 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,7.30 KB, text/plain)
2020-07-17 00:29 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2020-07-17 00:28:58 UTC
Created attachment 649592 [details]
dev-ruby:faraday_middleware-1.0.0:20200716-233944.log

The test phase for =dev-ruby/faraday_middleware-1.0.0 aborts with:
Could not find gem 'brotli (>= 0.1.8)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.

Full build log and "emerge --info" attached.
Comment 1 Jonathan Lovelace 2020-07-17 00:29:21 UTC
Created attachment 649594 [details]
emerge-info.txt
Comment 2 Jonathan Lovelace 2020-07-17 01:45:58 UTC
OK, it's not that simple. After I installed dev-ruby/brotli, the test suite still fails. The error this time is:

Could not find gem 'rubocop-performance (~> 1.0)' in any of the gem sources listed in your Gemfile.
Run `bundle install` to install missing gems.
Comment 3 Jonas Stein gentoo-dev 2020-07-19 18:41:15 UTC
duplicate of #732956?
Comment 4 Jonathan Lovelace 2020-07-19 19:40:29 UTC
I'm by no means a Ruby expert (both faraday and faraday_middleware are only installed on my machines because they are dependencies of dev-ruby/travis), but faraday (in #732956) and faraday_middleware (here) are distinct packages. 

In addition, here the error messages say the test suite or its build process is looking for packages that aren't installed (the first, 'brotli', is packaged in Gentoo but not in DEPEND/BDEPEND; if the second, 'rubocop-performance', is packaged in Gentoo I haven't found it yet), while in bug #732956 it looks to me like the test suite is trying and failing to find the class or object it's supposed to be testing.
Comment 5 Larry the Git Cow gentoo-dev 2020-07-20 06:49:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc9c31b6652bbbc74531308cb322d175c63b5e27

commit fc9c31b6652bbbc74531308cb322d175c63b5e27
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2020-07-20 06:40:41 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2020-07-20 06:49:31 +0000

    dev-ruby/faraday_middleware: add missing test dep
    
    Add missing test dependency on dev-ruby/brotli
    
    Closes: https://bugs.gentoo.org/732964
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/faraday_middleware/faraday_middleware-1.0.0.ebuild | 1 +
 1 file changed, 1 insertion(+)