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

Bug 252124

Summary: x11-wm/selectwm: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Desktop WM Team (OBSOLETE) <desktop-wm+disabled>
Severity: QA    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 22:06:17 UTC
x11-wm/selectwm-0.4.1:20081221-041915.log:  * QA Notice: Pre-stripped files found:
x11-wm/selectwm-0.4.1:20081221-041915.log:  * /var/tmp/portage/x11-wm/selectwm-0.4.1/image/usr/bin/selectwm2

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 2009-12-17 21:25:42 UTC
Anybody? This is pretty easy to fix if you care for it.
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-06-01 17:00:39 UTC
Fixed in tree. Thanks!

+  01 Jun 2010; Kacper Kowalik <> selectwm-0.4.1.ebuild,
+  +files/selectwm-0.4.1-nostrip.patch:
+  Don't strip binaries wrt bug 252124. Thanks Diego for report