Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[solved] multiple ruby packages blocking update, why?

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
Odysseus
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Wed Jun 23, 2004 3:46 am
Location: Miami, FL. I miss San Francisco!!!

[solved] multiple ruby packages blocking update, why?

  • Quote

Post by Odysseus » Mon Jul 15, 2013 7:44 pm

I am completely flabbergasted at the moment. I've been trying to update my system since yesterday but I'm getting blocked by numerous ruby packages wanting to install and the corresponding 'USE' changes required to bring them in. I don't know where to begin filing bug reports as so many packages are being brought into the queue.

First off, prior to yesterday I never had ruby installed in my system, nor enabled it's "USE" in any package. If I run

Code: Select all

equery hasuse ruby
 * Searching for USE flag ruby ... 
[IP-] [  ] app-text/docbook-xsl-stylesheets-1.78.0:0
[IP-] [  ] dev-vcs/subversion-1.7.9:0
[I-O] [  ] media-libs/mlt-0.8.8:0
As you can see there is no ruby 'USE' selected on my system.

If I run

Code: Select all

equery depends ruby
 * These packages depend on ruby:
app-text/docbook-xsl-stylesheets-1.78.0 (ruby ? dev-lang/ruby)
dev-vcs/subversion-1.7.9 (ruby ? >=dev-lang/ruby-1.8.2:1.8)
media-libs/mlt-0.8.8 (ruby ? dev-lang/ruby)
As you can see ruby is only a dependency of the same 3 packages, but only if USE=ruby, which I don't have selected for anything, period!

Now when trying to update my system I run into the following issues:

Code: Select all

emerge -uavND --with-bdeps=y @system @world

These are the packages that would be merged, in order:

Calculating dependencies      ... done!        
[ebuild  N     ] dev-libs/libyaml-0.1.4  USE="-doc -examples -static-libs {-test}" 461 kB
[ebuild  N     ] app-admin/eselect-ruby-20120106  2 kB
[ebuild     U  ] dev-lang/python-2.7.5-r1:2.7 [2.7.5:2.7] USE="gdbm ipv6 ncurses readline sqlite ssl threads (wide-unicode) xml -berkdb -build -doc -examples -hardened -tk -wininst" 0 kB
[ebuild     U  ] dev-libs/libxml2-2.9.1-r1:2 [2.9.1:2] USE="ipv6 lzma python readline -debug -examples -icu -static-libs {-test}" PYTHON_TARGETS="python2_7 python3_3 -python2_5 -python2_6 -python3_1 -python3_2" 0 kB
[ebuild     U  ] dev-libs/libnl-3.2.22-r1:3 [3.2.22:3] USE="-doc -python% -static-libs -utils" PYTHON_TARGETS="python2_7%* python3_3%* -python2_6% -python3_1% -python3_2%" 0 kB
[ebuild     U  ] x11-drivers/xf86-input-evdev-2.8.1 [2.8.0] 361 kB
[ebuild  N     ] dev-lang/ruby-1.8.7_p374:1.8  USE="berkdb gdbm ipv6 ncurses readline ssl -debug -doc -examples -libedit -rubytests -socks5 -threads -tk -xemacs" 4,153 kB
[ebuild     U  ] dev-java/xom-1.2.10 [1.2.6-r1] USE="-doc -examples -source" 0 kB
[ebuild  N     ] dev-lang/ruby-2.0.0_p247:2.0  USE="berkdb gdbm ipv6 ncurses rdoc readline ssl yaml -debug -doc -examples -rubytests -socks5 -tk -xemacs" 10,554 kB
[ebuild     U  ] sys-block/thin-provisioning-tools-0.2.1 [0.1.5-r1] 134 kB
[ebuild  N     ] dev-lang/ruby-1.9.3_p448:1.9  USE="berkdb gdbm ipv6 ncurses rdoc readline ssl yaml -debug -doc -examples -rubytests -socks5 -tk -xemacs" 9,819 kB
[ebuild  N     ] dev-ruby/rubygems-2.0.3  USE="-server {-test}" RUBY_TARGETS="ruby18 ruby19 ruby20 -jruby" 327 kB
[ebuild  N     ] virtual/rubygems-6:ruby20  RUBY_TARGETS="(ruby20)" 0 kB
[ebuild  N     ] virtual/rubygems-4:ruby19  RUBY_TARGETS="(ruby19)" 0 kB
[ebuild  N     ] virtual/rubygems-1:ruby18  RUBY_TARGETS="(ruby18)" 0 kB
[ebuild  N     ] dev-ruby/rake-0.9.6  USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 ruby20 -jruby" 121 kB
[ebuild  N     ] dev-ruby/json-1.8.0  USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 ruby20 -jruby" 146 kB
[ebuild  N     ] dev-ruby/racc-1.4.9  USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 ruby20 -jruby" 107 kB
[ebuild  N     ] dev-ruby/rdoc-4.0.1-r1  USE="-doc {-test}" RUBY_TARGETS="ruby18 ruby19 ruby20 -jruby" 457 kB
[ebuild     U  ] dev-libs/cyrus-sasl-2.1.26-r3:2 [2.1.26-r1:2] USE="berkdb gdbm java pam ssl -authdaemond -kerberos -ldapdb -mysql -openldap -postgres -sample -sqlite -srp -static-libs -urandom" 0 kB
[ebuild     U  ] sys-process/vixie-cron-4.1-r13 [4.1-r12] USE="pam -debug (-selinux)" 0 kB
[ebuild     U  ] dev-libs/soprano-2.9.3 [2.9.2] USE="dbus raptor redland virtuoso -debug -doc {-test}" 0 kB
[ebuild     U  ] app-office/akonadi-server-1.10.0-r1 [1.10.0] USE="mysql qt4 -postgres (-qt5) -sqlite {-test}" 0 kB
[ebuild     U  ] media-libs/mlt-0.9.0::gentoo [0.8.8::sabayon] USE="dv ffmpeg gtk kde kdenlive libsamplerate lua melt mmx qt4 quicktime sdl sse sse2 vorbis xml -compressed-lumas -debug -frei0r -jack -python -rtaudio -ruby -swfdec -vdpau -xine" 0 kB
[ebuild   R    ] dev-vcs/git-1.8.3.2  USE="blksha1 curl cvs gpg gtk iconv nls pcre perl python subversion threads webdav -cgi -doc -emacs -gnome-keyring -highlight (-ppcsha1) {-test} -tk -xinetd" PYTHON_SINGLE_TARGET="python2_7 -python2_6 (-python2_5%)" PYTHON_TARGETS="python2_7 -python2_6 (-python2_5%)" 0 kB
[ebuild     U  ] net-print/cups-1.6.3-r1 [1.6.2-r5] USE="X acl dbus filters java pam ssl threads zeroconf -debug -gnutls -kerberos -lprng-compat -python (-selinux) -static-libs -usb -xinetd" LINGUAS="-ca -es -fr -ja -ru" 0 kB

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-lang/ruby-2.0.0_p247
# required by virtual/rubygems-6
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20,-test]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by virtual/rubygems-4
# required by dev-ruby/json-1.8.0[ruby_targets_ruby19,-test]
>=dev-ruby/rubygems-2.0.3 ruby_targets_ruby20
# required by dev-lang/ruby-2.0.0_p247
# required by virtual/rubygems-6
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20,-test]
# required by dev-lang/ruby-1.9.3_p448[rdoc]
# required by virtual/rubygems-4
# required by dev-ruby/json-1.8.0[ruby_targets_ruby19,-test]
>=dev-ruby/rake-0.9.6 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-2.0.0_p247[rdoc]
# required by virtual/rubygems-6
# required by dev-ruby/rake-0.9.6
# required by dev-ruby/racc-1.4.9[ruby_targets_ruby19,-test]
>=dev-ruby/json-1.8.0 ruby_targets_ruby20
# required by dev-ruby/rdoc-4.0.1-r1[ruby_targets_ruby20]
# required by dev-lang/ruby-2.0.0_p247[rdoc]
# required by virtual/rubygems-6
# required by dev-ruby/json-1.8.0[ruby_targets_ruby20,-test]
>=dev-ruby/racc-1.4.9 ruby_targets_ruby20
# required by dev-lang/ruby-2.0.0_p247[rdoc]
# required by virtual/rubygems-6
# required by dev-ruby/json-1.8.0[ruby_targets_ruby20,-test]
>=dev-ruby/rdoc-4.0.1-r1 ruby_targets_ruby20

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.
Why on Earth is this happening? What could be pulling in all of these packages especially when I've shown above that I don't need them? I mean come on not one , but multiple versions of Ruby along with eselect-ruby? Why?

