Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137678 - media-gfx/duhdraw-2.8.12 unconditionally strips the binary
Summary: media-gfx/duhdraw-2.8.12 unconditionally strips the binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-22 18:00 UTC by Denilson Sá Maia
Modified: 2006-11-16 01:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denilson Sá Maia 2006-06-22 18:00:52 UTC
The following page explains that stripping should be done by portage, and not by package Makefile. It also explains there must be no "-s" flag at LDFLAGS.
http://www.gentoo.org/proj/en/qa/backtraces.xml#doc_chap1_sect3

Look at media-gfx/duhdraw-2.8.12 ebuild:
src_compile() {
        emake CC="$(tc-getCC) -s ${CFLAGS}" || die
}
It explicitly and unconditionally adds "-s" flag to compiling phase.

Proposed solution:
        emake CC="$(tc-getCC) ${CFLAGS}" || die "emake failed"

Even though duhdraw has not been modified in years and not stripping is only useful for developers, I thought it was worth mentioning this. Maybe there are other ebuilds with this "bug"?
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2006-11-16 01:02:14 UTC
Fixed in CVS, thanks for reporting