Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157080

Summary: debug.eclass injects bogus USE=debug into ebuilds
Product: Gentoo Linux Reporter: Jakub Moc (RETIRED) <jakub>
Component: EclassesAssignee: Gentoo Quality Assurance Team <qa>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 55708    
Bug Blocks:    
Attachments: debug.eclass.diff

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.