erlef / rebar3_hex

Rebar3 Hex library
Apache License 2.0
101 stars 49 forks source link

erlang:get_stacktrace was removed from OTP24 #231

Closed deemytch closed 3 years ago

deemytch commented 3 years ago

https://www.erlang.org/erlang-enhancement-proposals/eep-0047.html

https://github.com/erlang/otp/pull/1634

% pacman -Qs erlang
local/elixir 1.12.0-1
    a functional meta-programming aware language built on top of the Erlang VM
local/erlang 24.0-1
    General-purpose concurrent functional programming language developed by Ericsson
cowboytest % mix deps.compile
===> Fetching rebar3_hex v6.11.3
===> Version cached at /home/devuser/.cache/rebar3/hex/hexpm/packages/rebar3_hex-6.11.3.tar is up to date, reusing it
escript: exception error: undefined function erlang:get_stacktrace/0
  in function  rebar3:main/1 (/tmp/cirrus-ci-build/src/rebar3.erl, line 72)
  in call from escript:run/2 (escript.erl, line 750)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3 
** (Mix) Could not compile dependency :p1_utils, "/home/devuser/.mix/rebar3 bare compile --paths /work/cowboytest/_build/dev/lib/*/ebin" command failed. You can recompile this dependency with "mix deps.compile p1_utils", update it with "mix deps.update p1_utils" or clean it with "mix deps.clean p1_utils"
deemytch commented 3 years ago

Sorry, that in rebar3.