Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743091 - dev-util/protobuf-cucumber-3.10.8: missing test dependencies
Summary: dev-util/protobuf-cucumber-3.10.8: missing test dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 802141
  Show dependency tree
 
Reported: 2020-09-17 06:38 UTC by Agostino Sarubbo
Modified: 2021-07-25 08:52 UTC (History)
0 users

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


Attachments
build.log (build.log,30.66 KB, text/plain)
2020-09-17 06:38 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-09-17 06:38:22 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/protobuf-cucumber-3.10.8 fails tests.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GLIBC-2.32. If you think that this issue is strictly related to GLIBC please block bug 736174.
Comment 1 Agostino Sarubbo gentoo-dev 2020-09-17 06:38:24 UTC
Created attachment 660864 [details]
build.log

build log and emerge --info
Comment 2 Rolf Eike Beer archtester 2021-07-19 13:56:00 UTC
The build log shows the following errors:


An error occurred while loading ./spec/bin/protoc-gen-ruby_spec.rb. - Did you mean?
                    rspec ./spec/lib/protobuf_spec.rb

Failure/Error: require 'pry'


After manually installing pry you get:


An error occurred while loading ./spec/bin/protoc-gen-ruby_spec.rb.
Hint: Install the `did_you_mean` gem in order to provide suggestions for similarly named files.
Failure/Error: require 'active_support/core_ext/object/blank'

Gem::MissingSpecError:
  Could not find 'minitest' (>= 5.1) among 72 total gem(s)
  Checked in 'GEM_PATH=/var/tmp/portage/dev-util/protobuf-cucumber-3.10.8/homedir/.local/share/gem/ruby/2.6.0:/usr/lib/ruby/gems/2.6.0:/usr/local/lib/ruby/gems/2.6.0' at: /usr/lib/ruby/gems/2.6.0/specifications/activesupport-6.1.4.gemspec, execute `gem env` for more information                                      


And when you add minitest you end up with:


An error occurred while loading ./spec/lib/protobuf/rpc/stat_spec.rb.
Hint: Install the `did_you_mean` gem in order to provide suggestions for similarly named files.
Failure/Error: require 'timecop'


And then tests work for me.
Comment 3 Larry the Git Cow gentoo-dev 2021-07-25 08:52:02 UTC
The bug has been closed via the following commit(s):

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

commit 21a71c44ead244277e10c782292531e1aa90d94f
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2021-07-25 08:51:45 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2021-07-25 08:51:58 +0000

    dev-util/protobuf-cucumber: fix dependencies
    
    Declare runtime dependencies as such, and add missing
    test dependencies.
    
    Closes: https://bugs.gentoo.org/743091
    Package-Manager: Portage-3.0.20, Repoman-3.0.2
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 .../protobuf-cucumber-3.10.8-r1.ebuild             | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)