Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252024 - net-nds/ypbind: pre-stripped files found
Summary: net-nds/ypbind: 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
Depends on:
Blocks: prestripped
  Show dependency tree
Reported: 2008-12-21 21:35 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-11-18 03:31 UTC (History)
0 users

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

Patch to ypbind-1.19.1-r1.ebuild to add a sed expression to fix the upstream (ypbind.ebuild.patch,802 bytes, patch)
2009-02-14 03:48 UTC, Kevin Pyle
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:35:26 UTC
net-nds/ypbind-1.19.1-r1:20081218-193617.log:  * QA Notice: Pre-stripped files found:
net-nds/ypbind-1.19.1-r1:20081218-193617.log:  * /var/tmp/portage/net-nds/ypbind-1.19.1-r1/image/usr/sbin/ypbind

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-02-14 03:48:19 UTC
Created attachment 181950 [details, diff]
Patch to ypbind-1.19.1-r1.ebuild to add a sed expression to fix the upstream

The upstream redefines INSTALL_PROGRAM to include -s, which causes ypbind to be stripped during installation.  This patch extends the ebuild to remove the unwanted -s and then regenerate the autotools files.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-18 03:31:01 UTC
*ypbind-1.19.1-r2 (07 Jul 2009)

  07 Jul 2009; Jeroen Roovers <> +ypbind-1.19.1-r2.ebuild,
  Do not strip. Use emake instead of make.