Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655520 - app-backup/bacula-9.0.6-r3 : openssl-compat.h:5:19: error: int EVP_PKEY_up_ref(EVP_PKEY*) was declared extern and later static [-fpermissive]
Summary: app-backup/bacula-9.0.6-r3 : openssl-compat.h:5:19: error: int EVP_PKEY_up_re...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: libressl-2.8.0
  Show dependency tree
 
Reported: 2018-05-11 18:52 UTC by Toralf Förster
Modified: 2018-08-05 07:47 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.39 KB, text/plain)
2018-05-11 18:52 UTC, Toralf Förster
Details
app-backup:bacula-9.0.6-r3:20180511-183545.log (app-backup:bacula-9.0.6-r3:20180511-183545.log,46.13 KB, text/plain)
2018-05-11 18:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,222.83 KB, text/plain)
2018-05-11 18:52 UTC, Toralf Förster
Details
environment (environment,94.50 KB, text/plain)
2018-05-11 18:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.76 KB, application/x-bzip)
2018-05-11 18:52 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,22.28 KB, application/x-bzip)
2018-05-11 18:52 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.28 KB, application/x-bzip)
2018-05-11 18:52 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-11 18:52:14 UTC
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"
Comment 1 Toralf Förster gentoo-dev 2018-05-11 18:52:17 UTC
Created attachment 530900 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-11 18:52:20 UTC
Created attachment 530902 [details]
app-backup:bacula-9.0.6-r3:20180511-183545.log
Comment 3 Toralf Förster gentoo-dev 2018-05-11 18:52:23 UTC
Created attachment 530904 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-05-11 18:52:26 UTC
Created attachment 530906 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-05-11 18:52:29 UTC
Created attachment 530908 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-11 18:52:32 UTC
Created attachment 530910 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-05-11 18:52:35 UTC
Created attachment 530912 [details]
temp.tbz2
Comment 8 Thomas Beierlein gentoo-dev 2018-08-04 12:39:30 UTC
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.
Comment 9 Larry the Git Cow gentoo-dev 2018-08-05 07:47:08 UTC
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(-)