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

Bug 255911

Summary: net-mail/teapop: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Net-Mail Packages <net-mail+disabled>
Status: RESOLVED FIXED    
Severity: QA CC: chtof62, vostorga
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: Fix pre-stripped files in net-mail/teapop

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.

Thanks,
Diego
Comment 1 Kevin Pyle 2009-01-23 00:59:57 UTC
This shell construct in teapop/Makefile.in is responsible for the unwanted strip:

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

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