-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
lighthouse 2.4.0 #106928
lighthouse 2.4.0 #106928
Conversation
|
Probably a file called |
Will investigate this further |
@terorie, it might help to persuade this to use Homebrew's CC @michaelsproul, since you were looking at #103752. |
Let's re-run without failing fast to get a better look at the error across different systems. My guess is that this should fail on every macOS runner. |
It fails at building on ARM Big Sur too, but with a different error:
I don't think this is an This is usually a consequence of some sort of SDK mismatch, I think. Avoiding vendored |
I remember seeing this C++ error on an unrelated project. Related StackOverflow post: https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th |
I've seen this error quite a lot across different formulae. I haven't quite figured out the cause, however. I believe there isn't a consistent single one. That is, many different things could lead to this particular error, so it's a bit difficult to pin down the exact cause from seeing only this. |
|
@chenrui333 @carlocab fix is here: From 84a8b59e3a759906759378f1e3027b96e80e70c8 Mon Sep 17 00:00:00 2001
From: Richard Patel <[email protected]>
Date: Thu, 4 Aug 2022 02:23:11 +0200
Subject: [PATCH] lighthouse fix
---
Formula/lighthouse.rb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Formula/lighthouse.rb b/Formula/lighthouse.rb
index 5b6739259d5..666cd6506ad 100644
--- a/Formula/lighthouse.rb
+++ b/Formula/lighthouse.rb
@@ -17,6 +17,8 @@ class Lighthouse < Formula
depends_on "cmake" => :build
depends_on "rust" => :build
+ depends_on "protobuf"
+
uses_from_macos "zlib"
on_linux do
@@ -24,6 +26,8 @@ class Lighthouse < Formula
end
def install
+ ENV["PROTOC_NO_VENDOR"] = "1"
+
system "cargo", "install", *std_cargo_args(path: "./lighthouse")
end
--
2.32.1 (Apple Git-133)
|
Great find; thanks, @terorie! I remember looking at the |
Co-authored-by: Carlo Cabrera <[email protected]>
8a49e86
to
f3b6ed8
Compare
🤖 A scheduled task has triggered a merge. |
Created by
brew bump
Created with
brew bump-formula-pr
.