Discussion:
[paludis-user] Unable to install virtual/rubygems-6
Georgi Georgiev
2013-09-12 07:24:29 UTC
Permalink
I cannot install virtual/rubygems at all.

I encounter the following error when trying to install
sudo cave resolve -1 --lazy virtual/rubygems:ruby20
Done: 3691 steps

These are the actions I will take, in order:

s dev-lang/ruby:2.0::gentoo 2.0.0_p247-r1 to ::installed
"An object-oriented scripting language"
berkdb -debug doc -examples gdbm ipv6 ncurses rdoc readline -rubytests -socks5 ssl -tk -xemacs yaml build_options: symbols=compress -dwarf_compress -optional_tests -trace work=tidyup
Reasons: dev-ruby/json-1.8.0:0::gentoo, dev-ruby/racc-1.4.9:0::gentoo, dev-ruby/rake-0.9.6:0::gentoo, 3 more
10.31 MBytes to download

u dev-ruby/rake:0::gentoo 0.9.6 to ::installed replacing 0.9.2.2
-doc (-test) RUBY_TARGETS: -jruby ruby18 ruby19 (ruby20)+ build_options: symbols=compress -dwarf_compress -optional_tests -trace work=tidyup
Reasons: dev-lang/ruby-2.0.0_p247-r1:2.0::gentoo, dev-ruby/json-1.8.0:0::gentoo, dev-ruby/racc-1.4.9:0::gentoo
121.00 kBytes to download

u dev-ruby/json:0::gentoo 1.8.0 to ::installed replacing 1.7.7
-doc (-test) RUBY_TARGETS: -jruby ruby18 ruby19 (ruby20)+ build_options: symbols=compress -dwarf_compress -optional_tests -trace work=tidyup
Reasons: dev-lang/ruby-2.0.0_p247-r1:2.0::gentoo, dev-ruby/rdoc-4.0.1-r1:0::gentoo
145.50 kBytes to download

u dev-ruby/racc:0::gentoo 1.4.9 to ::installed replacing 1.4.8
-doc (-test) RUBY_TARGETS: -jruby ruby18 ruby19 (ruby20)+ build_options: symbols=compress -dwarf_compress -optional_tests -trace work=tidyup
Reasons: dev-ruby/rdoc-4.0.1-r1:0::gentoo
106.50 kBytes to download

u dev-ruby/rdoc:0::gentoo 4.0.1-r1 to ::installed replacing 3.12.2
-doc (-test) RUBY_TARGETS: -jruby ruby18 ruby19 (ruby20)+ build_options: symbols=compress -dwarf_compress -optional_tests -trace work=tidyup
Reasons: !<dev-ruby/rdoc-3.9.4 from dev-lang/ruby-2.0.0_p247-r1:2.0::gentoo, dev-lang/ruby-2.0.0_p247-r1:2.0::gentoo
456.50 kBytes to download

u dev-ruby/rubygems:0::gentoo 2.0.3 to ::installed replacing 1.8.24
-server (-test) RUBY_TARGETS: -jruby ruby18 ruby19 (ruby20)+ build_options: symbols=compress -dwarf_compress -optional_tests -trace work=tidyup
Reasons: !<dev-ruby/rubygems-1.8.10-r1 from dev-lang/ruby-2.0.0_p247-r1:2.0::gentoo, dev-lang/ruby-2.0.0_p247-r1:2.0::gentoo, virtual/rubygems-6:ruby20::gentoo
326.37 kBytes to download

Total: 5 upgrades, 1 new slot installs, 11.43 MBytes to download

Build Options:
dwarf_compress: Compress DWARF2+ debug information
optional_tests: Run tests considered by the package to be optional
symbols: How to handle debug symbols in installed files
trace: Trace actions executed by the package (very noisy, for debugging broken builds only)
work: Whether to preserve or remove working directories

USE:
berkdb: Add support for sys-libs/db (Berkeley DB for MySQL)
debug: Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
doc: Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
examples: Install examples, usually source code
gdbm: Add support for sys-libs/gdbm (GNU database libraries)
ipv6: Add support for IP version 6
ncurses: Add ncurses support (console display library)
rdoc: Install dev-ruby/rdoc after installing Ruby.
readline: Use the sys-libs/readline library to provide the readline extension, used for instance by the irb tool. This flag is meaningful only if the libedit USE flag is disabled. If neither libedit nor readline USE flags are enabled, the readline extension will not be built (and irb will lose line editing functionality).
rubytests: Install ruby tests that can only be run after ruby is installed
socks5: Add support for the socks5 proxy
ssl: Add support for Secure Socket Layer connections
tk: Add support for Tk GUI toolkit
xemacs: Add support for XEmacs
yaml: Use the dev-libs/libyaml library to build the psych extension, available since Ruby 1.9.2_rc2, in alternative to the bundled syck-based parser.

ruby_targets:
ruby20: Build with MRI Ruby 2.0.x

I encountered the following errors:

! virtual/rubygems
Reasons: target, dev-ruby/json-1.8.0:0::gentoo, dev-ruby/racc-1.4.9:0::gentoo, 2 more
Unsuitable candidates:
* virtual/rubygems-6:ruby20::gentoo
Did not meet virtual/rubygems[ruby_targets_ruby18], use existing if possible, installing to / from dev-ruby/rdoc-4.0.1-r1:0::gentoo
Flag 'ruby_targets_ruby18' enabled

