Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 787173 - dev-libs/ucommon-7.0.0 - ../.../temporary.h: error: ISO C++17 does not allow dynamic exception specifications (maybe gcc-11 related)
Summary: dev-libs/ucommon-7.0.0 - ../.../temporary.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: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-04-30 17:15 UTC by Toralf Förster
Modified: 2021-05-08 23:19 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.14 KB, text/plain)
2021-04-30 17:15 UTC, Toralf Förster
Details
dev-libs:ucommon-7.0.0:20210430-170736.log (dev-libs:ucommon-7.0.0:20210430-170736.log,59.90 KB, text/plain)
2021-04-30 17:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,340.23 KB, text/plain)
2021-04-30 17:15 UTC, Toralf Förster
Details
environment (environment,69.34 KB, text/plain)
2021-04-30 17:15 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.31 KB, application/x-bzip)
2021-04-30 17:15 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,13.17 KB, application/x-bzip)
2021-04-30 17:15 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,25.63 KB, application/x-bzip)
2021-04-30 17:15 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-30 17:15:16 UTC
                 from ../inc/commoncpp/config.h:42,
                 from tokenizer.cpp:41:
../inc/ucommon/temporary.h:58:21: error: ISO C++17 does not allow dynamic exception specifications
   58 | #define THROWS(x)   throw(x)
      |                     ^~~~~
../inc/commoncpp/tokenizer.h:178:32: note: in expansion of macro ‘THROWS’
  178 |         iterator &operator++() THROWS (NoSuchElementException);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20210421-084009

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.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 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.292_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   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	Fri Apr 30 16:50:13 UTC 2021

emerge -qpvO dev-libs/ucommon
[ebuild  N    ] dev-libs/ucommon-7.0.0  USE="cxx ssl -debug -doc -gnutls (-libressl) -static-libs"
Comment 1 Toralf Förster gentoo-dev 2021-04-30 17:15:17 UTC
Created attachment 704604 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-30 17:15:19 UTC
Created attachment 704607 [details]
dev-libs:ucommon-7.0.0:20210430-170736.log
Comment 3 Toralf Förster gentoo-dev 2021-04-30 17:15:21 UTC
Created attachment 704610 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-30 17:15:22 UTC
Created attachment 704613 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-30 17:15:23 UTC
Created attachment 704616 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-30 17:15:24 UTC
Created attachment 704619 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-30 17:15:26 UTC
Created attachment 704622 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-08 23:19:10 UTC
The bug has been closed via the following commit(s):

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

commit 2d5affeb067f6f193c0718bc5a9cc8eb8eef44d5
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2021-05-08 23:18:57 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-05-08 23:18:57 +0000

    dev-libs/ucommon: Fix building under GCC 11
    
    Closes: https://bugs.gentoo.org/730018
    Closes: https://bugs.gentoo.org/787173
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: David Seifert <soap@gentoo.org>

 ....0-c++17-dynamic-exception-specifications.patch | 502 +++++++++++++++++++++
 dev-libs/ucommon/ucommon-7.0.0.ebuild              |  55 ++-
 2 files changed, 529 insertions(+), 28 deletions(-)