-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
libcurl/7.80.0: configure for x86_64-w64-mingw32 fails #13811
Comments
It might be a regression coming from a typo in #12956. Could you try to replace |
Could you try #13813 please? |
I'd love to, but how to I address that particular commit of the recipe from my consumer recipe? |
I've tried changing configure.ac manually. It works! |
It doesn't quite work. Downloaded the new recipe from your branch and used it locally with i686-w64-mingw32. configure.log from failed attempt with conan:
successful attempt with manually running configure:
It appears that the regular configure script searches, and finds, gethostbyname in ws2_32. In the failed conan attempt is see no In the attempt to find gethostbyname the conan configure script does indeed try to link with ws2_32, but still fails to find the symbol:
Here's the same gcc command from config.log for the successful manual attempt:
|
Additional info: the configure script will only check for gethostbyname specifically in ws2_32 if it finds windows.h. The failed conan attempt says Here's the failing check:
My suspicion falls on |
Yup that was it. In the recipe
should be....
moving |
I'll update PR with this fix |
Description
Configure script fails with a very strange error message:
If I however download the sources and run the exact same configure command (with CC, CXX...env variables set-up) manually it works flawless.
It worked without changes a few weeks ago.
Package and Environment Details
libcurl/7.80.0
WSL ubuntu 20.04
mingw64 11.2.0
Conan 1.52.0
Conan profile
build profile:
host profile:
x86_64-w64-mingw32/0.0.2 package recipe:
Steps to reproduce
conan install -r conancenter foobar/0.1.0@ -pr:b=default -pr:h=default
Logs
configure output from working manual run:
configure output from bad conan run:
The text was updated successfully, but these errors were encountered: