Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 810715

Summary: app-emulation/vagrant: requires older version of bcrypt
Product: Gentoo Linux Reporter: John Murphy <john.david.murphy>
Component: Current packagesAssignee: Guillaume Seren <guillaumeseren>
Status: RESOLVED OBSOLETE    
Severity: normal CC: dan, proxy-maint, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description John Murphy 2021-08-27 21:15:05 UTC
A clean emerge of vagrant will fail with the following error message:

/usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1404:in `rescue in block in activate_dependencies': Could not find 'bcrypt_pbkdf' (~> 1.0.0) among 78 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/murphy/.local/share/gem/ruby/2.6.0:/usr/lib64/ruby/gems/2.6.0:/usr/local/lib64/ruby/gems/2.6.0' at: /usr/lib64/ruby/gems/2.6.0/specifications/vagrant-2.2.9.gemspec, execute `gem env` for more information
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1401:in `block in activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1390:in `each'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1390:in `activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1372:in `activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:221:in `rescue in try_activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:214:in `try_activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:153:in `rescue in require'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:149:in `require'
        from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.9/bin/vagrant:88:in `<main>'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'bcrypt_pbkdf' (~> 1.0.0) - did find: [bcrypt_pbkdf-1.1.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/murphy/.local/share/gem/ruby/2.6.0:/usr/lib64/ruby/gems/2.6.0:/usr/local/lib64/ruby/gems/2.6.0' , execute `gem env` for more information
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1402:in `block in activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1390:in `each'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1390:in `activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1372:in `activate'        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:221:in `rescue in try_activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:214:in `try_activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:153:in `rescue in require'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:149:in `require'
        from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.9/bin/vagrant:88:in `<main>'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1404:in `rescue in block in activate_dependencies': Could not find 'bcrypt_pbkdf' (~> 1.0.0) among 78 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/murphy/.local/share/gem/ruby/2.6.0:/usr/lib64/ruby/gems/2.6.0:/usr/local/lib64/ruby/gems/2.6.0' at: /usr/lib64/ruby/gems/2.6.0/specifications/vagrant-2.2.9.gemspec, execute `gem env` for more information        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1401:in `block in activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1390:in `each'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1390:in `activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1372:in `activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:215:in `try_activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:153:in `rescue in require'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:149:in `require'
        from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.9/bin/vagrant:88:in `<main>'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'bcrypt_pbkdf' (~> 1.0.0) - did find: [bcrypt_pbkdf-1.1.0] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/murphy/.local/share/gem/ruby/2.6.0:/usr/lib64/ruby/gems/2.6.0:/usr/local/lib64/ruby/gems/2.6.0' , execute `gem env` for more information
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1402:in `block in activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1390:in `each'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1390:in `activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1372:in `activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:215:in `try_activate'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:153:in `rescue in require'
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:149:in `require'
        from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.9/bin/vagrant:88:in `<main>'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:85:in `require': cannot load such file -- vagrant (LoadError)
        from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:85:in `require'
        from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.9/bin/vagrant:88:in `<main>'



Reproducible: Always




This can be worked around by emerging the older version of bcrypt:

emerge -v1 =dev-ruby/bcrypt_pbkdf-1.0.0
Comment 1 Douglas J Hunley 2021-10-26 18:13:34 UTC
This is resolved in the current tree. I'm using app-emulation/vagrant-2.2.18-r1 and dev-ruby/bcrypt_pbkdf-1.1.0-r1 w/o issue
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-27 05:55:32 UTC
(In reply to Douglas J Hunley from comment #1)
> This is resolved in the current tree. I'm using
> app-emulation/vagrant-2.2.18-r1 and dev-ruby/bcrypt_pbkdf-1.1.0-r1 w/o issue

Thanks!