Created attachment 573932 [details] build.log LibreSSL 2.9.1. On LibreSSL 2.8.3 it was fine. x86_64-pc-linux-gnu-gcc -march=skylake -O3 -pipe -pthread -fPIC -I/usr/include/python2.7 -c /var/tmp/portage/dev-python/cryptography-2.6.1/work/cryptography-2.6.1-python2_7/temp.linux-x86_64-2.7/_openssl.c -o /var/tmp/portage/dev-python/cryptography-2.6.1/work/cryptography-2.6.1-python2_7/temp.linux-x86_64-2.7/var/tmp/portage/dev-python/cryptography-2.6.1/work/cryptography-2.6.1-python2_7/temp.linux-x86_64-2.7/_openssl.o -Wconversion -Wno-error=sign-conversion /var/tmp/portage/dev-python/cryptography-2.6.1/work/cryptography-2.6.1-python2_7/temp.linux-x86_64-2.7/_openssl.c:2498:21: error: ‘DTLS_method’ redeclared as different kind of symbol const SSL_METHOD *(*DTLS_method)(void) = NULL; ^~~~~~~~~~~ (...) python2_7/temp.linux-x86_64-2.7/_openssl.c: In function ‘_cffi_f_SSL_set_options’: /var/tmp/portage/dev-python/cryptography-2.6.1/work/cryptography-2.6.1-python2_7/temp.linux-x86_64-2.7/_openssl.c:41380:14: warning: conversion to ‘long int’ from ‘long unsigned int’ may change the sign of the result [-Wsign-conversion] { result = SSL_set_options(x0, x1); } ^~~~~~~~~~~~~~~ /var/tmp/portage/dev-python/cryptography-2.6.1/work/cryptography-2.6.1-python2_7/temp.linux-x86_64-2.7/_openssl.c:41380:14: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
$ emerge -pqv '=dev-python/cryptography-2.6.1::gentoo' [ebuild R ] dev-python/cryptography-2.6.1 USE="libressl -idna -test" PYTHON_TARGETS="python2_7 python3_6 -pypy -pypy3 -python3_5 -python3_7"
*** Bug 684288 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03858797d0f0bfa04e85e92cafc870f1a11a3cbc commit 03858797d0f0bfa04e85e92cafc870f1a11a3cbc Author: Stefan Strogin <stefan.strogin@gmail.com> AuthorDate: 2019-04-24 08:19:07 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2019-04-24 21:03:56 +0000 dev-python/cryptography: add patch for LibreSSL 2.9.1 support Closes: https://bugs.gentoo.org/684234 Closes: https://github.com/gentoo/gentoo/pull/11812 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Stefan Strogin <stefan.strogin@gmail.com> Signed-off-by: Mike Gilbert <floppym@gentoo.org> dev-python/cryptography/cryptography-2.6.1.ebuild | 1 + .../files/cryptography-2.6.1-libressl.patch | 69 ++++++++++++++++++++++ 2 files changed, 70 insertions(+)