View previous topic :: View next topic |
Author |
Message |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9714 Location: almost Mile High in the USA
|
Posted: Sun Dec 01, 2013 2:06 am Post subject: No rubies for me, yet (recent portage pulls in ruby) |
|
|
I noticed my machines suddenly requiring ruby (the programming language) to be installed. I didn't really want it to be installed, but emerge -tv didn't tell me what was pulling it in. Apparently an ebuild changed underneath and now requires this package.
The culprit package: thin-provisioning-tools, required by lvm2 +thin
I recalled it had been able to build with +thin before but now requires ruby. While I do run VM's I don't quite require overcommitting hard disk space just yet, so I don't need thin provisioning, hence to stop ruby from being pulled in, USE=-thin.
I had other machines that don't even have logical volumes, but wants cryptsetup (laptop), I need USE=-thin as well to save a bit of disk space.
Just in case anyone was wondering why all of a sudden ruby was needed and don't want to burn the disk space... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Target Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 25 Apr 2002 Posts: 200
|
Posted: Sun Dec 01, 2013 2:52 am Post subject: |
|
|
Thanks for that. I never like seeing "N" creep in the update list when I haven't changed anything.
Looks like thin-provisioning-tools doesn't even use ruby day-to-day, but just for the test suite. I don't think portage even runs those tests. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wuzzerd Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Jan 2005 Posts: 467 Location: New Mexico
|
Posted: Sun Dec 01, 2013 4:14 am Post subject: |
|
|
Thanks, I've been scratching my head about this one for several weeks now. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 21918
|
Posted: Sun Dec 01, 2013 4:53 pm Post subject: |
|
|
If Ruby is only used for the test suite, and not for any other purpose, it ought to be guarded by a USE query on test. It seems robbat did exactly this on 15 Nov 2013, but only in the testing bump =sys-block/thin-provisioning-tools-0.2.8-r1. If you need USE=thin, you may want to keyword the -r1 version so that you can avoid the Ruby dependencies. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wuzzerd Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Jan 2005 Posts: 467 Location: New Mexico
|
Posted: Sun Dec 01, 2013 6:07 pm Post subject: |
|
|
Hu wrote: | If Ruby is only used for the test suite, and not for any other purpose, it ought to be guarded by a USE query on test. It seems robbat did exactly this on 15 Nov 2013, but only in the testing bump =sys-block/thin-provisioning-tools-0.2.8-r1. If you need USE=thin, you may want to keyword the -r1 version so that you can avoid the Ruby dependencies. |
I don't use either thin-provisioning-tools nor ruby. But after a day of celebration ruby has come back, along with a bunch of other things. I'm beginning to realize the only way to build a custom system these days may be through LFS, in the past several months emerge has been throwing a bunch of errors that take way to much effort to resolve. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Anon-E-moose Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/3064969284ad468b81342a.jpg)
Joined: 23 May 2008 Posts: 6103 Location: Dallas area
|
Posted: Sun Dec 01, 2013 6:19 pm Post subject: |
|
|
ruby gets pulled in by a few odd packages.
I use mkvtoolnix which pulls in rake, which pulls in ruby.
If not sure who has pulled it in, emerge -cpv should tell you what is holding that package.
Code: | emerge -cpv ruby
Calculating dependencies... done!
dev-lang/ruby-1.8.7_p374 pulled in by:
dev-ruby/rake-0.9.2.2 requires dev-lang/ruby:1.8
dev-ruby/rubygems-1.8.24 requires dev-lang/ruby:1.8
virtual/rubygems-1 requires dev-lang/ruby:1.8
...
emerge -cpv rake
Calculating dependencies... done!
dev-ruby/rake-0.9.2.2 pulled in by:
media-video/mkvtoolnix-5.0.1-r1 requires dev-ruby/rake |
_________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wuzzerd Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 05 Jan 2005 Posts: 467 Location: New Mexico
|
Posted: Sun Dec 01, 2013 6:47 pm Post subject: |
|
|
emerge -cpv ruby
--- Couldn't find 'ruby' to depclean.
Which make sense since it was cleaned yesterday. This seems to be the right tool to drill down and find the culprit. Thanks. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9714 Location: almost Mile High in the USA
|
Posted: Sun Dec 29, 2013 7:50 pm Post subject: |
|
|
More rubies...
It looks like webkit-gtk-1.8.3-* is the last version of webkit-gtk that did not require ruby?
Hmm... still researching what needs webkit-gtk. epiphany needs to be masked....
Sigh. I will take systemd as "progressive change" but not ruby.
EDIT:
It looks likes webkit-gtk has a DEPEND but not RDEPEND on ruby, so though it requires rubygems I think it can be removed after building...
It's a little better than having a runtime dependency but build is still annoying... _________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
toofastforyahuh Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 18 May 2004 Posts: 171
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Hu Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
Joined: 06 Mar 2007 Posts: 21918
|
Posted: Thu Jan 09, 2014 2:45 am Post subject: |
|
|
Assuming that comment #2 is accurate, this is not a bug, but rather an obnoxious decision by upstream webkit-gtk developers. Gentoo is merely reflecting the consequences of upstream's decision to use Ruby as a core component of their build system. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Aiken Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 22 Jan 2003 Posts: 239 Location: Toowoomba/Australia
|
Posted: Thu Jan 09, 2014 11:17 pm Post subject: |
|
|
Hu wrote: | Assuming that comment #2 is accurate, this is not a bug, but rather an obnoxious decision by upstream webkit-gtk developers. Gentoo is merely reflecting the consequences of upstream's decision to use Ruby as a core component of their build system. |
Even though that comment says ruby is a build only dependency it is still gets installed on a binary only computer.
What do I lose if I put the webkit-gtk ebuild in my own overlay and remove the ruby dependency? That is what I am trying at the moment and so far I have not seen any change except not having ruby installed. Webkit-gtk 2.0.4 built and installed without ruby being installed.
Just modified the pykde4 ebuild on 1 computer to not require PyQt4 webkit so I can finally go -webkit to see how it goes. All of this because the day after I finished removing ruby from all machines the new webkit pulling it back in. _________________ Beware the grue. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
eccerr0r Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
Joined: 01 Jul 2004 Posts: 9714 Location: almost Mile High in the USA
|
Posted: Mon Jan 27, 2014 12:06 am Post subject: |
|
|
Argh. I can't --depclean ruby after installing webkit-gtk :(
Code: | [...]
virtual/rubygems-6 pulled in by:
dev-ruby/json-1.8.0 requires =virtual/rubygems-6[ruby_targets_ruby20], virtual/rubygems[ruby_targets_ruby20]
dev-ruby/racc-1.4.9 requires virtual/rubygems[ruby_targets_ruby20], =virtual/rubygems-6[ruby_targets_ruby20]
dev-ruby/rake-0.9.6 requires =virtual/rubygems-6[ruby_targets_ruby20], virtual/rubygems[ruby_targets_ruby20]
dev-ruby/rdoc-4.0.1-r1 requires virtual/rubygems[ruby_targets_ruby20], =virtual/rubygems-6[ruby_targets_ruby20]
net-libs/webkit-gtk-2.0.4 requires =virtual/rubygems-6[ruby_targets_ruby20], virtual/rubygems[ruby_targets_ruby20]
>>> No packages selected for removal by depclean
|
_________________ Intel Core i7 2700K/Radeon R7 250/24GB DDR3/256GB SSD
What am I supposed watching? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|