There's probably a reason it is the way it is, but I just wanted to point out that if there was a single file, or if it was part of ebuild.sh, that we could make most of the files in /usr/lib/portage/bin/ functions instead of their own file. Like dojar, newinitd, doman, etc. It would probably be cleaner.
Steps to Reproduce:
Then we could just put the files that need be in /usr/bin or /usr/sbin, and not have ugly symlinks. And then we could put /usr/lib/portage/lib/sandbox.bashrc in /usr/share/data/portage/ or /etc/ instead, and put only the python modules in /usr/lib/portage. I just think that that would be a lot cleaner than what's going on here right now. I guess that it doesn't really matter though, because no ones pokes around there anyways.
Intended, although the final target is putting it into the rsync tree, and loading it from there rather then bundling it into a portage release.
Reopening for consideration
Bug 138792 has an implementation but it's focused on automatic die support.
I believe that the current system should remain in effect because the functions are external, greatly simplifying and reducing the core code, and enabling easier distributed development for maintenance.
Presumably the functions might not be expected to change very often, if external to the core they can be shared by other programs which might enhance and extend Gentoo's functionality. If a binary is absolutely required then a new package could be created which would provide a compiled shared library, and it would need to be written from scratch in the desired language most likely.
I suggest that this bug be closed. It is extremely old and there has been no activity for many years.
(In reply to comment #5)
> I suggest that this bug be closed. It is extremely old and there has been no
> activity for many years.
Yeah, I don't see any need to change anything now. If anyone wants to submit a patch, then we can consider it. However, they should refer to the "Ebuild Specific Commands" section of app-doc/pms to check whether it specifies if a particular helper is supposed to be an external command in PATH. Also, any bugs involving changes to app-doc/pms should be assigned to firstname.lastname@example.org.