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

Bug 241026

Summary: net-nds/yp-tools: pre-stripped files found
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: QA CC: maintainer-needed
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239866    
Attachments: Don't prestrip files, and some other QA fixes

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-10 10:51:45 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 Łukasz Damentko (RETIRED) gentoo-dev 2008-10-30 17:00:42 UTC
Reassigning to maintainer-needed since eradicator has left Gentoo.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-23 19:53:04 UTC
*** Bug 252019 has been marked as a duplicate of this bug. ***
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-23 19:53:54 UTC
*** Bug 252026 has been marked as a duplicate of this bug. ***
Comment 4 Espen Hustad 2009-05-22 17:03:28 UTC
Created attachment 192136 [details, diff]
Don't prestrip files, and some other QA fixes
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-11-18 02:58:50 UTC
*yp-tools-2.9-r1 (07 Jul 2009)

  07 Jul 2009; Jeroen Roovers <jer@gentoo.org> +yp-tools-2.9-r1.ebuild,
  +files/yp-tools-2.9-strip.patch:
  Do not strip. Use emake instead of make. Use rm -f instead of rm -d (one
  command execution instead of three). Remove stupid DEPEND.