Skip to content

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

Open
@evetion

Description

@evetion

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions