Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/koules.spec'], chrootPath='/var/lib/mock/f38-build-713151-94425/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/koules.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'} and shell False warning: %patchN is deprecated (42 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/koules-1.4-38.fc38.src.rpm RPM build warnings: %patchN is deprecated (42 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/koules.spec'], chrootPath='/var/lib/mock/f38-build-713151-94425/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/koules.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'} and shell False warning: %patchN is deprecated (42 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sAopG3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf koules-1.4 + /usr/bin/mkdir -p koules-1.4 + cd koules-1.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/koules1.4-src.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd koules1.4 ~/build/BUILD/koules-1.4/koules1.4 ~/build/BUILD/koules-1.4 Patch #1 (0001-gitignore.patch): + echo 'Patch #1 (0001-gitignore.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file .gitignore + echo 'Patch #2 (0002-Fix-warnings.patch):' Patch #2 (0002-Fix-warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules.sndsrv.linux.c patching file rcfiles.c patching file xlib/init.c patching file xlib/interface.c patching file xlib/text.c Patch #3 (0003-Remove-relics.patch): + echo 'Patch #3 (0003-Remove-relics.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules patching file util/Makefile patching file xlib/Makefile + echo 'Patch #4 (0004-Fix-a-buffer-overflow.patch):' Patch #4 (0004-Fix-a-buffer-overflow.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules.sndsrv.linux.c patching file nas_sound.c patching file rcfiles.c patching file soundos2.c + echo 'Patch #5 (0005-Spelling-fixes-from-Debian.patch):' Patch #5 (0005-Spelling-fixes-from-Debian.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file rcfiles.c patching file text.h Patch #6 (0006-From-Debian-050_defines.diff.patch): + echo 'Patch #6 (0006-From-Debian-050_defines.diff.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Iconfig patching file xlib/init.c + echo 'Patch #7 (0007-We-do-not-install-manual-pages.patch):' Patch #7 (0007-We-do-not-install-manual-pages.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Imakefile + echo 'Patch #8 (0008-Fix-build.patch):' Patch #8 (0008-Fix-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file font.c patching file xlib/shmbitmap.c + echo 'Patch #9 (0009-Install-to-relative-location-and-look-for-the-sound-.patch):' Patch #9 (0009-Install-to-relative-location-and-look-for-the-sound-.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Imakefile Patch #10 (0010-From-Debian-106_shm_check.diff.patch): + echo 'Patch #10 (0010-From-Debian-106_shm_check.diff.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/init.c Patch #11 (0011-From-Debian-107_fix_xsynchronize.diff.patch): + echo 'Patch #11 (0011-From-Debian-107_fix_xsynchronize.diff.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/init.c + echo 'Patch #12 (0012-From-Debian-108_use_right_visual.diff.patch):' Patch #12 (0012-From-Debian-108_use_right_visual.diff.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/init.c + echo 'Patch #13 (0013-From-Debian-109_fpe_fix.diff.patch):' Patch #13 (0013-From-Debian-109_fpe_fix.diff.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/shmbitmap.c + echo 'Patch #14 (0014-Set-TABSIZE-globally.patch):' Patch #14 (0014-Set-TABSIZE-globally.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file font.c + echo 'Patch #15 (0015-io.h-no-longer-needed.patch):' Patch #15 (0015-io.h-no-longer-needed.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file svgalib/init.c Patch #16 (0016-DEFAULTINITPORT-is-not-defined-if-building-without-N.patch): + echo 'Patch #16 (0016-DEFAULTINITPORT-is-not-defined-if-building-without-N.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/init.c Patch #17 (0017-Fix-undefined-reference-if-building-with-net-and-wit.patch): + echo 'Patch #17 (0017-Fix-undefined-reference-if-building-with-net-and-wit.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file menu.c + echo 'Patch #18 (0018-Fix-pointer-target-signedness.patch):' Patch #18 (0018-Fix-pointer-target-signedness.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules.sndsrv.linux.c + echo 'Patch #19 (0019-Fix-banner-placement-with-OS-2.patch):' Patch #19 (0019-Fix-banner-placement-with-OS-2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file menu.c + echo 'Patch #20 (0020-Fix-rocketcolor-signedness.patch):' Patch #20 (0020-Fix-rocketcolor-signedness.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules.h + echo 'Patch #21 (0021-Fix-background-color-calculation.patch):' Patch #21 (0021-Fix-background-color-calculation.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file framebuffer.c + echo 'Patch #22 (0022-Fix-string-quoting.patch):' Patch #22 (0022-Fix-string-quoting.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/inlstring.h + echo 'Patch #23 (0023-Fix-socket-types.patch):' Patch #23 (0023-Fix-socket-types.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sock.c Patch #24 (0024-Silence-warning-about-potentially-uninitialized-stru.patch): + echo 'Patch #24 (0024-Silence-warning-about-potentially-uninitialized-stru.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/interface.c + echo 'Patch #25 (0025-Fix-warning-about-ambigious-if-else-s.patch):' Patch #25 (0025-Fix-warning-about-ambigious-if-else-s.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/shmbitmap.c + echo 'Patch #26 (0026-Avoid-warnings-about-unused-labels.patch):' Patch #26 (0026-Avoid-warnings-about-unused-labels.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file menu.c patching file xlib/init.c Patch #27 (0027-Get-rid-of-unused-variables-if-building-with-both-MO.patch): + echo 'Patch #27 (0027-Get-rid-of-unused-variables-if-building-with-both-MO.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file rcfiles.c + echo 'Patch #28 (0028-Dynamically-decide-about-window-size-based-on-inform.patch):' Patch #28 (0028-Dynamically-decide-about-window-size-based-on-inform.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/init.c + echo 'Patch #29 (0029-Fix-rocketcolor-signedness.patch):' Patch #29 (0029-Fix-rocketcolor-signedness.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file os2dive/init.c patching file svgalib/init.c patching file xlib/init.c + echo 'Patch #30 (0030-Add-SDL-support.patch):' Patch #30 (0030-Add-SDL-support.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file INSTALLATION patching file Makefile.sdl patching file README patching file menu.c patching file rcfiles.c patching file sdl/draw.c patching file sdl/init.c patching file sdl/input.c patching file sdl/interface.h + echo 'Patch #31 (0031-Add-koules.sdl.6-manual.patch):' Patch #31 (0031-Add-koules.sdl.6-manual.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules.sdl.6 + echo 'Patch #32 (0032-Fix-an-off-by-one-error.patch):' Patch #32 (0032-Fix-an-off-by-one-error.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sdl/draw.c + echo 'Patch #33 (0033-Drop-an-unused-variable.patch):' Patch #33 (0033-Drop-an-unused-variable.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file server.c Patch #34 (0034-Make-compiler-bounds-checking-happy.patch): + echo 'Patch #34 (0034-Make-compiler-bounds-checking-happy.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file server.c + echo 'Patch #35 (0035-Don-t-do-extern-inline.patch):' Patch #35 (0035-Don-t-do-extern-inline.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file font.c patching file koules.h patching file os2dive/interface.h patching file svgalib/input.h patching file svgalib/interface.h + echo 'Patch #36 (0036-Remove-redundant-normalize-function.patch):' Patch #36 (0036-Remove-redundant-normalize-function.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules.h + echo 'Patch #37 (0037-Allow-setting-DESTDIR-for-sdl-and-svga-installs.patch):' Patch #37 (0037-Allow-setting-DESTDIR-for-sdl-and-svga-installs.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.sdl patching file Makefile.svgalib Patch #38 (0038-SDL2-build.patch): + echo 'Patch #38 (0038-SDL2-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.sdl + echo 'Patch #39 (0039-SDL2-GFX.patch):' Patch #39 (0039-SDL2-GFX.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sdl/draw.c patching file sdl/init.c patching file sdl/interface.h + echo 'Patch #40 (0040-SDL2-input.patch):' Patch #40 (0040-SDL2-input.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file rcfiles.c patching file sdl/input.c Patch #41 (0041-Correct-path-to-the-sound-server.patch): + echo 'Patch #41 (0041-Correct-path-to-the-sound-server.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.sdl patching file Makefile.svgalib + echo 'Patch #42 (koules-1.4-gcc-10.patch):' Patch #42 (koules-1.4-gcc-10.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file server.c + popd ~/build/BUILD/koules-1.4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EyAp1e + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd koules-1.4 + cp -a koules1.4 koules-1.4-sdl + make -C koules-1.4-sdl -f Makefile.sdl BINDIR=/usr/bin SOUNDDIR=/usr/share/koules/sound MANDIR=/usr/share/man/man6 LIBEXECDIR=/usr/libexec/koules -j4 'OPTIMIZE=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' 'OPTIMIZE1=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' make: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-sdl' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -Wall -c koules.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o sound.o sound.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o menu.o menu.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o gameplan.o gameplan.c sound.c: In function 'init_sound': sound.c:57:3: warning: ignoring return value of 'pipe' declared with attribute 'warn_unused_result' [-Wunused-result] 57 | pipe (fd); | ^~~~~~~~~ sound.c: In function 'play_sound': sound.c:88:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | write (soundfd, &c, sizeof (c)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c: In function 'maybe_play_sound': sound.c:107:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 107 | write (soundfd, &c, sizeof (c)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c: In function 'kill_sound': sound.c:129:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | write (soundfd, &c, sizeof (c)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ please be patient. the font.c is big and ugly i ripped it from zgv. do you know about better one? gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -c font.c menu.c: In function 'levelchange': menu.c:281:31: warning: '%03i' directive writing between 3 and 11 bytes into a region of size 5 [-Wformat-overflow=] 281 | sprintf (leveltext, "LEVEL %03i ", lastlevel + 1); | ^~~~ menu.c:281:23: note: directive argument in the range [-2147483647, 2147483647] 281 | sprintf (leveltext, "LEVEL %03i ", lastlevel + 1); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from koules.h:23, from menu.c:22: In function 'sprintf', inlined from 'levelchange' at menu.c:281:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 20 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ menu.c: In function 'main_menu': menu.c:281:31: warning: '%03i' directive writing between 3 and 11 bytes into a region of size 5 [-Wformat-overflow=] 281 | sprintf (leveltext, "LEVEL %03i ", lastlevel + 1); | ^~~~ In function 'levelchange', inlined from 'nmain_menu' at menu.c:506:3, inlined from 'main_menu' at menu.c:619:5: menu.c:281:23: note: directive argument in the range [-2147483647, 2147483647] 281 | sprintf (leveltext, "LEVEL %03i ", lastlevel + 1); | ^~~~~~~~~~~~~~ In function 'sprintf', inlined from 'levelchange' at menu.c:281:3, inlined from 'nmain_menu' at menu.c:506:3, inlined from 'main_menu' at menu.c:619:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 20 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ menu.c: In function 'draw_menu': menu.c:281:31: warning: '%03i' directive writing between 3 and 11 bytes into a region of size 5 [-Wformat-overflow=] 281 | sprintf (leveltext, "LEVEL %03i ", lastlevel + 1); | ^~~~ In function 'levelchange', inlined from 'draw_menu' at menu.c:643:7: menu.c:281:23: note: directive argument in the range [-2147483647, 2147483647] 281 | sprintf (leveltext, "LEVEL %03i ", lastlevel + 1); | ^~~~~~~~~~~~~~ In function 'sprintf', inlined from 'levelchange' at menu.c:281:3, inlined from 'draw_menu' at menu.c:643:7: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 12 and 20 bytes into a destination of size 12 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o intro.o intro.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o sdl/init.o sdl/init.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o sdl/draw.o sdl/draw.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o sdl/input.o sdl/input.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o framebuffer.o framebuffer.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o cmap.o cmap.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o rcfiles.o rcfiles.c rcfiles.c: In function 'load_rc': rcfiles.c:161:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 161 | fread (keys, 1, sizeof (keys), controls); /*save user defined keys */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfiles.c:170:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 170 | fread (dummy, 2, sizeof (int), controls); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfiles.c:172:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 172 | fread (rotation, 1, sizeof (rotation), controls); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfiles.c:176:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 176 | fread (dummy, 2, sizeof (float), controls); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfiles.c:199:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 199 | fread (&maxlevel, 1, sizeof (int), levels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfiles.c:200:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 200 | fread (&lastlevel, 1, sizeof (int), levels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rcfiles.c:203:3: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 203 | fread (&nrockets, 1, sizeof (int), levels); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o server.o server.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o client.o client.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o sock.o sock.c gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -Wall -c -o objectsio.o objectsio.c gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -c koules.sndsrv.linux.c koules.sndsrv.linux.c: In function 'read_sound': koules.sndsrv.linux.c:169:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 169 | read (fd, sound_buffer[k], size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ koules.sndsrv.linux.c: In function 'do_everything': koules.sndsrv.linux.c:265:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 265 | write (dsp, final, fragsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -o koules.sndsrv.linux koules.sndsrv.linux.o -lSDL2 -lSDL2_gfx gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -g3 -Wall -Wno-error=array-bounds -Wno-error=unused-but-set-variable -Wno-error=unused-function -Isdl -DHAVEUSLEEP -I/usr/include/SDL2 -D_REENTRANT -DSOUNDDIR="\"/usr/share/koules/sound\"" -D SOUND -D MOUSE -D NETSUPPORT -DSOUNDSERVER=\"/usr/libexec/koules/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -DNODIRECT -DSDLSUPPORT -o koules.sdl koules.o sound.o menu.o gameplan.o font.o intro.o sdl/init.o sdl/draw.o sdl/input.o framebuffer.o cmap.o rcfiles.o server.o client.o sock.o objectsio.o -lSDL2 -lSDL2_gfx -lm chmod a+rs,go-w koules.sndsrv.linux objectsio.c:50:17: warning: type of 'accel' does not match original declaration [-Wlto-type-mismatch] 50 | extern void accel (int); | ^ koules.c:897:1: note: type mismatch in parameter 2 897 | accel (CONST int i, CONST double howmuch) | ^ koules.c:897:1: note: type 'double' should match type 'void' koules.c:897:1: note: 'accel' was previously declared here make: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-sdl' + cp -a koules1.4 koules-1.4-x11 + cd koules-1.4-x11 + echo '#define HAVEUSLEEP' + xmkmf -a imake -DUseInstalled -I/usr/share/X11/config make Makefiles making Makefiles in xlib... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11' make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11' make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/xlib' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/xlib' making Makefiles in util... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11' make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11' make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/util' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/util' make includes including in ./xlib... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/xlib' make[1]: Nothing to be done for 'includes'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/xlib' including in ./util... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/util' make[1]: Nothing to be done for 'includes'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/util' make depend depending in ./xlib... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/xlib' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/xlib' depending in ./util... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/util' make[1]: Nothing to be done for 'depend'. make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/util' gccmakedep -- -Ixlib -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6 -ffast-math -Ixlib -DASSEMBLY -DSOUNDSERVER=\"/usr/libexec/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/games/lib/koules\" -DSOUNDDEV=\"/dev/dsp\" -- koules.c menu.c gameplan.c font.c intro.c rcfiles.c framebuffer.c cmap-x11.c sound.c nas_sound.c rsound.c client.c server.c sock.c objectsio.c mygetopt.c + make BINDIR=/usr/bin SOUNDDIR=/usr/share/koules/sound MANDIR=/usr/share/man/man6 LIBEXECDIR=/usr/libexec/koules -j4 'CCOPTIONS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DONLYANSI' making all in ./xlib... make[1]: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/xlib' make[1]: warning: -j4 forced in submake: resetting jobserver mode. gcc -O2 -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DONLYANSI -Ixlib -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6 -ffast-math -I. -DASSEMBLY -DSOUNDSERVER=\"/usr/games/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -c -o init.o init.c gcc -c -o mem.o mem.S gcc -O2 -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DONLYANSI -Ixlib -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6 -ffast-math -I. -DASSEMBLY -DSOUNDSERVER=\"/usr/games/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -c -o interface.o interface.c gcc -O2 -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DONLYANSI -Ixlib -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6 -ffast-math -I. -DASSEMBLY -DSOUNDSERVER=\"/usr/games/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -c -o shmbitmap.o shmbitmap.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/13/include/stdint.h:9, from interface.c:17: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from /usr/include/X11/Xlib.h:38, from init.c:18: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DONLYANSI -Ixlib -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6 -ffast-math -I. -DASSEMBLY -DSOUNDSERVER=\"/usr/games/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -c -o text.o text.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from shmbitmap.c:24: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from text.c:6: /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ gcc -O2 -fno-strict-aliasing -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -DONLYANSI -Ixlib -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DONLYANSI -DSOUND -DJOYSTICK -DNETSUPPORT -DMITSHM -DHAVEUSLEEP -Wall -fomit-frame-pointer -O6 -ffast-math -I. -DASSEMBLY -DSOUNDSERVER=\"/usr/games/koules.sndsrv.linux\" -DSOUNDDIR=\"/usr/share/koules/sound\" -DSOUNDDEV=\"/dev/dsp\" -c -o font8x8.o font8x8.c rm -f libxlib.a ar clq libxlib.a init.o mem.o interface.o shmbitmap.o text.o font8x8.o ar: libdeps specified more than once make[1]: *** [Makefile:1074: libxlib.a] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/koules-1.4/koules-1.4-x11/xlib' make: *** [Makefile:1072: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.EyAp1e (%build) RPM build warnings: %patchN is deprecated (42 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EyAp1e (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/koules.spec