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
Fixed.
Reopen per compnerd's request.
Enabled debug codepaths via the debug useflag.