Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 911190 Details for
Bug 944360
games-util/qstat-2.14 - [ncurses-6.5] [gcc-15] packet_manip.c: error: too many arguments to function (int ( )(void))server->type->packet_func
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-util:qstat-2.14:20241121-054700.log
games-util:qstat-2.14:20241121-054700.log (text/plain), 13.62 KB, created by
Toralf Förster
on 2024-11-21 20:24:08 UTC
(
hide
)
Description:
games-util:qstat-2.14:20241121-054700.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-11-21 20:24:08 UTC
Size:
13.62 KB
patch
obsolete
> * Package: games-util/qstat-2.14:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking qstat-2.14.tar.gz to /var/tmp/portage/games-util/qstat-2.14/work >>>> Source unpacked in /var/tmp/portage/games-util/qstat-2.14/work >>>> Preparing source in /var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14 ... > * Applying qstat-2.14-gcc-10.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/games-util/qstat-2.14/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running 'autoheader --force' ... > [ ok ] > * Running 'automake --add-missing --copy --foreign --force-missing' ... > [ ok ] > * Running elibtoolize in: qstat-2.14/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14 ... > * econf: updating qstat-2.14/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating qstat-2.14/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/qstat-2.14 --htmldir=/usr/share/doc/qstat-2.14/html --libdir=/usr/lib64 --disable-debug >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether sleep supports fractional seconds... yes >checking filesystem timestamp resolution... 0.01 >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking xargs -n works... yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for grep that handles long lines and -e... /usr/bin/grep >checking for egrep... /usr/bin/grep -E >checking for sys/mman.h... yes >checking for strnstr... no >checking whether to enable optimization... yes >checking whether to enable debug output... no >checking whether to enable packet dumps... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating template/Makefile >config.status: creating info/Makefile >config.status: creating gnuconfig.h >config.status: executing depfiles commands >>>> Source configured. >>>> Compiling source in /var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14 ... >make -O -j4 >make all-recursive >Making all in template >make[2]: Nothing to be done for 'all'. >Making all in info >make[2]: Nothing to be done for 'all'. >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 utils.o utils.c >utils.c: In function âstr_replaceâ: >utils.c:113:17: warning: â__builtin_strncpyâ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] > 113 | strncpy(s, replace, rlen); > | ^ >utils.c:109:16: note: length computed here > 109 | int rlen = strlen(replace); > | ^~~~~~~~~~~~~~~ >In file included from /usr/include/string.h:548, > from utils.h:24, > from utils.c:6: >In function âstrcpyâ, > inlined from âstr_replaceâ at utils.c:114:3: >/usr/include/bits/string_fortified.h:81:10: warning: â__builtin_strcpyâ accessing 1 byte at offsets [-2147483648, 2147483647] and [-2147483648, 2147483647] overlaps 1 byte at offset [-2147483648, 2147483647] [-Wrestrict] > 81 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >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 debug.o debug.c >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 xform.o xform.c >xform.c: In function âxform_buf_resizeâ: >xform.c:130:51: warning: pointer âoldbufâ may be used after âreallocâ [-Wuse-after-free] > 130 | *bufp = xform_buf->buf + ((*bufp) - oldbuf); > | ~~~~~~~~~^~~~~~~~~ >xform.c:125:31: note: call to âreallocâ here > 125 | if ((xform_buf->buf = realloc(xform_buf->buf, size)) == NULL) > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >xform.c: In function âxform_nameâ: >xform.c:430:54: warning: â%02hhxâ directive writing 2 bytes into a region of size 0 [-Wformat-overflow=] > 430 | sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]); > | ^~~~~~ >In function âxform_name_u2â, > inlined from âxform_nameâ at xform.c:716:7: >xform.c:430:40: note: using the range [0, 255] for directive argument > 430 | sprintf(color, "#%02hhx%02hhx%02hhx", s[0], s[1], s[2]); > | ^~~~~~~~~~~~~~~~~~~~~ >In file included from /usr/include/stdio.h:970, > from xform.c:15: >In function âsprintfâ, > inlined from âxform_name_u2â at xform.c:430:4, > inlined from âxform_nameâ at xform.c:716:7: >/usr/include/bits/stdio2.h:30:10: note: â__builtin___sprintf_chkâ output 8 bytes into a destination of size 5 > 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 31 | __glibc_objsize (__s), __fmt, > | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > 32 | __va_arg_pack ()); > | ~~~~~~~~~~~~~~~~~ >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 md5.o md5.c >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 hcache.o hcache.c >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 qserver.o qserver.c >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 config.o config.c >config.c: In function âqsc_load_default_config_filesâ: >config.c:198:9: warning: â__builtin___strncpy_chkâ specified bound depends on the length of the source argument [-Wstringop-truncation] > 198 | strncpy( path, var, len); > | ^ >config.c:195:18: note: length computed here > 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 ); > | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make[2]: *** [Makefile:579: packet_manip.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14' >make[2]: *** Waiting for unfinished jobs.... >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 a2s.o a2s.c >a2s.c: In function âdeal_with_a2s_packetâ: >a2s.c:645:34: warning: variable âidxâ set but not used [-Wunused-but-set-variable] > 645 | unsigned idx; > | ^~~ >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 template.o template.c >template.c: In function âdisplay_stringâ: >template.c:1055:5: warning: this âforâ clause does not guard... [-Wmisleading-indentation] > 1055 | for ( ; *str; str++) > | ^~~ >template.c:1063:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âforâ > 1063 | return; > | ^~~~~~ >template.c:1067:5: warning: this âforâ clause does not guard... [-Wmisleading-indentation] > 1067 | for ( ; *str; str++) > | ^~~ >template.c:1073:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the âforâ > 1073 | return; > | ^~~~~~ >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 qstat.o qstat.c >qstat.c: In function âdo_workâ: >qstat.c:3105:27: warning: variable âtsâ set but not used [-Wunused-but-set-variable] > 3105 | struct timeval t, ts; > | ^~ >qstat.c:3097:25: warning: variable âfdâ set but not used [-Wunused-but-set-variable] > 3097 | int pktlen, rc, fd; > | ^~ >qstat.c: In function âdeal_with_ghostrecon_packetâ: >qstat.c:9778:33: warning: variable âendâ set but not used [-Wunused-but-set-variable] > 9778 | char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer; > | ^~~ >qstat.c:9778:25: warning: variable âstartâ set but not used [-Wunused-but-set-variable] > 9778 | char str[256], *start, *end, StartFlag, *lpszIgnoreServerPlayer; > | ^~~~~ >qstat.c: At top level: >qstat.c:9754:19: warning: âPacketStartâ defined but not used [-Wunused-const-variable=] > 9754 | static const char PacketStart = '\x42'; > | ^~~~~~~~~~~ >make[2]: Leaving directory '/var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14' >make[1]: *** [Makefile:616: all-recursive] Error 1 >make: *** [Makefile:429: all] Error 2 > * ERROR: games-util/qstat-2.14::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-util/qstat-2.14::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-util/qstat-2.14::gentoo'`. > * The complete build log is located at '/var/log/portage/games-util:qstat-2.14:20241121-054700.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-util/qstat-2.14/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-util/qstat-2.14/temp/environment'. > * Working directory: '/var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14' > * S: '/var/tmp/portage/games-util/qstat-2.14/work/qstat-2.14' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 944360
:
911185
|
911186
|
911187
|
911188
|
911189
| 911190 |
911191
|
911192
|
911193