Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245781 - dev-ruby/sqlite3-ruby USE=swig requires dev-lang/swig USE=ruby
Summary: dev-ruby/sqlite3-ruby USE=swig requires dev-lang/swig USE=ruby
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:
Blocks:
 
Reported: 2008-11-06 05:39 UTC by Sudrien
Modified: 2009-07-04 09:05 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 Sudrien 2008-11-06 05:39:56 UTC
Emerging sqlite3-ruby with the 'swig' use errors out during build if swig is not built with the 'ruby' USE flag.

Can't v2 ebuilds throw this warning earlier?

Reproducible: Always
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2008-11-06 08:29:41 UTC
(In reply to comment #0)
> 
> Can't v2 ebuilds throw this warning earlier?
> 
I guess you mean EAPI 2. Theoretically, yes, we could show that warning earlier. But since EAPI 2 is only supported by Portage versions in testing, we can't apply that change to the stable ebuilds.

Expect a change at the earliest at the next version bump or the time Ruby 1.9.1 hits the tree, whichever comes first.
At that time, sqlite3-ruby's swig USE flag is going to disappear, too, since non-swig builds are deprecated.

If that "problem" is still a severe issue to you, you can try out the sqlite3-ruby ebuild from the Ruby overlay (for instance via layman), which is already EAPI 2 and includes the change you proposed.
Comment 2 Hans de Graaff gentoo-dev Security 2008-11-10 20:48:08 UTC
Closing this bug as we can't fix it in the current tree without a stable portage that supports EAPI 2. Fixed versions using EAPI 2 are already in the ruby overlay and will be moved into the tree when possible.
Comment 3 Alex Legler (RETIRED) archtester gentoo-dev Security 2009-01-29 08:03:11 UTC
EAPI-2 is now stable.
Comment 4 Hans de Graaff gentoo-dev Security 2009-07-04 09:05:30 UTC
As far as I know the ruby use flag for swig should not have been needed. In fact, the latest swig no longer has these USE flags. The check for this got remove in Feb 2009.

Also, in Apr 2009 the ebuild got changed to EAPI=1 so that we can encourage people to turn on the swig USE flag.

Closing this bug since all issues seem to have been covered.