Bug 1672916 - Installing erlang-rebar3 breaks the erlang-rebar package
Summary: Installing erlang-rebar3 breaks the erlang-rebar package
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang-rebar3
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Timothée Floure
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2019-02-06 08:13 UTC by Timothée Floure
Modified: 2019-02-06 08:13 UTC (History)
2 users (show)

Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Timothée Floure 2019-02-06 08:13:31 UTC
Description of problem:
The erlang-rebar (= rebar2 library + executable) package is broken when the erlang-rebar3 package is installed

Steps to Reproduce:
1. install the erlang-rebar package
2. install the erlang-rebar3 package (from f30/rawhide)
3. run the `rebar` command (any parameter)

Actual results:

~ » rebar --version
Uncaught error in rebar_core: {'EXIT',
escript: exception error: undefined function rebar_utils:delayed_halt/1
  in function  erl_eval:local_func/6 (erl_eval.erl, line 557)
  in call from escript:interpret/4 (escript.erl, line 789)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3 

Expected results:

~ » rebar --version
rebar 2.6.4 undefined undefined undefined

Additional info:
Most likely due to both rebar2 and rebar3 erlang applications using the same name (`rebar`).

Note You need to log in before you can comment on or make changes to this bug.