Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251995 - net-im/kadu: pre-stripped files found
Summary: net-im/kadu: pre-stripped files found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Dawid Węgliński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prestripped
  Show dependency tree
 
Reported: 2008-12-21 21:23 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-02-04 17:23 UTC (History)
0 users

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


Attachments

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:23:04 UTC
net-im/kadu-0.6.0.2:20081218-062433.log:  * QA Notice: Pre-stripped files found:
net-im/kadu-0.6.0.2:20081218-062433.log:  * /var/tmp/portage/net-im/kadu-0.6.0.2/image/usr/bin/kadu

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 Robert Buchholz (RETIRED) gentoo-dev 2009-02-04 17:23:42 UTC
No need to send patch upstream, latest version uses cmake and revamped build
system.

*kadu-0.6.0.2-r1 (04 Feb 2009)

  04 Feb 2009; Robert Buchholz <rbu@gentoo.org> metadata.xml,
  +files/kadu-0.6.0.2-kill-strip.patch, -kadu-0.6.0.1.ebuild,
-kadu-0.6.0.2.ebuild,
  +kadu-0.6.0.2-r1.ebuild:
  Do allow building against internal libgadu, remove USE flag. This solves bug
  #256509 (file collision), bug #247990 (internal library copy) and security
bug
  #244888 (buffer overread in libgadu). Do not strip binaries (bug #251995).