Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/atanks.spec'], chrootPath='/var/lib/mock/f40-build-56982-3192/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4lq23whd:/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.4lq23whd:/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', 'c45f85b5985f4e078d685cf06c11db6e', '-D', '/var/lib/mock/f40-build-56982-3192/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4lq23whd:/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/atanks.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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705881600 Wrote: /builddir/build/SRPMS/atanks-6.6-5.fc40.src.rpm RPM build warnings: %patchN is deprecated (1 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/atanks.spec'], chrootPath='/var/lib/mock/f40-build-56982-3192/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=864000uid=997gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4lq23whd:/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.4lq23whd:/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', '7f1ab6e0930c41ebbcf372d9fe49e190', '-D', '/var/lib/mock/f40-build-56982-3192/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4lq23whd:/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/atanks.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 (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1705881600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.v2bOPj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atanks-6.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/atanks-6.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd atanks-6.6 + rm -rf /builddir/build/BUILD/atanks-6.6-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/atanks-6.6-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (atanks-remove-cxxflags-mangling.patch): + echo 'Patch #0 (atanks-remove-cxxflags-mangling.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile patching file Makefile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F2wVXP + 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 atanks-6.6 + PREFIX=/usr + CXXFLAGS='-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' + 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 ' + make -j32 DEBUG=NO Compiling obj/atanks.o Compiling obj/beam.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/atanks.o -c src/atanks.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/beam.o -c src/beam.cpp Compiling obj/aicore.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/aicore.o -c src/aicore.cpp Compiling obj/button.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/button.o -c src/button.cpp Compiling obj/clock.o Compiling obj/client.o Compiling obj/debris_pool.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/client.o -c src/client.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/clock.o -c src/clock.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/debris_pool.o -c src/debris_pool.cpp Compiling obj/debug.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/debug.o -c src/debug.cpp Compiling obj/explosion.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/explosion.o -c src/explosion.cpp Compiling obj/environment.o Compiling obj/floattext.o Compiling obj/decor.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/decor.o -c src/decor.cpp Compiling obj/files.o Compiling obj/gameloop.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/environment.o -c src/environment.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/files.o -c src/files.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/floattext.o -c src/floattext.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/gameloop.o -c src/gameloop.cpp Compiling obj/globaldata.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/globaldata.o -c src/globaldata.cpp Compiling obj/gfxData.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/gfxData.o -c src/gfxData.cpp Compiling obj/globaltypes.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/globaltypes.o -c src/globaltypes.cpp Compiling obj/main.o Compiling obj/menu.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/main.o -c src/main.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/menu.o -c src/menu.cpp Compiling obj/land.o Compiling obj/network.o Compiling obj/optionitembase.o Compiling obj/optionitemcolour.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/land.o -c src/land.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/network.o -c src/network.cpp Compiling obj/missile.o Compiling obj/optionitemmenu.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/missile.o -c src/missile.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/optionitembase.o -c src/optionitembase.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/optionitemcolour.o -c src/optionitemcolour.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/optionitemmenu.o -c src/optionitemmenu.cpp Compiling obj/optionscreens.o Compiling obj/optionitemplayer.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/optionitemplayer.o -c src/optionitemplayer.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/optionscreens.o -c src/optionscreens.cpp Compiling obj/optiontypes.o Compiling obj/player.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/player.o -c src/player.cpp Compiling obj/perlin.o Compiling obj/player_types.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/perlin.o -c src/perlin.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/player_types.o -c src/player_types.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/optiontypes.o -c src/optiontypes.cpp Compiling obj/physobj.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/physobj.o -c src/physobj.cpp Compiling obj/satellite.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/satellite.o -c src/satellite.cpp Compiling obj/shop.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/shop.o -c src/shop.cpp Compiling obj/sky.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/sky.o -c src/sky.cpp Compiling obj/sound.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/sound.o -c src/sound.cpp src/explosion.cpp: In member function ‘virtual void EXPLOSION::applyPhysics()’: src/explosion.cpp:187:39: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 187 | } catch (std::exception) { /* No reason to fuss, its just smoke. */ } | ^~~~~~~~~ src/beam.cpp: In member function ‘virtual void BEAM::applyPhysics()’: src/beam.cpp:201:39: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 201 | } catch (std::exception) { | ^~~~~~~~~ src/beam.cpp:211:31: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 211 | } catch (std::exception) { | ^~~~~~~~~ src/beam.cpp: In member function ‘void BEAM::createBeamPath()’: src/beam.cpp:271:31: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 271 | } catch (std::exception) { | ^~~~~~~~~ Compiling obj/tank.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/tank.o -c src/tank.cpp src/globaldata.cpp: In member function ‘void GLOBALDATA::destroy()’: src/globaldata.cpp:226:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; | ^~ src/globaldata.cpp:226:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; | ^~~~~~ src/globaldata.cpp:227:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; | ^~ src/globaldata.cpp:227:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; | ^~~~~~~ src/globaldata.cpp:228:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 228 | if (done) delete [] done; done = nullptr; | ^~ src/globaldata.cpp:228:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 228 | if (done) delete [] done; done = nullptr; | ^~~~ src/globaldata.cpp:229:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 229 | if (fp) delete [] fp; fp = nullptr; | ^~ src/globaldata.cpp:229:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 229 | if (fp) delete [] fp; fp = nullptr; | ^~ src/globaldata.cpp:230:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 230 | if (surface) delete [] surface; surface = nullptr; | ^~ src/globaldata.cpp:230:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 230 | if (surface) delete [] surface; surface = nullptr; | ^~~~~~~ src/globaldata.cpp:231:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; | ^~ src/globaldata.cpp:231:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; | ^~~~~~ src/globaldata.cpp:232:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 232 | if (velocity) delete [] velocity; velocity = nullptr; | ^~ src/globaldata.cpp:232:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 232 | if (velocity) delete [] velocity; velocity = nullptr; | ^~~~~~~~ src/globaldata.cpp:233:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; | ^~ src/globaldata.cpp:233:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; | ^~~~~~~~ src/globaldata.cpp:234:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 234 | if (updates) delete [] updates; updates = nullptr; | ^~ src/globaldata.cpp:234:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 234 | if (updates) delete [] updates; updates = nullptr; | ^~~~~~~ src/globaldata.cpp:235:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; | ^~ src/globaldata.cpp:235:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 235 | if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; | ^~~~~~~~~~~ src/globaldata.cpp: In member function ‘void GLOBALDATA::do_updates()’: src/globaldata.cpp:256:24: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct BOX’ with no trivial copy-assignment; use copy-assignment instead [-Wclass-memaccess] 256 | memcpy (lastUpdates, updates, sizeof (BOX) * updateCount); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/player_types.h:9, from src/player.h:25, from src/globaldata.cpp:22: src/main.h:280:8: note: ‘struct BOX’ declared here 280 | struct BOX | ^~~ src/missile.cpp: In member function ‘virtual void MISSILE::applyPhysics()’: src/missile.cpp:254:39: warning: catching polymorphic type ‘class std::exception’ by value [-Wcatch-value=] 254 | } catch (std::exception) { | ^~~~~~~~~ Compiling obj/teleport.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/teleport.o -c src/teleport.cpp Compiling obj/text.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/text.o -c src/text.cpp Compiling obj/update.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/update.o -c src/update.cpp Compiling obj/virtobj.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -Wextra -pedantic -std=c++0x -pthread -o obj/virtobj.o -c src/virtobj.cpp src/network.cpp: In member function ‘bool MESSAGE_QUEUE::Add(char*, int)’: src/network.cpp:59:16: warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-truncation] 59 | strncpy(new_message->text, some_text, strlen(some_text)); | ^ src/network.cpp:59:16: note: length computed here 59 | strncpy(new_message->text, some_text, strlen(some_text)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/network.cpp: In member function ‘MESSAGE* MESSAGE_QUEUE::Peek()’: src/network.cpp:117:11: warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-truncation] 117 | strncpy(my_message->text, first_message->text, strlen(first_message->text)); | ^ src/network.cpp:117:11: note: length computed here 117 | strncpy(my_message->text, first_message->text, strlen(first_message->text)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/network.cpp: In member function ‘MESSAGE* MESSAGE_QUEUE::Read_To(int)’: src/network.cpp:163:16: warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-truncation] 163 | strncpy(my_message->text, current->text, strlen(current->text)); | ^ src/network.cpp:163:16: note: length computed here 163 | strncpy(my_message->text, current->text, strlen(current->text)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Save_Game()’: src/files.cpp:44:41: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 44 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ^ In file included from /usr/include/stdio.h:980, from /usr/include/c++/14/cstdio:42, from src/debug.h:5, from src/main.h:41, from src/files.cpp:1: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Save_Game()’ at src/files.cpp:44:10: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 6 and 4166 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Save_Game()’: src/files.cpp:100:41: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 100 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Save_Game()’ at src/files.cpp:100:10: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 6 and 4166 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Game()’: src/files.cpp:137:41: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 137 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Game()’ at src/files.cpp:137:10: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 6 and 4166 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Check_For_Saved_Game()’: src/files.cpp:322:41: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 322 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Check_For_Saved_Game()’ at src/files.cpp:322:10: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 6 and 4166 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Copy_Config_File()’: src/files.cpp:350:42: warning: ‘/atanks-config.txt’ directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 350 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ^~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Copy_Config_File()’ at src/files.cpp:350:10: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4115 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Create_Music_Folder()’: src/files.cpp:407:41: warning: ‘/music’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 407 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Create_Music_Folder()’ at src/files.cpp:407:10: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 4103 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:537:49: warning: ‘/text/weapons_it.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 537 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Weapons_Text()’ at src/files.cpp:537:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:535:49: warning: ‘/text/weapons_ES.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 535 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Weapons_Text()’ at src/files.cpp:535:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:533:49: warning: ‘/text/weapons_ru.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 533 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Weapons_Text()’ at src/files.cpp:533:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:531:49: warning: ‘/text/weapons_sk.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 531 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Weapons_Text()’ at src/files.cpp:531:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:529:49: warning: ‘/text/weapons_de.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 529 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Weapons_Text()’ at src/files.cpp:529:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:527:49: warning: ‘/text/weapons_fr.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 527 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Weapons_Text()’ at src/files.cpp:527:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:525:49: warning: ‘/text/weapons.pt_BR.txt’ directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 525 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Weapons_Text()’ at src/files.cpp:525:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 24 and 4120 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/files.cpp: In function ‘bool Load_Weapons_Text()’: src/files.cpp:523:49: warning: ‘/text/weapons.txt’ directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 523 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool Load_Weapons_Text()’ at src/files.cpp:523:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 18 and 4114 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_from_file(FILE*)’: src/environment.cpp:695:32: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying between 1 and 128 bytes from a string of length 128 [-Wstringop-truncation] 695 | strncpy(field, line, equal_position); | ^ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:946:57: warning: ‘/text/war_quotes_it.txt’ directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 946 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_it.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /usr/include/c++/14/cstdio:42, from src/debug.h:5, from src/main.h:41, from src/environment.cpp:21: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:946:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 24 and 4120 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:962:57: warning: ‘/text/war_quotes_ES.txt’ directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 962 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ES.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:962:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 24 and 4120 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:954:57: warning: ‘/text/war_quotes_ru.txt’ directive output may be truncated writing 23 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 954 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ru.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:954:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 24 and 4120 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:958:57: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 958 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:958:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:942:57: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 942 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:942:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:938:57: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 938 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:938:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:950:57: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 950 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:950:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:967:57: warning: ‘/text/war_quotes.txt’ directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 967 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:967:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 21 and 4117 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:919:38: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:979:9: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 979 | LOAD_TEXT_BLOCK(gloat, "gloat") | ^~~~~~~~~~~~~~~ src/environment.cpp:919:41: note: format string is defined here 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:979:2: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 12 or more bytes (assuming 4108) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:919:38: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:980:9: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 980 | LOAD_TEXT_BLOCK(ingame, "ingame") | ^~~~~~~~~~~~~~~ src/environment.cpp:919:41: note: format string is defined here 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:980:2: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 13 or more bytes (assuming 4109) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:919:38: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:981:9: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 981 | LOAD_TEXT_BLOCK(instructions, "instr") | ^~~~~~~~~~~~~~~ src/environment.cpp:919:41: note: format string is defined here 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:981:2: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 12 or more bytes (assuming 4108) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:919:38: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:982:9: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 982 | LOAD_TEXT_BLOCK(panic, "panic") | ^~~~~~~~~~~~~~~ src/environment.cpp:919:41: note: format string is defined here 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:982:2: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 12 or more bytes (assuming 4108) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:919:38: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:983:9: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 983 | LOAD_TEXT_BLOCK(kamikaze, "kamikaze") | ^~~~~~~~~~~~~~~ src/environment.cpp:919:41: note: format string is defined here 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:983:2: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 15 or more bytes (assuming 4111) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:919:38: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:984:9: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 984 | LOAD_TEXT_BLOCK(retaliation, "retaliation") | ^~~~~~~~~~~~~~~ src/environment.cpp:919:41: note: format string is defined here 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:984:2: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 18 or more bytes (assuming 4114) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:919:38: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:985:9: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 985 | LOAD_TEXT_BLOCK(revenge, "revenge") | ^~~~~~~~~~~~~~~ src/environment.cpp:919:41: note: format string is defined here 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:985:2: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 14 or more bytes (assuming 4110) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘void ENVIRONMENT::load_text_files()’: src/environment.cpp:919:38: warning: ‘/text/’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:986:9: note: in expansion of macro ‘LOAD_TEXT_BLOCK’ 986 | LOAD_TEXT_BLOCK(suicide, "suicide") | ^~~~~~~~~~~~~~~ src/environment.cpp:919:41: note: format string is defined here 919 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void ENVIRONMENT::load_text_files()’ at src/environment.cpp:986:2: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 14 or more bytes (assuming 4110) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadBackgroundMusic()’: src/environment.cpp:1011:49: warning: ‘/music’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1011 | snprintf(path_buf, PATH_MAX, "%s/music", configDir); | ^~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool ENVIRONMENT::loadBackgroundMusic()’ at src/environment.cpp:1011:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 7 and 4103 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadBackgroundMusic()’: src/environment.cpp:1025:57: warning: ‘/music/’ directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1025 | snprintf(path_buf, PATH_MAX, "%s/music/%s", | ^~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool ENVIRONMENT::loadBackgroundMusic()’ at src/environment.cpp:1025:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 8 and 4359 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/shop.cpp: In function ‘bool shop(LevelCreator*)’: src/shop.cpp:284:64: warning: ‘%s’ directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=] 284 | "%s \"%s\".", | ^~ 285 | env.ingame->Get_Line(17), 286 | env.game_name); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /usr/include/c++/14/cstdio:42, from src/debug.h:5, from src/main.h:41, from src/player_types.h:9, from src/player.h:25, from src/shop.cpp:2: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool shop(LevelCreator*)’ at src/shop.cpp:283:15: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 5 or more bytes (assuming 69) into a destination of size 64 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadBitmaps()’: src/environment.cpp:1101:49: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1101 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ^ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool ENVIRONMENT::loadBitmaps()’ at src/environment.cpp:1101:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 4104) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadBitmaps()’: src/environment.cpp:1189:57: warning: ‘/’ directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1189 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ^ src/environment.cpp:1189:54: note: directive argument in the range [1, 2147483647] 1189 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ^~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool ENVIRONMENT::loadBitmaps()’ at src/environment.cpp:1189:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output 8 or more bytes (assuming 4113) into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadFonts()’: src/environment.cpp:1217:41: warning: ‘/unicode.dat’ directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1217 | snprintf(path_buf, PATH_MAX, "%s/unicode.dat", dataDir); | ^~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool ENVIRONMENT::loadFonts()’ at src/environment.cpp:1217:10: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 13 and 4109 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/environment.cpp: In member function ‘bool ENVIRONMENT::loadSounds()’: src/environment.cpp:1292:49: warning: ‘/sound/’ directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1292 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); | ^~~~~~~ src/environment.cpp:1292:46: note: directive argument in the range [0, 50] 1292 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); | ^~~~~~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool ENVIRONMENT::loadSounds()’ at src/environment.cpp:1292:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 14 and 4110 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/atanks.cpp: In function ‘int32_t main(int32_t, char**)’: src/atanks.cpp:736:49: warning: ‘/atanks-config.txt’ directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 736 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from /usr/include/c++/14/cstdio:42, from src/debug.h:5, from src/atanks.cpp:22: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘bool loadConfig()’ at src/atanks.cpp:736:11, inlined from ‘int32_t main(int32_t, char**)’ at src/atanks.cpp:1489:17: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 19 and 4115 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/atanks.cpp: In function ‘int32_t main(int32_t, char**)’: src/atanks.cpp:152:42: warning: ‘/credits.txt’ directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 152 | snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); | ^~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void credits()’ at src/atanks.cpp:152:11, inlined from ‘int32_t main(int32_t, char**)’ at src/atanks.cpp:1558:12: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 13 and 4109 bytes into a destination of size 4096 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/atanks.cpp: In function ‘int32_t main(int32_t, char**)’: src/atanks.cpp:1321:81: warning: ‘%s’ directive output may be truncated writing up to 256 bytes into a region of size 230 [-Wformat-truncation=] 467 | return return_string; | ~~~~~~~~~~~~~ ...... 1321 | snprintf(buffer, 255, "GAMEEND The game went to %s.", winner); | ^~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void play_local()’ at src/atanks.cpp:1321:13, inlined from ‘int32_t main(int32_t, char**)’ at src/atanks.cpp:1571:15: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 27 and 283 bytes into a destination of size 255 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tank.cpp: In member function ‘void TANK::applyDamage()’: src/tank.cpp:529:44: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 529 | snprintf (buf, 9, "%d", full_damage); | ^~ src/tank.cpp:529:43: note: directive argument in the range [1, 2147483647] 529 | snprintf (buf, 9, "%d", full_damage); | ^~~~ In file included from /usr/include/stdio.h:980, from /usr/include/c++/14/cstdio:42, from src/debug.h:5, from src/main.h:41, from src/floattext.h:24, from src/tank.cpp:21: In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void TANK::applyDamage()’ at src/tank.cpp:529:13: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 2 and 11 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tank.cpp: In member function ‘void TANK::applyDamage()’: src/tank.cpp:542:44: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 542 | snprintf (buf, 9, "%d", sh); | ^~ src/tank.cpp:542:43: note: directive argument in the range [1, 2147483647] 542 | snprintf (buf, 9, "%d", sh); | ^~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void TANK::applyDamage()’ at src/tank.cpp:542:13: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 2 and 11 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/text.cpp: In member function ‘bool TEXTBLOCK::Load_File(const char*)’: src/text.cpp:200:32: warning: ‘char* __builtin___strncpy_chk(char*, const char*, long unsigned int, long unsigned int)’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 200 | strncpy(complete_text[lines_loaded++], line, strlen(line)); | ^ src/text.cpp:200:32: note: length computed here 200 | strncpy(complete_text[lines_loaded++], line, strlen(line)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/tank.cpp: In member function ‘void TANK::repair()’: src/tank.cpp:1525:35: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] 1525 | snprintf(buf, 9, "%d", l); | ^~ src/tank.cpp:1525:34: note: directive argument in the range [-2147483647, 2147483647] 1525 | snprintf(buf, 9, "%d", l); | ^~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void TANK::repair()’ at src/tank.cpp:1525:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 2 and 12 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/tank.cpp: In member function ‘void TANK::newRound(int32_t, int32_t)’: src/tank.cpp:1440:28: warning: ‘%d’ directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] 1440 | snprintf (buf, 9, "%d", l); | ^~ src/tank.cpp:1440:27: note: directive argument in the range [-2147483548, 2147483647] 1440 | snprintf (buf, 9, "%d", l); | ^~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void TANK::newRound(int32_t, int32_t)’ at src/tank.cpp:1440:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 2 and 12 bytes into a destination of size 9 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/player.cpp: In member function ‘bool PLAYER::load_from_file(FILE*)’: src/player.cpp:2080:40: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 24 bytes from a string of length 128 [-Wstringop-truncation] 2080 | strncpy(name, value, NAME_LEN); | ^ src/tank.cpp: In member function ‘void TANK::explode(bool)’: src/tank.cpp:868:50: warning: ‘%d’ directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 868 | snprintf(buffer, 14, "REMOVETANK %d", playerindex); | ^~ src/tank.cpp:868:38: note: directive argument in the range [0, 2147483646] 868 | snprintf(buffer, 14, "REMOVETANK %d", playerindex); | ^~~~~~~~~~~~~~~ In function ‘int snprintf(char*, size_t, const char*, ...)’, inlined from ‘void TANK::explode(bool)’ at src/tank.cpp:868:11: /usr/include/bits/stdio2.h:54:35: note: ‘__builtin___snprintf_chk’ output between 13 and 22 bytes into a destination of size 14 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/player.cpp: In member function ‘void PLAYER_mini::copy_from(PLAYER*)’: src/player.cpp:2851:24: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ output may be truncated copying 24 bytes from a string of length 24 [-Wstringop-truncation] 2851 | strncpy(name, source->getName(), NAME_LEN); | ^ /usr/bin/g++ -o atanks obj/aicore.o obj/atanks.o obj/beam.o obj/button.o obj/client.o obj/clock.o obj/debris_pool.o obj/debug.o obj/decor.o obj/environment.o obj/explosion.o obj/files.o obj/floattext.o obj/gameloop.o obj/gfxData.o obj/globaldata.o obj/globaltypes.o obj/land.o obj/main.o obj/menu.o obj/missile.o obj/network.o obj/optionitembase.o obj/optionitemcolour.o obj/optionitemmenu.o obj/optionitemplayer.o obj/optionscreens.o obj/optiontypes.o obj/perlin.o obj/physobj.o obj/player.o obj/player_types.o obj/satellite.o obj/shop.o obj/sky.o obj/sound.o obj/tank.o obj/teleport.o obj/text.o obj/update.o obj/virtobj.o -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.6\" -DNETWORK -I/usr/include -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 -L/usr/lib -lalleg -lm -lpthread -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 -Wextra -pedantic -std=c++0x -pthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.21tQ31 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64 + 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 atanks-6.6 + rm -rf /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64 + mkdir -p -m 0755 /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/games/atanks /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/bin /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/pixmaps /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/applications + install -p -m 0644 README_ru.txt credits.txt /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/games/atanks/ + install -p -m 0644 unicode.dat /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/games/atanks/ + install -p -m 0755 atanks /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/bin/atanks + install -p -m 0644 atanks.png /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/pixmaps/ + mkdir -p /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/icons/hicolor/48x48/apps + install -p -m 644 atanks.png /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/icons/hicolor/48x48/apps + cp -pr button exporter misc missile sound stock tank tankgun text title /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/games/atanks/ + desktop-file-install --mode 0644 --dir /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/applications/ --add-category StrategyGame atanks.desktop + mkdir -p /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/appdata + cat + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 6.6-5.fc40 --unique-debug-suffix -6.6-5.fc40.riscv64 --unique-debug-src-base atanks-6.6-5.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/atanks-6.6 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/atanks-6.6-5.fc40.riscv64 2402 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 -j32 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: atanks-6.6-5.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JCYr37 + umask 022 + cd /builddir/build/BUILD + cd atanks-6.6 + DOCDIR=/builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/doc/atanks + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/doc/atanks + cp -pr /builddir/build/BUILD/atanks-6.6/Changelog /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/doc/atanks + cp -pr /builddir/build/BUILD/atanks-6.6/README /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/doc/atanks + cp -pr /builddir/build/BUILD/atanks-6.6/TODO /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/doc/atanks + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uRzjXJ + umask 022 + cd /builddir/build/BUILD + cd atanks-6.6 + LICENSEDIR=/builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/licenses/atanks + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/licenses/atanks + cp -pr /builddir/build/BUILD/atanks-6.6/COPYING /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64/usr/share/licenses/atanks + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(atanks.desktop) atanks = 6.6-5.fc40 atanks(riscv-64) = 6.6-5.fc40 metainfo() metainfo(atanks.appdata.xml) 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) liballeg.so.4.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: atanks-debugsource-6.6-5.fc40.riscv64 Provides: atanks-debugsource = 6.6-5.fc40 atanks-debugsource(riscv-64) = 6.6-5.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: atanks-debuginfo-6.6-5.fc40.riscv64 Provides: atanks-debuginfo = 6.6-5.fc40 atanks-debuginfo(riscv-64) = 6.6-5.fc40 debuginfo(build-id) = 56ab658199fd8d48e9c56462bd349cec27643f95 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: atanks-debugsource(riscv-64) = 6.6-5.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atanks-6.6-5.fc40.riscv64 Wrote: /builddir/build/RPMS/atanks-debugsource-6.6-5.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/atanks-debuginfo-6.6-5.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/atanks-6.6-5.fc40.riscv64.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0