libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I/var/tmp/portage/net-misc/curl-7.72.0/work/curl-7.72.0/include -I../lib -I/var/tmp/portage/net-misc/curl-7.72.0/work/curl-7.72.0/lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Werror-implicit-function-declaration -c /var/tmp/portage/net-misc/curl-7.72.0/work/curl-7.72.0/lib/vtls/openssl.c -fPIC -DPIC -o vtls/.libs/libcurl_la-openssl.o /var/tmp/portage/net-misc/curl-7.72.0/work/curl-7.72.0/lib/vtls/openssl.c: In function ‘ossl_connect_step1’: /var/tmp/portage/net-misc/curl-7.72.0/work/curl-7.72.0/lib/vtls/openssl.c:2802:9: error: implicit declaration of function ‘SSL_CTX_set_srp_username’; did you mean ‘SSL_CTX_set_ssl_version’? [-Werror=implicit-function-declaration] 2802 | if(!SSL_CTX_set_srp_username(backend->ctx, ssl_username)) { | ^~~~~~~~~~~~~~~~~~~~~~~~ | SSL_CTX_set_ssl_version ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_plasma-libressl-20200902-180737 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.8 (fallback) [3] python2.7 (fallback) timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Wed Sep 2 09:05:32 PM UTC 2020 /var/db/repos/libressl Tue Sep 1 07:07:28 PM UTC 2020 emerge -qpvO net-misc/curl [ebuild U ] net-misc/curl-7.72.0 [7.71.1] USE="gnutls%* http2 imap ipv6 ldap* libressl%* metalink* openssl%* progress-meter rtmp* ssl tftp -adns -alt-svc -brotli -ftp* -gopher -idn -kerberos -mbedtls% (-nghttp3) -nss% -pop3* -quiche -samba -smtp* -ssh -static-libs -telnet -test -threads (-winssl)" ABI_X86="(64) -32 (-x32)" CURL_SSL="libressl* -gnutls -mbedtls -nss -openssl* (-winssl)"
Created attachment 658114 [details] emerge-info.txt
Created attachment 658116 [details] emerge-history.txt
Created attachment 658118 [details] environment
Created attachment 658120 [details] etc.portage.tbz2
Created attachment 658122 [details] logs.tbz2
Created attachment 658124 [details] net-misc:curl-7.72.0:20200902-221003.log
Created attachment 658126 [details] temp.tbz2
net-misc/curl-7.72.0 is no longer in Gentoo and net-misc/curl-7.87.0-r2 appears to build fine with clang-16 and gcc-12.
(In reply to Peter Levine from comment #8) > net-misc/curl-7.72.0 is no longer in Gentoo and net-misc/curl-7.87.0-r2 > appears to build fine with clang-16 and gcc-12. Can't repro on modern cURL and OpenSSL. Suspect this has been fixed upstream. Closing. If it's broken when built against LibreSSL, well... it's no longer supported in ::gentoo and users should migrate to OpenSSL. Feel to raise a bug upstream if you're impacted!