-
-
Notifications
You must be signed in to change notification settings - Fork 661
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
[4.3.6] Building from source throws an error in typecore.ml #11787
Comments
What OCaml version are you using ( |
If the version of OCaml needs to be locked to a specific version, then that should be part of the Github Actions workflow as well. You can see my failed workflow here: https://github.com/EliteMasterEric/haxe/actions/runs/11301069165 |
We definitely want to support OCaml 5 in general, I think it's only going to require a few changes to make Haxe 4 compatible with it. In this case, we have to replace I still haven't managed to get OCaml 5 running locally on my Windows machine, so it's difficult for me to work on this because I don't see the actual failures. |
I haven't managed to get OCaml 5 running natively on Windows either, I ran my build via WSL just to see if I could get it working after I noticed the CI failure. Whether or not Haxe wants to support OCaml 5, it currently does not. Github Actions should be version locked wherever relevant, particularly when mismatched versions can cause builds to completely fail with zero code alterations. I'd notably like Github Actions to work without code alterations as any of these would probably get merged only into the Haxe 5 branch (unless a 4.3.7 version is currently in the works). |
The development branch works fine with OCaml 5 as far as I'm aware, so whatever change we make has to be made on the Haxe 4 branch anyway. I'd prefer to make a change that fixes something over a change that merely avoids the issue (and means we need two different OCaml versions for two different Haxe versions). |
Try pinning extlib to 1.7.9 |
But it's set to |
I checked 4.3.6 build logs vs what Eric is getting, and he's getting 1.8.0 (which is incompatible with 4.3_bugfix?) while 4.3.6 was built with 1.7.9 |
Bug: HaxeFoundation/haxe#11787 Bug: HaxeFoundation/haxe#11575 Closes: https://bugs.gentoo.org/941710 Signed-off-by: Maciej Barć <[email protected]>
I've pinned it to 1.7.9 on the |
I have this error too, just built today. Hm, I'm using ocaml 4.14, maybe I need to upgrade. |
This error occurs when building on both Windows and Linux, and occurs for me both locally and when building via Github Actions, on commit ID 760c0dd, which is the tag of the 4.3.6 stable release.
Since the branch itself has not changed, I believe that this error may be a result of some dependency library not being locked properly.
The text was updated successfully, but these errors were encountered: