Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 641492

Summary: app-backup/bacula-9.0.6 : crypto.c:199:28: error: expected constructor, destructor, or type conversion before ; token
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Thomas Beierlein <tomjbe>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-backup:bacula-9.0.6:20171217-180945.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

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.