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

Bug 252034

Summary: sci-chemistry/easychem: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Marcus D. Hanwell (RETIRED) <cryos>
Status: RESOLVED FIXED    
Severity: QA CC: rei4dan, sci-chemistry
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: Makefile patch
Diff against current ebuild in portage

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-21 21:38:39 UTC
sci-chemistry/easychem-0.6:20081219-055148.log:  * QA Notice: Pre-stripped files found:
sci-chemistry/easychem-0.6:20081219-055148.log:  * /var/tmp/portage/sci-chemistry/easychem-0.6/image/usr/bin/easychem

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 Reinis Danne 2009-02-23 19:31:47 UTC
Created attachment 182938 [details, diff]
Makefile patch
Comment 2 Reinis Danne 2009-02-23 19:35:09 UTC
Created attachment 182940 [details, diff]
Diff against current ebuild in portage
Comment 3 Reinis Danne 2009-02-24 17:12:52 UTC
Added to Science overlay
Comment 4 Marcus D. Hanwell (RETIRED) gentoo-dev 2009-08-01 23:21:47 UTC
OK, applied in CVS. Thanks for the patch, and sorry about the delay in applying it.