Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 255911 - net-mail/teapop: pre-stripped files found
Summary: net-mail/teapop: pre-stripped files found
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Net-Mail Packages
: 240928 (view as bug list)
Depends on:
Blocks: prestripped
  Show dependency tree
Reported: 2009-01-22 01:00 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2011-04-05 15:36 UTC (History)
2 users (show)

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

Fix pre-stripped files in net-mail/teapop (teapop-0.3.8-r2.ebuild.patch,450 bytes, patch)
2009-04-19 05:55 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 2009-01-22 01:00:51 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 Kevin Pyle 2009-01-23 00:59:57 UTC
This shell construct in teapop/ is responsible for the unwanted strip:

    @ if [ "${STRIP}" != "nostrip" ]; then              \
        ${STRIP} teapop;                    \

Adding STRIP=nostrip to the ebuild's invocation of make install should fix it.
Comment 2 Víctor Ostorga (RETIRED) gentoo-dev 2009-04-19 05:55:36 UTC
Created attachment 188848 [details, diff]
Fix pre-stripped files in net-mail/teapop

Patch Fixes :
 * QA Notice: Pre-stripped files found:
 * /usr/sbin/teapop
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-04-04 18:53:35 UTC
*** Bug 240928 has been marked as a duplicate of this bug. ***
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2011-04-05 15:36:38 UTC
Fixed in net-mail/teapop-0.3.8-r1