-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Try to reproduce opam-repository CI failure on Windows #162
Comments
See #162. Prompted by ocaml/opam-repository#26501.
Hm, my PR #160 fixed a problem in this same environment (opam 2.2 on windows without the old mingw repo). I seem to remember seeing no build errors after I applied that patch, and I've used it as a dependency of another package without issues (or without any obvious ones). However, now when I try to run make in the repository it fails with the same error as in the CI... |
Thanks! This is, however, a different failure from what you fixed in #160, right? Could you perhaps look into what is causing it? Usually this means that a library archive or |
I wonder if the sunset repo and the default opam repo somehow cause different variables for Lines 3 to 9 in d92c8b7
Could you try those and see if you spot anything, like different extensions, different files being generated, final linking steps not being run? |
It's also possible, maybe even likely, that the sunset repo and the standard opam repo cause libuv to self-configure in a different way during its |
Yes, this is a separate issue.
Yes, I'll have a look this evening.
It was built previously with the same (or equivalent) commit, so I'm thinking that maybe I just missed the error previously and assumed that it installed properly. |
I seem to remember that when I checked this when I built last time, it was completely empty or didn't exist. I will double check to confirm.
This seems plausible. I will follow the steps for the verbose build and report back, hopefully I'll find something. The new setup with setup-ocaml v3 is using opam 2.2 which now supports windows natively, so something might be different. |
Hm, this also seems the same as #132? But was reported before opam 2.2. |
Ah, very likely! I was unable to reproduce it at the time in my environment, and it didn't appear in CI. Thank you! |
With the verbose compilation output, I got a lot of compiler errors. I did some research and it lead me to this comment in a libuv issue: libuv/libuv#1421 (comment) My build was failing because in my This would indicate that there is a problem with the |
Hm, that issue I had was in an msys2 environment. When I set up opam with cygwin instead, I get this output from configure:
|
For cygwin, this entry was missing from my PATH (and from PATH in setup-ocaml), which is where
The opam-repository script doesn't even add cygwin's |
To reiterate, for a successful build it is necessary to have these values in
|
Amazing, thank you! I've followed all those issues, let's see what the upstream maintainers say. |
During ocaml/opam-repository#26501, in https://github.com/ocaml/opam-repository/actions/runs/10723880870/job/29738202075?pr=26501:
The build seems to work in Luv's own CI, but maybe it's significant that this is on 5.2.0, or there is another issue.
The text was updated successfully, but these errors were encountered: