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

Bug 239874

Summary: app-text/lv: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: CJK Team <cjk>
Severity: QA    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: patch to disable stripping during build
patch for ebuild to make it use

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 10:41:01 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.

Comment 1 Sebastian Luther (few) 2008-10-06 05:24:48 UTC
Created attachment 167404 [details, diff]
patch to disable stripping during build
Comment 2 Sebastian Luther (few) 2008-10-06 05:26:38 UTC
Created attachment 167406 [details, diff]
patch for ebuild to make it use
Comment 3 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-07 16:06:59 UTC
*** Bug 240111 has been marked as a duplicate of this bug. ***
Comment 4 MATSUU Takuto (RETIRED) gentoo-dev 2008-10-07 16:13:51 UTC
lv-4.51-r1 in cvs.