-
Notifications
You must be signed in to change notification settings - Fork 8
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
Test fails building from source on macOS 12.5, M1 #7
Comments
Since we do not replicate this error with macOS x86-64 in #5 (comment), it makes me wonder if it is specific to M1. |
@keynmol reports that the example app is hanging on M1 /shrug |
A data point in the hope that it might help others. I did a fresh clone of 'main', commit 8dbf686, into a newly created empty directory on
The link succeeded but I got a warning for the Apple X86_64 directory I ran "test" and got 2 failing tests and one successful (probably the enclosing test). I ran "example/run" . It linked and executed, giving one Exception "curl_easy_setop: 1" So no hang here, for which I am grateful. If this is working on macOS X86_64, perhaps the short-to-midterm is to say on |
According to the curl docs
https://curl.se/libcurl/c/libcurl-errors.html This suggests to me that the error is happening here: http4s-curl/curl/src/main/scala/org/http4s/curl/CurlClient.scala Lines 170 to 176 in 8dbf686
I cannot imagine how that would be going wrong. The "unsupported protocol" suggests to me that somehow the Or, perhaps your curl is built without SSL support and does not support |
Execution seems to get to here, with httpVersion as 1.1.
To shake the trees, I made sure that I was using the brew I am done with this for the day. I may try adding the "-v" verbose flag to Yeah, agreed in spades, I ought to be able to let this go... Sorry for the noise. |
A data point: On my M1 system, both the brew (executed directly from the brew bin) and the So if the build.sbt ever gets more cycles, there needs to be an architecture check (drat) and only M1 is snappy but the more time I try to do development on it, the less I like it. |
For historical interest:
When I clone from source, build, and run "sbt test" I get two
instances of the error
curl_easy_setop: 1
, one for 'get' and one for 'put'.This was several recursion levels deep from the work I was trying to
get done, so I report it only in case the information may help others.
The text was updated successfully, but these errors were encountered: