View previous topic :: View next topic |
Author |
Message |
Bertram Scharpf n00b

Joined: 27 Apr 2020 Posts: 7
|
Posted: Tue Apr 28, 2020 11:08 am Post subject: [SOLVED] dev-ruby/bundler conflict |
|
|
How could I solve this?
Code: |
Conflict: 1 block (1 unsatisfied)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-ruby/bundler-1.17.3:0/0::gentoo, ebuild scheduled for merge) pulled in by
>=dev-ruby/bundler-1.17.2[ruby_targets_ruby26] required by (dev-lang/ruby-2.6.6-r1:2.6/2.6::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -jit -libressl -rubytests -socks5
-static-libs -tk -xemacs" ABI_X86="(64)"
(dev-ruby/bundler-2.1.4:2/2::gentoo, installed) pulled in by
>=dev-ruby/bundler-2.1.4[ruby_targets_ruby27] required by (dev-lang/ruby-2.7.1-r1:2.7/2.7::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -jit -libressl -rubytests -socks5 -
static-libs -tk -xemacs" ABI_X86="(64)"
>=dev-ruby/bundler-1.17.2[ruby_targets_ruby26] required by (dev-lang/ruby-2.6.6-r1:2.6/2.6::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -jit -libressl -rubytests -socks5
-static-libs -tk -xemacs" ABI_X86="(64)"
|
Thanks in advance,
Bertram
[Moderator edit: changed [quote] tags to [code] tags to preserve output layout. -Hu]
Last edited by Bertram Scharpf on Tue Apr 28, 2020 3:14 pm; edited 1 time in total |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 29923 Location: here
|
Posted: Tue Apr 28, 2020 11:40 am Post subject: |
|
|
You have unmasked ruby2.6 and ruby2.7?
if yes you should also unmask use flags ruby_targets_ruby26 and ruby_targets_ruby27 with /etc/portage/profile/use.mask because in a stable system they are masked and ruby need some packages with these use flag setted. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
 |
Bertram Scharpf n00b

Joined: 27 Apr 2020 Posts: 7
|
Posted: Tue Apr 28, 2020 12:42 pm Post subject: |
|
|
fedeliallalinea wrote: | You have unmasked ruby2.6 and ruby2.7?
if yes you should also unmask use flags ruby_targets_ruby26 and ruby_targets_ruby27 with /etc/portage/profile/use.mask because in a stable system they are masked and ruby need some packages with these use flag setted. |
It has been the opposite: ruby_targets_ruby27 was unmasked, but ruby27 was not, though the _package_ dev-lang/ruby-2.7 was unmasked.
Thanks! |
|
Back to top |
|
 |
mhex Apprentice

Joined: 18 Feb 2005 Posts: 160 Location: Germany/Berlin
|
Posted: Sun Sep 20, 2020 5:28 am Post subject: |
|
|
i have the same problem now
Code: | [ebuild NS ] dev-ruby/bundler-2.1.4 [1.17.3] RUBY_TARGETS="(-ruby27)"
[blocks B ] <dev-ruby/bundler-1.17.3-r1:0 ("<dev-ruby/bundler-1.17.3-r1:0" is hard blocking dev-ruby/bundler-2.1.4)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-ruby/bundler-2.1.4:2/2::gentoo, ebuild scheduled for merge) pulled in by
>=dev-ruby/bundler-1.17.2[ruby_targets_ruby26] required by (dev-lang/ruby-2.6.6-r2:2.6/2.6::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -jit -libressl -rubytests -socks5 -static-libs -systemtap -tk -xemacs" ABI_X86="(64)" |
Code: | Available Ruby profiles:
[1] ruby25 (with Rubygems)
[2] ruby26 (with Rubygems) *
|
|
|
Back to top |
|
 |
Josef.95 Advocate

Joined: 03 Sep 2007 Posts: 4359 Location: Germany
|
Posted: Sun Sep 20, 2020 6:03 am Post subject: |
|
|
mhex wrote: | i have the same problem now
Code: | [ebuild NS ] dev-ruby/bundler-2.1.4 [1.17.3] RUBY_TARGETS="(-ruby27)"
[blocks B ] <dev-ruby/bundler-1.17.3-r1:0 ("<dev-ruby/bundler-1.17.3-r1:0" is hard blocking dev-ruby/bundler-2.1.4)
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.
(dev-ruby/bundler-2.1.4:2/2::gentoo, ebuild scheduled for merge) pulled in by
>=dev-ruby/bundler-1.17.2[ruby_targets_ruby26] required by (dev-lang/ruby-2.6.6-r2:2.6/2.6::gentoo, installed) USE="berkdb gdbm ipv6 rdoc ssl -debug -doc -examples -jemalloc -jit -libressl -rubytests -socks5 -static-libs -systemtap -tk -xemacs" ABI_X86="(64)" |
Code: | Available Ruby profiles:
[1] ruby25 (with Rubygems)
[2] ruby26 (with Rubygems) *
|
|
No, this is another situation
Please try understand this blocker: "[blocks B ] <dev-ruby/bundler-1.17.3-r1:0 ("<dev-ruby/bundler-1.17.3-r1:0" is hard blocking dev-ruby/bundler-2.1.4)"
This means, it should work with >=dev-ruby/bundler-1.17.3-r1
I think updating first to Code: | emerge -av1 =dev-ruby/bundler-1.17.3-r1 | should work. |
|
Back to top |
|
 |
DaggyStyle Watchman


Joined: 22 Mar 2006 Posts: 5891
|
Posted: Sun Sep 20, 2020 7:09 am Post subject: |
|
|
you can remove dev-ruby/bundler and run update, the dep process should fix this. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
 |
mhex Apprentice

Joined: 18 Feb 2005 Posts: 160 Location: Germany/Berlin
|
Posted: Sun Sep 20, 2020 7:15 am Post subject: |
|
|
Code: | emerge -av1 =dev-ruby/bundler-1.17.3-r1 |
solved it
removing bundler and let update fix the deps sounds like a good option as well
thanks guys! |
|
Back to top |
|
 |
lex82 Apprentice

Joined: 04 Jan 2006 Posts: 242 Location: Italy
|
Posted: Mon Sep 21, 2020 6:37 am Post subject: |
|
|
I experienced the same issue today: I resolved it by removing the package and updating @world. The removed package gets re-added automatically. _________________ Bye,
Axel. |
|
Back to top |
|
 |
iandoug l33t


Joined: 11 Feb 2005 Posts: 774 Location: Cape Town, South Africa
|
Posted: Fri Sep 25, 2020 7:27 pm Post subject: |
|
|
I removed it but the install dies,
Code: |
* Running compile phase for all ...
/var/tmp/portage/dev-ruby/bundler-2.1.4/temp/environment: line 722: rdoc: command not found
* ERROR: dev-ruby/bundler-2.1.4::gentoo failed (compile phase):
* failed to (re)build documentation
*
* Call stack:
* ebuild.sh, line 125: Called src_compile
* environment, line 2104: Called ruby-ng_src_compile
* environment, line 1744: Called _ruby_invoke_environment 'all' 'all_ruby_compile'
* environment, line 675: Called all_ruby_compile
* environment, line 759: Called all_fakegem_compile
* environment, line 722: Called die
* The specific snippet of code:
* rdoc ${RUBY_FAKEGEM_DOC_SOURCES} || die "failed to (re)build documentation";
|
Code: |
[I] dev-ruby/rdoc
Available versions: 6.1.2^t ~6.2.0^t {doc test RUBY_TARGETS="ruby25 ruby26 ruby27"}
Installed versions: 6.1.2^t(14:05:44 15/09/2020)(-doc -test RUBY_TARGETS="ruby25 ruby26")
Homepage: https://github.com/ruby/rdoc/
Description: An extended version of the RDoc library from Ruby 1.8
|
Any ideas welcome
thanks, Ian _________________ Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram |
|
Back to top |
|
 |
fedeliallalinea Administrator


Joined: 08 Mar 2003 Posts: 29923 Location: here
|
|
Back to top |
|
 |
|