Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 797322 - net-libs/ldns-1.7.1 fails with openssl-3.0.0_beta1: dnssec_sign.c:535:30: error: invalid use of incomplete typedef ‘EVP_PKEY’
Summary: net-libs/ldns-1.7.1 fails with openssl-3.0.0_beta1: dnssec_sign.c:535:30: err...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
Depends on:
Blocks: openssl-3.0
  Show dependency tree
Reported: 2021-06-21 10:03 UTC by Vladimir Varlamov
Modified: 2022-05-06 04:00 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (info.txt,5.65 KB, text/plain)
2021-06-21 10:08 UTC, Vladimir Varlamov
build.log (build.log,28.34 KB, text/plain)
2021-06-21 10:09 UTC, Vladimir Varlamov

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Varlamov 2021-06-21 10:03:14 UTC
In file included from /usr/include/openssl/x509.h:37,
                 from /usr/include/openssl/ssl.h:31,
                 from ./ldns/dane.h:30,
                 from ./ldns/ldns.h:98,
                 from /var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c:3:
/usr/include/openssl/dsa.h:113:32: note: declared here
  113 | OSSL_DEPRECATEDIN_3_0 DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen,
      |                                ^~~~~~~~~~~
/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c: In function ‘ldns_pkey_is_ecdsa’:
/var/tmp/portage/net-libs/ldns-1.7.1-r4/work/ldns-1.7.1/dnssec_sign.c:420:26: error: ‘key’ undeclared (first use in this function); did you mean ‘pkey’?

[ebuild   R   *] dev-libs/openssl-3.0.0_beta1:0/3::gentoo  USE="asm zlib -ktls -rfc3779 -sctp -static-libs -test -vanilla" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="(sse2)" 0 KiB

gcc-config -l
 [1] x86_64-pc-linux-gnu-10.2.0
 [2] x86_64-pc-linux-gnu-11.1.0 *

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-21 10:05:26 UTC
Please attach the full build.log, emerge --info, and report this upstream.

(Thanks for reporting this, but please don't use OpenSSL 3.x on a production system yet.)
Comment 2 Vladimir Varlamov 2021-06-21 10:08:39 UTC
Created attachment 717375 [details]
emerge --info
Comment 3 Vladimir Varlamov 2021-06-21 10:09:03 UTC
Created attachment 717378 [details]
Comment 4 Mike Gilbert gentoo-dev 2022-05-06 04:00:23 UTC
It's working with net-libs/ldns-1.8.1.