-
Notifications
You must be signed in to change notification settings - Fork 397
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
THIS LIBRARY IS NOT COMPATIBLE WITH ERLANG/OTP 25 #744
Comments
Getting this as well, which makes our MacOS builds that install via brew (and brew doesn't let you downgrade versions, ugh) unusable Just wanted to echo that I'm running into this too for wasmCloud/wasmcloud-otp#409, and would be happy to help test a fix cc @bitwalker / @mobileoverlord since this issue has been open for a bit |
@brooksmtownsend this is off-topic, but I can recommend using |
@narrowtux Yeah |
similar for me MIX_ENV=prod mix distillery.release output MIX_ENV=prod mix distillery.release
Generated demo app
==> Assembling release..
==> Building release demo:0.1.0 using environment prod
==> Including ERTS 13.0.3 from /usr/lib/erlang/erts-13.0.3
==> Release failed: no match of right hand side value: {:error, :eacces}
(distillery 2.1.1) lib/distillery/releases/assembler.ex:863: Distillery.Releases.Assembler.create_RELEASES/2
(distillery 2.1.1) lib/distillery/releases/assembler.ex:290: Distillery.Releases.Assembler.write_release_scripts/1
(distillery 2.1.1) lib/distillery/releases/assembler.ex:50: Distillery.Releases.Assembler.assemble/1
(distillery 2.1.1) lib/distillery/tasks/release.ex:130: Mix.Tasks.Distillery.Release.do_release/2
(mix 1.13.2) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
(mix 1.13.2) lib/mix/cli.ex:84: Mix.CLI.run_task/2
(elixir 1.13.2) src/elixir_compiler.erl:73: :elixir_compiler.dispatch/4
(elixir 1.13.2) src/elixir_compiler.erl:58: :elixir_compiler.compile/3 |
Also seeing this;
|
+1 here |
+1 |
same, it seems to be due to the changes to the release handler in erlang otp 25. |
Same issue here erlang - 25.0.4 Downgrading is not an option for me as we need the latest version of Elixir
|
+1 |
I have a local fork that works with just this change within Getting the tests to run has been a challenge and required quite a few changes. I had to comment out the cookie tests because I couldn't hit quvic.com from behind a firewall. Also, the "directory with space in name" wouldn't work for me so I just removed it. If I can find the time to run tests across several versions of Elixir & OTP, I'll submit a MR. If someone else submits this fix based on this post, thanks! Tested with Elixir 1.12.3 & 1.13.4 + Erlang 25.0.4. |
This comes from here: bitwalker#744 ,--^----------,--------,-----,-------^--, | ||||||||| `--------' | O `+---------------------------^----------| `\_,-------, _________________________| / XXXXXX /`| / / XXXXXX / `\ / / XXXXXX /\______( / XXXXXX / / XXXXXX / (________( `------' Steven Paul Adams
1561: Switch to a fork that fixes distillery for OTP 25 r=notriddle a=notriddle CC bitwalker/distillery#744 Co-authored-by: Michael Howell <[email protected]>
Using |
@carflynn2009 @MichaelSzer I would recommend simply adding the |
This has fixed the distillery issue for me when upgrading to Elixir 1.15.4 and OTP 26: However, the =CRASH REPORT==== 5-Oct-2023::18:34:46.165601 ===
crasher:
initial call: supervisor_bridge:user_sup/1
pid: <0.3882.0>
registered_name: []
exception error: undefined function 'Elixir.IEx.CLI':start/0
in function user_sup:start_user/3 (user_sup.erl, line 102)
in call from user_sup:init/1 (user_sup.erl, line 51)
in call from supervisor_bridge:init/1 (supervisor_bridge.erl, line 87)
in call from gen_server:init_it/2 (gen_server.erl, line 962)
in call from gen_server:init_it/6 (gen_server.erl, line 917)
ancestors: [kernel_sup,<0.3850.0>] I was able to fix the above by adding
Hope this helps someone in need. |
Has anyone seen this when using remote_console? If I read this right; it seems like
|
@randysecrist I had the same problem, please see above. |
I did try that; and it works great if a full install is available. I am however using the |
@randysecrist did you find a solution? |
@jweinkam no, not when using a base image with only the release + |
@randysecrist
We are attempting to switch to Elixir 1.15.7, but then get error
We too are using |
@jweinkam my intuition tells me this is a problem with the erlang boot file -> I can see that the `Elixir.IEx.CLI' module is included in the release; but erlang crying about it being undefined means that it isn't in the beam path for some reason. I spent a day learning more about releases ; so next step is to go back and try to figure out if I can find where this plugin is broken .. or if I'm going to just script the release myself. This is going to take some time ; i'm on holiday in a bit as well. |
So after a new year rest; and some poking - the problem is not that the module
ref: https://hexdocs.pm/iex/1.15.7/IEx.html#module-the-user-switch-command When I test with
|
fixed this in my fork: bors-ng@578f12b |
Resolves issues booting applications. See: https://github.com/bitwalker/distillery/issues/744\#issuecomment-1926204570
Steps to reproduce
Producing a release using Distillery shows error.
Verbose Logs
Description of issue
The text was updated successfully, but these errors were encountered: