too long lines were shrinked: [240/678] /usr/bin/x86_64-pc-linux-gnu-gcc -DARCH_IA32 -DDYN_GTK=1 -DHAVE_MMX=1 -DHAVE_VM_JIT -DUSE_LIBVPX=1 -D__forceinline=inline -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof [241/678] /usr/bin/x86_64-pc-linux-gnu-g++ -DARCH_IA32 -DDYN_GTK=1 -DHAVE_MMX=1 -DHAVE_VM_JIT -DUSE_LIBVPX=1 -D__forceinline=inline -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof FAILED: src/CMakeFiles/zdoom.dir/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DARCH_IA32 -DDYN_GTK=1 -DHAVE_MMX=1 -DHAVE_VM_JIT -DUSE_LIBVPX=1 -D__forceinline=inline -Dstricmp=strcasecmp -Dstrnicmp=strncasecmp -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/ In file included from /var/tmp/portage/games-fps/gzdoom-4.10.0/work/gzdoom-g4.10.0/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.cpp:8: /var/tmp/portage/games-fps/gzdoom-4.10.0/work/gzdoom-g4.10.0/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h: In function void VmaUint32ToStr(char*, size_t, uint32_t): /var/tmp/portage/games-fps/gzdoom-4.10.0/work/gzdoom-g4.10.0/src/common/rendering/vulkan/thirdparty/vk_mem_alloc/vk_mem_alloc.h:2410:9: error: snprintf was not declared in this scope 2410 | snprintf(outStr, strLen, "%u", static_cast<unsigned int>(num)); | ^~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_gnome_systemd-j4-20230516-130005 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-10 [2] x86_64-pc-linux-gnu-12 [3] x86_64-pc-linux-gnu-13 * clang/llvm (if any): clang version 16.0.4 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/16/bin Configuration file: /etc/clang/clang.cfg /usr/lib/llvm/16 16.0.4 Python 3.11.3 Available Rust versions: [1] rust-bin-1.69.0 [2] rust-1.69.0 * The following VMs are available for generation-2: 1) IcedTea JDK 3.16.0 [icedtea-bin-8] 2) OpenJDK 17.0.6_p10 [openjdk-17] 3) Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17] *) Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17] Available Java Virtual Machines: [1] icedtea-bin-8 [2] openjdk-17 [3] openjdk-bin-17 [4] openjdk-jre-bin-17 system-vm php cli (if any): go version go1.20.4 linux/amd64 HEAD of ::gentoo commit 9022af0d31c7fb2c546062378a3a695083c5f795 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed May 24 02:16:59 2023 +0000 2023-05-24 02:16:58 UTC emerge -qpvO games-fps/gzdoom [ebuild R ] games-fps/gzdoom-4.10.0 USE="gtk non-free openmp swr vulkan* -debug -gles2 -telemetry"
Created attachment 862422 [details] emerge-info.txt
Created attachment 862423 [details] emerge-history.txt.bz2
Created attachment 862424 [details] environment
Created attachment 862425 [details] etc.clang.tar.bz2
Created attachment 862426 [details] etc.portage.tar.bz2
Created attachment 862427 [details] games-fps:gzdoom-4.10.0:20230524-035024.log.bz2
Created attachment 862428 [details] temp.tar.bz2
Created attachment 863124 [details, diff] Patch Added patch.
Upstream bug page: https://github.com/ZDoom/gzdoom/issues/1992
I confirm, this patch fixes the issue.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a97fdf8a6d805af5f0116d24dcd0edcf0f459cee commit a97fdf8a6d805af5f0116d24dcd0edcf0f459cee Author: James Le Cuirot <chewi@gentoo.org> AuthorDate: 2023-06-19 20:59:06 +0000 Commit: James Le Cuirot <chewi@gentoo.org> CommitDate: 2023-06-19 20:59:42 +0000 games-fps/gzdoom: Patch to fix building with GCC 13 Thanks to Chris Lundgren. Closes: https://bugs.gentoo.org/907087 Signed-off-by: James Le Cuirot <chewi@gentoo.org> games-fps/gzdoom/files/gzdoom-4.10.0-gcc-13.patch | 14 ++++++++++++++ games-fps/gzdoom/gzdoom-4.10.0.ebuild | 1 + 2 files changed, 15 insertions(+)