https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-engines/openmw-0.47.0-r1 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 792083 [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) FAILED: components/CMakeFiles/components.dir/myguiplatform/myguidatamanager.cpp.o /var/tmp/portage/games-engines/openmw-0.47.0-r1/work/openmw-openmw-0.47.0/components/myguiplatform/myguidatamanager.cpp:21:10: error: ‘unique_ptr’ is not a member of ‘std’
This is not specific to LTO, but to GCC 12
(In reply to Alexey from comment #3) > This is not specific to LTO, but to GCC 12 Thanks for the notice. Next time feel free to remove lto from summary/blocks.
*** Bug 865229 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59ff79ab1c87e63d8b6a6b5d9828f4bc48b56ec2 commit 59ff79ab1c87e63d8b6a6b5d9828f4bc48b56ec2 Author: Ionen Wolkens <ionen@gentoo.org> AuthorDate: 2022-08-27 23:52:39 +0000 Commit: Ionen Wolkens <ionen@gentoo.org> CommitDate: 2022-08-28 00:08:40 +0000 games-engines/openmw: fix build with gcc12 Seeing users hit this, so fixing myself quick. Builds but not thoroughly tested so there could be other issues. Closes: https://bugs.gentoo.org/858725 Signed-off-by: Ionen Wolkens <ionen@gentoo.org> .../openmw/files/openmw-0.47.0-gcc12.patch | 33 ++++++++++++++++++++++ games-engines/openmw/openmw-0.47.0-r1.ebuild | 3 +- 2 files changed, 35 insertions(+), 1 deletion(-)