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
[macOS] opam
2.1.5 fails to build: sed: opam.install: No such file or directory
make: *** [processed-opam.install] Error 1
#5770
Comments
what does |
@kit-ty-kate This is on a PowerPC machine:
This is on aarch64 with Sonoma:
I build |
on PPC, the error comes Do you also get the same error on macOS/arm64 ? It works just fine for me. I’m not seeing any logs refering to arm64 in the link above |
@kit-ty-kate The log in https://trac.macports.org/ticket/68586 was from Sonoma (arm64), but here is the new one (same outcome): |
I'm experiencing the same issue on macOs (arm64) when running I tested building 2.2.0~alpha3 and it works fine. |
@modlfo Thank you for the info. Good to know it is not happening only to us in Macports. (I do have OCaml available on both machines where |
I found the reasons for this issue. The first one is that on 2.1.5 we try to detect if dune supports The second one is that for some reason we do not build dune locally when using We’ll try to fix those two issues in the coming days. |
In the meantime simply removing |
@kit-ty-kate I tried deactivating
|
Looks like these things should be provided if missing. See: macports/macports-ports@ce4020d#commitcomment-71571495 And git/git@5ff01b1 |
that’s a dune issue. Could you open a ticket at https://github.com/ocaml/dune/issues? |
It has been fixed in Dune quite some time ago: ocaml/dune#6515 (I recalled that after I commented about the error – it looked vaguely familiar and I looked for issues mentioning it with Dune repo.) |
@kit-ty-kate Could you please say what is the status of this? Will you merge a PR if I backport a fix from UPD. Ah, it is not possible to fix it here, since you simply pull |
The link, however, points to an early version which did not work. Currently upstream has: https://github.com/ocaml/dune/blob/1bff4990a3db7ae1876a2e9220ee0701fb762ff2/src/fsevents/fsevents_stubs.c |
@kit-ty-kate I actually made it work.
|
@kit-ty-kate Thank you very much! P. S. Right now away from my testing hardware, will be back in a week. |
opam 2.1.6 has been released. I believe everything should be fixed so I'm going to close this. If you're still seeing issues with the new release please feel free to reopen. Thanks for the report |
Unable to build
opam
2.1.5 on macOS:Tested on:
macOS 14.2.1 / arm64 / Apple clang 15
macOS 10.6 / ppc / gcc 13.2.0
Versions used:
ocaml
4.14.1dune
3.12.1See also: https://trac.macports.org/ticket/68586
The text was updated successfully, but these errors were encountered: