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

Requires recompilation for Erlang/OTP 25 compiler #14

Open
CJRChang opened this issue Jun 18, 2022 · 4 comments
Open

Requires recompilation for Erlang/OTP 25 compiler #14

CJRChang opened this issue Jun 18, 2022 · 4 comments
Assignees
Labels

Comments

@CJRChang
Copy link

Compiling with unicode_util_compat (0.7.0) dependency on Erlang/OTP 25 throws:

=ERROR REPORT==== 18-Jun-2022::12:33:22.907719 ===
beam/beam_load.c(551): Error loading function rebar3:parse_args/1: op put_tuple u x:
  please re-compile this module with an Erlang/OTP 25 compiler


escript: exception error: undefined function rebar3:main/1
  in function  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 :unicode_util_compat, "/<path_to_rebar3>/rebar3 bare compile --paths /<project>/_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile unicode_util_compat", update it with "mix deps.update unicode_util_compat" or clean it with "mix deps.clean unicode_util_compat"

New release needs to be generated for compatibility.

@cgarvis
Copy link

cgarvis commented Aug 24, 2022

Ended up fixing this by running mix local.rebar then mix deps.compile

@epinault
Copy link

that does not fix it for us in building a container . @benoitc we don t see any error at all . Using erlang25.2.0-alpine and all we see is

** (Mix) Could not compile dependency :unicode_util_compat, "/<path_to_rebar3>/rebar3 bare compile --paths //_build/dev/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile unicode_util_compat", update it with "mix deps.update unicode_util_compat" or clean it with "mix deps.clean unicode_util_compat"

@benoitc
Copy link
Owner

benoitc commented Jul 7, 2023

This dependency should be removed in new versions. Looking.

@benoitc benoitc self-assigned this Jul 7, 2023
@benoitc benoitc added the bug label Jul 7, 2023
@paulbhartzog-tti
Copy link

paulbhartzog-tti commented Oct 2, 2023

As of 2023-10-02 this is still an issue: cannot compile, etc.

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

5 participants