Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 739850

Summary: net-misc/curl-7.72.0: build fails, missing SSL_CTX_set_srp_password etc
Product: Gentoo Linux Reporter: m1027 <m1027>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED OBSOLETE    
Severity: normal CC: roehner, sam, sandino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description m1027 2020-09-01 07:48:33 UTC
net-misc/curl-7.72.0: build fails, 2 symbols missing:

The relevant part from the build error:

/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]

/var/tmp/portage/net-misc/curl-7.72.0/work/curl-7.72.0/lib/vtls/openssl.c:2806:9: error: implicit declaration of function 'SSL_CTX_set_srp_password'; did you mean 'SSL_CTX_set_ssl_version'? [-Werror=implicit-function-declaration]


Reproducible: Always
Comment 1 m1027 2020-09-01 07:49:29 UTC
Created attachment 657710 [details]
build log
Comment 2 Martin Filo 2020-09-01 19:37:07 UTC
upstream bug 5865
Comment 3 Martin Filo 2020-09-01 20:06:47 UTC
see https://github.com/curl/curl/issues/5865
Comment 4 m1027 2020-10-04 13:08:10 UTC
I managed to emerge curl (against libressl) when using these USE settings:

net-misc/curl libressl -gnutls curl_ssl: libressl -openssl -gnutls

I did not investigate it further but I believe disabling gnutls for both the USE flag and curl_ssl flag helped out.

WFM.
Comment 5 m1027 2021-02-04 13:55:21 UTC
Obsolete. Version not in portage anymore.