Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/koules.spec'], chrootPath='/var/lib/mock/f40-build-803219-144174/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pap_lx1u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pap_lx1u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '38a343934c8f4a368d88484e0f5c89f6', '-D', '/var/lib/mock/f40-build-803219-144174/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pap_lx1u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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=1706140800 Wrote: /builddir/build/SRPMS/koules-1.4-41.fc40.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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/koules.spec'], chrootPath='/var/lib/mock/f40-build-803219-144174/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=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pap_lx1u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pap_lx1u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '8b3d47a0ccb241608b87dc8b8eaaf892', '-D', '/var/lib/mock/f40-build-803219-144174/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.pap_lx1u:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} 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=1706140800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7gCwrX + 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 ']' + rm -rf /builddir/build/BUILD/koules-1.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/koules-1.4-SPECPARTS + /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 Patch #2 (0002-Fix-warnings.patch): + echo '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 Patch #4 (0004-Fix-a-buffer-overflow.patch): + echo '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 Patch #5 (0005-Spelling-fixes-from-Debian.patch): + echo '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 Patch #7 (0007-We-do-not-install-manual-pages.patch): + echo 'Patch #7 (0007-We-do-not-install-manual-pages.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Imakefile Patch #8 (0008-Fix-build.patch): + echo '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 Patch #9 (0009-Install-to-relative-location-and-look-for-the-sound-.patch): + echo '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 Patch #12 (0012-From-Debian-108_use_right_visual.diff.patch): + echo '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 Patch #13 (0013-From-Debian-109_fpe_fix.diff.patch): + echo '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 Patch #14 (0014-Set-TABSIZE-globally.patch): + echo 'Patch #14 (0014-Set-TABSIZE-globally.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file font.c Patch #15 (0015-io.h-no-longer-needed.patch): + echo '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 Patch #18 (0018-Fix-pointer-target-signedness.patch): + echo '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 Patch #19 (0019-Fix-banner-placement-with-OS-2.patch): + echo '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 Patch #20 (0020-Fix-rocketcolor-signedness.patch): + echo 'Patch #20 (0020-Fix-rocketcolor-signedness.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules.h Patch #21 (0021-Fix-background-color-calculation.patch): + echo 'Patch #21 (0021-Fix-background-color-calculation.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file framebuffer.c Patch #22 (0022-Fix-string-quoting.patch): + echo 'Patch #22 (0022-Fix-string-quoting.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file xlib/inlstring.h Patch #23 (0023-Fix-socket-types.patch): + echo '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 Patch #25 (0025-Fix-warning-about-ambigious-if-else-s.patch): + echo '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 Patch #26 (0026-Avoid-warnings-about-unused-labels.patch): + echo '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 Patch #28 (0028-Dynamically-decide-about-window-size-based-on-inform.patch): + echo '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 Patch #29 (0029-Fix-rocketcolor-signedness.patch): + echo '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 Patch #30 (0030-Add-SDL-support.patch): + echo '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 Patch #31 (0031-Add-koules.sdl.6-manual.patch): + echo '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 Patch #32 (0032-Fix-an-off-by-one-error.patch): + echo '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 Patch #33 (0033-Drop-an-unused-variable.patch): + echo '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 Patch #35 (0035-Don-t-do-extern-inline.patch): + echo '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 Patch #36 (0036-Remove-redundant-normalize-function.patch): + echo 'Patch #36 (0036-Remove-redundant-normalize-function.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file koules.h Patch #37 (0037-Allow-setting-DESTDIR-for-sdl-and-svga-installs.patch): + echo '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 Patch #39 (0039-SDL2-GFX.patch): + echo '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 Patch #40 (0040-SDL2-input.patch): + echo '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 Patch #42 (koules-1.4-gcc-10.patch): + echo '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.XKcGCC + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -j64 'OPTIMIZE=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-omit-frame-pointer' 'OPTIMIZE1=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-omit-frame-pointer' make: Entering directory '/builddir/build/BUILD/koules-1.4/koules-1.4-sdl' gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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. 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-omit-frame-pointer -Wall -c -o intro.o intro.c the font.c is big and ugly i ripped it from zgv. do you know about better one? gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-omit-frame-pointer -Wall -c -o rcfiles.o rcfiles.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:980, 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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-omit-frame-pointer -Wall -c -o server.o server.c 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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-omit-frame-pointer -Wall -c -o sock.o sock.c 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: ‘__builtin___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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-omit-frame-pointer -Wall -c -o objectsio.o objectsio.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 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-omit-frame-pointer -o koules.sndsrv.linux koules.sndsrv.linux.o -lSDL2 -lSDL2_gfx chmod a+rs,go-w koules.sndsrv.linux gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 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 -j64 'CCOPTIONS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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: -j64 forced in submake: resetting jobserver mode. gcc -O2 -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 gcc -O2 -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 gcc -O2 -fno-strict-aliasing -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -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 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:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # 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/stdint.h:26, from /usr/lib/gcc/riscv64-redhat-linux/14/include/stdint.h:9, from interface.c:17: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # 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 shmbitmap.c:24: /usr/include/features.h:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # 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:196:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 196 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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.XKcGCC (%build) %patchN is deprecated (42 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.XKcGCC (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 8b3d47a0ccb241608b87dc8b8eaaf892 -D /var/lib/mock/f40-build-803219-144174/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.pap_lx1u:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/koules.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 8b3d47a0ccb241608b87dc8b8eaaf892 -D /var/lib/mock/f40-build-803219-144174/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.pap_lx1u:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/koules.spec