Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788304 - dev-db/opendbx-1.4.6-r3 fails to compile with gcc-11
Summary: dev-db/opendbx-1.4.6-r3 fails to compile with gcc-11
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alice Ferrazzi
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-11
  Show dependency tree
 
Reported: 2021-05-05 06:54 UTC by Agostino Sarubbo
Modified: 2021-08-04 22:34 UTC (History)
0 users

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


Attachments
build.log (build.log,87.50 KB, text/plain)
2021-05-05 06:54 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-05-05 06:54:25 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/opendbx-1.4.6-r3 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:28 UTC
Created attachment 706140 [details]
build.log

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

../lib/opendbx/api:268:40: error: ISO C++17 does not allow dynamic exception specifications
Comment 3 Larry the Git Cow gentoo-dev 2021-07-29 02:58:58 UTC
The bug has been closed via the following commit(s):

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

commit 04dea1fbb62f503659bba7109f238b13da5dfd42
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-07-29 02:24:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-07-29 02:24:12 +0000

    dev-db/opendbx: workaround build failure with GCC 11 in 1.4.6-r3
    
    Closes: https://bugs.gentoo.org/788304
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/opendbx/opendbx-1.4.6-r3.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Comment 4 Larry the Git Cow gentoo-dev 2021-08-04 22:34:58 UTC
The bug has been referenced in the following commit(s):

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

commit 078826f79b8e1af7ddb40bc1e7d7ea7d71662608
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-08-04 22:34:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-08-04 22:34:48 +0000

    dev-db/opendbx: workaround build failure with GCC 11
    
    Bug: https://bugs.gentoo.org/788304
    Bug: https://bugs.gentoo.org/804993
    See: 04dea1fbb62f503659bba7109f238b13da5dfd42
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/opendbx/opendbx-1.4.5-r1.ebuild | 5 ++++-
 dev-db/opendbx/opendbx-1.4.6-r2.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)