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

Bug 241018

Summary: net-misc/sendfile: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
Severity: QA CC: jer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: Use user set CC, CFLAGS and LDFLAGS, and as a side effect don't prestrip files

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-10 10:49:18 UTC
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 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-23 19:53:23 UTC
*** Bug 252020 has been marked as a duplicate of this bug. ***
Comment 2 Espen Hustad 2009-05-22 16:20:11 UTC
Created attachment 192131 [details, diff]
Use user set CC, CFLAGS and LDFLAGS, and as a side effect don't prestrip files

Also added a few other minor fixes to the ebuild.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-04 16:07:02 UTC
Fixed in 2.1b-r1. Again, I missed your patch there, Espen. :)