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

Bug 651172

Summary: net-misc/curl-7.59.0 with dev-libs/libressl-2.7.0 /.../lib/vtls/openssl.c:121:22: error: static declaration of ‘OpenSSL_version_num’ follows non-static declaration
Product: Gentoo Linux Reporter: Quentin Retornaz <gentoo>
Component: Current packagesAssignee: Anthony Basile <blueness>
Status: RESOLVED FIXED    
Severity: normal CC: kfm, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 561854, 651228    
Attachments: net-misc/curl-7.59.0 build log
net-misc/curl-7.59.0 build environment
net-misc/curl-7.59.0 temp directory

Description Quentin Retornaz 2018-03-22 17:05:02 UTC
dev-libs/libressl-2.7.0 is breaking net-misc/curl-7.59.0

Current /etc/portage/make.profile symlink:
  default/linux/amd64/17.0/no-multilib

gcc-config:
x86_64-pc-linux-gnu-7.3.0

emerge -qpv net-misc/curl
[ebuild   R   ] net-misc/curl-7.59.0  USE="idn ipv6 ssl -adns -brotli -http2 -kerberos -ldap -metalink -rtmp -samba -ssh -static-libs {-test} -threads" CURL_SSL="libressl -axtls -gnutls -mbedtls -nss -openssl (-winssl)"
Comment 1 Quentin Retornaz 2018-03-22 17:06:05 UTC
Created attachment 524908 [details]
net-misc/curl-7.59.0 build log
Comment 2 Quentin Retornaz 2018-03-22 17:07:04 UTC
Created attachment 524910 [details]
net-misc/curl-7.59.0 build environment
Comment 3 Quentin Retornaz 2018-03-22 17:10:02 UTC
Created attachment 524914 [details]
net-misc/curl-7.59.0 temp directory
Comment 4 Toralf Förster gentoo-dev 2018-03-22 17:57:10 UTC
*** Bug 651178 has been marked as a duplicate of this bug. ***
Comment 6 Anthony Basile gentoo-dev 2018-03-24 11:14:07 UTC
All bug reporters, can you please test against dev-libs/libressl-2.7.1
Comment 7 kfm 2018-04-01 21:30:54 UTC
I tested curl-7.59.0 against libressl-2.7.2 and the issue stands.
Comment 8 Anthony Basile gentoo-dev 2018-04-01 22:29:55 UTC
(In reply to Kerin Millar from comment #7)
> I tested curl-7.59.0 against libressl-2.7.2 and the issue stands.

Thanks for testing.  Its an api change so I don't expect the problem to go away, but the testing is still appreciated.
Comment 9 Larry the Git Cow gentoo-dev 2018-04-18 21:42:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=850b3f95dcf1417854d77e26303c0ed0ce519e9f

commit 850b3f95dcf1417854d77e26303c0ed0ce519e9f
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2018-04-18 21:41:30 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2018-04-18 21:42:18 +0000

    net-misc/curl: compatibility patch for LibreSSL
    
    This patch fixes building with dev-libs/libressl-2.7.x. Patch was pulled
    from upstream Git and should be included in the next 7.60.0 release.
    
    Closes: https://bugs.gentoo.org/651172
    Package-Manager: Portage-2.3.29, Repoman-2.3.9

 net-misc/curl/curl-7.59.0.ebuild                   |  2 +
 .../files/curl-7.59.0-libressl-compatibility.patch | 70 ++++++++++++++++++++++
 2 files changed, 72 insertions(+)