The current erlang ebuild uses sed to add "-smp" to the wrapper script /usr/bin/erl. This was added to fix bug #188858 (the comment in the ebuild points to the wrong bug). This hack is broken in the (not-yet packaged by gentoo) R15B02 release because upstream added quotes around the executable name so that "-smp" ends up part of the executable name. Rather than fixing the regexp, I suggest removing it altogether: upstream has fixed its behaviour and the hack is no longer needed.
*** This bug has been marked as a duplicate of bug 434832 ***
Oh wait. That's not a duplicate.
(In reply to comment #0) > The current erlang ebuild uses sed to add "-smp" to the wrapper script > /usr/bin/erl. This was added to fix bug #188858 (the comment in the ebuild > points to the wrong bug). > > This hack is broken in the (not-yet packaged by gentoo) R15B02 release > because upstream added quotes around the executable name so that "-smp" ends > up part of the executable name. > > Rather than fixing the regexp, I suggest removing it altogether: upstream > has fixed its behaviour and the hack is no longer needed. I confirm this does not seem to be needed anymore.
Fixed in 15.2.2.