Somebody please help or point me to the proper place to file this bug (I surely don't have to file an individual report for all of these packages)? TIA

Edit: Well I figured out the culprit is thin-provisioning-tools-0.2.1 by emerging one-at-a-time all of the updates in the queue. I've submitted a bug report and hope this can be resolved shortly.
Last edited by Odysseus on Mon Jul 15, 2013 9:54 pm, edited 2 times in total.
Top
jburns
Veteran
Veteran
Posts: 1255
Joined: Thu Jan 18, 2007 4:44 am
Location: Massachusetts USA

  • Quote

Post by jburns » Mon Jul 15, 2013 9:40 pm

Add the --tree option to the emerge command to see which package is pulling ruby in.

sys-block/thin-provisioning-tools-0.2.1 pulls ruby in without the ruby use flag

emerge --info will show what RUBY_TARGETS contains. You need to add ruby20 to it if you decide to use ruby.
Top
are
Apprentice
Apprentice
Posts: 188
Joined: Tue Jan 03, 2006 8:15 pm

  • Quote

Post by are » Tue Jul 16, 2013 3:22 am

sys-block/thin-provisioning-tools pulls a complete ruby just for testing purpose? [:evil:]
Who writes such ebuilds please? KISS anyone?

Mask =sys-block/thin-provisioning-tools-0.2.1 solves it.
Top
kunitoki
n00b
n00b
User avatar
Posts: 13
Joined: Tue Dec 05, 2006 10:01 pm
Location: Venice - Italy
Contact:
Contact kunitoki
Website

  • Quote

Post by kunitoki » Sun Jan 19, 2014 1:08 pm

i'm experiencing similar problems. something wants to pull in ruby for no reason.
i don't need ruby, don't want it so a proper fix to enable the use flag for ebuilds requiring it should be done.
the jucetice pit
Top
idoerg
n00b
n00b
Posts: 41
Joined: Sun Jan 22, 2012 1:25 am

  • Quote

Post by idoerg » Mon Jan 20, 2014 7:24 pm

Seems like the following depend on Ruby-2.1 which, at the moment, cannot build (see bug: https://bugs.gentoo.org/show_bug.cgi?id=497130)
Because ruby is emerged in different slots, equery provides all ruby dependencies. But only sys-block/thin-provisioning-tools requires ALL Ruby versions, for some reason:

Code: Select all

# equery d =dev-lang/ruby-2.1.0
 * These packages depend on dev-lang/ruby-2.1.0:
app-editors/gvim-7.4.131 (ruby ? dev-lang/ruby:2.0)
                         (ruby ? dev-lang/ruby:1.9)
                         (ruby ? dev-lang/ruby:1.8)
app-editors/vim-7.4.131 (ruby ? dev-lang/ruby:2.0)
                        (ruby ? dev-lang/ruby:1.9)
                        (ruby ? dev-lang/ruby:1.8)
app-text/docbook-xsl-stylesheets-1.78.0-r1 (ruby ? dev-lang/ruby:1.9)
                                           (ruby ? dev-lang/ruby:2.0)
dev-vcs/subversion-1.8.5 (ruby ? >=dev-lang/ruby-1.9.3:1.9)
media-gfx/graphviz-2.34.0 (ruby ? dev-lang/ruby)
sys-block/thin-provisioning-tools-0.2.8 (dev-lang/ruby:2.9)
                                        (dev-lang/ruby:2.8)
                                        (dev-lang/ruby:2.7)
                                        (dev-lang/ruby:2.6)
                                        (dev-lang/ruby:2.5)
                                        (dev-lang/ruby:2.4)
                                        (dev-lang/ruby:2.3)
                                        (dev-lang/ruby:2.2)
                                        (dev-lang/ruby:2.1)
                                        (dev-lang/ruby:2.0)
                                        (dev-lang/ruby:1.9)
                                        (dev-lang/ruby:1.8)
Top
Post Reply

5 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic