Created attachment 885547 [details] emerge --info This is likely just missing an #include <algorithm> somewhere. error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’? 190 | std::sort(mFiles.begin(), mFiles.end(), [](const FileStruct& left, const FileStruct& right) { | ^~~~ | qsort /var/tmp/portage/games-engines/openmw-0.48.0/work/openmw-openmw-0.48.0/components/bsa/bsa_file.cpp: In member function ‘virtual void Bsa::BSAFile::writeHeader()’: /var/tmp/portage/games-engines/openmw-0.48.0/work/openmw-openmw-0.48.0/components/bsa/bsa_file.cpp:214:10: error: ‘sort’ is not a member of ‘std’; did you mean ‘qsort’? 214 | std::sort(mFiles.begin(), mFiles.end(), [](const FileStruct& left, const FileStruct& right) { | ^~~~ | qsort /var/tmp/portage/games-engines/openmw-0.48.0/work/openmw-openmw-0.48.0/components/bsa/bsa_file.cpp: In member function ‘void Bsa::BSAFile::addFile(const std::string&, std::istream&)’: /var/tmp/portage/games-engines/openmw-0.48.0/work/openmw-openmw-0.48.0/components/bsa/bsa_file.cpp:304:18: error: ‘rotate’ is not a member of ‘std’ 304 | std::rotate(mFiles.begin(), mFiles.begin() + 1, mFiles.end()); | ^~~~~~ COMMON_FLAGS="-O2 -march=native -pipe" CFLAGS="${COMMON_FLAGS}" CXXFLAGS="${COMMON_FLAGS}" FCFLAGS="${COMMON_FLAGS}" FFLAGS="${COMMON_FLAGS}" ACCEPT_LICENSE="*" ACCEPT_KEYWORDS="~amd64" ABI_X86="64 32" EMERGE_DEFAULT_OPTS="--complete-graph y --with-bdeps y --load-average=32 --jobs=32" FEATURES="candy sign unmerge-orphans parallel-fetch parallel-install" MAKEOPTS="-j32" USE="X alsa dbus elogind udev -kde -qt6 -q5 -qt4 gnome gtk" VIDEO_CARDS="amdgpu radeon radeonsi" INPUT_DEVICES="libinput evdev" SIGNED_OFF_BY="germ <germtoo@outlook.com>" LC_MESSAGES=C.utf8 QEMU_SOFTMMU_TARGETS="alpha aarch64 aarch64_be armeb arm i386 loongarch64 hppa m68k mips mipsn32 mips64 mips64el mipsel ppc ppc64 riscv32 riscv64 s390x sh4 sh4eb sparc sparc64 x86_64" QEMU_USER_TARGETS="alpha aarch64 aarch64_be armeb arm armeb i386 loongarch64 hppa m68k mips mipsn32 mipsn32el mips64 mips64el mipsel ppc ppc64 ppc64le ppc64abi32 riscv32 riscv64 s390x sh4 sh4eb sparc sparc32plus sparc64"
Created attachment 885548 [details] build log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=546afd11b7bde55829c409c406eac51c8d023d78 commit 546afd11b7bde55829c409c406eac51c8d023d78 Author: Alexey Sokolov <alexey+gentoo@asokolov.org> AuthorDate: 2024-02-22 22:46:38 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2024-03-04 21:48:18 +0000 games-engines/openmw: fix build with gcc 14 Closes: https://bugs.gentoo.org/925105 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Closes: https://github.com/gentoo/gentoo/pull/35490 Signed-off-by: James Le Cuirot <chewi@gentoo.org> games-engines/openmw/files/openmw-0.48.0-gcc14.patch | 13 +++++++++++++ games-engines/openmw/openmw-0.48.0.ebuild | 4 ++++ 2 files changed, 17 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8204b23574c9e3e553985b6efb2af382158ff67 commit f8204b23574c9e3e553985b6efb2af382158ff67 Author: Stefan Strogin <steils@gentoo.org> AuthorDate: 2024-06-08 00:35:26 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2024-06-08 01:11:45 +0000 games-engines/openmw: update patch for missing headers Bug: https://bugs.gentoo.org/925105 Signed-off-by: Stefan Strogin <steils@gentoo.org> games-engines/openmw/files/openmw-0.48.0-gcc14.patch | 11 +++++++++++ 1 file changed, 11 insertions(+)