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

Bug 252098

Summary: x11-misc/trayer: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Gentoo Dockapp Team <desktop-dock>
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, 414305    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 21:55:38 UTC
x11-misc/trayer-1.0:20081220-184745.log:  * QA Notice: Pre-stripped files found:
x11-misc/trayer-1.0:20081220-184745.log:  * /var/tmp/portage/x11-misc/trayer-1.0/image/usr/bin/trayer

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 Kevin Pyle 2009-01-17 17:27:09 UTC
The Makefile includes this construct as part of the rule to build trayer:

ifeq (,$(DEVEL))
    strip $@
endif

Adding DEVEL=1 to the emake line in the Gentoo ebuild should suppress the unwanted strip call.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2010-06-24 11:20:42 UTC
Actually, the whole rule can go away

Fixed