Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252034 - sci-chemistry/easychem: pre-stripped files found
Summary: sci-chemistry/easychem: pre-stripped files found
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Marcus D. Hanwell (RETIRED)
Keywords: InVCS
Depends on:
Blocks: prestripped
  Show dependency tree
Reported: 2008-12-21 21:38 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-08-01 23:21 UTC (History)
2 users (show)

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

Makefile patch (easychem-0.6-prestrip.patch,287 bytes, patch)
2009-02-23 19:31 UTC, Reinis Danne
Details | Diff
Diff against current ebuild in portage (easychem-0.6.ebuild.diff,821 bytes, patch)
2009-02-23 19:35 UTC, Reinis Danne
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-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.

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.