195 | int len= strlen(var); | ^~~~~~~~~~~ make[2]: Leaving directory '/var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14' make[2]: Entering directory '/var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -Dsysconfdir=\"/etc\" -DENABLE_DUMP -O2 -pipe -march=native -fno-diagnostics-color -Wall -c -o packet_manip.o packet_manip.c packet_manip.c: In function combine_packets: packet_manip.c:150:25: error: too many arguments to function (int (*)(void))server->type->packet_func 150 | ret = ( (int (*)()) server->type->packet_func)( server, combined, datalen ); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_desktop_plasma_systemd-20241112-111005 UNMASKED: <sys-devel/gcc-15.0.9999:15 Issues involving opaque types / incomplete typedefs should block bug 930805 >=sys-libs/ncurses-6.5 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang version 19.1.4 llvm-config: 19.1.4 Python 3.12.7 go version go1.23.3 linux/amd64 Available Ruby profiles: [1] ruby32 (with Rubygems) [2] ruby33 (with Rubygems) * Available Rust versions: [1] rust-bin-1.81.0 [2] rust-bin-1.82.0 [3] rust-1.82.0 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm HEAD of ::gentoo commit 6f9f04c8d985f9b593fa688828ed6234142183ff Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Thu Nov 21 02:48:48 2024 +0000 2024-11-21 02:48:47 UTC emerge -qpvO =games-util/qstat-2.14 [ebuild N ] games-util/qstat-2.14 USE="-debug"
Created attachment 911185 [details] emerge-info.txt
Created attachment 911186 [details] emerge-history.txt.xz
Created attachment 911187 [details] environment
Created attachment 911188 [details] etc.clang.tar.xz
Created attachment 911189 [details] etc.portage.tar.xz
Created attachment 911190 [details] games-util:qstat-2.14:20241121-054700.log
Created attachment 911191 [details] logs.tar.xz
Created attachment 911192 [details] qlist-info.txt.xz
Created attachment 911193 [details] temp.tar.xz
Upstream bug https://github.com/Unity-Technologies/qstat/issues/122
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46ae3b8e567d43a891f8818bb92b6258b412e07e commit 46ae3b8e567d43a891f8818bb92b6258b412e07e Author: NHOrus <jy6x2b32pie9@yahoo.com> AuthorDate: 2025-01-26 15:18:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-02-10 08:54:22 +0000 games-util/qstat: Remove bad function pointer cast, C23 porting Existing function pointer is already of correct type, any additional casting is superfluous, and in this case lacks argument types. Safely removed. Added strnstr to whitelist of QA checks for implicit declarations: there is a fallback implementation, safe to ignore Closes: https://bugs.gentoo.org/899024 Bug: https://bugs.gentoo.org/944360 Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com> Signed-off-by: Sam James <sam@gentoo.org> games-util/qstat/Manifest | 1 + games-util/qstat/files/qstat-2.14-unneeded-cast.patch | 14 ++++++++++++++ .../qstat/{qstat-2.14.ebuild => qstat-2.14-r1.ebuild} | 13 +++++++++---- 3 files changed, 24 insertions(+), 4 deletions(-)