Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705342 - dev-ruby/vagrant_cloud-2.0.3 with dev-ruby/rest-client-2.1.0 - /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:2243:in `raise_if_conflicts': Unable to activate vagrant_cloud-2.0.3, because rest-client-2.1.0 conflicts with rest-client (~> 2.0.2)
Summary: dev-ruby/vagrant_cloud-2.0.3 with dev-ruby/rest-client-2.1.0 - /usr/lib64/rub...
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: 2020-01-13 09:18 UTC by Jan Vansteenkiste
Modified: 2020-01-17 20:37 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 Jan Vansteenkiste 2020-01-13 09:18:32 UTC
vagrant_cloud depends on ~>2.0.2 which is
">=2.0.2 < 2.1.0"


Reproducible: Always

Steps to Reproduce:
Update dev-ruby/rest-client to the latest stable (2.1.0)
Actual Results:  
Vagrant no longer works.


With dev-ruby/rest-client-2.1.0 installed:

/usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:2243:in `raise_if_conflicts': Unable to activate vagrant_cloud-2.0.3, because rest-client-2.1.0 conflicts with rest-client (~> 2.0.2) (Gem::ConflictError)



[U] dev-ruby/rest-client
     Available versions:  (2) 2.0.2^t 2.1.0^t
       {doc test RUBY_TARGETS="ruby24 ruby25 ruby26"}
     Installed versions:  2.0.2(2)^t(10:07:51 AM 01/13/2020)(-doc -test RUBY_TARGETS="ruby24 ruby25 ruby26")
     Homepage:            https://github.com/rest-client/rest-client
     Description:         Simple Simple HTTP and REST client for Ruby

[I] dev-ruby/vagrant_cloud
     Available versions:  (~)2.0.3^t {test RUBY_TARGETS="ruby24 ruby25 ruby26"}
     Installed versions:  2.0.3^t(10:04:32 AM 01/13/2020)(-test RUBY_TARGETS="ruby24 ruby25 ruby26")
     Homepage:            https://github.com/hashicorp/vagrant_cloud
     Description:         Vagrant Cloud API Library




~ $ vagrant status
Traceback (most recent call last):
	2: from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.6/bin/vagrant:88:in `<main>'
	1: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- vagrant (LoadError)
	9: from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.6/bin/vagrant:88:in `<main>'
	8: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:156:in `require'
	7: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:161:in `rescue in require'
	6: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:209:in `try_activate'
	5: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1373:in `activate'
	4: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1391:in `activate_dependencies'
	3: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1391:in `each'
	2: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
	1: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1371:in `activate'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:2243:in `raise_if_conflicts': Unable to activate vagrant_cloud-2.0.3, because rest-client-2.1.0 conflicts with rest-client (~> 2.0.2) (Gem::ConflictError)
	10: from /usr/lib64/ruby/gems/2.6.0/gems/vagrant-2.2.6/bin/vagrant:88:in `<main>'
	 9: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:156:in `require'
	 8: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/core_ext/kernel_require.rb:161:in `rescue in require'
	 7: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:208:in `try_activate'
	 6: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems.rb:215:in `rescue in try_activate'
	 5: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1373:in `activate'
	 4: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1391:in `activate_dependencies'
	 3: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1391:in `each'
	 2: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1405:in `block in activate_dependencies'
	 1: from /usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:1371:in `activate'
/usr/lib64/ruby/site_ruby/2.6.0/rubygems/specification.rb:2243:in `raise_if_conflicts': Unable to activate vagrant_cloud-2.0.3, because rest-client-2.1.0 conflicts with rest-client (~> 2.0.2) (Gem::ConflictError)
Comment 1 Jan Vansteenkiste 2020-01-13 09:54:46 UTC
diff --git a/dev-ruby/vagrant_cloud/vagrant_cloud-2.0.3.ebuild b/dev-ruby/vagrant_cloud/vagrant_cloud-2.0.3.ebuild
index 3957f5bc92f..69e9d8b2adc 100644
--- a/dev-ruby/vagrant_cloud/vagrant_cloud-2.0.3.ebuild
+++ b/dev-ruby/vagrant_cloud/vagrant_cloud-2.0.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2018-2019 Gentoo Authors
+# Copyright 2018-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE=""
 
-ruby_add_rdepend ">=dev-ruby/rest-client-2.0.2"
+ruby_add_rdepend ">=dev-ruby/rest-client-2.0.2 <dev-ruby/rest-client-2.1.0"
 ruby_add_bdepend ">=dev-ruby/rake-10.4
 	test? ( >=dev-ruby/webmock-3.0 )"
Comment 2 Larry the Git Cow gentoo-dev 2020-01-17 20:36:24 UTC
The bug has been closed via the following commit(s):

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

commit 5e14bd3a9ec9a4871a72ef2897095d19a0cfb99f
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2020-01-17 20:34:02 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2020-01-17 20:34:02 +0000

    dev-ruby/vagrant_cloud: revbump 2.0.3 to work with later rest-client
    
    Closes: https://bugs.gentoo.org/705342
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 .../{vagrant_cloud-2.0.3.ebuild => vagrant_cloud-2.0.3-r1.ebuild}   | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 3 Georgy Yakovlev archtester gentoo-dev 2020-01-17 20:37:40 UTC
it works fine with everything below 3.0, upstream is known to specify deps a bit too tightly.
fixed, thanks for report!