Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fail on Erlang 21.0-rc1 #1772

Closed
c0b opened this issue May 2, 2018 · 4 comments
Closed

build fail on Erlang 21.0-rc1 #1772

c0b opened this issue May 2, 2018 · 4 comments
Labels

Comments

@c0b
Copy link

c0b commented May 2, 2018

Similar as #1636 and #1414 testing rebar3 on Erlang 21, it seems failed to build with warnings from the erlware_commons dependency

root@cbe94990559b:/usr/src/rebar3-src# HOME=$PWD DEBUG=1 ./bootstrap
Dependency providers already exists
Dependency getopt already exists
Dependency cf already exists
Dependency erlware_commons already exists
/usr/src/rebar3-src/_build/default/lib/erlware_commons/src/ec_plists.erl:834: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
/usr/src/rebar3-src/_build/default/lib/erlware_commons/src/ec_plists.erl:836: Warning: erlang:get_stacktrace/0: deprecated; use the new try/catch syntax for retrieving the stack backtrace
root@cbe94990559b:/usr/src/rebar3-src# echo $?
1
root@cbe94990559b:/usr/src/rebar3-src# erl +V
Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 10.0
root@cbe94990559b:/usr/src/rebar3-src# erl 
Erlang/OTP 21 [RELEASE CANDIDATE 1] [erts-10.0] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]

Eshell V10.0  (abort with ^G)
1> uptime().
9 seconds
ok
2> erlang:system_info(otp_release).       
"21"
3> 
@c0b
Copy link
Author

c0b commented May 2, 2018

see the OTP 21 Release Candidate 1 Release Notes
http://erlang.org/pipermail/erlang-questions/2018-May/095333.html

Compiler:

* erlang:get_stacktrace/0 deprecated to be replaced with try ...
  catch C:R:Stacktrace -> ...

@fenollp
Copy link
Contributor

fenollp commented May 2, 2018

@ferd
Copy link
Collaborator

ferd commented May 3, 2018

Yeah, I had prepared for unicode strings already, but missed that one. I don't know when I'll have time to tackle all the deps. cth_readable may be somewhat broken as well with the new surprise logging API that I never have seen a pull request for in the OTP repo.

@ferd
Copy link
Collaborator

ferd commented May 3, 2018

Fixed in #1773

@ferd ferd closed this as completed in #1773 May 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants