Skip to content
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

Integration tests using the gcc compiler mostly fail on MacOS #24885

Open
lukstafi opened this issue Dec 2, 2023 · 1 comment
Open

Integration tests using the gcc compiler mostly fail on MacOS #24885

lukstafi opened this issue Dec 2, 2023 · 1 comment

Comments

@lukstafi
Copy link
Contributor

lukstafi commented Dec 2, 2023

Example of a failed run.
Example of a successful run.

According to "the internet", the problem on a particular MacOS system can be fixed by installing the XCode commandline tools: xcode-select --install. I have not verified this since I cannot reproduce the problem.

For me, currently almost all runs fail (I'd guess 99%); a few weeks ago, it felt like ~ 50% runs were failing.

Error message:

# /opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13/include-fixed/stdio.h:78:10: fatal error: _stdio.h: No such file or directory
#    78 | #include <_stdio.h>
#       |          ^~~~~~~~~~
@lukstafi
Copy link
Contributor Author

Ah! Could this be ocaml/opam#601 (comment) "On macOS having a gcc or binutils install that overrides xcode tools"?

( ocaml/opam#4837, ocaml/opam#4912, ocaml/opam#3650, ocaml/opam#5783 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant