Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252038 - sci-electronics/spice: pre-stripped files found
Summary: sci-electronics/spice: 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: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prestripped
  Show dependency tree
 
Reported: 2008-12-21 21:39 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-06-07 05:44 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:39:33 UTC
sci-electronics/spice-3.5.5:20081219-080502.log:  * QA Notice: Pre-stripped files found:
sci-electronics/spice-3.5.5:20081219-080502.log:  * /var/tmp/portage/sci-electronics/spice-3.5.5/image/usr/bin/sconvert
sci-electronics/spice-3.5.5:20081219-080502.log:  * /var/tmp/portage/sci-electronics/spice-3.5.5/image/usr/bin/spice.help
sci-electronics/spice-3.5.5:20081219-080502.log:  * /var/tmp/portage/sci-electronics/spice-3.5.5/image/usr/bin/proc2mod
sci-electronics/spice-3.5.5:20081219-080502.log:  * /var/tmp/portage/sci-electronics/spice-3.5.5/image/usr/bin/spice3
sci-electronics/spice-3.5.5:20081219-080502.log:  * /var/tmp/portage/sci-electronics/spice-3.5.5/image/usr/bin/nutmeg
sci-electronics/spice-3.5.5:20081219-080502.log:  * /var/tmp/portage/sci-electronics/spice-3.5.5/image/usr/bin/multidec

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 Denis Dupeyron (RETIRED) gentoo-dev 2009-06-07 05:44:26 UTC
Fixed. I also fixed LDFLAGS while I was at it.

Denis.