Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 724648 - dev-util/rebar breaks with dev-lang/erlang-23*
Summary: dev-util/rebar breaks with dev-lang/erlang-23*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 722998 723012 723016 723288 723502 724086 724434 726194 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-23 11:09 UTC by Hanno Böck
Modified: 2020-06-19 21:17 UTC (History)
7 users (show)

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


Attachments
rebar-2.6.4-r1.ebuild (rebar-2.6.4-r1.ebuild,671 bytes, text/plain)
2020-05-23 11:10 UTC, Hanno Böck
Details
rebar-erlang23.diff (rebar-erlang23.diff,602 bytes, patch)
2020-05-23 11:10 UTC, Hanno Böck
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2020-05-23 11:09:22 UTC
The erlang 23 update broke plenty of packages using rebar, see e.g. #722998.

The issue is that rebar uses a no longer supported flag "-lerl_interface".

It seems rebar2 is deprecated and replaced with rebar3, but there's currently no maintainer for rebar in Gentoo. CCing erlang maintainers to keep them updated on the situation. (I have no interest in maintaining rebar myself, I "just" want to keep ejabberd working and with the dependencies plenty of these issues have been assigned to the ejabberd team.)

The "-lerl_interface" flag can be patched out of rebar and then the packages should all work again. I'm attaching an updated ebuild and patch and will commit them if nobody complains in a few days.
Comment 1 Hanno Böck gentoo-dev 2020-05-23 11:10:11 UTC
Created attachment 641020 [details]
rebar-2.6.4-r1.ebuild
Comment 2 Hanno Böck gentoo-dev 2020-05-23 11:10:39 UTC
Created attachment 641022 [details, diff]
rebar-erlang23.diff
Comment 3 Hanno Böck gentoo-dev 2020-05-23 11:11:07 UTC
*** Bug 722998 has been marked as a duplicate of this bug. ***
Comment 4 Hanno Böck gentoo-dev 2020-05-23 11:11:26 UTC
*** Bug 723016 has been marked as a duplicate of this bug. ***
Comment 5 Hanno Böck gentoo-dev 2020-05-23 11:11:30 UTC
*** Bug 723288 has been marked as a duplicate of this bug. ***
Comment 6 Hanno Böck gentoo-dev 2020-05-23 11:11:34 UTC
*** Bug 723502 has been marked as a duplicate of this bug. ***
Comment 7 Hanno Böck gentoo-dev 2020-05-23 11:11:38 UTC
*** Bug 724086 has been marked as a duplicate of this bug. ***
Comment 8 Hanno Böck gentoo-dev 2020-05-23 11:11:43 UTC
*** Bug 724434 has been marked as a duplicate of this bug. ***
Comment 9 Hanno Böck gentoo-dev 2020-06-01 17:36:07 UTC
*** Bug 726194 has been marked as a duplicate of this bug. ***
Comment 10 Hanno Böck gentoo-dev 2020-06-01 17:36:16 UTC
*** Bug 723012 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2020-06-01 17:36:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4e88d92f1ccfed61a5277ec9b60aebdaf49e185

commit a4e88d92f1ccfed61a5277ec9b60aebdaf49e185
Author:     Hanno Böck <hanno@gentoo.org>
AuthorDate: 2020-06-01 17:35:12 +0000
Commit:     Hanno Böck <hanno@gentoo.org>
CommitDate: 2020-06-01 17:36:40 +0000

    dev-util/rebar: Fix compatibility with erlang 23.
    
    Closes: https://bugs.gentoo.org/724648
    Signed-off-by: Hanno Böck <hanno@gentoo.org>
    Package-Manager: Portage-2.3.100, Repoman-2.3.22

 dev-util/rebar/files/rebar-erlang23.diff | 12 ++++++++++++
 dev-util/rebar/rebar-2.6.4-r1.ebuild     | 30 ++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)
Comment 12 Phil Stracchino (Unix Ronin) 2020-06-16 16:09:33 UTC
Hanno,
Might I ask how (or if) you were able to resolve building dev-erlang/jose (also required by ejabberd) against dev-lang/erlang-23.0?
Comment 13 Phil Stracchino (Unix Ronin) 2020-06-16 20:20:01 UTC
(In reply to Phil Stracchino (Unix Ronin) from comment #12)
> Hanno,
> Might I ask how (or if) you were able to resolve building dev-erlang/jose
> (also required by ejabberd) against dev-lang/erlang-23.0?

Never mind, everything works with erlang-23.0.1.