-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
opensaml 2.6.1 & shibboleth-sp 2.6.1 #20723
Conversation
The I feel like people are going to start dreading my PRs because I most frequently file them in response to CVE disclosures these days 😅. |
What's the failure? |
It reinstalls |
Doesn't seem to happen on test-bot … |
And note here:
I didn't abort. It just stopped.
No. I already have |
Have you tried uninstalling curl first? |
Yeah, that works fine if you do it that way. But if I remove |
What if you also pass --build-bottle to the curl install with the options? |
It could be simply that # HTTP/2 support requires OpenSSL 1.0.2+ or LibreSSL 2.1.3+ for ALPN Support
# which is currently not supported by Secure Transport (DarwinSSL).
if MacOS.version < :mountain_lion || build.with?("nghttp2")
depends_on "openssl"
else
option "with-openssl", "Build with OpenSSL instead of Secure Transport"
depends_on "openssl" => :optional
end
I'll check. One sec. |
No change:
|
Does it go away if you remove --with-nghttp2 ? |
Seems
followed by
Heh, didn't see this before my comment. We had the same thought, apparently. |
Try
|
I basically did a lazier/less complete version of your suggestion locally, heh. It looks like you do have to explicitly pass diff --git a/Formula/curl.rb b/Formula/curl.rb
index dd78b45d27..c1639a9eaa 100644
--- a/Formula/curl.rb
+++ b/Formula/curl.rb
@@ -28,6 +28,7 @@ class Curl < Formula
option "with-gssapi", "Build with GSSAPI/Kerberos authentication support."
option "with-libmetalink", "Build with libmetalink support."
option "with-nghttp2", "Build with HTTP/2 support (requires OpenSSL)"
+ option "with-openssl", "Build with OpenSSL instead of Secure Transport" if MacOS.version > :mountain_lion
deprecated_option "with-rtmp" => "with-rtmpdump"
deprecated_option "with-ssh" => "with-libssh2"
@@ -35,10 +36,9 @@ class Curl < Formula
# HTTP/2 support requires OpenSSL 1.0.2+ or LibreSSL 2.1.3+ for ALPN Support
# which is currently not supported by Secure Transport (DarwinSSL).
- if MacOS.version < :mountain_lion || build.with?("nghttp2")
+ if MacOS.version < :mountain_lion || build.with?("nghttp2") || build.with?("openssl")
depends_on "openssl"
else
- option "with-openssl", "Build with OpenSSL instead of Secure Transport"
depends_on "openssl" => :optional
end
|
Yeah, unsurprisingly given they are effectively the same idea, your tweak also requires an explicit passing of |
My guess is if you only pass --with-nghttp2 the depends_on "curl" => "with-openssl" will still trigger a recompile but no endless loop. |
Will check that explicitly now. Fun evening for my CPU 🙈. |
Your guess is correct. |
I assume it's the same behavior for yours and mine? |
Aye. |
I'm thinking no need to make any changes at this point since #13133 already covers this horror show. |
Yeah, personally I'd be happy here to merge this & see how it goes on user reports. There's ~78k IOR analytic hits for "vanilla" curl & only ~8k IOR hits for |
🙈 🙉 🤕 🔒 |
Ta ❤️. What fun this was to troubleshoot, heh. |
is the 😈 |
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install <formula>
)?So, umm, I tried to build this one from source locally, and... I literally can't. Homebrew has an interesting failure point going on here.
Rinse and repeat.