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

Bug 251868

Summary: app-office/plan: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: No maintainer - Look at if you want to take care of it <maintainer-needed>
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 15:38:00 UTC
app-office/plan-1.9:20081212-134209.log:  * QA Notice: Pre-stripped files found:
app-office/plan-1.9:20081212-134209.log:  * /var/tmp/portage/app-office/plan-1.9/image/usr/bin/pland
app-office/plan-1.9:20081212-134209.log:  * /var/tmp/portage/app-office/plan-1.9/image/usr/bin/netplan
app-office/plan-1.9:20081212-134209.log:  * /var/tmp/portage/app-office/plan-1.9/image/usr/bin/notifier
app-office/plan-1.9:20081212-134209.log:  * /var/tmp/portage/app-office/plan-1.9/image/usr/bin/plan

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 Markos Chandras (RETIRED) gentoo-dev 2009-11-12 20:29:30 UTC
Both ldflags and pre-stripped files issue have been fixed

Thanks for reporting it