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

Bug 160102

Summary: media-tv/mythtv : 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    
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:43:15 UTC
The following ebuilds/eclasses currently inherits debug.eclass:

./media-tv/mythtv/mythtv-0.19_p10505.ebuild:inherit flag-o-matic multilib eutils debug qt3
./media-tv/mythtv/mythtv-0.20_p11626.ebuild:inherit mythtv flag-o-matic multilib eutils debug qt3
./media-tv/mythtv/mythtv-0.20_p12172.ebuild:inherit mythtv flag-o-matic multilib eutils debug qt3
./media-tv/mythtv/mythtv-0.20_p12288.ebuild:inherit mythtv flag-o-matic multilib eutils debug qt3
./media-tv/mythtv/mythtv-0.20_p12288-r1.ebuild:inherit mythtv flag-o-matic multilib eutils debug qt3
./media-tv/mythtv/mythtv-0.20_p12325.ebuild:inherit mythtv flag-o-matic multilib eutils debug qt3

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:22:22 UTC
I fixed this on behalf of Doug.