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

Bug 239958

Summary: app-crypt/bsign: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
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    
Attachments: patch to disable stripping during build
patch for ebuild to make it use bsign-0.4.5-Makefile.in.patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-05 13:03:39 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 Sebastian Luther (few) 2008-10-06 06:20:32 UTC
Created attachment 167411 [details, diff]
patch to disable stripping during build
Comment 2 Sebastian Luther (few) 2008-10-06 06:21:18 UTC
Created attachment 167412 [details, diff]
patch for ebuild to make it use bsign-0.4.5-Makefile.in.patch
Comment 3 Christoph Mende (RETIRED) gentoo-dev 2008-12-30 19:03:01 UTC
fixed this by installing bsign-unstripped as bsign
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-02-09 04:04:46 UTC
*** Bug 255802 has been marked as a duplicate of this bug. ***