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

Bug 195567

Summary: mythtv.eclass not adding FEATURES="${FEATURES} nostrip" when debugging is enabled
Product: Gentoo Linux Reporter: Gabriel Kuri <gkuri>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gabriel Kuri 2007-10-12 01:29:47 UTC
if the debug USE flag is enabled when emerging mythtv, the debugging symbols are still being stripped by the ebuild. I tracked it back to mythtv.eclass which does not appropriately add the FEATURES="${FEATURES} nostrip" to the ebuild when the debug USE flag is enabled.

Reproducible: Always

Steps to Reproduce:
1.USE='debug' emerge mythtv
2.run 'file' against /usr/bin/mythbackend and verify the executable is stripped

Actual Results:  
the debugging symbols are stripped by the ebuild which is inheriting mythtv.eclass.

Expected Results:  
mythtv.eclass should add an appropriate option to check whether the debug USE flag is enabled and add FEATURES="${FEATURES} nostrip" appropriately.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-12 07:27:32 UTC
It shouldn't do any such thing, that's not what USE=debug is about.

# euse -i debug
global use flags (searching: debug)
************************************************************
[-    ] debug - Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml .


*** This bug has been marked as a duplicate of bug 186505 ***