Summary: | app-emulation/vagrant-2.4.1 issue with dev-ruby/google-protobuf-4.28.0 (Unable to activate grpc-1.59.2, because google-protobuf-4.28.0 conflicts with google-protobuf (~> 3.24) (Gem::ConflictError)) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tomás Carvalho <tomas> |
Component: | Current packages | Assignee: | Guillaume Seren <guillaumeseren> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | negril.nx+gentoo, proxy-maint, ruby, sam, tomas, yamadharma |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
It might be that we just need to bump grpc. (In reply to Sam James from comment #1) > It might be that we just need to bump grpc. dev-ruby/grpc should depend on the "3" slot of google-protobuf as per its gemspec. (In reply to Hans de Graaff from comment #2) > (In reply to Sam James from comment #1) > > It might be that we just need to bump grpc. > > dev-ruby/grpc should depend on the "3" slot of google-protobuf as per its > gemspec. I managed to bump the grpc (gems) version to 1.66.0 and vagrant seems to be working at the moment, here is an ebuild and manifest: https://github.com/n1ghtbyte/n1ght-overlay/tree/main/dev-ruby/grpc The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a6b73c958f0961b50d540da0601939ea4c7a868 commit 8a6b73c958f0961b50d540da0601939ea4c7a868 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-05 06:12:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-05 06:12:05 +0000 dev-ruby/grpc: depend on correct dev-ruby/google-protobuf slot ... otherwise we get complaints when launching vagrant. Closes: https://bugs.gentoo.org/939826 Signed-off-by: Sam James <sam@gentoo.org> dev-ruby/grpc/grpc-1.59.2-r1.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e03266512d5d13af76ba1a514ee4c212460e551 commit 8e03266512d5d13af76ba1a514ee4c212460e551 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-10-07 02:57:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-10-07 02:57:53 +0000 dev-ruby/grpc: improve google-protobuf dep for 1.66.0 We don't need :3 anymore, the dep is <5 in the gemspec. Spotted by negril. Bug: https://bugs.gentoo.org/939826 Signed-off-by: Sam James <sam@gentoo.org> dev-ruby/grpc/{grpc-1.66.0.ebuild => grpc-1.66.0-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) |
Created attachment 903296 [details] emerge --info Get this after running "vagrant" `` /usr/lib64/ruby/site_ruby/3.2.0/rubygems/specification.rb:2320:in `raise_if_conflicts': Unable to activate grpc-1.59.2, because google-protobuf-4.28.0 conflicts with google-protobuf (~> 3.24) (Gem::ConflictError) from /usr/lib64/ruby/site_ruby/3.2.0/rubygems/specification.rb:1451:in `activate' from /usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_gem.rb:63:in `block in gem' from /usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_gem.rb:63:in `synchronize' from /usr/lib64/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_gem.rb:63:in `gem' from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/bin/vagrant:95:in `block (2 levels) in <main>' from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/bin/vagrant:94:in `each' from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/bin/vagrant:94:in `block in <main>' from /usr/lib64/ruby/gems/3.2.0/gems/vagrant-2.4.1/bin/vagrant:105:in `<main>' ``