-
Notifications
You must be signed in to change notification settings - Fork 181
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
CURL fails to build on macOS 10.15.2 #122
Comments
Hmm, I've also been building CURL on macOS 10.15 successfully. I'll try reproducing this when I update my Mac. |
Update: I tried to build CURL from submodule to investigate the issue:
In the given folder I cloned the hunterized curl repository, which should be exactly the same code that is checked out by hunter. As I remove the reference to the submodule and let hunter pull the sources, the build fails again. |
Interesting. Do you have remote cache download enabled? If so, try disabling that. |
Actually I'm not sure. I think it is not enabled by default, is it? |
@jothepro I'm not 100% sure but I think you run in the same issue like #147 I saw that you are using
but there is "something" different! I absolutely don't know what are different but I tried with other "opensource" projects and it works with |
@jothepro I found your problem .... As workaround: Why? If you set in
This means, in your example, the C compiler is not verified and To build third-party libs in hunter faster, hunter is save this result in the "cache" file (see in your In my opinion, we should not save any "cmake environment" when it is not successful!
|
or maybe we remove this |
@Bjoe wow thanks for your in-depth explanations! I also figured out after a while that my LANGUAGES definition was the real problem. Not caching the "corrupted" state would have helped me to find the real issue faster I think, so I'd appreciate these changes. |
I'd be okay with @Bjoe's suggestion provided that it doesn't slow down builds considerably. |
Ok let me do this... hopefully I will find a "time slot" .... |
hunter_add_package
/find_package
API used by me in the example is the same as in documentation. [Yes]URL
/SHA1
. [Yes]Here is the log until first error reported by Hunter, option
HUNTER_STATUS_DEBUG
isON
:I've checked that the first error in logs IS NOT
external.build.failed
. [Yes]I'm using the next command line on generate step:
Additional Information
-lsocket
, which does not exist on macOS because socket-interfaces are part oflibc
. This might be a hint that the build is not configured correctly for macOS. Output from CMakeError.log: https://pastebin.com/41JAVN2V7.60.0-p0
) does not help.3.15.5
) does not help.The text was updated successfully, but these errors were encountered: