Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641492 - app-backup/bacula-9.0.6 : crypto.c:199:28: error: expected constructor, destructor, or type conversion before ; token
Summary: app-backup/bacula-9.0.6 : crypto.c:199:28: error: expected constructor, destr...
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:
 
Reported: 2017-12-17 18:32 UTC by Toralf Förster
Modified: 2018-08-06 18:20 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.06 KB, text/plain)
2017-12-17 18:32 UTC, Toralf Förster
Details
app-backup:bacula-9.0.6:20171217-180945.log (app-backup:bacula-9.0.6:20171217-180945.log,49.38 KB, text/plain)
2017-12-17 18:32 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,247.43 KB, text/plain)
2017-12-17 18:32 UTC, Toralf Förster
Details
environment (environment,113.78 KB, text/plain)
2017-12-17 18:32 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.74 KB, application/x-bzip)
2017-12-17 18:32 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,22.24 KB, application/x-bzip)
2017-12-17 18:32 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.38 KB, application/x-bzip)
2017-12-17 18:32 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 2017-12-17 18:32:17 UTC
Compiling crypto.c
/var/tmp/portage/app-backup/bacula-9.0.6/work/bacula-9.0.6/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++   -c  -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti  -I. -I..  -O2 -pipe -march=native  crypto.c
crypto.c:199:28: error: expected constructor, destructor, or type conversion before ';' token
 DEFINE_STACK_OF(SignerInfo);
                            ^
crypto.c:200:31: error: expected constructor, destructor, or type conversion before ';' token

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl_20171211-202647

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-backup/bacula
[ebuild  N    ] app-backup/bacula-9.0.6  USE="X acl ipv6 libressl readline sqlite ssl tcpd -bacula-clientonly -bacula-nodir -bacula-nosd -examples -logwatch -mysql -postgres -qt4 -static -vim-syntax"
Comment 1 Toralf Förster gentoo-dev 2017-12-17 18:32:20 UTC
Created attachment 510510 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-12-17 18:32:23 UTC
Created attachment 510512 [details]
app-backup:bacula-9.0.6:20171217-180945.log
Comment 3 Toralf Förster gentoo-dev 2017-12-17 18:32:26 UTC
Created attachment 510514 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-12-17 18:32:29 UTC
Created attachment 510516 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-12-17 18:32:32 UTC
Created attachment 510518 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-12-17 18:32:35 UTC
Created attachment 510520 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2017-12-17 18:32:38 UTC
Created attachment 510522 [details]
temp.tbz2
Comment 8 Thomas Beierlein gentoo-dev 2017-12-18 18:51:43 UTC
I have to confirm the behaviour even in stable amd64 system. 
The problem started with actual 9.0.6 version which did change some handling of openssl/libressl. 
I am looking into it.
Comment 9 Larry the Git Cow gentoo-dev 2018-03-21 14:31:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee036bdf9f00cfe2b690151771f59d145e447b87

commit ee036bdf9f00cfe2b690151771f59d145e447b87
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2018-03-21 08:53:31 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2018-03-21 14:30:03 +0000

    profile: package.use.stable.mask - ~app-backup/bacula-9.0.6[libressl]
    
    - package does not compile with USE=libressl (bug #641492) do to changed
      SSL handling.
    - There are first fixes out there on BSD bug database but not ready
    - bacula-9.0.6-r2 should go stable soon to enable drop of USE=qt4
    
    Bug: https://bugs.gentoo.org/641492
    Bug: https://bugs.gentoo.org/644566

 profiles/base/package.use.stable.mask | 4 ++++
 1 file changed, 4 insertions(+)}
Comment 10 Thomas Beierlein gentoo-dev 2018-04-25 15:39:10 UTC
Bacula-9.0.6-r3 provides a patch taken from FreeBSD bug tracker to fix the problem.

Please retest and report back.
Comment 11 Thomas Beierlein gentoo-dev 2018-08-06 18:20:30 UTC
Closing. Please reopen if problem comes up again.