(...) checking for netdb.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for working NI_WITHSCOPEID... no checking how to set a socket into non-blocking mode... fcntl O_NONBLOCK checking for perl... /usr/bin/perl checking for gnroff... no checking for nroff... /usr/bin/nroff checking how to use *nroff to get plain text from man pages... -man checking whether to enable the threaded resolver... yes checking whether to use POSIX threads for threaded resolver... no configure: error: Threaded resolver enabled but no thread library found
Created attachment 489218 [details] config.log.tgz
Created attachment 489220 [details] build.log
See also: https://github.com/curl/curl/issues/1784
Created attachment 489226 [details, diff] patch fixing threaded-resolver build error with this patch dropped into /etc/portage/patches/net-misc/curl-7.55.1 it builds fine without ares.
Tried the patch in comment 4, but didn't work for me. Is this gcc-7.1 related?
(In reply to Robert Crawford from comment #5) > Tried the patch in comment 4, but didn't work for me. Is this gcc-7.1 > related? I don't think so. I'm on GCC 6.4.0 and I have the same issue.
(In reply to Robert Crawford from comment #5) > Tried the patch in comment 4, but didn't work for me. The patch works, btw. Is it actually applied? When you emerge, you should see this: >>> Preparing source in /var/tmp/portage/net-misc/curl-7.55.1/work/curl-7.55.1 ... * Applying curl-7.30.0-prefix.patch ... [ ok ] * Applying curl-respect-cflags-3.patch ... [ ok ] * Applying curl-fix-gnutls-nettle.patch ... [ ok ] * Applying enable-threaded-resolver.diff ... [ ok ] * User patches applied. If you don't see the last two lines, then you didn't copy the patch to the correct location. It needs to be: /etc/portage/patches/net-misc/curl-7.55.1/enable-threaded-resolver.diff And have the correct permissions too. So it's best to do a "chmod +r enable-threaded-resolver.diff" first.
The patch looks fine.
Sorry- I just made a stupid mistake, and put the patch in the wrong place. Forgot to make a curl-7.55.1 directory in /net-misc. patch worked perfect- Thanks guys!
*** Bug 628064 has been marked as a duplicate of this bug. ***
*** Bug 628072 has been marked as a duplicate of this bug. ***
Patch worked for me as well.
okay i added this without a rev bump. please tests and reopen this bug if its still a problem. it works for me.