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

Bug 788295

Summary: dev-embedded/avarice-2.14 fails to compile with gcc-11 (jtag2.h:159:52: error: ISO C++17 does not allow dynamic exception specifications)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://sourceforge.net/p/avarice/bugs/34/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 732706    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2021-05-05 06:54:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-embedded/avarice-2.14 fails to compile with gcc-11.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
Comment 1 Agostino Sarubbo gentoo-dev 2021-05-05 06:54:10 UTC
Created attachment 706131 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-05-05 06:54:12 UTC
Possible context of error(s):

jtag2.h:159:52: error: ISO C++17 does not allow dynamic exception specifications
Comment 3 Larry the Git Cow gentoo-dev 2021-07-29 02:58:55 UTC
The bug has been closed via the following commit(s):

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

commit 3497a6142fc1deacb5fff94d90a65443da43aa87
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-29 02:19:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-29 02:19:31 +0000

    dev-embedded/avarice: workaround build failure with GCC 11
    
    Closes: https://bugs.gentoo.org/788295
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-embedded/avarice/avarice-2.14.ebuild | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)