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

Bug 160114

Summary: x11-libs/cairo : please remove debug.eclass usage
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: EclassesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED FIXED    
Severity: major CC: compnerd, gentopia
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 55708    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 14:51:39 UTC
The following ebuilds/eclasses currently inherits debug.eclass:

./x11-libs/cairo/cairo-1.2.6.ebuild:inherit eutils flag-o-matic debug
./x11-libs/cairo/cairo-1.3.10.ebuild:inherit eutils flag-o-matic libtool debug

As per bug #55708 you can see that the current debug.eclass is a QA mess, and I'm going to replace it soon with a dummy version.
The debug useflag should not mess with the user's *FLAGS, but rather relate to the debug codepaths of a package (asserts, extra output, and so on). If an user wants a debuggable system, he should follow the backtraces guide (http://www.gentoo.org/proj/en/qa/backtraces.xml) that contains all the needed info.

For this reason, please remove debug eclass from inherit line, add debug to IUSE if your package has a way to enable/disable debug codepaths, and set this bug resolved. Please do it for _every revisions of your package_.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 20:46:25 UTC
Fixed.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 20:58:38 UTC
Reopen per compnerd's request.
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-01-04 21:09:50 UTC
Enabled debug codepaths via the debug useflag.