Closed Explosion-Scratch closed 3 months ago
Building from the source is also failing:
Key error:
/Users/me/Documents/mydir/cli/curl/curl_impersonate_build/curl-impersonate/build/boringssl/crypto/x509/t_x509.c:321:18: error: variable 'l' set but not used [-Werror,-Wunused-but-set-variable]
int ret = 0, l, i;
^
1 error generated.
[198/424] Building C object crypto/CMakeFiles/crypto.dir/curve25519/curve25519.c.o
ninja: build stopped: subcommand failed.
gmake: *** [Makefile:268: /Users/me/Documents/mydir/curl-impersonate/build/boringssl/build/lib/libssl.a] Error 1
I also tried brew reinstall nss && brew reinstall ca-certificates
, as well as brew reinstall libidn2
(Using force parameters where needed)
The binary seems to fail because it is built for x86 and you are on arm64 (mac m1 or m2).
The build from source seems like an issue that needs to be fixed. There are no automatic builds on m1/m2 so these issues are not detected in advance.
Yeah, I figured because of the have 'arm64', need 'x86_64'
, but Homebrew is showing support for mac Apple Silicon for that dep, so I thought it was likely an issue with this project somehow not selecting the right one
FYI #205 a brew receipt you may try
With #217 merged, curl-impersonate now builds fine on Mac M2. Moreover, libidn2 id not a dependency for the pre-compiled binaries anymore (a new set of binaries will be released in the upcoming days). So I mark this as closed, please reopen if the errors persist.