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

Bug 252118

Summary: x11-wm/aewm: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Desktop WM Team (OBSOLETE) <desktop-wm+disabled>
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 22:03:08 UTC
x11-wm/aewm-1.2.7:20081221-034631.log:  * QA Notice: Pre-stripped files found:
x11-wm/aewm-1.2.7:20081221-034631.log:  * /var/tmp/portage/x11-wm/aewm-1.2.7/image/usr/bin/set-gnome-pda
x11-wm/aewm-1.2.7:20081221-034631.log:  * /var/tmp/portage/x11-wm/aewm-1.2.7/image/usr/bin/aewm
x11-wm/aewm-1.2.7:20081221-034631.log:  * /var/tmp/portage/x11-wm/aewm-1.2.7/image/usr/bin/aemenu-xaw
x11-wm/aewm-1.2.7:20081221-034631.log:  * /var/tmp/portage/x11-wm/aewm-1.2.7/image/usr/bin/aepanel-xaw
x11-wm/aewm-1.2.7:20081221-034631.log:  * /var/tmp/portage/x11-wm/aewm-1.2.7/image/usr/bin/aemenu-gtk
x11-wm/aewm-1.2.7:20081221-034631.log:  * /var/tmp/portage/x11-wm/aewm-1.2.7/image/usr/bin/aepanel-gtk
x11-wm/aewm-1.2.7:20081221-034631.log:  * /var/tmp/portage/x11-wm/aewm-1.2.7/image/usr/bin/aesession

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 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-11-23 19:37:56 UTC
Does it take an year to get rid of the "install -s" call or is this package unmaintained?
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-05-27 16:55:00 UTC
Fixed in tree
+  27 May 2010; Kacper Kowalik <xarthisius@gentoo.org> aewm-1.2.7.ebuild,
+  +files/aewm-1.2.7-ldflags.patch:
+  Respect user flags wrt bug 237698, do not pre-strip files wrt bug 252118.
+  Thanks coldwind and Diego for reporting.