Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197430 - built_with_use not dealing elegantly with new use flags
Summary: built_with_use not dealing elegantly with new use flags
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-29 15:45 UTC by Shevek
Modified: 2007-11-03 18:14 UTC (History)
1 user (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 Shevek 2007-10-29 15:45:38 UTC
*   graphviz-2.12.ebuild, line 80:   Called built_with_use 'dev-lang/swig' 'tcl'
 *   eutils.eclass, line 1696:   Called die
 * 
 * dev-lang/swig-1.3.21 does not actually support the tcl USE flag!

It's true, swig-1.3.21 didn't support USE tcl. The new swig does. So, specifically, this could be fixed by making graphviz require the new swig. Alternatively, a larger solution would be to make built_with_use return false in the case that the use flag was not supported by the installed ebuild.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-29 15:48:40 UTC
built_with_use deal with this just fine using --missing option; upgrade your swig, noone's going to 'fix' ebuilds for stuff that's been obsolete for ages.
Comment 2 Paul Bredbury 2007-10-29 22:39:05 UTC
> make built_with_use return false

Yep, that would be the sane thing to do. See bug #139842.
Comment 3 Shevek 2007-11-03 17:47:14 UTC
As usual, this bug has been closed without actually fixing it. If I simply type "emerge graphviz", the build dies. If I run any other distribution and I ask it to upgrade, it manages to upgrade the dependencies fine, why is gentoo so different?

Please reconsider this bug with a modicum of understanding or intelligence. I, as an experienced admin have no trouble updating swig, but that does NOT solve the problem in gentoo, which is that upgrades rarely if ever work reliably. The two fixes I suggest will both make upgrades more reliable.
Comment 4 Torsten Rehn 2007-11-03 18:14:01 UTC
The problem is in the graphviz ebuild (e.g. it could require a more recent version of swig if the tcl USE flag is enabled), not build_with_use. That's why this bug is not valid. Please file a new bug requesting that the ebuild is changed accordingly. However, you are encouraged to keep your system updated to current stable - that would have prevented problems like this.