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 Apple Silicone (M1) Mac Build Failure #1051

Open
alexbeattie42 opened this issue May 9, 2023 · 1 comment
Open

MacOS Apple Silicone (M1) Mac Build Failure #1051

alexbeattie42 opened this issue May 9, 2023 · 1 comment

Comments

@alexbeattie42
Copy link

Problem

When building with the 0.9.0 release of this library on an Apple Silicone (M1) Mac the following error occurs:

ERROR: /external/rules_foreign_cc/toolchains/BUILD.bazel:192:11: in ninja_tool rule @rules_foreign_cc//toolchains:ninja_tool: 
Traceback (most recent call last):
        File "/external/rules_foreign_cc/foreign_cc/built_tools/ninja_build.bzl", line 16, column 30, in _ninja_tool_impl
                additional_tools = depset(
Error in depset: at index 0 of transitive, got element of type NoneType, want depset
ERROR: /external/rules_foreign_cc/toolchains/BUILD.bazel:192:11: Analysis of target '@rules_foreign_cc//toolchains:ninja_tool' failed

This error is not present in version 0.8.0 of the library. I suspect the issue was introduce by this PR or this PR.

Solution

Revert to version 0.8.0 until a fix is determined.

@adamiBs
Copy link

adamiBs commented Jul 25, 2024

Experiencing the same issue while using the cmake rule. While running on M2 Mac

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

2 participants