Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 786792 - games-emulation/advancescan-1.16-r1 - file.h: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related)
Summary: games-emulation/advancescan-1.16-r1 - file.h: error: ISO C++17 does not allow...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-29 12:13 UTC by Toralf Förster
Modified: 2021-05-07 16:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2021-04-29 12:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,411.51 KB, text/plain)
2021-04-29 12:13 UTC, Toralf Förster
Details
environment (environment,68.88 KB, text/plain)
2021-04-29 12:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.51 KB, application/x-bzip)
2021-04-29 12:13 UTC, Toralf Förster
Details
games-emulation:advancescan-1.16-r1:20210429-105017.log (games-emulation:advancescan-1.16-r1:20210429-105017.log,9.03 KB, text/plain)
2021-04-29 12:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.42 KB, application/x-bzip)
2021-04-29 12:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,20.12 KB, application/x-bzip)
2021-04-29 12:13 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-04-29 12:13:37 UTC
                 from game.h:24,
                 from scan.cc:23:
file.h:70:43: error: ISO C++17 does not allow dynamic exception specifications
   70 | bool file_exists(const std::string& file) throw (error);
      |                                           ^~~~~
file.h:71:75: error: ISO C++17 does not allow dynamic exception specifications
   71 | e(const std::string& path, const char* data, unsigned size) throw (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

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed Apr 28 23:50:13 UTC 2021

emerge -qpvO games-emulation/advancescan
[ebuild  N    ] games-emulation/advancescan-1.16-r1
Comment 1 Toralf Förster gentoo-dev 2021-04-29 12:13:38 UTC
Created attachment 703833 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-29 12:13:40 UTC
Created attachment 703836 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-04-29 12:13:41 UTC
Created attachment 703839 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-04-29 12:13:42 UTC
Created attachment 703842 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-04-29 12:13:44 UTC
Created attachment 703845 [details]
games-emulation:advancescan-1.16-r1:20210429-105017.log
Comment 6 Toralf Förster gentoo-dev 2021-04-29 12:13:45 UTC
Created attachment 703848 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-29 12:13:46 UTC
Created attachment 703851 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-07 16:51:47 UTC
The bug has been closed via the following commit(s):

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

commit c7035d48a6e57fd9e1673c8724eb8b726ea1bf07
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-05-07 16:51:30 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-05-07 16:51:30 +0000

    games-emulation/advancescan: Fix building against GCC 11
    
    Closes: https://bugs.gentoo.org/786792
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../advancescan/advancescan-1.16-r1.ebuild         |   7 +-
 .../advancescan/files/advancescan-1.16-gcc11.patch | 252 +++++++++++++++++++++
 2 files changed, 256 insertions(+), 3 deletions(-)