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

Bug 76684

Summary: Allow nostrip to be applied to a specific package
Product: Gentoo Linux Reporter: Adam <richard.adam>
Component: [OLD] UnspecifiedAssignee: Portage team <dev-portage>
Status: RESOLVED DUPLICATE    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam 2005-01-04 14:21:54 UTC
As far as I know, nostrip can only go in the FEATURES keyword which is normally in make.conf.  I would like a way to prevent stripping of specific packages (namely, those I want to debug or especially libraries that my own programs use which I want to debug).  I realize that the FEATURES environment variable can be set just before emerging something, but then you have to remember to do that every time you upgrade.

Reproducible: Always
Steps to Reproduce:
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-07 12:37:06 UTC
Shouldnt this be an ebuild bug? If you need nostrip that is I think.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2005-01-07 12:37:19 UTC

*** This bug has been marked as a duplicate of 51023 ***
Comment 3 Adam 2005-01-07 13:05:35 UTC
> Shouldnt this be an ebuild bug? If you need nostrip that is I think.

What do you mean by this?  That this bug applies to a specific ebuild?  That would be true if there is an ebuild which shouldn't be stripped, but the problem isn't with a specific ebuild.  I just want to do debugging of only some programs, which means those programs can't be stripped, but I still want most of my programs stripped for efficiency.

It's not really a duplicate of that bug because it was suggesting that FEATURES be specific to certain packages, which apparently would cause problems since some of those options are global by nature.  I'm saying nostrip (and maybe others) are not global by nature so should be handled differently.  I don't know the best way to implement allowing the selection of which packages to strip, just that it should be possible.

Actually the package I most want to not strip is glibc, but for users who aren't programmers this just reduces the efficiency of their system, so it can't really be put in the ebuild.
Comment 4 SpanKY gentoo-dev 2005-01-07 15:51:08 UTC

*** This bug has been marked as a duplicate of 44796 ***