Closed salvogiangri closed 5 months ago
The build failure can not be reproduced in CI. The full build log in macos 13 can be found here https://github.com/nmeum/android-tools/actions/runs/6147234880
Please make sure openssl is not installed. It conflicts with boringssl headers.
Unfortunately I can't test myself as I do have openssl installed but it is required by some packages installed in my system:
Error: Refusing to uninstall /opt/homebrew/Cellar/openssl@3/3.1.2
because it is required by ffmpeg, gnutls, libevent, pillow, python@3.11, srt, tcl-tk and unbound, which are currently installed.
Would be great if someone else could test this out.
Could you open an discussion in https://github.com/orgs/Homebrew/discussions ? They may provide some info. This seems to happen with macos only. I can not reproduce the issue in Linux or Windows systems (both with gcc or clang).
One quick workaround would be to rename the openssl include directories in system. In CI, I forcefully remove the openssl include directories.
Another workaround could be from Homebrew side - splitting the openssl package into binaries and headers. But that may cause issue in other projects.
FYI: android-tools builds just fine in Nixpkgs. This must be a brew or whatever issue.
Closing as the issue is not caused by this project directly.
Facing same issue
The following error occurs when trying to build the tools macOS Ventura 13.5.2, my device is a MacBook Pro 2021 with M1 Pro (Apple Silicon).
CMake output: