Summary: | sys-power/nut-2.7.4-r7 - nutclient.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 packages | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | alecm, atoth, gem, gentoo_bugs.nu_q5v, kuba.iluvatar, prometheanfire |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
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 sys-power:nut-2.7.4-r7:20210710-034858.log temp.tar.bz2 |
Description
Toralf Förster
2021-07-10 08:24:00 UTC
Created attachment 723109 [details]
emerge-info.txt
Created attachment 723112 [details]
emerge-history.txt
Created attachment 723115 [details]
environment
Created attachment 723118 [details]
etc.portage.tar.bz2
Created attachment 723121 [details]
logs.tar.bz2
Created attachment 723124 [details]
sys-power:nut-2.7.4-r7:20210710-034858.log
Created attachment 723127 [details]
temp.tar.bz2
Compiles with gcc-11 when specifying C++14 standard instead of the now-default C++17 --- /var/db/gentoo/sys-power/nut/nut-2.7.4-r6.ebuild 2020-09-07 10:09:40.000000000 +0100 +++ /var/db/repos/localrepo/sys-power/nut/nut-2.7.4-r6999.ebuild 2021-07-10 13:16:07.408870230 +0100 @@ -113,7 +113,7 @@ src_configure() { local myconf - append-flags -fno-lto + append-flags -fno-lto -std=c++14 tc-export CC tc-export CXX tc-export AR appendflags -std=c++14 makes it build with all non-masked version of gcc (tested gcc-8.4.0-r2, 9.3.0-r2, 10.3.0-r2, 11.1.0-r2) *** This bug has been marked as a duplicate of bug 786702 *** (In reply to Gary E. Miller from comment #10) > See also: https://bugs.gentoo.org/show_bug.cgi?id=786702 Thanks! |