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/mirrormagic.spec'], chrootPath='/var/lib/mock/f41-build-829828-156180/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.18fdj7j2:/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.18fdj7j2:/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', 'b6247d17dad2490fb0c2da5040cc8067', '-D', '/var/lib/mock/f41-build-829828-156180/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.18fdj7j2:/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/mirrormagic.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/mirrormagic-3.0.0-18.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/mirrormagic.spec'], chrootPath='/var/lib/mock/f41-build-829828-156180/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.18fdj7j2:/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.18fdj7j2:/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', 'e22f4b8f33df43b7a9f9f4c1a0a82ae9', '-D', '/var/lib/mock/f41-build-829828-156180/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.18fdj7j2:/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/mirrormagic.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.emF01Z + umask 022 + cd /builddir/build/BUILD/mirrormagic-3.0.0-build + test -d /builddir/build/BUILD/mirrormagic-3.0.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/mirrormagic-3.0.0-build + /usr/bin/rm -rf /builddir/build/BUILD/mirrormagic-3.0.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UHAmKh + umask 022 + cd /builddir/build/BUILD/mirrormagic-3.0.0-build + cd /builddir/build/BUILD/mirrormagic-3.0.0-build + rm -rf mirrormagic-3.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/mirrormagic-3.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd mirrormagic-3.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mirrormagic-3.0.0-yesno.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mirrormagic-3.0.0-fcommon-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm levels/Classic_Games/classic_mindbender/050.level.orig levels/Classic_Games/classic_mindbender/099.level.orig + iconv -f ISO_8859-1 -t UTF8 CREDITS + touch -r CREDITS CREDITS.tmp + mv CREDITS.tmp CREDITS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dRpLuI + umask 022 + cd /builddir/build/BUILD/mirrormagic-3.0.0-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -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 mirrormagic-3.0.0 + make PROGBASE=mirrormagic RO_GAME_DIR=/usr/share/mirrormagic 'OPTIONS=-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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA' 'EXTRA_LDFLAGS=-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 -mno-omit-leaf-frame-pointer -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 ' sdl2 make[1]: Entering directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src' make[2]: Entering directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src/libgame' 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c system.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c gadgets.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c text.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c sound.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c snapshot.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c joystick.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c image.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c random.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c hash.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c setup.c setup.c: In function ‘getLevelSetTitleMessageBasename’: setup.c:637:27: warning: ‘.txt’ directive writing 4 bytes into a region of size between 0 and 18 [-Wformat-overflow=] 637 | sprintf(basename, "%s_%d.txt", | ^~~~ In file included from /usr/include/stdio.h:970, from types.h:15, from system.h:16, from setup.h:15, from setup.c:26: In function ‘sprintf’, inlined from ‘getLevelSetTitleMessageBasename’ at setup.c:637:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 37 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ setup.c: In function ‘getLevelSetTitleMessageFilename’: setup.c:637:27: warning: ‘.txt’ directive writing 4 bytes into a region of size between 0 and 18 [-Wformat-overflow=] 637 | sprintf(basename, "%s_%d.txt", | ^~~~ In function ‘sprintf’, inlined from ‘getLevelSetTitleMessageBasename’ at setup.c:637:3, inlined from ‘getLevelSetTitleMessageFilename’ at setup.c:651:14: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 37 bytes into a destination of size 32 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ setup.c: In function ‘getCookie’: setup.c:1576:23: warning: ‘%s’ directive writing up to 238 bytes into a region of size between 18 and 256 [-Wformat-overflow=] 1576 | sprintf(cookie, "%s_%s_FILE_VERSION_%d.%d", | ^~ In function ‘sprintf’, inlined from ‘getCookie’ at setup.c:1576:3: /usr/include/bits/stdio2.h:30:10: note: ‘__builtin___sprintf_chk’ output between 19 and 515 bytes into a destination of size 257 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c misc.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c sdl.c ar cru libgame.a system.o gadgets.o text.o sound.o snapshot.o joystick.o image.o random.o hash.o setup.o misc.o sdl.o ranlib libgame.a make[2]: Leaving directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src/libgame' make[2]: Entering directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src/game_em' 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c cave.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c convert.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c graphics.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c init.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c input.c input.c:74:26: warning: argument 1 of type ‘byte[4]’ {aka ‘unsigned char[4]’} with mismatched bound [-Warray-parameter=] 74 | void GameActions_EM(byte action[MAX_PLAYERS], boolean warp_mode) | ~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../engines.h:17, from main_em.h:8, from input.c:6: ../game_em/export.h:743:28: note: previously declared as ‘byte *’ {aka ‘unsigned char *’} 743 | extern void GameActions_EM(byte *, boolean); | ^~~~~~ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c main.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c sound.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c synchro_1.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c synchro_2.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c synchro_3.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c tab_generate.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c ulaw_generate.c ar cru game_em.a cave.o convert.o graphics.o init.o input.o main.o sound.o synchro_1.o synchro_2.o synchro_3.o tab_generate.o ulaw_generate.o ranlib game_em.a make[2]: Leaving directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src/game_em' make[2]: Entering directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src/game_sp' 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c init.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c file.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c main.c main.c:75:26: warning: argument 1 of type ‘byte[4]’ {aka ‘unsigned char[4]’} with mismatched bound [-Warray-parameter=] 75 | void GameActions_SP(byte action[MAX_PLAYERS], boolean warp_mode) | ~~~~~^~~~~~~~~~~~~~~~~~~ In file included from ../engines.h:18, from main_sp.h:8, from main.c:2: ../game_sp/export.h:186:28: note: previously declared as ‘byte *’ {aka ‘unsigned char *’} 186 | extern void GameActions_SP(byte *, boolean); | ^~~~~~ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c vb_lib.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c ASM.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c BugsTerminals.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c DDScrollBuffer.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c DDSpriteBuffer.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Display.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c DoGameStuff.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Electrons.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Explosions.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Globals.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Infotrons.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c InitGameConditions.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Input.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c MainForm.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c MainGameLoop.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Murphy.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c OrangeDisk.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c SnikSnaks.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Sound.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c Zonk.c ar cru game_sp.a init.o file.o main.o vb_lib.o ASM.o BugsTerminals.o DDScrollBuffer.o DDSpriteBuffer.o Display.o DoGameStuff.o Electrons.o Explosions.o Globals.o Infotrons.o InitGameConditions.o Input.o MainForm.o MainGameLoop.o Murphy.o OrangeDisk.o SnikSnaks.o Sound.o Zonk.o ranlib game_sp.a make[2]: Leaving directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src/game_sp' make[2]: Entering directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src/game_mm' 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c mm_init.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c mm_main.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c mm_game.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c mm_files.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c mm_tools.c ar cru game_mm.a mm_init.o mm_main.o mm_game.o mm_files.o mm_tools.o ranlib game_mm.a make[2]: Leaving directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src/game_mm' 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c main.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c conf_gfx.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c conf_snd.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c conf_mus.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c conf_hlp.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c init.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c config.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c events.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c tools.c tools.c:1468:30: warning: argument 6 of type ‘short int[max_array_fieldx][max_array_fieldy]’ declared with 2 variable bounds [-Wvla-parameter] 1468 | short field[max_array_fieldx][max_array_fieldy], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tools.c:16: tools.h:125:57: note: previously declared as ‘short int[][y]’ with 1 variable bound 125 | void FloodFillLevelExt(int, int, int, int, int y, short field[][y], int, int); | ~~~~~~^~~~~~~~~~ tools.c:1502:27: warning: argument 4 of type ‘short int[128][128]’ with mismatched bound [-Warray-parameter=] 1502 | short field[MAX_LEV_FIELDX][MAX_LEV_FIELDY], | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools.h:124:36: note: previously declared as ‘short int[][128]’ 124 | void FloodFillLevel(int, int, int, short[][MAX_LEV_FIELDY], int, int); | ^~~~~~~~~~~~~~~~~~~~~~~ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c screens.c screens.c: In function ‘ConfigureJoystickMapButtonsAndAxes’: screens.c:6666:44: warning: ‘,platform:’ directive output may be truncated writing 10 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 6666 | snprintf(mapping, sizeof(mapping), "%s,%s,platform:%s,", | ^~~~~~~~~~ In file included from /usr/include/stdio.h:970, from libgame/types.h:15, from libgame/libgame.h:18, from screens.c:12: In function ‘snprintf’, inlined from ‘ConfigureJoystickMapButtonsAndAxes’ at screens.c:6666:3: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output 13 or more bytes (assuming 4108) into a destination of size 4096 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ screens.c: In function ‘HandleMainMenu’: screens.c:4362:41: warning: ‘%s’ directive output may be truncated writing up to 32 bytes into a region of size between 19 and 27 [-Wformat-truncation=] 4362 | snprintf(name, sizeof(name), "%03d: %s", value, | ^~ In function ‘snprintf’, inlined from ‘DrawChooseLevelNr’ at screens.c:4362:5, inlined from ‘HandleMainMenu’ at screens.c:1930:5: /usr/include/bits/stdio2.h:68:10: note: ‘__builtin___snprintf_chk’ output between 6 and 46 bytes into a destination of size 32 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c game.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c editor.c editor.c: In function ‘HandleTextAreaGadgets’: editor.c:12763:3: warning: ‘__builtin_strncpy’ output may be truncated copying 600 bytes from a string of length 1024 [-Wstringop-truncation] 12763 | strncpy(textarea_info[type_id].value, gi->textarea.value, | ^ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c files.c files.c: In function ‘LoadScore’: files.c:8220:9: warning: ‘__builtin_strncpy’ output may be truncated copying 10 bytes from a string of length 1023 [-Wstringop-truncation] 8220 | strncpy(highscore[i].Name, line_ptr, MAX_PLAYER_NAME_LEN); | ^ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c tape.c tape.c:657:28: warning: argument 1 of type ‘byte[4]’ {aka ‘unsigned char[4]’} with mismatched bound [-Warray-parameter=] 657 | boolean TapeAddAction(byte action[MAX_PLAYERS]) | ~~~~~^~~~~~~~~~~~~~~~~~~ In file included from tape.c:14: tape.h:222:23: note: previously declared as ‘byte *’ {aka ‘unsigned char *’} 222 | boolean TapeAddAction(byte *); | ^~~~~~ tape.c:692:28: warning: argument 1 of type ‘byte[4]’ {aka ‘unsigned char[4]’} with mismatched bound [-Warray-parameter=] 692 | void TapeRecordAction(byte action_raw[MAX_PLAYERS]) | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~ tape.h:223:23: note: previously declared as ‘byte *’ {aka ‘unsigned char *’} 223 | void TapeRecordAction(byte *); | ^~~~~~ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c anim.c 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c network.c network.c: In function ‘HandleNetworking’: network.c:352:3: warning: ‘__builtin_strncpy’ output may be truncated copying 10 bytes from a string of length 505 [-Wstringop-truncation] 352 | strncpy(player->name, (char *)&buffer[2], MAX_PLAYER_NAME_LEN); | ^ 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 -mno-omit-leaf-frame-pointer -DUSE_USERDATADIR_FOR_COMMONDATA -DTARGET_SDL2 -I/usr/include/SDL2 -D_REENTRANT -DRO_GAME_DIR="\"/usr/share/mirrormagic\"" -c netserv.c gcc main.o conf_gfx.o conf_snd.o conf_mus.o conf_hlp.o init.o config.o events.o tools.o screens.o game.o editor.o files.o tape.o anim.o network.o netserv.o libgame/libgame.a game_em/game_em.a game_sp/game_sp.a game_mm/game_mm.a -lSDL2_image -lSDL2_mixer -lSDL2_net -lSDL2 -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 -mno-omit-leaf-frame-pointer -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 -lm -o ../mirrormagic make[1]: Leaving directory '/builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/src' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NyfIwK + umask 022 + cd /builddir/build/BUILD/mirrormagic-3.0.0-build + '[' /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build + mkdir /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT + 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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -mno-omit-leaf-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 -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 mirrormagic-3.0.0 + mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/bin /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/mirrormagic + install -m 755 mirrormagic /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/bin + cp -a graphics levels music sounds /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/mirrormagic + mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/applications + desktop-file-install --dir /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/applications /builddir/build/SOURCES/mirrormagic.desktop + mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/icons/hicolor/128x128/apps + install -p -m 644 /builddir/build/SOURCES/mirrormagic.png /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/icons/hicolor/128x128/apps + mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/appdata + install -p -m 644 /builddir/build/SOURCES/mirrormagic.appdata.xml /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/appdata + appstream-util validate-relax --nonet /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/appdata/mirrormagic.appdata.xml /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/appdata/mirrormagic.appdata.xml: OK + /usr/bin/find-debuginfo -j64 --strict-build-id -m -i --build-id-seed 3.0.0-18.fc41 --unique-debug-suffix -3.0.0-18.fc41.riscv64 --unique-debug-src-base mirrormagic-3.0.0-18.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/mirrormagic-3.0.0-18.fc41.riscv64 8709 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j64 /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT Scanned 40 directories and 513 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/mirrormagic-3.0.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: mirrormagic-3.0.0-18.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3UEQcw + umask 022 + cd /builddir/build/BUILD/mirrormagic-3.0.0-build + cd mirrormagic-3.0.0 + DOCDIR=/builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/doc/mirrormagic + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/doc/mirrormagic + cp -pr /builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/CREDITS /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/doc/mirrormagic + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8OBPFC + umask 022 + cd /builddir/build/BUILD/mirrormagic-3.0.0-build + cd mirrormagic-3.0.0 + LICENSEDIR=/builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/licenses/mirrormagic + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/licenses/mirrormagic + cp -pr /builddir/build/BUILD/mirrormagic-3.0.0-build/mirrormagic-3.0.0/COPYING /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT/usr/share/licenses/mirrormagic + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(mirrormagic.desktop) metainfo() metainfo(mirrormagic.appdata.xml) mirrormagic = 3.0.0-18.fc41 mirrormagic(riscv-64) = 3.0.0-18.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL2-2.0.so.0()(64bit) libSDL2_image-2.0.so.0()(64bit) libSDL2_mixer-2.0.so.0()(64bit) libSDL2_net-2.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH) Processing files: mirrormagic-debugsource-3.0.0-18.fc41.riscv64 Provides: mirrormagic-debugsource = 3.0.0-18.fc41 mirrormagic-debugsource(riscv-64) = 3.0.0-18.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mirrormagic-debuginfo-3.0.0-18.fc41.riscv64 Provides: debuginfo(build-id) = 9e22932b4091ec13db3c98b26c266655e94db579 mirrormagic-debuginfo = 3.0.0-18.fc41 mirrormagic-debuginfo(riscv-64) = 3.0.0-18.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mirrormagic-debugsource(riscv-64) = 3.0.0-18.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/mirrormagic-3.0.0-build/BUILDROOT Wrote: /builddir/build/RPMS/mirrormagic-debuginfo-3.0.0-18.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/mirrormagic-3.0.0-18.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/mirrormagic-debugsource-3.0.0-18.fc41.riscv64.rpm Child return code was: 0