I understand that virtual/rubygems-6 only has the "ruby_targets_ruby20"
flag enabled. But I already have the ruby18 and ruby19 versions
installed, so why doesn't paludis let me install a different slot
anyway.
cave show -0 virtual/rubygems
* virtual/rubygems
::gentoo 1 {:ruby18} (2)U {:jruby} 4 {:ruby19} (5)K {:rbx} 6* {:ruby20}
::gg3-desktop-bin 1 {:ruby18} 4 {:ruby19}
::installed 1 {:ruby18} 4 {:ruby19}
--
( Georgi Georgiev ( Air is water with holes in it. (
Eduardo Suarez-Santana
2013-09-12 09:03:32 UTC
Permalink
Post by Georgi Georgiev
I understand that virtual/rubygems-6 only has the "ruby_targets_ruby20"
flag enabled. But I already have the ruby18 and ruby19 versions
installed, so why doesn't paludis let me install a different slot
anyway.
I had a similar problem. I could just enable one ruby target.

# use.conf
*/* RUBY_TARGETS: -* ruby19

# package_mask.conf
dev-lang/ruby:2.0
virtual/rubygems:ruby20
~dev-ruby/rubygems-2.0.3
~dev-ruby/json-1.8.0
~dev-ruby/racc-1.4.9
~dev-ruby/rake-0.9.6
~dev-ruby/rdoc-4.0.1

More info:
https://bugs.gentoo.org/show_bug.cgi?id=483596
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.exherbo.org/pipermail/paludis-user/attachments/20130912/f7fc033a/attachment.html>
Georgi Georgiev
2013-09-12 13:04:07 UTC
Permalink
Post by Eduardo Suarez-Santana
Post by Georgi Georgiev
I understand that virtual/rubygems-6 only has the "ruby_targets_ruby20"
flag enabled. But I already have the ruby18 and ruby19 versions
installed, so why doesn't paludis let me install a different slot
anyway.
I had a similar problem. I could just enable one ruby target.
# use.conf
*/* RUBY_TARGETS: -* ruby19
# package_mask.conf
dev-lang/ruby:2.0
virtual/rubygems:ruby20
~dev-ruby/rubygems-2.0.3
~dev-ruby/json-1.8.0
~dev-ruby/racc-1.4.9
~dev-ruby/rake-0.9.6
~dev-ruby/rdoc-4.0.1
Thanks. I saw that the ruby20 target is now being forced in the profile
so I thought I cannot *not* install that target. It didn't occur to me
to just mask the versions that actually use it.
--
() Georgi Georgiev () Man will never fly. Space travel is merely ()
() ------------------- () a dream. All aspirin is alike. ()
Georgi Georgiev
2013-09-12 15:44:41 UTC
Permalink
Post by Georgi Georgiev
Post by Eduardo Suarez-Santana
Post by Georgi Georgiev
I understand that virtual/rubygems-6 only has the "ruby_targets_ruby20"
flag enabled. But I already have the ruby18 and ruby19 versions
installed, so why doesn't paludis let me install a different slot
anyway.
I had a similar problem. I could just enable one ruby target.
# use.conf
*/* RUBY_TARGETS: -* ruby19
# package_mask.conf
dev-lang/ruby:2.0
virtual/rubygems:ruby20
~dev-ruby/rubygems-2.0.3
~dev-ruby/json-1.8.0
~dev-ruby/racc-1.4.9
~dev-ruby/rake-0.9.6
~dev-ruby/rdoc-4.0.1
Thanks. I saw that the ruby20 target is now being forced in the profile
so I thought I cannot *not* install that target. It didn't occur to me
to just mask the versions that actually use it.
Well, your suggestion gave me a slightly simpler idea. I simply added
"ruby_targets_ruby20" to use.mask in my personal repository. This way I
don't have to mask the latest versions of the dev-ruby/* packages.
--
( Georgi Georgiev ( Narrator: Aww, we forgive you, Buttercup. (
Ciaran McCreesh
2013-09-12 09:18:42 UTC
Permalink
On Thu, 12 Sep 2013 16:24:29 +0900
Post by Georgi Georgiev
I cannot install virtual/rubygems at all.
You can only install a single slot, and you might need to mask every
other slot. Gentoo's Ruby dependencies are all broken.

https://bugs.gentoo.org/show_bug.cgi?id=421497
--
Ciaran McCreesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.exherbo.org/pipermail/paludis-user/attachments/20130912/4685ae68/attachment.asc>
Georgi Georgiev
2013-09-12 13:07:24 UTC
Permalink
Post by Ciaran McCreesh
On Thu, 12 Sep 2013 16:24:29 +0900
Post by Georgi Georgiev
I cannot install virtual/rubygems at all.
You can only install a single slot, and you might need to mask every
other slot. Gentoo's Ruby dependencies are all broken.
https://bugs.gentoo.org/show_bug.cgi?id=421497
Yup, I'm aware of the bug. But hadn't CCed myself for some reason. :)

I agree, it's getting harder and harder to keep masking the
dependencies.
--
\ Georgi Georgiev \ algorithm, n.: Trendy dance for hip \
/ ------------------- / programmers. /
Loading...