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:
Shouldnt this be an ebuild bug? If you need nostrip that is I think.
*** This bug has been marked as a duplicate of 51023 ***
> 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.
*** This bug has been marked as a duplicate of 44796 ***