https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sys-cluster/ceph-16.2.9 fails to compile (lto). Discovered on: amd64 (internal ref: lto_tinderbox) NOTE: This machine uses lto with CFLAGS=-flto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing
Created attachment 788135 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) /var/tmp/portage/sys-cluster/ceph-16.2.9/work/ceph-16.2.9/src/include/buffer.h:98:52: error: expected template-name before ‘<’ token
I'm not 100% sure that it is an lto fault. After if you dig into it, please remove the blocker bug if you think this has nothing to do with lto. Thanks
Think it's GCC 12 here: /var/tmp/portage/sys-cluster/ceph-16.2.9/work/ceph-16.2.9/src/include/buffer.h:65:1: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’? 64 | #include "inline_memory.h" +++ |+#include <memory> 65 |
ci has reproduced this issue with version 17.2.1-r1 - Updating summary.
ci has reproduced this issue with version 17.2.2 - Updating summary.
ci has reproduced this issue with version 17.2.3 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb3b4acc70849deeee7a7cf07bc111e34be12fc commit 0fb3b4acc70849deeee7a7cf07bc111e34be12fc Author: Patrick McLean <chutzpah@gentoo.org> AuthorDate: 2022-08-12 20:45:59 +0000 Commit: Patrick McLean <chutzpah@gentoo.org> CommitDate: 2022-08-12 20:46:44 +0000 sys-cluster/ceph: Add patch to attempt to fix bug #854681 I am unable to reproduce this bug, but this patch should theoretically fix it. Please reopen the bug if the issue still exists. Closes: https://bugs.gentoo.org/854681 Signed-off-by: Patrick McLean <chutzpah@gentoo.org> sys-cluster/ceph/ceph-17.2.3.ebuild | 1 + sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+)