Summary: | >=sys-apps/ucspi-ssl-0.97 fails compile: fatal error: openssl/ec.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kent Fredric (IRC: kent\n) (RETIRED) <kentnl> |
Component: | Current packages | Assignee: | Alex Efros <powerman-asdf> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=645252 https://github.com/gentoo/gentoo/pull/11177 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
ucspi-ssl-0.99d.ebuild |
Description
Kent Fredric (IRC: kent\n) (RETIRED)
![]() 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(+) |