The version of Erlang/OTP in the latest ebuild (16.2) should be R16B02, not R16B01 which you can see in line 18: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-lang/erlang/erlang-16.2.ebuild?view=markup I suspect this is not intended, according to the comment for revision 1.1: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-lang/erlang/erlang-16.2.ebuild?revision=1.1&view=markup Setting the version to "R16B02" in line 18 of the ebuild works fine on my machine (amd64).
You ought to be able to automate this easily (and drop MY_PV).
Created attachment 369290 [details, diff] Patch for dev-lang/erlang automating MY_PV assignment I've implemented this properly now using the versionator eclass. My code differentiates between three cases: 1. R16B --> erlang-16 2. R16B01 --> erlang-16.1 3. R16B01-1 --> erlang-16.1.1 There's also 4. R16A --> erlang-16_beta, but I don't consider that one, as we've never had those in the portage tree anyway. @Dirkjan: Seems like you've missed this bug...
Created attachment 369292 [details, diff] Updated patch for dev-lang/erlang automating MY_PV assignment I discovered MY_P isn't used anywhere in the ebuild anymore, so let's remove it while we're at it.
Yeah, I've been somewhat negligent, sorry! Thanks for the patch, I'll try to pick it up soon.
Committed as 16.2-r1, thanks!