Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655606 - net-dns/pdns-4.1.2 : opensslsigners.cc:80:20: error: void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**) was declared extern and later static [-fpermissive]
Summary: net-dns/pdns-4.1.2 : opensslsigners.cc:80:20: error: void RSA_get0_key(const ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-2.8.0
  Show dependency tree
 
Reported: 2018-05-12 19:21 UTC by Toralf Förster
Modified: 2018-11-21 17:37 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.48 KB, text/plain)
2018-05-12 19:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,255.95 KB, text/plain)
2018-05-12 19:21 UTC, Toralf Förster
Details
environment (environment,100.66 KB, text/plain)
2018-05-12 19:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.93 KB, application/x-bzip)
2018-05-12 19:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,27.00 KB, application/x-bzip)
2018-05-12 19:22 UTC, Toralf Förster
Details
net-dns:pdns-4.1.2:20180512-191041.log (net-dns:pdns-4.1.2:20180512-191041.log,42.96 KB, text/plain)
2018-05-12 19:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.01 KB, application/x-bzip)
2018-05-12 19:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-12 19:21:47 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I.. -pthread  -I../ext/json11 -I../ext/yahttp           -DSYSCONFDIR=\"/etc/powerdns\" -DPKGLIBDIR=\"/usr/lib64/powerdns/pdns\" -DLOCALSTATEDIR=\"/var/run\" -fPIE -DPIE --param ssp-buffer-size=4 -fstack-protector -O2 -pipe -march=native -c -o opensslsigners.o opensslsigners.cc
opensslsigners.cc: In function ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’:
opensslsigners.cc:80:20: error: ‘void RSA_get0_key(const RSA*, const BIGNUM**, const BIGNUM**, const BIGNUM**)’ was declared ‘extern’ and later ‘static’ [-fpermissive]
 static inline void RSA_get0_key(const RSA* rsakey, const BIGNUM** n, const BIGNUM** e, const BIGNUM** d) {
                    ^~~~~~~~~~~~
In file included from opensslsigners.cc:31:0:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib-hardened_libressl_20180506-210133

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv net-dns/pdns
[ebuild  N    ] net-dns/pdns-4.1.2  USE="libressl -botan -debug -doc -geoip -ldap -lua -luajit -mydns -mysql -opendbx -postgres -protobuf -remote -sodium -sqlite -systemd {-test} -tinydns -tools"
Comment 1 Toralf Förster gentoo-dev 2018-05-12 19:21:50 UTC
Created attachment 531118 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-12 19:21:53 UTC
Created attachment 531120 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-12 19:21:56 UTC
Created attachment 531122 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-12 19:21:59 UTC
Created attachment 531124 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-12 19:22:02 UTC
Created attachment 531126 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-12 19:22:05 UTC
Created attachment 531128 [details]
net-dns:pdns-4.1.2:20180512-191041.log
Comment 7 Toralf Förster gentoo-dev 2018-05-12 19:22:08 UTC
Created attachment 531130 [details]
temp.tbz2
Comment 8 Sven Wegener gentoo-dev 2018-05-12 20:01:38 UTC
pdns is just using defined(LIBRESSL_VERSION_NUMBER) to check for OpenSSL 1.1 API compat code, with libressl 2.7 (which supports it) this needs to be adjusted to LIBRESSL_VERSION_NUMBER < 0x2070000fL
Comment 9 Sven Wegener gentoo-dev 2018-11-21 17:37:20 UTC
this should be fixed with the latest pdns release