https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/xapian-1.2.25 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
Created attachment 706902 [details] build.log build log and emerge --info
Possible context of error(s): /var/tmp/portage/dev-libs/xapian-1.2.25/work/xapian-core-1.2.25/backends/brass/brass_check.cc:40:48: error: reference to ‘byte’ is ambiguous
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f3c535b370e4965ae9d5c40021767029f91122 commit 35f3c535b370e4965ae9d5c40021767029f91122 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-15 03:19:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-15 03:19:47 +0000 dev-libs/xapian: workaround build failure with GCC 11 for 1.2.25 Force C++14 for now. This is an older version we'll be cleaning up soon, but we may as well let it build. Newer versions are fine. (Also, this style of error usually results in a noisy patch.) Closes: https://bugs.gentoo.org/789390 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/xapian/xapian-1.2.25.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)