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

Bug 252039

Summary: sci-electronics/vstgl: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: The Soldering-Iron Brotherhood <sci-electronics>
Severity: QA CC: vostorga
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: Patch fixing pre-stripped files in vstgl-0.6.2

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 21:39:50 UTC
sci-electronics/vstgl-0.6.2:20081219-080848.log:  * QA Notice: Pre-stripped files found:
sci-electronics/vstgl-0.6.2:20081219-080848.log:  * /var/tmp/portage/sci-electronics/vstgl-0.6.2/image/usr/bin/vstgl

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 Víctor Ostorga (RETIRED) gentoo-dev 2009-04-16 23:36:36 UTC
Created attachment 188626 [details, diff]
Patch fixing pre-stripped files in vstgl-0.6.2


 * QA Notice: Pre-stripped files found:
 * /usr/bin/vstgl
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 07:17:40 UTC
It was removed from tree...