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

Bug 251943

Summary: mail-filter/gld: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Severity: QA CC: chtof62
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: gld-1.7.ebuild.diff (Corrected ebuild)

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 20:48:03 UTC
mail-filter/gld-1.7:20081216-005028.log:  * QA Notice: Pre-stripped files found:
mail-filter/gld-1.7:20081216-005028.log:  * /var/tmp/portage/mail-filter/gld-1.7/image/usr/bin/gld

Portage warns about pre-stripped files being installed into the image directory; this is a bad thing since it makes Portage's splitdebug feature useless, and it stops the users and the developers from looking into backtraces with full debug information available.

For the developers going to look into it, what you have to look out for, to
find what is stripping the files, is one of these conditions:

- explicit "strip" command run on the produced files;
- "install -s" command to install the binary files;
- "-Wl,-s" flag passed during linking

Remove the "strip" commands, remove the "-s" option at install, and remove
"-Wl,-s" and the problem should be gone.

Comment 1 Christophe LEFEBVRE 2010-03-13 00:08:52 UTC
Created attachment 223363 [details, diff]
gld-1.7.ebuild.diff (Corrected ebuild)
Comment 2 Eray Aslan gentoo-dev 2011-05-12 11:01:53 UTC
Fixed in gld-1.7-r1.  Closing.