-
Notifications
You must be signed in to change notification settings - Fork 521
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
OTP-28 readiness #2936
Comments
I also checked the changelog stating new compiler errors are emitted with suggestions on how to fix things, and they compose nicely with our recent richer output:
|
Hello! As you may have seen the are working on some archive improvements in erlang/otp#9386. This PR changes how escript archives work quite a bit and we have found that it break rebar3 a lot. What the PR does that breaks rebar3 is this:
The first two are easy enough to work around and only require small patches to rebar3, if any at all. But the last one turned out to be quite hard has various parts of rebar3 purges+deletes and mock/unmocks code within the archive, expecting it to be loaded again upon usage. To fix this, we were thinking of adding an So, we were wondering if you had any ideas about what could be done to make things easier for rebar3? We want to make things as easy as possibly for you, while also making things simpler/faster on our side. I'm posting this in this thread as at first we aimed to have this in Erlang/OTP 28, but given how much it effects rebar3 I think we may have to postpone it. |
Most of our path handling and reloading has been isolated in the It contains only 3 calls:
the then there's maybe the rebar3 shell, which like usual does some weird hacky magic. In general, if the path loading is properly constrained within Plugins are an unknown though, I have no idea what they respect or not. |
We did get a bit further by fixing some things in Either we did not catch all the places in rebar_paths that we needed to, or there are more that needs to be fixed. We'll make another attempt att fixing things, only focusing on |
Huh oh yeah there's some stuff in there too... rebar3/apps/rebar/src/rebar_utils.erl Lines 825 to 891 in 9311637
I think We do have trailing usages of I think that based on the doc, |
oh god I've just noticed I ran the issue's command is We're OTP-28 ready, aside from the path issues the OTP team is working on. @garazdawi on Tuesday the 4th, we're having the build and packaging meeting on the EEF slack if someone from the OTP team wants to chat about it there. Otherwise if there's any sort of setup that reproduces issues in there maybe I can help track the weirdness in some ways |
Good news: the compiler works and all CT tests pass
Bad news: we got some Dialyzer fixing to do.
Here's the error log from running on OTP-28-rc1:
So far our list of items to fix:
Dialyzer in erlware_commonserlware_commons needs a new release and to be updatedDialyzer in relxrelx needs a new release and to be updatedThe text was updated successfully, but these errors were encountered: