Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 265027 - app-admin/puppet-0.24.8 virtual/ruby[ssl] dep is invalid
Summary: app-admin/puppet-0.24.8 virtual/ruby[ssl] dep is invalid
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on: 265054
Blocks: 270432
  Show dependency tree
 
Reported: 2009-04-05 21:51 UTC by Brian Harring (RETIRED)
Modified: 2009-06-13 10:59 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Harring (RETIRED) gentoo-dev 2009-04-05 21:51:09 UTC
puppet 0.24.8 has a DEPEND/RDEPEND on virtual/ruby[ssl]; virtual/ruby is an old style dependency, thus has no iuse defined (nor is there any gurantee that all providers of an old style virt. would have a common IUSE subset).

Quoting pms:
It is an error for a use dependency to be applied to an ebuild which does not have the flag in question in \t{IUSE}, or for an ebuild to use a conditional use dependency when that ebuild does not have the flag in \t{IUSE}.

Reason this is relevant- portage seems to allow this to work via a quirk of it's old style virtual support- the other two however do not.  The wording of virtuals.tex *sort of* leaves this behaviour open as valid, although I suspect that's more due to it not being updated when slot/use were introduced (it forbids version restrictions only, while slotting has similar issues).

An alt. solution is a new style virtual, via this the transitive use dep that puppet is attempting to the provider could be implemented easily enough (in a manner supported by all three also).

Reproducible: Always

Steps to Reproduce:
Comment 1 Brian Harring (RETIRED) gentoo-dev 2009-04-05 21:52:32 UTC
pardon, I'm a retard- "virtual/ruby is an old style virtual", not "virtual/ruby is an old style dependency".

Bleh.  Need my coffee...
Comment 2 Hans de Graaff gentoo-dev Security 2009-04-06 05:42:43 UTC
I think it makes sense to move to a new style virtual in any case.

For this bug, though, the two other providers of ruby (dev-lang/rubinius and dev-java/jruby) don't have an ssl USE flag, so I'm not sure if it makes sense for puppet to depend on the virtual, or whether it should just depend on dev-lang/ruby directly. I'll leave that to matsuu since I don't know anything about the puppet requirements.
Comment 3 Hans de Graaff gentoo-dev Security 2009-06-13 10:59:33 UTC
The virtuals got changed to depend on dev-lang/ruby on April 6th, so I'm closing this bug.