Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 492552 - dev-lang/erlang-16.2 uses R16B01 instead of R16B02
Summary: dev-lang/erlang-16.2 uses R16B01 instead of R16B02
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dirkjan Ochtman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-25 22:15 UTC by Piotr Bober
Modified: 2014-02-08 20:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for dev-lang/erlang automating MY_PV assignment (patch,1.06 KB, patch)
2014-02-01 20:41 UTC, Mira Ressel
Details | Diff
Updated patch for dev-lang/erlang automating MY_PV assignment (patch,1.04 KB, patch)
2014-02-01 20:48 UTC, Mira Ressel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Bober 2013-11-25 22:15:51 UTC
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).
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-26 10:54:49 UTC
You ought to be able to automate this easily (and drop MY_PV).
Comment 2 Mira Ressel 2014-02-01 20:41:32 UTC
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...
Comment 3 Mira Ressel 2014-02-01 20:48:23 UTC
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.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2014-02-02 08:53:37 UTC
Yeah, I've been somewhat negligent, sorry! Thanks for the patch, I'll try to pick it up soon.
Comment 5 Dirkjan Ochtman (RETIRED) gentoo-dev 2014-02-08 20:56:17 UTC
Committed as 16.2-r1, thanks!