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

macOS fails to run BinaryBuilder recipes in Docker with Invalid argument errors #389

Open
evetion opened this issue Sep 19, 2024 · 0 comments
Labels
docker 🐳 Issues related to the use of Docker macOS 🍎 upstream ⬆️

Comments

@evetion
Copy link

evetion commented Sep 19, 2024

This is likely to be a bug in Docker 4.32+ (docker/for-mac#7413). Apart from downgrading, changing the file sharing implementation from VirtioFS to gRPC Fuse in the General Docker Settings worked for me.

When you encounter this bug, you'd probably get something like the following in your logs:

[21:08:36] Re-run cmake no build system arguments
[21:08:36] -- The CXX compiler identification is unknown
...
The C++ compiler
[21:08:37] 
[21:08:37]     "/opt/bin/aarch64-apple-darwin20-libgfortran5-cxx11-llvm_version+17/aarch64-apple-darwin20-clang++"
[21:08:37] 
[21:08:37]   is not able to compile a simple test program.
...
[21:08:37]     /opt/bin/aarch64-apple-darwin20-libgfortran5-cxx11-llvm_version+17/aarch64-apple-darwin20-clang++: line 5: /opt/x86_64-linux-musl/bin/clang++: Invalid argument
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker 🐳 Issues related to the use of Docker macOS 🍎 upstream ⬆️
Projects
None yet
Development

No branches or pull requests

2 participants