Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 180144

Summary: confusion over RRDtool Ruby bindings; possible need for a blocker between rrdtool and ruby-rrd
Product: Gentoo Linux Reporter: M. Edward Borasky <znmeb>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal CC: netmon, pva
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 186519    

Description M. Edward Borasky 2007-05-28 20:51:42 UTC
It looks to me like if you emerge rrdtool with the "ruby" USE flag, you get the Ruby bindings built. But if you emerge "ruby-rrd", you get the same thing. I haven't checked the sources yet to see if there are differences or which is more recent, but it seems to me that Portage should block this -- you get stuff over-written in /usr/lib/ruby if you emerge them both in a different order.

Then again, since the author of the ruby-rrd package hasn't documented it, maybe it should just be deleted from Portage and just keep the "ruby" USE flag on rrdtool. The main RRDTool web site points to this package anyhow, so that's the documentation as far as I'm concerned.
Comment 1 Hans de Graaff gentoo-dev Security 2007-07-08 14:57:38 UTC
If you want portage to warn you about overwritting files, have a look at FEATURES="collision-protect".

It seems that the ruby USE flag is only present with rddtool-1.2.23-r1, so with older versions of of rddtool it still makes sense to have ruby-rdd around, especially since the stable version of rddtool is still 1.2.15-r3.

If the ruby bindings have now been folded into the main distribution then rddtool-1.2.23-r1 should probably block ruby-rdd-1.1 and vice versa. ruby-rdd can then be removed from the tree when there is a stable version of rddtool with the ruby USE flag.

netmon folks: can you confirm this scenario so that we can add the blockers, or am I overlooking something?
Comment 2 Markus Ullmann (RETIRED) gentoo-dev 2007-07-25 17:55:02 UTC
feel free to add whatever needed :)
Comment 3 Hans de Graaff gentoo-dev Security 2007-08-04 20:20:21 UTC
I've added the blocker to rrdtool-1.2.23-r1 (only if the ruby USE flag is active). As far as I can tell that should be enough to start resolving this situation. Once rrdtool has been stable for some time and the old versions have been removed we should probably administer last rites to dev-ruby/ruby-rrd.