In file included from crypto.c:134:0: openssl-compat.h: In function 'int EVP_PKEY_up_ref(EVP_PKEY*)': openssl-compat.h:5:19: error: 'int EVP_PKEY_up_ref(EVP_PKEY*)' was declared 'extern' and later 'static' [-fpermissive] static inline int EVP_PKEY_up_ref(EVP_PKEY *pkey) ^~~~~~~~~~~~~~~ In file included from /usr/include/openssl/hmac.h:67: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] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpv app-backup/bacula [ebuild N ] app-backup/bacula-9.0.6-r3 USE="acl ipv6 libressl readline sqlite ssl -X -bacula-clientonly -bacula-nodir -bacula-nosd -examples -logwatch -mysql -postgres -qt5 -static -tcpd -vim-syntax"
Created attachment 530900 [details] emerge-info.txt
Created attachment 530902 [details] app-backup:bacula-9.0.6-r3:20180511-183545.log
Created attachment 530904 [details] emerge-history.txt
Created attachment 530906 [details] environment
Created attachment 530908 [details] etc.portage.tbz2
Created attachment 530910 [details] logs.tbz2
Created attachment 530912 [details] temp.tbz2
Compiles cleanly with <libressl-2.7. So the problem will come up with the comint libressl-2.7 which now provides the OpenSSL-1.1 API.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75ad47ec2124ff3e8d4ddd010e89b65958b3a4d9 commit 75ad47ec2124ff3e8d4ddd010e89b65958b3a4d9 Author: Thomas Beierlein <tomjbe@gentoo.org> AuthorDate: 2018-08-05 07:45:12 +0000 Commit: Thomas Beierlein <tomjbe@gentoo.org> CommitDate: 2018-08-05 07:46:29 +0000 app-backup/bacula: Add patch to work with >=dev-libs/libressl-2.7 Apply different patches according to dev-libs/libressl version (<2.7 and >=2.7) installed. Reported-by: Toralf Förster <toralf@gentoo.org> Closes: https://bugs.gentoo.org/655520 Package-Manager: Portage-2.3.44, Repoman-2.3.10 app-backup/bacula/bacula-9.0.6-r3.ebuild | 8 +++++++- ...ula-9.0.6-libressl.patch => bacula-9.0.6-libressl26.patch} | 0 app-backup/bacula/files/9.0.6/bacula-9.0.6-libressl27.patch | 11 +++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-)