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

Bug 240027

Summary: app-mobile/toshiba-utils: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED WONTFIX    
Severity: QA CC: vostorga
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 273872    
Bug Blocks: 239866    
Attachments: Patch fixing pre-stripped files in toshiba-utils-2.0.1-r2

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 17:52:02 UTC
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 Víctor Ostorga (RETIRED) gentoo-dev 2009-04-23 23:07:17 UTC
Created attachment 189270 [details, diff]
Patch fixing pre-stripped files in toshiba-utils-2.0.1-r2

Fixes:

 * QA Notice: Pre-stripped files found:
 * /usr/bin/svpw
 * /usr/bin/fan
 * /usr/bin/thotswap
 * /usr/bin/tpasswd
 * /usr/bin/tdocked
 * /usr/bin/alarm
 * /usr/bin/tbacklight
 * /usr/bin/ownerstring
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-12 14:11:07 UTC
*** Bug 255809 has been marked as a duplicate of this bug. ***
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-06-12 15:02:06 UTC
Package has been masked and queued for removal on August 12th.