Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157080 - debug.eclass injects bogus USE=debug into ebuilds
Summary: debug.eclass injects bogus USE=debug into ebuilds
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Quality Assurance Team
URL:
Whiteboard:
Keywords:
Depends on: debug-eclass
Blocks:
  Show dependency tree
 
Reported: 2006-12-04 05:20 UTC by Jakub Moc (RETIRED)
Modified: 2007-01-04 21:04 UTC (History)
0 users

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


Attachments
debug.eclass.diff (debug.eclass.diff,1.12 KB, patch)
2006-12-04 05:21 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2006-12-04 05:20:13 UTC
As bug 55708 and related ones don't see much progress, I'd love to stop this stupid behaviour at least. 

If something has debug features, the flag belongs to ebuild's IUSE, not into the eclass. Particularly a problem w/ stuff inheriting gnome2.eclass which functions are used by lots of stuff for something completely different than debugging (the database updates in postinst/postrm etc.)

Patch attached.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-04 05:21:51 UTC
Created attachment 103321 [details, diff]
debug.eclass.diff

- remove IUSE
- use flag-o-matic for C[XX]FLAGS mangling, not the nasty bash substitution
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 21:04:31 UTC
The eclass is dummified now.