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

Bug 787317

Summary: sci-visualization/fityk-1.3.1-r100 - fityk.h: 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: Gentoo Science Related Packages <sci>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/wojdyr/fityk/issues/37
See Also: https://github.com/gentoo/gentoo/pull/20743
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
sci-visualization:fityk-1.3.1-r100:20210501-062325.log
temp.tar.bz2

Description Toralf Förster gentoo-dev 2021-05-01 09:01:18 UTC
                 from logic.h:8,
                 from logic.cpp:5:
fityk.h:122:53: error: ISO C++17 does not allow dynamic exception specifications
  122 |                                                     throw(ExecuteError) = 0;
      |                                                     ^~~~~
fityk.h:124:53: error: ISO C++17 does not allow dynamic exception specifications
  124 |                                                     throw(ExecuteError) = 0;

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210427-181545

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

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

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat May  1 05:50:15 UTC 2021

emerge -qpvO sci-visualization/fityk
[ebuild  N    ] sci-visualization/fityk-1.3.1-r100  USE="readline -gnuplot -nlopt -wxwidgets" LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3"
Comment 1 Toralf Förster gentoo-dev 2021-05-01 09:01:19 UTC
Created attachment 704919 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-01 09:01:21 UTC
Created attachment 704922 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-05-01 09:01:22 UTC
Created attachment 704925 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-05-01 09:01:23 UTC
Created attachment 704928 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-05-01 09:01:24 UTC
Created attachment 704931 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-01 09:01:25 UTC
Created attachment 704934 [details]
sci-visualization:fityk-1.3.1-r100:20210501-062325.log
Comment 7 Toralf Förster gentoo-dev 2021-05-01 09:01:27 UTC
Created attachment 704937 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-06-15 09:41:23 UTC
The bug has been closed via the following commit(s):

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

commit e98aa992e96d09f114b7f5404ee6ee788a497b10
Author:     Huang Rui <vowstar@gmail.com>
AuthorDate: 2021-06-15 09:41:08 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-06-15 09:41:08 +0000

    sci-visualization/fityk: fix gcc-11 compile
    
    fix error: ISO C++17 does not allow dynamic exception specifications
    
    Closes: https://github.com/gentoo/gentoo/pull/20743
    Closes: https://bugs.gentoo.org/787317
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Huang Rui <vowstar@gmail.com>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../fityk/files/fityk-1.3.1-c++17.patch            | 352 +++++++++++++++++++++
 .../fityk/files/fityk-1.3.1-fix-gtk3.patch         |  31 ++
 ...k-1.3.1-r100.ebuild => fityk-1.3.1-r101.ebuild} |  10 +-
 3 files changed, 390 insertions(+), 3 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2021-06-16 08:11:52 UTC
The bug has been closed via the following commit(s):

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

commit cc4ea6b62db21e3022bbaa405bae8388353815e7
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-06-16 08:11:33 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-06-16 08:11:33 +0000

    sci-visualization/fityk: Switch to C++14 mode
    
    * Upstream confirms that the codebase relies on
      dynamic exception specifications for SWIG.
    
    Closes: https://bugs.gentoo.org/787317
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../fityk/files/fityk-1.3.1-c++17.patch            | 352 ---------------------
 ...k-1.3.1-r101.ebuild => fityk-1.3.1-r102.ebuild} |  12 +-
 2 files changed, 7 insertions(+), 357 deletions(-)