+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/quake2.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uOL5bp + 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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LPIGjv + 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 ' + make -j4 WITH_SYSTEMWIDE=yes WITH_SYSTEMDIR=/usr/lib64/games/quake2 Build configuration ===> Building q2ded ===> Building quake2 ===> Building baseq2/game.so ============================ make release/quake2 make release/q2ded WITH_CDA = no make release/baseq2/game.so WITH_OPENAL = yes make[1]: Entering directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' make[1]: Entering directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' 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! ===> CC src/backends/generic/misc.c ===> CC src/backends/generic/qal.c ===> CC src/common/shared/flash.c ===> CC src/common/argproc.c ===> CC src/common/shared/rand.c ===> CC src/common/shared/shared.c ===> CC src/game/g_ai.c ===> CC src/backends/generic/vid.c ===> CC src/backends/generic/qgl.c ===> CC src/common/clientserver.c ===> CC src/backends/sdl/cd.c ===> CC src/backends/sdl/input.c ===> CC src/backends/sdl/refresh.c ===> CC src/game/g_chase.c ===> CC src/common/collision.c ===> CC src/game/g_cmds.c ===> CC src/game/g_combat.c ===> CC src/backends/sdl/sound.c ===> CC src/game/g_func.c ===> CC src/game/g_items.c ===> CC src/common/crc.c ===> CC src/common/cmdparser.c ===> CC src/client/cl_cin.c ===> CC src/common/cvar.c ===> CC src/client/cl_console.c ===> CC src/game/g_main.c ===> CC src/common/filesystem.c ===> CC src/common/glob.c ===> CC src/game/g_misc.c ===> CC src/common/md4.c src/common/filesystem.c: In function 'FS_LoadPAK': src/common/filesystem.c:706:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&header, 1, sizeof(dpackheader_t), handle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/filesystem.c:729:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(info, 1, header.dirlen, handle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CC src/client/cl_download.c ===> CC src/game/g_monster.c ===> CC src/client/cl_effects.c ===> CC src/common/misc.c ===> CC src/client/cl_entities.c ===> CC src/game/g_phys.c ===> CC src/game/g_spawn.c ===> CC src/common/movemsg.c ===> CC src/common/netchan.c ===> CC src/game/g_svcmds.c ===> CC src/game/g_target.c ===> CC src/common/pmove.c ===> CC src/client/cl_input.c ===> CC src/common/szone.c ===> CC src/common/zone.c ===> CC src/game/g_trigger.c ===> CC src/client/cl_inventory.c ===> CC src/common/shared/rand.c ===> CC src/client/cl_keyboard.c ===> CC src/common/shared/shared.c ===> CC src/game/g_turret.c ===> CC src/common/unzip/ioapi.c ===> CC src/game/g_utils.c ===> CC src/game/g_weapon.c ===> CC src/game/monster/berserker/berserker.c ===> CC src/client/cl_lights.c ===> CC src/common/unzip/unzip.c ===> CC src/client/cl_main.c ===> CC src/game/monster/boss2/boss2.c ===> CC src/game/monster/boss3/boss3.c ===> CC src/server/sv_cmd.c ===> CC src/game/monster/boss3/boss31.c ===> CC src/client/cl_network.c ===> CC src/client/cl_parse.c ===> CC src/game/monster/boss3/boss32.c ===> CC src/server/sv_conless.c ===> CC src/server/sv_entities.c ===> CC src/server/sv_game.c ===> CC src/client/cl_particles.c ===> CC src/game/monster/brain/brain.c ===> CC src/server/sv_init.c ===> CC src/server/sv_main.c ===> CC src/client/cl_prediction.c ===> CC src/game/monster/chick/chick.c ===> CC src/client/cl_screen.c ===> CC src/client/cl_tempentities.c ===> CC src/game/monster/flipper/flipper.c ===> CC src/game/monster/float/float.c ===> CC src/game/monster/flyer/flyer.c ===> CC src/game/monster/gladiator/gladiator.c ===> CC src/client/cl_view.c ===> CC src/game/monster/gunner/gunner.c ===> CC src/game/monster/hover/hover.c ===> CC src/client/refresh/r_draw.c ===> CC src/server/sv_save.c ===> CC src/server/sv_send.c ===> CC src/game/monster/infantry/infantry.c ===> CC src/client/refresh/r_image.c ===> CC src/server/sv_user.c src/client/refresh/r_draw.c: In function 'Draw_StretchRaw': src/client/refresh/r_draw.c:468:19: warning: 'hscale' may be used uninitialized in this function [-Wmaybe-uninitialized] row = (int)(i * hscale); ~~~^~~~~~~~~ ===> CC src/client/refresh/r_light.c ===> CC src/server/sv_world.c ===> CC src/client/refresh/r_lightmap.c ===> CC src/backends/generic/misc.c ===> CC src/backends/unix/main.c ===> CC src/backends/unix/network.c ===> CC src/client/refresh/r_main.c ===> CC src/game/monster/insane/insane.c ===> CC src/client/refresh/r_mesh.c ===> CC src/game/monster/medic/medic.c ===> CC src/backends/unix/signalhandler.c ===> CC src/backends/unix/system.c ===> CC src/game/monster/misc/move.c src/backends/unix/system.c: In function 'Sys_GetGameAPI': src/backends/unix/system.c:383:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(getuid(), getuid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backends/unix/system.c:384:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ^~~~~~~~~~~~~~~~~ ===> CC src/backends/unix/shared/hunk.c ===> CC src/client/refresh/r_misc.c ===> CC src/game/monster/mutant/mutant.c ===> LD release/q2ded ===> CC src/game/monster/parasite/parasite.c make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' ===> CC src/client/refresh/r_model.c ===> CC src/client/refresh/r_scrap.c ===> CC src/game/monster/soldier/soldier.c ===> CC src/client/refresh/r_surf.c ===> CC src/client/refresh/r_warp.c ===> CC src/game/monster/supertank/supertank.c ===> CC src/game/monster/tank/tank.c ===> CC src/client/refresh/files/md2.c ===> CC src/game/player/client.c ===> CC src/game/player/hud.c ===> CC src/game/player/trail.c ===> CC src/client/refresh/files/pcx.c ===> CC src/game/player/view.c ===> CC src/client/refresh/files/sp2.c ===> CC src/client/refresh/files/stb.c ===> CC src/client/refresh/files/wal.c In file included from src/client/refresh/files/stb.c:42:0: 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' 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] #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' 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' CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; ^~~~~ In file included from src/client/refresh/files/stb.c:42:0: 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] for (k=0; k < nk; ++k) ^ src/client/refresh/files/stb_image.h:3932:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < nk; ++k) ^ src/client/refresh/files/stb_image.h:3933:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < nk; ++k) ^ src/client/refresh/files/stb_image.h:3934:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < nk; ++k) ^ src/client/refresh/files/stb_image.h:3935:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < nk; ++k) ^ src/client/refresh/files/stb_image.h:3936:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < nk; ++k) ^ src/client/refresh/files/stb_image.h:3937:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < img_n; ++k) ^ src/client/refresh/files/stb_image.h:3948:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < img_n; ++k) ^ src/client/refresh/files/stb_image.h:3949:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < img_n; ++k) ^ src/client/refresh/files/stb_image.h:3950:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < img_n; ++k) ^ src/client/refresh/files/stb_image.h:3951:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < img_n; ++k) ^ src/client/refresh/files/stb_image.h:3952:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < img_n; ++k) ^ src/client/refresh/files/stb_image.h:3953:13: note: in expansion of macro 'CASE' 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' 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] for (k=0; k < img_n; ++k) ^ src/client/refresh/files/stb_image.h:3954:13: note: in expansion of macro 'CASE' 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' CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; ^~~~~ ===> 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] fread(buffer, length, 1, fp); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> CC src/client/menu/qmenu.c ===> CC src/client/menu/videomenu.c ===> CC src/client/sound/ogg.c ===> CC src/game/savegame/savegame.c ===> CC src/game/player/weapon.c ===> CC src/client/sound/openal.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] if (underwaterFilter == 0) ^~ src/client/sound/openal.c:692:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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] if (underwaterFilter == 0) ^~ src/client/sound/openal.c:715:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 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] if (!(qalGenFilters && qalFilteri && qalFilterf && qalDeleteFilters)) ^~ src/client/sound/openal.c:750:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' qalGenFilters(1, &underwaterFilter); ^~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadField': src/game/savegame/savegame.c:606:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(*(char **)p, len, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:664:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (funcStr, len, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:688:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (funcStr, len, 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadClient': src/game/savegame/savegame.c:740:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(client, sizeof(*client), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadGame': src/game/savegame/savegame.c:835:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(str_ver, sizeof(str_ver), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:836:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(str_game, sizeof(str_game), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:837:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(str_os, sizeof(str_os), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:838:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(str_arch, sizeof(str_arch), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c:898:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&game, sizeof(game), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadEdict': src/game/savegame/savegame.c:1030:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(ent, sizeof(*ent), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadLevelLocals': src/game/savegame/savegame.c:1049:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&level, sizeof(level), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/game/savegame/savegame.c: In function 'ReadLevel': src/game/savegame/savegame.c:1090:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&i, sizeof(i), 1, f); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ===> 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 ===> LD release/baseq2/game.so ===> CC src/common/crc.c ===> CC src/common/cmdparser.c ===> CC src/common/cvar.c make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' ===> CC src/common/filesystem.c src/common/filesystem.c: In function 'FS_LoadPAK': src/common/filesystem.c:706:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(&header, 1, sizeof(dpackheader_t), handle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/common/filesystem.c:729:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread(info, 1, header.dirlen, handle); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ===> 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 src/backends/unix/system.c: In function 'Sys_GetGameAPI': src/backends/unix/system.c:383:2: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] setreuid(getuid(), getuid()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/backends/unix/system.c:384:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(getgid()); ^~~~~~~~~~~~~~~~~ ===> LD release/quake2 make[1]: Leaving directory '/builddir/build/BUILD/yquake2-QUAKE2_6_00' + /usr/bin/make -O -j4 ===> Building quake2 /usr/bin/make release/quake2 ===> Building q2ded /usr/bin/make release/q2ded ===> Building baseq2/game.so /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. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vBXihr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64 + cd yquake2-QUAKE2_6_00 + /usr/bin/install -D -p -m 755 release/quake2 /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/bin/quake2 + /usr/bin/install -D -p -m 755 release/q2ded /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/bin/q2ded + /usr/bin/install -D -p -m 755 release/baseq2/game.so /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/lib64/games/quake2/baseq2/game.so + /usr/bin/install -D -p -m 644 stuff/yq2.cfg /builddir/build/BUILDROOT/quake2-6.00-10.fc28.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-10.fc28.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-10.fc28.riscv64/usr/share/doc/quake2/examples/cdripper.sh + desktop-file-install --dir=/builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/applications /builddir/build/SOURCES/quake2.desktop + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: quake2-6.00-10.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uIRsOp + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + DOCDIR=/builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/doc/quake2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/doc/quake2 + cp -pr CHANGELOG /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/doc/quake2 + cp -pr CONTRIBUTE /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/doc/quake2 + cp -pr README.md /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/doc/quake2 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8IFifX + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + LICENSEDIR=/builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/licenses/quake2 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/licenses/quake2 + cp -pr LICENSE /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64/usr/share/licenses/quake2 + exit 0 Provides: application() application(quake2.desktop) quake2 = 6.00-10.fc28 quake2(riscv-64) = 6.00-10.fc28 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) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64 Wrote: /builddir/build/SRPMS/quake2-6.00-10.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/quake2-6.00-10.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.n7AFVb + umask 022 + cd /builddir/build/BUILD + cd yquake2-QUAKE2_6_00 + /usr/bin/rm -rf /builddir/build/BUILDROOT/quake2-6.00-10.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff