Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497080 - net-irc/epic5 fails to install even with USE=-ruby, unless RUBY_TARGETS includes the deprecated ruby18
Summary: net-irc/epic5 fails to install even with USE=-ruby, unless RUBY_TARGETS inclu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on: 489608
Blocks: ruby-1.8
  Show dependency tree
 
Reported: 2014-01-05 01:28 UTC by James Cloos
Modified: 2014-03-25 07:09 UTC (History)
0 users

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 James Cloos 2014-01-05 01:28:06 UTC
The ebuild unconditionally inherits ruby-ng, but also only supports ruby18.

As such, the eclass kills any attempt to build, even with USE=-ruby, unless the now deprecated ruby18 is in RUBY_TARGETS.

It looks like the ebuild shouldn’t inherit ruby-ng unless ruby is in USE.

More invasively, given the deprecation of ruby18, should drop all ruby support until and unless a new version of epic5 supports a newer ruby release.

With ruby elided, the ebuild for 1.1.2 works.
Comment 1 Nathan Phillip Brink (binki) (RETIRED) gentoo-dev 2014-03-25 07:09:27 UTC
  25 Mar 2014; Nathan Phillip Brink <binki@gentoo.org> epic5-1.1.2.ebuild:
  Fix ability to compile with USE=-ruby for bug #497080.

Sorry for being so slow. Also, the issue was me misunderstanding ruby-ng.eclass, not ruby-ng.eclass, see bug #489608 for details. The solution turns out to be making the ruby-ng_pkg_setup() call conditional instead of implicitly unconditional.

Thanks much for the report. Now to make epic5 work with ruby19 and/or version bump it…