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

Bug 240215

Summary: dev-lang/mosml: 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 CC: darkside, vostorga
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: Patch fixing pre-stripped files in mosml-2.01-r1

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-06 08:57:50 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-23 19:46:45 UTC
*** Bug 251919 has been marked as a duplicate of this bug. ***
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2009-04-26 15:03:57 UTC
Created attachment 189505 [details, diff]
Patch fixing pre-stripped files in mosml-2.01-r1


 * QA Notice: Pre-stripped files found:
 * /opt/mosml/bin/camlrunm
 * /opt/mosml/bin/mosmlyac

This bug hits dev-lang/mosml-2.01 as well, and fix is the same.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-05-30 02:12:08 UTC
thx, patch applied to -r1. Not serious enough to mess with the stable -r0.