the debugedit/installsources stuff has to be run before splitdebug. I'm attaching a patch against 2.0.54-r2.. I can make one against 2.1, but I'm not sure which cvs/svn tree is the right one.. Btw, is there still any development being done on the 2.0.x branch, if so, I can make a patch against that tree too, wherever it is. Also, installsources should also be tested in the nostrip case, since it is very likely that we want to see the source if we have all the debug info in the binary.. So the nostrip test should not be at the top of prepstrip.
2.1 final has just been released, so 2.0.x should be dieing now. For 2.1, a patch against svn+ssh://svn.gentoo.org/var/svnroot/portage/main/branches/2.1/ would be nice (its currently identical to main/trunk/).
Created attachment 88785 [details, diff] patch against 2.1 branch svn Oops, I forgot to attach the patch. Anyways, I've ported it to portage 2.1 and there it is.
quoting of the LHS is not needed when using [[ ]] instead of updating each case in the strip loop, just do [[ -n ${NOSTRIP} ]] && continue you also need to make sure NOSTRIP is sane and that the outside env isnt going to let a bogus value leak in
Created attachment 88950 [details, diff] new version I've added an unset NOSTRIP. We can't just continue because we dont call debugedit on the .a files.
Thanks, this is in svn r4136,
This has been released in 2.1.1_pre4-r3.