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

Bug 804993

Summary: dev-db/opendbx-1.4.6-r2 - ../.../api: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Alice Ferrazzi <alicef>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
dev-db:opendbx-1.4.6-r2:20210729-050147.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-07-29 09:11:25 UTC
                 from odbx_impl.hpp:11,
                 from odbx_impl.cpp:11:
../lib/opendbx/api:268:40: error: ISO C++17 does not allow dynamic exception specifications
  268 |                 Lob( Lob_Iface* impl ) throw( std::exception );
      |                                        ^~~~~
../lib/opendbx/api:322:30: error: ISO C++17 does not allow dynamic exception specifications
  322 |                 void close() throw( std::exception );

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-j3-20210725-230004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.53.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit 7e93674be7c221ad5964daddc4231aeeca2e89f0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Jul 29 04:21:46 2021 +0000

    2021-07-29 04:21:45 UTC

emerge -qpvO dev-db/opendbx
[ebuild  N    ] dev-db/opendbx-1.4.6-r2  USE="mysql -firebird -oracle -postgres -sqlite"
Comment 1 Toralf Förster gentoo-dev 2021-07-29 09:11:26 UTC
Created attachment 727767 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-07-29 09:11:28 UTC
Created attachment 727770 [details]
dev-db:opendbx-1.4.6-r2:20210729-050147.log
Comment 3 Toralf Förster gentoo-dev 2021-07-29 09:11:29 UTC
Created attachment 727773 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-07-29 09:11:31 UTC
Created attachment 727776 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-07-29 09:11:32 UTC
Created attachment 727779 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-07-29 09:11:33 UTC
Created attachment 727782 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-07-29 09:11:34 UTC
Created attachment 727785 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-08-04 22:34:56 UTC
The bug has been referenced in the following commit(s):

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

commit 078826f79b8e1af7ddb40bc1e7d7ea7d71662608
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-04 22:34:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-04 22:34:48 +0000

    dev-db/opendbx: workaround build failure with GCC 11
    
    Bug: https://bugs.gentoo.org/788304
    Bug: https://bugs.gentoo.org/804993
    See: 04dea1fbb62f503659bba7109f238b13da5dfd42
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/opendbx/opendbx-1.4.5-r1.ebuild | 5 ++++-
 dev-db/opendbx/opendbx-1.4.6-r2.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)