Created attachment 485618 [details] build.log All versions 0.97 through 0.99 fail, for reasons that I assume are related to newer OpenSSL > portageq match / dev-libs/openssl dev-libs/openssl-1.0.2k 0.97: ./compile sslclient.c In file included from sslclient.c:11:0: ucspissl.h:13:24: fatal error: openssl/ec.h: No such file or directory compilation terminated. make: *** [Makefile:701: sslclient.o] Error 1 0.98b: ./compile sslclient.c cc -march=native -mtune=native -O2 -pipe -c -o remoteinfo6.o remoteinfo6.c cc -march=native -mtune=native -O2 -pipe -c -o timeoutconn6.o timeoutconn6.c rm -f makelib ./compile ssl_ca.c sh print-ar.sh > makelib chmod 755 makelib ./compile ssl_cca.c In file included from sslclient.c:11:0: ucspissl.h:14:24: fatal error: openssl/ec.h: No such file or directory compilation terminated. make: *** [Makefile:703: sslclient.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ssl_ca.c:1:0: ucspissl.h:14:24: fatal error: openssl/ec.h: No such file or directory compilation terminated. make: *** [Makefile:627: ssl_ca.o] Error 1 In file included from ssl_cca.c:1:0: ucspissl.h:14:24: fatal error: openssl/ec.h: No such file or directory compilation terminated. make: *** [Makefile:631: ssl_cca.o] Error 1 0.99: ./compile ssl_cca.c In file included from sslclient.c:11:0: ucspissl.h:14:24: fatal error: openssl/ec.h: No such file or directory compilation terminated. make: *** [Makefile:703: sslclient.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from ssl_ca.c:1:0: ucspissl.h:14:24: fatal error: openssl/ec.h: No such file or directory compilation terminated. make: *** [Makefile:627: ssl_ca.o] Error 1 In file included from ssl_cca.c:1:0: ucspissl.h:14:24: fatal error: openssl/ec.h: No such file or directory compilation terminated.
Show please your USE flags for openssl and try to re-emerge it. I've the same versions and don't have this issue: [ebuild R ] dev-libs/openssl-1.0.2k::gentoo USE="asm sslv3 tls-heartbeat zlib -bindist -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs {-test} -vanilla" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB $ qlist openssl | grep 'ec[.]h' /usr/include/openssl/ec.h
Only disinguishing flag I see is bindist. [ebuild R ] dev-libs/openssl-1.0.2k::gentoo USE="asm bindist sslv3 tls-heartbeat zlib -gmp -kerberos -rfc3779 -sctp -sslv2 -static-libs {-test} -vanilla" CPU_FLAGS_X86="(sse2)" 0 KiB > qlist openssl | grep "ec[.]h" > Which is relevant, look at openssl's.s src_configure code: $(use_ssl !bindist ec) \ Its like, the only place bindist is used. local:bindist:dev-libs/openssl: Disable EC algorithms (as they seem to be patented) -- note: changes the ABI So it seems ucspi-ssl now requires dev-libs/openssl[-bindist]
(In reply to Kent Fredric (IRC: kent\n) from comment #2) > So it seems ucspi-ssl now requires dev-libs/openssl[-bindist] It looks like ucspi-ssl is able to compile with bindist, but this require some extra patching. I'm going to release ucspi-ssl-0.99d with USE=bindist support. It's hard for me to test this change - attempt to `USE=bindist emerge openssl` break a lot of packages, so the best I was able to do is temporary `USE=bindist emerge --nodeps openssl` - but this let me to only test compilation of ucspi-ssl and I didn't tested is it actually works. Can you please test it yourself (I'll attach ebuild now)?
Created attachment 515718 [details] ucspi-ssl-0.99d.ebuild
Fixed in 0.99e (PR https://github.com/gentoo/gentoo/pull/11177), waiting for merge…
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b29a42b07e8af16132a8a59f306727c197960f commit 71b29a42b07e8af16132a8a59f306727c197960f Author: Alex Efros <powerman-asdf@yandex.ru> AuthorDate: 2019-02-28 18:02:37 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2019-05-21 00:27:20 +0000 sys-apps/ucspi-ssl: Version bump to 0.99e Add USE=libressl; EAPI=7. Closes: https://bugs.gentoo.org/678930 Closes: https://bugs.gentoo.org/645252 Closes: https://bugs.gentoo.org/625574 Package-Manager: Portage-2.3.51, Repoman-2.3.11 Signed-off-by: Aleksandr Efros <powerman-asdf@yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/11177 Signed-off-by: Stefan Strogin <steils@gentoo.org> sys-apps/ucspi-ssl/Manifest | 1 + sys-apps/ucspi-ssl/metadata.xml | 3 ++ sys-apps/ucspi-ssl/ucspi-ssl-0.99e.ebuild | 62 +++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+)