Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639230 - dev-ruby/rspec-mocks-3.3.2: missing dependency for thread_order?
Summary: dev-ruby/rspec-mocks-3.3.2: missing dependency for thread_order?
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-29 20:40 UTC by Rolf Eike Beer
Modified: 2017-12-03 08:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rolf Eike Beer archtester 2017-11-29 20:40:19 UTC
This is on a sparc system where basically no ruby packages are installed:

>>> Emerging (1 of 1) dev-ruby/rspec-mocks-3.3.2::gentoo
 * rspec-mocks-3.3.2-git.tgz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                [ ok ]
>>> Unpacking source...
 * Running unpack phase for all ...
>>> Unpacking rspec-mocks-3.3.2-git.tgz to /var/tmp/portage/dev-ruby/rspec-mocks-3.3.2/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/rspec-mocks-3.3.2/work
>>> Preparing source in /var/tmp/portage/dev-ruby/rspec-mocks-3.3.2/work ...
 * Running prepare phase for all ...
 * Running source copy phase for ruby22 ...
 * Running prepare phase for ruby22 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ruby/rspec-mocks-3.3.2/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ruby/rspec-mocks-3.3.2/work ...
 * Running compile phase for all ...
>>> Source compiled.
>>> Test phase: dev-ruby/rspec-mocks-3.3.2
 * Running test phase for ruby22 ...
Simplecov could not be loaded
/usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- thread_order (LoadError)
        from /usr/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from /var/tmp/portage/dev-ruby/rspec-mocks-3.3.2/work/ruby22/rspec-mocks-3.3.2/spec/rspec/mocks/reentrant_mutex_spec.rb:2:in `<top (required)>'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1327:in `load'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1327:in `block in load_spec_files'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1325:in `each'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/configuration.rb:1325:in `load_spec_files'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:102:in `setup'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:88:in `run'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:73:in `run'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/lib/rspec/core/runner.rb:41:in `invoke'
        from /usr/lib/ruby/gems/2.2.0/gems/rspec-core-3.3.2/bin/rspec:4:in `<top (required)>'
        from /usr/bin/rspec-3:9:in `load'
        from /usr/bin/rspec-3:9:in `<main>'


Reproducible: Always
Comment 1 Hans de Graaff gentoo-dev Security 2017-11-30 06:30:04 UTC
I'm surprised you would run into this in the wild since both rspec-support and rspec-core are already depending on thread_order for tests.

In any case rspec 3.3.0 is obsolete and should be removed so I won't spend time fixing it. The only reason it is still in the tree is because I haven't found the time yet to drop the sparc keyword from all packages that depend on it.
Comment 2 Rolf Eike Beer archtester 2017-12-01 23:10:10 UTC
Feel free to just remove the ebuild, 3.5.0 is now stable on sparc.
Comment 3 Hans de Graaff gentoo-dev Security 2017-12-03 08:31:48 UTC
(In reply to Rolf Eike Beer from comment #2)
> Feel free to just remove the ebuild, 3.5.0 is now stable on sparc.

Thanks! rspec 3.3.x has now been removed.