Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/quake2.spec'], chrootPath='/var/lib/mock/f31-build-49054-27209/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/quake2-6.00-11.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/quake2.spec'], chrootPath='/var/lib/mock/f31-build-49054-27209/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZHoFJC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yquake2-QUAKE2_6_00 + /usr/bin/gzip -dc /builddir/build/SOURCES/QUAKE2_6_00.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yquake2-QUAKE2_6_00 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/allow-custom-cflags.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/remove-rpaths.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z3vaxA + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + make -j4 WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=/usr/lib64/games/quake2 BUILDSTDERR: src/common/filesystem.c: In function 'FS_LoadPAK': BUILDSTDERR: src/common/filesystem.c:706:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 706 | fread(&header, 1, sizeof(dpackheader_t), handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common/filesystem.c:729:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 729 | fread(info, 1, header.dirlen, handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from src/client/header/client.h:44, BUILDSTDERR: from src/client/cl_keyboard.c:30: BUILDSTDERR: In function 'strcpy', BUILDSTDERR: inlined from 'Key_Console' at src/client/cl_keyboard.c:348:4, BUILDSTDERR: inlined from 'Key_Console' at src/client/cl_keyboard.c:210:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:90:10: warning: '__builtin_stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 7936] may overlap 1 byte at offset 0 [-Wrestrict] BUILDSTDERR: 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'strcpy', BUILDSTDERR: inlined from 'Key_Console' at src/client/cl_keyboard.c:321:3, BUILDSTDERR: inlined from 'Key_Console' at src/client/cl_keyboard.c:210:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:90:10: warning: '__builtin_stpcpy' accessing 1 byte at offsets [0, 8192] and [0, 7936] may overlap 1 byte at offset 0 [-Wrestrict] BUILDSTDERR: 90 | return __builtin___strcpy_chk (__dest, __src, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'memmove', BUILDSTDERR: inlined from 'Key_Console' at src/client/cl_keyboard.c:424:3, BUILDSTDERR: inlined from 'Key_Console' at src/client/cl_keyboard.c:210:1: BUILDSTDERR: /usr/include/bits/string_fortified.h:40:10: warning: '__builtin_memmove' offset [-2147483647, -1] is out of the bounds [0, 8192] of object 'key_lines' with type 'char[32][256]' [-Warray-bounds] BUILDSTDERR: 40 | return __builtin___memmove_chk (__dest, __src, __len, __bos0 (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/client/cl_keyboard.c: In function 'Key_Console': BUILDSTDERR: src/client/cl_keyboard.c:39:6: note: 'key_lines' declared here BUILDSTDERR: 39 | char key_lines[NUM_KEY_LINES][MAXCMDLINE]; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/client/refresh/r_draw.c: In function 'Draw_StretchRaw': BUILDSTDERR: src/client/refresh/r_draw.c:468:19: warning: 'hscale' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 468 | row = (int)(i * hscale); BUILDSTDERR: | ~~~^~~~~~~~~ Build configuration ===> Building quake2 ===> Building baseq2/game.so ===> Building q2ded ============================ make release/quake2 WITH_CDA = no make release/baseq2/game.so make release/q2ded make[1]: Entering directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' WITH_OPENAL = yes make[1]: Entering directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' WITH_SDL2 = yes make[1]: Entering directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' WITH_X11GAMMA = no WITH_ZIP = yes WITH_SYSTEMWIDE = yes WITH_SYSTEMDIR = /usr/lib64/games/quake2 ============================ WARNING: CDA disabled because SDL2 doesn't support it! ===> CC src/common/shared/rand.c ===> CC src/common/shared/flash.c ===> CC src/common/argproc.c ===> CC src/backends/generic/misc.c ===> CC src/common/shared/shared.c ===> CC src/backends/generic/qal.c ===> CC src/game/g_ai.c ===> CC src/backends/generic/vid.c ===> CC src/backends/generic/qgl.c ===> CC src/game/g_chase.c ===> CC src/common/clientserver.c ===> CC src/backends/sdl/cd.c ===> CC src/game/g_cmds.c ===> CC src/game/g_combat.c ===> CC src/common/collision.c ===> CC src/common/crc.c ===> CC src/backends/sdl/input.c ===> CC src/game/g_func.c ===> CC src/backends/sdl/refresh.c ===> CC src/game/g_items.c ===> CC src/common/cmdparser.c ===> CC src/common/cvar.c ===> CC src/common/filesystem.c ===> CC src/game/g_main.c ===> CC src/backends/sdl/sound.c ===> CC src/game/g_misc.c ===> CC src/common/glob.c ===> CC src/game/g_monster.c ===> CC src/common/md4.c ===> CC src/common/misc.c ===> CC src/client/cl_cin.c ===> CC src/client/cl_console.c ===> CC src/common/movemsg.c ===> CC src/client/cl_download.c ===> CC src/game/g_phys.c ===> CC src/client/cl_effects.c ===> CC src/common/netchan.c ===> CC src/client/cl_entities.c ===> CC src/common/pmove.c ===> CC src/game/g_spawn.c ===> CC src/game/g_svcmds.c ===> CC src/client/cl_input.c ===> CC src/common/szone.c ===> CC src/common/zone.c ===> CC src/common/shared/rand.c ===> CC src/common/shared/shared.c ===> CC src/game/g_target.c ===> CC src/common/unzip/ioapi.c ===> CC src/client/cl_inventory.c ===> CC src/client/cl_keyboard.c ===> CC src/game/g_trigger.c ===> CC src/game/g_turret.c ===> CC src/common/unzip/unzip.c ===> CC src/client/cl_lights.c ===> CC src/client/cl_main.c ===> CC src/game/g_utils.c ===> CC src/client/cl_network.c ===> CC src/game/g_weapon.c ===> CC src/client/cl_parse.c ===> CC src/client/cl_particles.c ===> CC src/game/monster/berserker/berserker.c ===> CC src/game/monster/boss2/boss2.c ===> CC src/game/monster/boss3/boss3.c ===> CC src/client/cl_prediction.c ===> CC src/client/cl_screen.c ===> CC src/game/monster/boss3/boss31.c ===> CC src/server/sv_cmd.c ===> CC src/client/cl_tempentities.c ===> CC src/server/sv_conless.c ===> CC src/game/monster/boss3/boss32.c ===> CC src/server/sv_entities.c ===> CC src/game/monster/brain/brain.c ===> CC src/server/sv_game.c ===> CC src/client/cl_view.c ===> CC src/game/monster/chick/chick.c ===> CC src/game/monster/flipper/flipper.c ===> CC src/server/sv_init.c ===> CC src/client/refresh/r_image.c ===> CC src/client/refresh/r_draw.c ===> CC src/game/monster/float/float.c ===> CC src/server/sv_main.c ===> CC src/game/monster/flyer/flyer.c ===> CC src/client/refresh/r_light.c ===> CC src/server/sv_save.c ===> CC src/game/monster/gladiator/gladiator.c ===> CC src/game/monster/gunner/gunner.c ===> CC src/client/refresh/r_lightmap.c ===> CC src/server/sv_send.c ===> CC src/game/monster/hover/hover.c ===> CC src/client/refresh/r_main.c ===> CC src/server/sv_user.c ===> CC src/game/monster/infantry/infantry.c ===> CC src/game/monster/insane/insane.c ===> CC src/client/refresh/r_mesh.c ===> CC src/server/sv_world.c ===> CC src/game/monster/medic/medic.c ===> CC src/backends/generic/misc.c ===> CC src/game/monster/misc/move.c ===> CC src/backends/unix/main.c ===> CC src/backends/unix/network.c ===> CC src/client/refresh/r_misc.c ===> CC src/game/monster/mutant/mutant.c ===> CC src/client/refresh/r_model.c ===> CC src/game/monster/parasite/parasite.c ===> CC src/game/monster/soldier/soldier.c BUILDSTDERR: ===> CC srsrc/backends/unix/system.c: In function 'Sys_GetGameAPI': BUILDSTDERR: src/backends/unix/system.c:383:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 383 | setreuid(getuid(), getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/backends/unix/system.c:384:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 384 | setegid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/backends/unix/system.c: In function 'Sys_FindNext': BUILDSTDERR: src/backends/unix/system.c:191:27: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] BUILDSTDERR: 191 | sprintf(findpath, "%s/%s", findbase, d->d_name); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from src/backends/unix/system.c:36: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/backends/unix/system.c: In function 'Sys_FindFirst': BUILDSTDERR: src/backends/unix/system.c:166:27: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] BUILDSTDERR: 166 | sprintf(findpath, "%s/%s", findbase, d->d_name); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from src/backends/unix/system.c:36: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/client/refresh/files/stb.c:42: BUILDSTDERR: src/client/refresh/files/stb_image.h: In function 'stbi__convert_format': BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1249:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1249 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1249 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1250:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1250 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1250 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1251:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1251 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1251 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1252:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1252 | CASE(2,1) dest[0]=src[0]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1252 | CASE(2,1) dest[0]=src[0]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1253:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1253 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1253 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1254:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1254 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1254 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1255:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1255 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1255 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1256:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1256 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1256 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1257:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1257 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1257 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1258:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1258 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1258 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1259:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1259 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1259 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1245:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1245 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:1260:10: note: in expansion of macro 'CASE' BUILDSTDERR: 1260 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 1260 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from src/client/refresh/files/stb.c:42: BUILDSTDERR: src/client/refresh/files/stb_image.h: In function 'stbi__create_png_image_raw': BUILDSTDERR: src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3928 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3932:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3932 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3932 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3928 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3933:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3933 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3933 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3928 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3934:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3934 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3934 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3928 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3935:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3935 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3935 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3928 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3936:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3936 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3936 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3928:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3928 | for (k=0; k < nk; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3937:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3937 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3937 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3946 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3948:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3948 | CASE(STBI__F_none) cur[k] = raw[k]; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3948 | CASE(STBI__F_none) cur[k] = raw[k]; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3946 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3949:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3949 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3949 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3946 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3950:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3950 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3950 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3946 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3951:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3951 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3951 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3946 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3952:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3952 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3952 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3946 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3953:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3953 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3953 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3946:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 3946 | for (k=0; k < img_n; ++k) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/refresh/files/stb_image.h:3954:13: note: in expansion of macro 'CASE' BUILDSTDERR: 3954 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; BUILDSTDERR: | ^~~~ BUILDSTDERR: 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' BUILDSTDERR: 3954 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: src/client/menu/menu.c: In function 'StartServer_MenuInit': BUILDSTDERR: src/client/menu/menu.c:2844:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 2844 | fread(buffer, length, 1, fp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c: In function 'ReadField': BUILDSTDERR: src/game/savegame/savegame.c:606:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 606 | fread(*(char **)p, len, 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c:664:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 664 | fread (funcStr, len, 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c:688:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 688 | fread (funcStr, len, 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c: In function 'ReadClient': BUILDSTDERR: src/game/savegame/savegame.c:740:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 740 | fread(client, sizeof(*client), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c: In function 'ReadGame': BUILDSTDERR: src/game/savegame/savegame.c:835:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 835 | fread(str_ver, sizeof(str_ver), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c:836:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 836 | fread(str_game, sizeof(str_game), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c:837:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 837 | fread(str_os, sizeof(str_os), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c:838:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 838 | fread(str_arch, sizeof(str_arch), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c:898:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 898 | fread(&game, sizeof(game), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c: In function 'ReadEdict': BUILDSTDERR: src/game/savegame/savegame.c:1030:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1030 | fread(ent, sizeof(*ent), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c: In function 'ReadLevelLocals': BUILDSTDERR: src/game/savegame/savegame.c:1049:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1049 | fread(&level, sizeof(level), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/game/savegame/savegame.c: In function 'ReadLevel': BUILDSTDERR: src/game/savegame/savegame.c:1090:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1090 | fread(&i, sizeof(i), 1, f); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/client/sound/openal.c: In function 'AL_Underwater': BUILDSTDERR: src/client/sound/openal.c:688:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 688 | if (underwaterFilter == 0) BUILDSTDERR: | ^~ BUILDSTDERR: src/client/sound/openal.c:692:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 692 | for (i = 0; i < s_numchannels; i++) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/sound/openal.c: In function 'AL_Overwater': BUILDSTDERR: src/client/sound/openal.c:711:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 711 | if (underwaterFilter == 0) BUILDSTDERR: | ^~ BUILDSTDERR: src/client/sound/openal.c:715:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 715 | for (i = 0; i < s_numchannels; i++) BUILDSTDERR: | ^~~ BUILDSTDERR: src/client/sound/openal.c: In function 'AL_InitUnderwaterFilter': BUILDSTDERR: src/client/sound/openal.c:746:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 746 | if (!(qalGenFilters && qalFilteri && qalFilterf && qalDeleteFilters)) BUILDSTDERR: | ^~ BUILDSTDERR: src/client/sound/openal.c:750:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 750 | qalGenFilters(1, &underwaterFilter); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: src/common/filesystem.c: In function 'FS_LoadPAK': BUILDSTDERR: src/common/filesystem.c:706:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 706 | fread(&header, 1, sizeof(dpackheader_t), handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/common/filesystem.c:729:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 729 | fread(info, 1, header.dirlen, handle); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/backends/unix/system.c: In function 'Sys_GetGameAPI': BUILDSTDERR: src/backends/unix/system.c:383:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 383 | setreuid(getuid(), getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/backends/unix/system.c:384:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 384 | setegid(getgid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: src/backends/unix/system.c: In function 'Sys_FindNext': BUILDSTDERR: src/backends/unix/system.c:191:27: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] BUILDSTDERR: 191 | sprintf(findpath, "%s/%s", findbase, d->d_name); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from src/backends/unix/system.c:36: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/backends/unix/system.c: In function 'Sys_FindFirst': BUILDSTDERR: src/backends/unix/system.c:166:27: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] BUILDSTDERR: 166 | sprintf(findpath, "%s/%s", findbase, d->d_name); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from src/backends/unix/system.c:36: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 4352 bytes into a destination of size 4096 BUILDSTDERR: 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 37 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + /usr/bin/make -O -j4 V=1 VERBOSE=1 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 c/backends/unix/signalhandler.c ===> CC src/backends/unix/system.c ===> CC src/backends/unix/shared/hunk.c ===> CC src/client/refresh/r_scrap.c ===> CC src/game/monster/supertank/supertank.c ===> CC src/client/refresh/r_surf.c ===> LD release/q2ded ===> CC src/client/refresh/r_warp.c make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' ===> CC src/game/monster/tank/tank.c ===> CC src/game/player/client.c ===> CC src/game/player/hud.c ===> CC src/game/player/trail.c ===> CC src/client/refresh/files/md2.c ===> CC src/client/refresh/files/pcx.c ===> CC src/client/refresh/files/sp2.c ===> CC src/game/player/view.c ===> CC src/client/refresh/files/stb.c ===> CC src/game/player/weapon.c ===> CC src/client/refresh/files/wal.c ===> CC src/client/menu/menu.c ===> CC src/game/savegame/savegame.c ===> CC src/client/menu/qmenu.c ===> LD release/baseq2/game.so make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' ===> CC src/client/menu/videomenu.c ===> CC src/client/sound/ogg.c ===> CC src/client/sound/openal.c ===> CC src/client/sound/sound.c ===> CC src/client/sound/wave.c ===> CC src/common/argproc.c ===> CC src/common/clientserver.c ===> CC src/common/collision.c ===> CC src/common/crc.c ===> CC src/common/cmdparser.c ===> CC src/common/cvar.c ===> CC src/common/filesystem.c ===> CC src/common/glob.c ===> CC src/common/md4.c ===> CC src/common/movemsg.c ===> CC src/common/misc.c ===> CC src/common/netchan.c ===> CC src/common/pmove.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/common/unzip/ioapi.c ===> CC src/common/unzip/unzip.c ===> CC src/server/sv_cmd.c ===> 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 ===> CC src/backends/unix/shared/hunk.c ===> LD release/quake2 make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' ===> Building quake2 mkdir -p release /usr/bin/make release/quake2 ===> Building q2ded mkdir -p release /usr/bin/make release/q2ded ===> Building baseq2/game.so mkdir -p release/baseq2 /usr/bin/make release/baseq2/game.so 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! make[1]: 'release/q2ded' is up to date. make[1]: 'release/baseq2/game.so' is up to date. make[1]: 'release/quake2' is up to date. Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zC5ZGC + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64 + cd yquake2-QUAKE2_6_00 + /usr/bin/install -D -p -m 755 release/quake2 /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/bin/quake2 + /usr/bin/install -D -p -m 755 release/q2ded /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/bin/q2ded + /usr/bin/install -D -p -m 755 release/baseq2/game.so /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/lib64/games/quake2/baseq2/game.so + /usr/bin/install -D -p -m 644 stuff/yq2.cfg /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/lib64/games/quake2/baseq2/yq2.cfg + /usr/bin/install -D -p -m 644 stuff/icon/Quake2.png /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/icons/hicolor/512x512/apps/quake2.png + /usr/bin/install -D -p -m 755 stuff/cdripper.sh /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/doc/quake2/examples/cdripper.sh + desktop-file-install --dir=/builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/applications /builddir/build/SOURCES/quake2.desktop + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 6.00-11.fc31 --unique-debug-suffix -6.00-11.fc31.riscv64 --unique-debug-src-base quake2-6.00-11.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/yquake2-QUAKE2_6_00 BUILDSTDERR: 5197 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/bin/q2ded explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/lib64/games/quake2/baseq2/game.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/bin/quake2 extracting debug info from /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/bin/quake2 extracting debug info from /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/lib64/games/quake2/baseq2/game.so extracting debug info from /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/bin/q2ded original debug info size: 5416kB, size after compression: 4440kB /usr/lib/rpm/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. mangling shebang in /usr/share/doc/quake2/examples/cdripper.sh from /bin/sh to #!/usr/bin/sh Processing files: quake2-6.00-11.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.z3uw0y + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + DOCDIR=/builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/doc/quake2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/doc/quake2 + cp -pr CHANGELOG /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/doc/quake2 + cp -pr CONTRIBUTE /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/doc/quake2 + cp -pr README.md /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/doc/quake2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dMsvgA + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + LICENSEDIR=/builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/licenses/quake2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/licenses/quake2 + cp -pr LICENSE /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64/usr/share/licenses/quake2 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(quake2.desktop) quake2 = 6.00-11.fc31 quake2(riscv-64) = 6.00-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libGL.so.1()(64bit) libSDL2-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.27)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(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-11.fc31.riscv64 Provides: quake2-debugsource = 6.00-11.fc31 quake2-debugsource(riscv-64) = 6.00-11.fc31 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-11.fc31.riscv64 Provides: debuginfo(build-id) = 00ec7612539a2530f21a3fff4dd34a14db877565 debuginfo(build-id) = 2c59100cbd4c08220e350d1b9f49868b82eae9cd debuginfo(build-id) = a1f7e59ab51dddeae39019ce1aa567ddabd386a2 quake2-debuginfo = 6.00-11.fc31 quake2-debuginfo(riscv-64) = 6.00-11.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: quake2-debugsource(riscv-64) = 6.00-11.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64 Wrote: /builddir/build/RPMS/quake2-6.00-11.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/quake2-debugsource-6.00-11.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/quake2-debuginfo-6.00-11.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WsLSNB + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + /usr/bin/rm -rf /builddir/build/BUILDROOT/quake2-6.00-11.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0