Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674008 - app-emulation/vagrant-2.2.2 Could not find 'i18n' (~> 1.1.1) - did find: [i18n-1.3.0,i18n-0.7.0]
Summary: app-emulation/vagrant-2.2.2 Could not find 'i18n' (~> 1.1.1) - did find: [i18...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-29 16:17 UTC by Guillaume Seren
Modified: 2018-12-30 20:56 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 Guillaume Seren 2018-12-29 16:17:20 UTC
Hey there,
I have upgraded vagrant 1.2.5 to 2.2.2-r1 and I have this error:

/usr/lib64/ruby/site_ruby/2.4.0/rubygems/dependency.rb:312:in `to_specs': Could not find 'i18n' (~> 1.1.1) - did find: [i18n-1.3.0,i18n-0.9.5] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/gseren/.gem/ruby/2.4.0:/usr/local/lib64/ruby/gems/2.4.0:/usr/lib64/ruby/gems/2.4.0', execute `gem env` for more information
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/specification.rb:1469:in `block in activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/specification.rb:1458:in `each'
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/specification.rb:1458:in `activate_dependencies'
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/specification.rb:1440:in `activate'
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems.rb:224:in `rescue in try_activate'
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems.rb:217:in `try_activate'
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
        from /usr/lib64/ruby/site_ruby/2.4.0/rubygems/core_ext/kernel_require.rb:39:in `require'
        from /usr/lib64/ruby/gems/2.4.0/gems/vagrant-2.2.2/bin/vagrant:88:in `<main>'

I have fixed it with :
@@ -32,7 +32,7 @@ ruby_add_rdepend "
        >=dev-ruby/ed25519-1.2.4
        >=dev-ruby/erubis-2.7.0
        >=dev-ruby/hashicorp-checkpoint-0.1.5
-       >=dev-ruby/i18n-1.1.1:* <dev-ruby/i18n-1.2.0:*
+       ~dev-ruby/i18n-1.1.1:*
        >=dev-ruby/listen-3.1.5
        >=dev-ruby/log4r-1.1.9 <dev-ruby/log4r-1.1.11
        <dev-ruby/mime-types-3:*

This install the dev-ruby/i18n-1.1.1 so fix the problem, if we aggree on the fix I can send a merge-request for that.


Guillaume
Comment 1 Georgy Yakovlev archtester gentoo-dev 2018-12-30 20:50:30 UTC
follow up for this bug
https://bugs.gentoo.org/673042

apparently I forgot that portage does not handle version ranges properly.
Comment 2 Larry the Git Cow gentoo-dev 2018-12-30 20:53:54 UTC
The bug has been closed via the following commit(s):

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

commit 36639d91c3ffede7e52fae2205b78507c458fd7d
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2018-12-30 20:17:49 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2018-12-30 20:53:36 +0000

    app-emulation/vagrant: revbump, loosen deps
    
    Closes: https://bugs.gentoo.org/674008
    Package-Manager: Portage-2.3.53, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 app-emulation/vagrant/vagrant-2.2.2-r2.ebuild | 90 +++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)
Comment 3 Georgy Yakovlev archtester gentoo-dev 2018-12-30 20:56:01 UTC
it should work with i18n-1.3.0 
please let me know if you encounter any problems running it with i18n-1.3.0