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

Bug 252059

Summary: sys-apps/hwsetup: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo LiveCD Package Maintainers <livecd>
Status: RESOLVED FIXED    
Severity: QA    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 21:45:07 UTC
sys-apps/hwsetup-1.2-r1:20081219-181436.log:  * QA Notice: Pre-stripped files found:
sys-apps/hwsetup-1.2-r1:20081219-181436.log:  * /var/tmp/portage/sys-apps/hwsetup-1.2-r1/image/usr/sbin/hwsetup

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.

Thanks,
Diego
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-22 05:36:17 UTC
The ebuild shows that -s is explicitly appended, and I am sure that was done with good reasons. To make it quite certain, I have patched the Makefile to not append the ld -s option itself, but I have left the ebuild untouched otherwise. That way, the ebuild specifies the proper LDFLAGS and the Makefile respects them (which should prevent you from filing another one of your automated bug reports for sure ;).
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-22 02:02:35 UTC
*** Bug 255931 has been marked as a duplicate of this bug. ***