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

Bug 160112

Summary: sys-apps/dbus : 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: 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:50:03 UTC
The following ebuilds/eclasses currently inherits debug.eclass:

./sys-apps/dbus/dbus-0.61-r1.ebuild:inherit eutils mono python multilib debug qt3 autotools
./sys-apps/dbus/dbus-0.62-r2.ebuild:inherit eutils mono python multilib debug qt3 autotools flag-o-matic
./sys-apps/dbus/dbus-1.0.2.ebuild:inherit eutils multilib debug autotools

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:41:51 UTC
Doug fixed this.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2007-01-04 20:58:53 UTC
Reopen per compnerd's request.
Comment 3 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-01-05 10:43:53 UTC
fixed up debug codepaths on 0.62-r2