I'll attach full build log and patch, but emerge stops with /var/tmp/portage/dev-libs/xapian-1.4.17/work/xapian-core-1.4.17/api/omdocument.cc:303:34: error: 'numeric_limits' was not declared in this scope adding "#include <limits>" to that file allows successful emerge. Reproducible: Always
Created attachment 705870 [details] build.log
Created attachment 705873 [details, diff] patch
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d836910165befa9b9cf98d3258784711176d96b3 commit d836910165befa9b9cf98d3258784711176d96b3 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-14 18:46:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-14 22:11:12 +0000 dev-libs/xapian: fix build with GCC 11 in 1.4.17 Note that 1.4.18 already seems to work but we may as well include the patch given somebody posted it. Closes: https://bugs.gentoo.org/788046 Signed-off-by: Sam James <sam@gentoo.org> .../xapian/files/xapian-1.4.17-gcc11-missing-include.patch | 11 +++++++++++ dev-libs/xapian/xapian-1.4.17.ebuild | 4 ++++ 2 files changed, 15 insertions(+)