Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252059 - sys-apps/hwsetup: pre-stripped files found
Summary: sys-apps/hwsetup: pre-stripped files found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
: 255931 (view as bug list)
Depends on:
Blocks: prestripped
  Show dependency tree
 
Reported: 2008-12-21 21:45 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-01-22 02:02 UTC (History)
0 users

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 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. ***