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

code:lib_dir/2 is deprecated; this functionality will be removed in a future release #2870

Closed
getong opened this issue Mar 23, 2024 · 4 comments

Comments

@getong
Copy link
Contributor

getong commented Mar 23, 2024

see erlang/docker-erlang-otp#466

#8 8.899  744 \x{2502}              ErtsApp = code:lib_dir(erts, ebin),
#8 8.899      \x{2502}                        \x{2570}\x{2500}\x{2500} code:lib_dir/2 is deprecated; this functionality will be removed in a future release
#8 9.080 escript: exception throw: rebar_abort
#8 9.080   in function  rebar_utils:abort/0 (apps/rebar/src/rebar_utils.erl, line 718)
#8 9.080   in call from rebar_parallel:parallel_dispatch/4 (apps/rebar/src/rebar_parallel.erl, line 170)
#8 9.080   in call from rebar_parallel:parallel_dispatch/4 (apps/rebar/src/rebar_parallel.erl, line 174)
#8 9.080   in call from rebar_compiler:run/4 (apps/rebar/src/rebar_compiler.erl, line 261)
#8 9.080   in call from lists:foreach_1/2 (lists.erl, line 2314)
#8 9.080   in call from rebar_prv_compile:'-build_rebar3_apps/3-lc$^0/1-0-'/3 (apps/rebar/src/rebar_prv_compile.erl, line 374)
#8 9.080   in call from rebar_prv_compile:build_rebar3_apps/3 (apps/rebar/src/rebar_prv_compile.erl, line 389)
#8 9.080   in call from rebar_prv_compile:run_compilers/4 (apps/rebar/src/rebar_prv_compile.erl, line 192)
@tsloughter
Copy link
Collaborator

Resolved in #2866 but I guess we need a release.

@getong
Copy link
Contributor Author

getong commented Mar 23, 2024

Yes, need a new tag

@ferd
Copy link
Collaborator

ferd commented Mar 25, 2024

The new tag is waiting on:

  • erlware_commons getting one
  • relx also getting one

@getong
Copy link
Contributor Author

getong commented Mar 25, 2024

Wait for it, take it easy.

@ferd ferd closed this as completed Apr 10, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants