Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252099 - x11-misc/xaos: pre-stripped files found
Summary: x11-misc/xaos: pre-stripped files found
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Gentoo Science Related Packages
Depends on:
Blocks: prestripped
  Show dependency tree
Reported: 2008-12-21 21:56 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-03-28 13:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---

Patch to remove unwanted '-s' in call to install bin/xaos (xaos-no-strip.patch,513 bytes, patch)
2009-01-17 17:38 UTC, Kevin Pyle
Details | Diff

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:56:04 UTC
x11-misc/xaos-3.4:20081220-190917.log:  * QA Notice: Pre-stripped files found:
x11-misc/xaos-3.4:20081220-190917.log:  * /var/tmp/portage/x11-misc/xaos-3.4/image/usr/bin/xaos

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 Kevin Pyle 2009-01-17 17:38:26 UTC
Created attachment 178801 [details, diff]
Patch to remove unwanted '-s' in call to install bin/xaos has a hardcoded '-s' in the install rule for bin/xaos.  This patch removes it, which should prevent the unwanted stripping.
Comment 2 Sébastien Fabbro (RETIRED) gentoo-dev 2009-03-28 13:08:31 UTC
fixed in 3.4-r1.