https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-office/calligra-3.2.1-r5 fails to compile (MUSL-CLANG-SYSTEM). Discovered on: amd64 (internal ref: tinderbox_musl) NOTE: (MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Created attachment 851240 [details] build.log.xz build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Error(s) that match a know pattern in addition to what has been reported in the summary: FAILED: sheets/CMakeFiles/calligrasheetsodf.dir/part/Digest.cpp.o /var/tmp/portage/app-office/calligra-3.2.1-r5/work/calligra-3.2.1/sheets/part/Digest.cpp:253:5: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3ae04d9c5f068e17d903ac7d5b16336589fb56e commit e3ae04d9c5f068e17d903ac7d5b16336589fb56e Author: Sam James <sam@gentoo.org> AuthorDate: 2023-02-16 02:52:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-02-16 03:26:38 +0000 app-office/calligra: fix build w/ clang 16 deux I was a bit naive and just checked for the appearance of register warnings by eye & -std=c++14 appearing and that's not good enough here, as we force C++17 for Poppler in a patch. Again, this is fixed upstream anyway, so this is a downstream-only patch. Fixes: e0a0a09c1bb283024c1a10f737eba380a22bcc1f Closes: https://bugs.gentoo.org/894578 Closes: https://bugs.gentoo.org/883067 Signed-off-by: Sam James <sam@gentoo.org> app-office/calligra/calligra-3.2.1-r5.ebuild | 4 +- .../files/calligra-3.2.1-clang-16-c++17.patch | 359 +++++++++++++++++++++ 2 files changed, 360 insertions(+), 3 deletions(-)