Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/quake2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1657665320.818070/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6my4ahd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6my4ahd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f197f2f2348c443fac0191a560d884f2', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1657665320.818070/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6my4ahd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/quake2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611705600 Wrote: /builddir/build/SRPMS/quake2-6.00-17.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/quake2.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1657665320.818070/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6my4ahd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6my4ahd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dbe3641a7c8c4c6da97f030b3ff83bbf', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1657665320.818070/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6my4ahd7:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/quake2.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1611705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WXP6aM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yquake2-QUAKE2_6_00 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/QUAKE2_6_00.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd yquake2-QUAKE2_6_00 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/allow-custom-cflags.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/remove-rpaths.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pMnhAn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/yquake2-QUAKE2_6_00/.package_note-quake2-6.00-17.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh quake2 6.00-17.fc37 x86_64 + cd yquake2-QUAKE2_6_00 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + make -j2 WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=/usr/lib64/games/quake2 Build configuration ===> Building quake2 ============================ make release/quake2 WITH_CDA = no WITH_OPENAL = yes make[1]: Entering directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' WITH_SDL2 = yes WITH_X11GAMMA = no WITH_ZIP = yes WITH_SYSTEMWIDE = yes WITH_SYSTEMDIR = /usr/lib64/games/quake2 ============================ WARNING: CDA disabled because SDL2 doesn't support it! ===> Building q2ded make release/q2ded make[1]: Entering directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' ===> CC src/backends/generic/misc.c ===> CC src/common/argproc.c ===> CC src/backends/generic/qal.c ===> CC src/common/clientserver.c ===> CC src/backends/generic/vid.c ===> CC src/common/collision.c ===> CC src/backends/generic/qgl.c ===> CC src/backends/sdl/cd.c ===> CC src/backends/sdl/input.c ===> CC src/common/crc.c ===> CC src/common/cmdparser.c ===> CC src/backends/sdl/refresh.c ===> CC src/common/cvar.c ===> CC src/common/filesystem.c src/common/filesystem.c: In function 'FS_LoadPAK': src/common/filesystem.c:706:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 706 | fread(&header, 1, sizeof(dpackheader_t), handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/filesystem.c:729:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 729 | fread(info, 1, header.dirlen, handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CC src/common/glob.c ===> CC src/backends/sdl/sound.c ===> CC src/common/md4.c ===> CC src/common/misc.c ===> CC src/common/movemsg.c ===> CC src/common/netchan.c ===> CC src/common/pmove.c ===> CC src/client/cl_cin.c ===> CC src/common/szone.c ===> CC src/client/cl_console.c ===> CC src/common/zone.c ===> CC src/common/shared/rand.c ===> CC src/common/shared/shared.c ===> CC src/client/cl_download.c ===> CC src/client/cl_effects.c ===> CC src/common/unzip/ioapi.c ===> CC src/common/unzip/unzip.c ===> CC src/server/sv_cmd.c ===> CC src/server/sv_conless.c ===> CC src/client/cl_entities.c ===> CC src/server/sv_entities.c ===> CC src/server/sv_game.c ===> CC src/client/cl_input.c ===> CC src/server/sv_init.c ===> CC src/client/cl_inventory.c ===> CC src/server/sv_main.c ===> CC src/client/cl_keyboard.c In file included from /usr/include/string.h:535, from src/client/header/client.h:44, from src/client/cl_keyboard.c:30: In function 'strcpy', inlined from 'Key_Console.part.0' at src/client/cl_keyboard.c:321:3: /usr/include/bits/string_fortified.h:79:10: warning: 'stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 7936] may overlap 1 byte at offset 0 [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'memmove', inlined from 'Key_Console.part.0' at src/client/cl_keyboard.c:424:3: /usr/include/bits/string_fortified.h:36:10: warning: 'memmove' offset [-2147483647, -1] is out of the bounds [0, 8192] of object 'key_lines' with type 'char[32][256]' [-Warray-bounds] 36 | return __builtin___memmove_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cl_keyboard.c: In function 'Key_Console.part.0': src/client/cl_keyboard.c:39:6: note: 'key_lines' declared here 39 | char key_lines[NUM_KEY_LINES][MAXCMDLINE]; | ^~~~~~~~~ In function 'strcpy', inlined from 'Key_Console.part.0' at src/client/cl_keyboard.c:348:4: /usr/include/bits/string_fortified.h:79:10: warning: 'stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 7936] may overlap 1 byte at offset 0 [-Wrestrict] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CC src/server/sv_save.c ===> CC src/client/cl_lights.c ===> CC src/server/sv_send.c ===> CC src/client/cl_main.c ===> CC src/server/sv_user.c ===> CC src/client/cl_network.c ===> CC src/server/sv_world.c ===> CC src/client/cl_parse.c ===> CC src/backends/generic/misc.c ===> CC src/backends/unix/main.c ===> CC src/backends/unix/network.c ===> CC src/client/cl_particles.c ===> CC src/client/cl_prediction.c ===> CC src/backends/unix/signalhandler.c src/client/cl_prediction.c: In function 'CL_PredictMovement': src/client/cl_prediction.c:301:21: warning: 'VectorCompare' accessing 12 bytes in a region of size 6 [-Wstringop-overflow=] 301 | && !VectorCompare((float *)pm.s.velocity, vec3_origin) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cl_prediction.c:301:21: note: referencing argument 1 of type 'vec_t[3]' src/client/cl_prediction.c:301:21: note: referencing argument 2 of type 'vec_t[3]' In file included from src/client/header/../../common/header/common.h:32, from src/client/header/ref.h:30, from src/client/header/client.h:50, from src/client/cl_prediction.c:28: src/client/header/../../common/header/shared.h:174:5: note: in a call to function 'VectorCompare' 174 | int VectorCompare(vec3_t v1, vec3_t v2); | ^~~~~~~~~~~~~ ===> CC src/backends/unix/system.c src/client/cl_prediction.c:301:21: warning: 'VectorCompare' accessing 12 bytes in a region of size 6 [-Wstringop-overflow=] 301 | && !VectorCompare((float *)pm.s.velocity, vec3_origin) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cl_prediction.c:301:21: note: referencing argument 1 of type 'vec_t[3]' src/client/cl_prediction.c:301:21: note: referencing argument 2 of type 'vec_t[3]' src/client/header/../../common/header/shared.h:174:5: note: in a call to function 'VectorCompare' 174 | int VectorCompare(vec3_t v1, vec3_t v2); | ^~~~~~~~~~~~~ src/client/cl_prediction.c:301:21: warning: 'VectorCompare' accessing 12 bytes in a region of size 6 [-Wstringop-overflow=] 301 | && !VectorCompare((float *)pm.s.velocity, vec3_origin) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/cl_prediction.c:301:21: note: referencing argument 1 of type 'vec_t[3]' src/client/cl_prediction.c:301:21: note: referencing argument 2 of type 'vec_t[3]' src/client/header/../../common/header/shared.h:174:5: note: in a call to function 'VectorCompare' 174 | int VectorCompare(vec3_t v1, vec3_t v2); | ^~~~~~~~~~~~~ ===> CC src/client/cl_screen.c src/backends/unix/system.c: In function 'Sys_GetGameAPI': src/backends/unix/system.c:383:9: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 383 | setreuid(getuid(), getuid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backends/unix/system.c:384:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 384 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ src/client/cl_screen.c: In function 'SCR_ExecuteLayoutString': src/client/cl_screen.c:1114:29: warning: the comparison will always evaluate as 'true' for the address of 'configstrings' will never be NULL [-Waddress] 1114 | if (cl.configstrings[CS_IMAGES + value]) | ^~ In file included from src/client/cl_screen.c:28: src/client/header/client.h:166:25: note: 'configstrings' declared here 166 | char configstrings[MAX_CONFIGSTRINGS][MAX_QPATH]; | ^~~~~~~~~~~~~ src/backends/unix/system.c: In function 'Sys_FindNext': src/backends/unix/system.c:191:55: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 191 | sprintf(findpath, "%s/%s", findbase, d->d_name); | ^~ In file included from /usr/include/stdio.h:906, from src/backends/unix/system.c:36: In function 'sprintf', inlined from 'Sys_FindNext' at src/backends/unix/system.c:191:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ===> CC src/backends/unix/shared/hunk.c ===> LD release/q2ded ===> CC src/client/cl_tempentities.c ===> CC src/client/cl_view.c ===> CC src/client/refresh/r_draw.c src/client/refresh/r_draw.c: In function 'Draw_StretchRaw': src/client/refresh/r_draw.c:499:39: warning: 'hscale' may be used uninitialized [-Wmaybe-uninitialized] 499 | row = (int)(i * hscale); | ~~~^~~~~~~~~ src/client/refresh/r_draw.c:367:15: note: 'hscale' was declared here 367 | float hscale; | ^~~~~~ ===> CC src/client/refresh/r_image.c ===> CC src/client/refresh/r_light.c ===> CC src/client/refresh/r_lightmap.c make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' ===> Building baseq2/game.so make release/baseq2/game.so make[1]: Entering directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' ===> CC src/common/shared/flash.c ===> CC src/common/shared/rand.c ===> CC src/client/refresh/r_main.c ===> CC src/common/shared/shared.c src/client/refresh/r_main.c: In function 'R_DrawParticles': src/client/refresh/r_main.c:564:17: warning: 'R_DrawParticles2' reading 3072 bytes from a region of size 1024 [-Wstringop-overread] 564 | R_DrawParticles2(r_newrefdef.num_particles, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 565 | r_newrefdef.particles, d_8to24table); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/refresh/r_main.c:564:17: note: referencing argument 3 of type 'const unsigned int[768]' src/client/refresh/r_main.c:416:1: note: in a call to function 'R_DrawParticles2' 416 | R_DrawParticles2(int num_particles, const particle_t particles[], | ^~~~~~~~~~~~~~~~ src/client/refresh/r_main.c:564:17: warning: 'R_DrawParticles2' reading 3072 bytes from a region of size 1024 [-Wstringop-overread] 564 | R_DrawParticles2(r_newrefdef.num_particles, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 565 | r_newrefdef.particles, d_8to24table); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/refresh/r_main.c:564:17: note: referencing argument 3 of type 'const unsigned int[768]' src/client/refresh/r_main.c:416:1: note: in a call to function 'R_DrawParticles2' 416 | R_DrawParticles2(int num_particles, const particle_t particles[], | ^~~~~~~~~~~~~~~~ src/client/refresh/r_main.c:564:17: warning: 'R_DrawParticles2' reading 3072 bytes from a region of size 1024 [-Wstringop-overread] 564 | R_DrawParticles2(r_newrefdef.num_particles, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 565 | r_newrefdef.particles, d_8to24table); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/client/refresh/r_main.c:564:17: note: referencing argument 3 of type 'const unsigned int[768]' src/client/refresh/r_main.c:416:1: note: in a call to function 'R_DrawParticles2' 416 | R_DrawParticles2(int num_particles, const particle_t particles[], | ^~~~~~~~~~~~~~~~ ===> CC src/game/g_ai.c ===> CC src/client/refresh/r_mesh.c ===> CC src/game/g_chase.c ===> CC src/game/g_cmds.c ===> CC src/client/refresh/r_misc.c ===> CC src/client/refresh/r_model.c src/client/refresh/r_model.c:52:24: warning: argument 1 of type 'vec_t[3]' {aka 'float[3]'} with mismatched bound [-Warray-parameter=] 52 | Mod_PointInLeaf(vec3_t p, model_t *model) | ~~~~~~~^ In file included from src/client/refresh/header/local.h:161, from src/client/refresh/r_model.c:27: src/client/refresh/header/model.h:220:33: note: previously declared as 'float *' 220 | mleaf_t *Mod_PointInLeaf(float *p, model_t *model); | ~~~~~~~^ ===> CC src/game/g_combat.c ===> CC src/game/g_func.c ===> CC src/client/refresh/r_scrap.c ===> CC src/client/refresh/r_surf.c ===> CC src/client/refresh/r_warp.c ===> CC src/game/g_items.c ===> CC src/client/refresh/files/md2.c ===> CC src/client/refresh/files/pcx.c ===> CC src/game/g_main.c ===> CC src/client/refresh/files/sp2.c ===> CC src/game/g_misc.c ===> CC src/client/refresh/files/stb.c In file included from src/client/refresh/files/stb.c:42: src/client/refresh/files/stb_image.h: In function 'stbi__convert_format': src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1249:10: note: in expansion of macro 'CASE' 1249 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; | ^~~~ src/client/refresh/files/stb_image.h:1249:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1249 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1250:10: note: in expansion of macro 'CASE' 1250 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~ src/client/refresh/files/stb_image.h:1250:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1250 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1251:10: note: in expansion of macro 'CASE' 1251 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; | ^~~~ src/client/refresh/files/stb_image.h:1251:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1251 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1252:10: note: in expansion of macro 'CASE' 1252 | CASE(2,1) dest[0]=src[0]; break; | ^~~~ src/client/refresh/files/stb_image.h:1252:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1252 | CASE(2,1) dest[0]=src[0]; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1253:10: note: in expansion of macro 'CASE' 1253 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~ src/client/refresh/files/stb_image.h:1253:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1253 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1254:10: note: in expansion of macro 'CASE' 1254 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; | ^~~~ src/client/refresh/files/stb_image.h:1254:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1254 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1255:10: note: in expansion of macro 'CASE' 1255 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; | ^~~~ src/client/refresh/files/stb_image.h:1255:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1255 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1256:10: note: in expansion of macro 'CASE' 1256 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~ src/client/refresh/files/stb_image.h:1256:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1256 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1257:10: note: in expansion of macro 'CASE' 1257 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; | ^~~~ src/client/refresh/files/stb_image.h:1257:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1257 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1258:10: note: in expansion of macro 'CASE' 1258 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~ src/client/refresh/files/stb_image.h:1258:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1258 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1259:10: note: in expansion of macro 'CASE' 1259 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; | ^~~~ src/client/refresh/files/stb_image.h:1259:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1259 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; | ^~~~~ src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ src/client/refresh/files/stb_image.h:1260:10: note: in expansion of macro 'CASE' 1260 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; | ^~~~ src/client/refresh/files/stb_image.h:1260:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1260 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; | ^~~~~ src/client/refresh/files/stb_image.h: In function 'stbi__create_png_image_raw': src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3928 | for (k=0; k < nk; ++k) | ^~~ src/client/refresh/files/stb_image.h:3932:13: note: in expansion of macro 'CASE' 3932 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; | ^~~~ src/client/refresh/files/stb_image.h:3932:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3932 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; | ^~~~~ src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3928 | for (k=0; k < nk; ++k) | ^~~ src/client/refresh/files/stb_image.h:3933:13: note: in expansion of macro 'CASE' 3933 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~ src/client/refresh/files/stb_image.h:3933:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3933 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~~ src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3928 | for (k=0; k < nk; ++k) | ^~~ src/client/refresh/files/stb_image.h:3934:13: note: in expansion of macro 'CASE' 3934 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; | ^~~~ src/client/refresh/files/stb_image.h:3934:113: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3934 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; | ^~~~~ src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3928 | for (k=0; k < nk; ++k) | ^~~ src/client/refresh/files/stb_image.h:3935:13: note: in expansion of macro 'CASE' 3935 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; | ^~~~ src/client/refresh/files/stb_image.h:3935:139: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3935 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; | ^~~~~ src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3928 | for (k=0; k < nk; ++k) | ^~~ src/client/refresh/files/stb_image.h:3936:13: note: in expansion of macro 'CASE' 3936 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; | ^~~~ src/client/refresh/files/stb_image.h:3936:102: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3936 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; | ^~~~~ src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3928 | for (k=0; k < nk; ++k) | ^~~ src/client/refresh/files/stb_image.h:3937:13: note: in expansion of macro 'CASE' 3937 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; | ^~~~ src/client/refresh/files/stb_image.h:3937:112: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3937 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; | ^~~~~ src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3946 | for (k=0; k < img_n; ++k) | ^~~ src/client/refresh/files/stb_image.h:3948:13: note: in expansion of macro 'CASE' 3948 | CASE(STBI__F_none) cur[k] = raw[k]; break; | ^~~~ src/client/refresh/files/stb_image.h:3948:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3948 | CASE(STBI__F_none) cur[k] = raw[k]; break; | ^~~~~ src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3946 | for (k=0; k < img_n; ++k) | ^~~ src/client/refresh/files/stb_image.h:3949:13: note: in expansion of macro 'CASE' 3949 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; | ^~~~ src/client/refresh/files/stb_image.h:3949:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3949 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; | ^~~~~ src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3946 | for (k=0; k < img_n; ++k) | ^~~ src/client/refresh/files/stb_image.h:3950:13: note: in expansion of macro 'CASE' 3950 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~ src/client/refresh/files/stb_image.h:3950:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3950 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~~ src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3946 | for (k=0; k < img_n; ++k) | ^~~ src/client/refresh/files/stb_image.h:3951:13: note: in expansion of macro 'CASE' 3951 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; | ^~~~ src/client/refresh/files/stb_image.h:3951:106: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3951 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; | ^~~~~ src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3946 | for (k=0; k < img_n; ++k) | ^~~ src/client/refresh/files/stb_image.h:3952:13: note: in expansion of macro 'CASE' 3952 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; | ^~~~ src/client/refresh/files/stb_image.h:3952:125: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3952 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; | ^~~~~ src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3946 | for (k=0; k < img_n; ++k) | ^~~ src/client/refresh/files/stb_image.h:3953:13: note: in expansion of macro 'CASE' 3953 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; | ^~~~ src/client/refresh/files/stb_image.h:3953:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3953 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; | ^~~~~ src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 3946 | for (k=0; k < img_n; ++k) | ^~~ src/client/refresh/files/stb_image.h:3954:13: note: in expansion of macro 'CASE' 3954 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; | ^~~~ src/client/refresh/files/stb_image.h:3954:105: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 3954 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; | ^~~~~ ===> CC src/game/g_monster.c ===> CC src/game/g_phys.c ===> CC src/game/g_spawn.c ===> CC src/game/g_svcmds.c ===> CC src/game/g_target.c ===> CC src/game/g_trigger.c ===> CC src/game/g_turret.c ===> CC src/game/g_utils.c ===> CC src/game/g_weapon.c ===> CC src/client/refresh/files/wal.c ===> CC src/client/menu/menu.c src/client/menu/menu.c: In function 'StartServer_MenuInit': src/client/menu/menu.c:2844:13: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 2844 | fread(buffer, length, 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CC src/game/monster/berserker/berserker.c ===> CC src/game/monster/boss2/boss2.c ===> CC src/game/monster/boss3/boss3.c ===> CC src/game/monster/boss3/boss31.c ===> CC src/game/monster/boss3/boss32.c ===> CC src/client/menu/qmenu.c ===> CC src/game/monster/brain/brain.c ===> CC src/game/monster/chick/chick.c ===> CC src/client/menu/videomenu.c ===> CC src/game/monster/flipper/flipper.c ===> CC src/client/sound/ogg.c ===> CC src/game/monster/float/float.c ===> CC src/client/sound/openal.c ===> CC src/game/monster/flyer/flyer.c src/client/sound/openal.c: In function 'AL_Underwater': src/client/sound/openal.c:688:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 688 | if (underwaterFilter == 0) | ^~ src/client/sound/openal.c:692:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 692 | for (i = 0; i < s_numchannels; i++) | ^~~ src/client/sound/openal.c: In function 'AL_Overwater': src/client/sound/openal.c:711:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 711 | if (underwaterFilter == 0) | ^~ src/client/sound/openal.c:715:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 715 | for (i = 0; i < s_numchannels; i++) | ^~~ src/client/sound/openal.c: In function 'AL_InitUnderwaterFilter': src/client/sound/openal.c:746:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 746 | if (!(qalGenFilters && qalFilteri && qalFilterf && qalDeleteFilters)) | ^~ src/client/sound/openal.c:750:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 750 | qalGenFilters(1, &underwaterFilter); | ^~~~~~~~~~~~~ ===> CC src/game/monster/gladiator/gladiator.c ===> CC src/client/sound/sound.c ===> CC src/game/monster/gunner/gunner.c ===> CC src/client/sound/wave.c ===> CC src/game/monster/hover/hover.c ===> CC src/common/argproc.c ===> CC src/game/monster/infantry/infantry.c ===> CC src/common/clientserver.c ===> CC src/common/collision.c ===> CC src/game/monster/insane/insane.c ===> CC src/game/monster/medic/medic.c ===> CC src/game/monster/misc/move.c ===> CC src/common/crc.c ===> CC src/common/cmdparser.c ===> CC src/game/monster/mutant/mutant.c ===> CC src/game/monster/parasite/parasite.c ===> CC src/common/cvar.c ===> CC src/game/monster/soldier/soldier.c ===> CC src/common/filesystem.c src/common/filesystem.c: In function 'FS_LoadPAK': src/common/filesystem.c:706:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 706 | fread(&header, 1, sizeof(dpackheader_t), handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/filesystem.c:729:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 729 | fread(info, 1, header.dirlen, handle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CC src/game/monster/supertank/supertank.c ===> CC src/game/monster/tank/tank.c ===> CC src/common/glob.c ===> CC src/common/md4.c ===> CC src/game/player/client.c ===> CC src/common/movemsg.c ===> CC src/common/misc.c ===> CC src/common/netchan.c ===> CC src/common/pmove.c ===> CC src/game/player/hud.c ===> CC src/game/player/trail.c ===> CC src/game/player/view.c ===> CC src/common/szone.c ===> CC src/common/zone.c ===> CC src/common/shared/flash.c ===> CC src/common/shared/rand.c ===> CC src/common/shared/shared.c ===> CC src/game/player/weapon.c ===> CC src/common/unzip/ioapi.c ===> CC src/common/unzip/unzip.c ===> CC src/game/savegame/savegame.c src/game/savegame/savegame.c: In function 'ReadField': src/game/savegame/savegame.c:606:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 606 | fread(*(char **)p, len, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:664:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 664 | fread (funcStr, len, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:688:33: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 688 | fread (funcStr, len, 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadClient': src/game/savegame/savegame.c:740:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 740 | fread(client, sizeof(*client), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadGame': src/game/savegame/savegame.c:835:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 835 | fread(str_ver, sizeof(str_ver), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:836:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 836 | fread(str_game, sizeof(str_game), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:837:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 837 | fread(str_os, sizeof(str_os), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:838:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 838 | fread(str_arch, sizeof(str_arch), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:898:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 898 | fread(&game, sizeof(game), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadEdict': src/game/savegame/savegame.c:1030:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1030 | fread(ent, sizeof(*ent), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadLevelLocals': src/game/savegame/savegame.c:1049:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1049 | fread(&level, sizeof(level), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadLevel': src/game/savegame/savegame.c:1090:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1090 | fread(&i, sizeof(i), 1, f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CC src/server/sv_cmd.c ===> LD release/baseq2/game.so src/game/g_turret.c:29:6: warning: type of 'infantry_die' does not match original declaration [-Wlto-type-mismatch] 29 | void infantry_die(edict_t *self, edict_t *inflictor, edict_t *attacker, | ^ src/game/monster/infantry/infantry.c:493:1: note: type mismatch in parameter 5 493 | infantry_die(edict_t *self, edict_t *inflictor /* unused */, | ^ src/game/monster/infantry/infantry.c:493:1: note: 'infantry_die' was previously declared here src/game/g_spawn.c:43:6: warning: type of 'SP_info_player_intermission' does not match original declaration [-Wlto-type-mismatch] 43 | void SP_info_player_intermission(edict_t *ent); | ^ src/game/player/client.c:395:1: note: type mismatch in parameter 1 395 | SP_info_player_intermission(void) | ^ src/game/player/client.c:395:1: note: 'SP_info_player_intermission' was previously declared here ===> CC src/server/sv_conless.c ===> CC src/server/sv_entities.c ===> CC src/server/sv_game.c ===> CC src/server/sv_init.c ===> CC src/server/sv_main.c ===> CC src/server/sv_save.c ===> CC src/server/sv_send.c ===> CC src/server/sv_user.c ===> CC src/server/sv_world.c ===> CC src/backends/unix/main.c ===> CC src/backends/unix/network.c ===> CC src/backends/unix/signalhandler.c ===> CC src/backends/unix/system.c src/backends/unix/system.c: In function 'Sys_GetGameAPI': src/backends/unix/system.c:383:9: warning: ignoring return value of 'setreuid' declared with attribute 'warn_unused_result' [-Wunused-result] 383 | setreuid(getuid(), getuid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backends/unix/system.c:384:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 384 | setegid(getgid()); | ^~~~~~~~~~~~~~~~~ src/backends/unix/system.c: In function 'Sys_FindNext': src/backends/unix/system.c:191:55: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 191 | sprintf(findpath, "%s/%s", findbase, d->d_name); | ^~ In file included from /usr/include/stdio.h:906, from src/backends/unix/system.c:36: In function 'sprintf', inlined from 'Sys_FindNext' at src/backends/unix/system.c:191:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ===> CC src/backends/unix/shared/hunk.c ===> LD release/quake2 src/client/menu/menu.c:1915:12: warning: type of 'Developer_searchpath' does not match original declaration [-Wlto-type-mismatch] 1915 | extern int Developer_searchpath(void); | ^ src/common/filesystem.c:334:1: note: type mismatch in parameter 1 334 | Developer_searchpath(int who) | ^ src/common/filesystem.c:334:1: note: type 'int' should match type 'void' src/common/filesystem.c:334:1: note: 'Developer_searchpath' was previously declared here make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' src/client/refresh/r_main.c: In function 'R_DrawParticles': src/client/refresh/r_main.c:564:17: warning: 'R_DrawParticles2' reading 3072 bytes from a region of size 1024 [-Wstringop-overread] 564 | R_DrawParticles2(r_newrefdef.num_particles, | ^ src/client/refresh/r_main.c:564:17: note: referencing argument 3 of type 'const unsigned int[768]' src/client/refresh/r_main.c:416:1: note: in a call to function 'R_DrawParticles2' 416 | R_DrawParticles2(int num_particles, const particle_t particles[], | ^ src/client/refresh/r_main.c:564:17: warning: 'R_DrawParticles2' reading 3072 bytes from a region of size 1024 [-Wstringop-overread] 564 | R_DrawParticles2(r_newrefdef.num_particles, | ^ src/client/refresh/r_main.c:564:17: note: referencing argument 3 of type 'const unsigned int[768]' src/client/refresh/r_main.c:416:1: note: in a call to function 'R_DrawParticles2' 416 | R_DrawParticles2(int num_particles, const particle_t particles[], | ^ make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' + /usr/bin/make -O -j2 V=1 VERBOSE=1 ===> Building quake2 mkdir -p release /usr/bin/make release/quake2 Build configuration ============================ WITH_CDA = no WITH_OPENAL = yes WITH_SDL2 = yes WITH_X11GAMMA = no WITH_ZIP = yes WITH_SYSTEMWIDE = no WITH_SYSTEMDIR = ============================ WARNING: CDA disabled because SDL2 doesn't support it! ===> Building q2ded mkdir -p release /usr/bin/make release/q2ded make[1]: 'release/quake2' is up to date. ===> Building baseq2/game.so mkdir -p release/baseq2 /usr/bin/make release/baseq2/game.so make[1]: 'release/q2ded' is up to date. make[1]: 'release/baseq2/game.so' is up to date. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mwRtB6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/yquake2-QUAKE2_6_00/.package_note-quake2-6.00-17.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd yquake2-QUAKE2_6_00 + /usr/bin/install -D -p -m 755 release/quake2 /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/bin/quake2 + /usr/bin/install -D -p -m 755 release/q2ded /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/bin/q2ded + /usr/bin/install -D -p -m 755 release/baseq2/game.so /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/lib64/games/quake2/baseq2/game.so + /usr/bin/install -D -p -m 644 stuff/yq2.cfg /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/lib64/games/quake2/baseq2/yq2.cfg + /usr/bin/install -D -p -m 644 stuff/icon/Quake2.png /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/icons/hicolor/512x512/apps/quake2.png + /usr/bin/install -D -p -m 755 stuff/cdripper.sh /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/doc/quake2/examples/cdripper.sh + desktop-file-install --dir=/builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/applications /builddir/build/SOURCES/quake2.desktop + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 6.00-17.fc37 --unique-debug-suffix -6.00-17.fc37.x86_64 --unique-debug-src-base quake2-6.00-17.fc37.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/yquake2-QUAKE2_6_00 extracting debug info from /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/bin/q2ded extracting debug info from /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/bin/quake2 extracting debug info from /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/lib64/games/quake2/baseq2/game.so original debug info size: 4448kB, size after compression: 3888kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 5213 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/share/doc/quake2/examples/cdripper.sh from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: quake2-6.00-17.fc37.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.LyrB6M + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + DOCDIR=/builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/doc/quake2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/doc/quake2 + cp -pr CHANGELOG /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/doc/quake2 + cp -pr CONTRIBUTE /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/doc/quake2 + cp -pr README.md /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/doc/quake2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.klPVw9 + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + LICENSEDIR=/builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/licenses/quake2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/licenses/quake2 + cp -pr LICENSE /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64/usr/share/licenses/quake2 + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(quake2.desktop) quake2 = 6.00-17.fc37 quake2(x86-64) = 6.00-17.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libGL.so.1()(64bit) libSDL2-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libogg.so.0()(64bit) libvorbis.so.0()(64bit) libvorbisfile.so.3()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: quake2-debugsource-6.00-17.fc37.x86_64 Provides: quake2-debugsource = 6.00-17.fc37 quake2-debugsource(x86-64) = 6.00-17.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: quake2-debuginfo-6.00-17.fc37.x86_64 Provides: debuginfo(build-id) = be14f224b6312858cd025bb801d342d8ca40f5b7 debuginfo(build-id) = d7c57221238a7006c6f981b1a2803dec85d2c079 debuginfo(build-id) = fd7bbd1509bb94989310568c21fad51232013e6f quake2-debuginfo = 6.00-17.fc37 quake2-debuginfo(x86-64) = 6.00-17.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: quake2-debugsource(x86-64) = 6.00-17.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64 Wrote: /builddir/build/RPMS/quake2-debugsource-6.00-17.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/quake2-debuginfo-6.00-17.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/quake2-6.00-17.fc37.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.s4UgDa + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + /usr/bin/rm -rf /builddir/build/BUILDROOT/quake2-6.00-17.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.g3XHpl + umask 022 + cd /builddir/build/BUILD + rm -rf yquake2-QUAKE2_6_00 yquake2-QUAKE2_6_00.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0