Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787941 - sci-libs/cdd+-077a - ./Integer.h: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related)
Summary: sci-libs/cdd+-077a - ./Integer.h: error: ISO C++17 does not allow dynamic exc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-03 17:50 UTC by Toralf Förster
Modified: 2021-08-05 01:03 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.20 KB, text/plain)
2021-05-03 17:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,493.76 KB, text/plain)
2021-05-03 17:50 UTC, Toralf Förster
Details
environment (environment,56.82 KB, text/plain)
2021-05-03 17:50 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.98 KB, application/x-bzip)
2021-05-03 17:50 UTC, Toralf Förster
Details
sci-libs:cdd+-077a:20210503-171341.log (sci-libs:cdd+-077a:20210503-171341.log,2.72 KB, text/plain)
2021-05-03 17:50 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,14.74 KB, application/x-bzip)
2021-05-03 17:50 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 2021-05-03 17:50:46 UTC
                 from cddtype.h:16,
                 from cdd.C:38:
./Integer.h:182:32: error: ISO C++17 does not allow dynamic exception specifications
  182 |    Integer& set(const char *s) throw(gmp_error)
      |                                ^~~~~
./Integer.h:198:26: error: ISO C++17 does not allow dynamic exception specifications
  198 |    operator long() const throw(gmp_error)

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.9
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.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 *

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon May  3 16:50:15 UTC 2021

emerge -qpvO sci-libs/cdd+
[ebuild  N    ] sci-libs/cdd+-077a
Comment 1 Toralf Förster gentoo-dev 2021-05-03 17:50:47 UTC
Created attachment 705780 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-03 17:50:49 UTC
Created attachment 705783 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-03 17:50:50 UTC
Created attachment 705786 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-03 17:50:51 UTC
Created attachment 705789 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-03 17:50:53 UTC
Created attachment 705792 [details]
sci-libs:cdd+-077a:20210503-171341.log
Comment 6 Toralf Förster gentoo-dev 2021-05-03 17:50:54 UTC
Created attachment 705795 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-08-05 01:03:54 UTC
The bug has been closed via the following commit(s):

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

commit ac43e2bc87f16df47eed3be4d983fad1d83fb50a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-05 01:03:34 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-05 01:03:37 +0000

    sci-libs/cdd+: update EAPI 5 -> 7, fix build with GCC 11
    
    Closes: https://bugs.gentoo.org/787941
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/cdd+/cdd+-077a.ebuild                     | 24 ++++----
 sci-libs/cdd+/files/cdd+-077a-gcc-5.patch          |  4 +-
 .../files/cdd+-077a-gcc11-dynamic-exceptions.patch | 71 ++++++++++++++++++++++
 sci-libs/cdd+/files/cdd+-077a-gentoo.patch         |  4 +-
 sci-libs/cdd+/files/cdd+-077a-headers.patch        | 36 +++--------
 sci-libs/cdd+/files/cdd+-077a-qa-const-char.patch  |  8 +--
 6 files changed, 98 insertions(+), 49 deletions(-)