Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240215 - dev-lang/mosml: pre-stripped files found
Summary: dev-lang/mosml: pre-stripped files found
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: No maintainer - Look at if you want to take care of it
: 251919 (view as bug list)
Depends on:
Blocks: prestripped
  Show dependency tree
Reported: 2008-10-06 08:57 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-05-30 02:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

Patch fixing pre-stripped files in mosml-2.01-r1 (mosml-2.01-r1-nostrip.ebuild.patch,500 bytes, patch)
2009-04-26 15:03 UTC, Víctor Ostorga (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.