Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/atanks.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667513499.228751/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.apj6624z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.apj6624z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '7332263fe0434a818816134c50ca439b', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667513499.228751/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.apj6624z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/atanks-6.5-15.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/atanks.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667513499.228751/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.apj6624z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.apj6624z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'ad0885e97c8c4c39bf0bc136de986bb1', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667513499.228751/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.apj6624z:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --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 Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.oYVpbE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atanks-6.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/atanks-6.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd atanks-6.5 + /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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hjySFd + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 atanks-6.5 + PREFIX=/usr + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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' + make -j2 DEBUG=NO Compiling obj/aicore.o Compiling obj/atanks.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/aicore.o -c src/aicore.cpp In file included from src/menu.h:24, from src/optionscreens.h:28, from src/atanks.cpp:24: src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': src/optionitem.h:304:37: warning: invalid use of incomplete type 'class BUTTON' 304 | this->button->getLocation(this->left, this->top, this->width, this->height); | ^~ In file included from src/optionitem.h:24: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' 40 | class BUTTON; | ^~~~~~ src/atanks.cpp: In function 'main': src/atanks.cpp:737:49: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 737 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from src/debug.h:5, from src/atanks.cpp:22: In function 'snprintf', inlined from 'loadConfig()' at src/atanks.cpp:737:11, inlined from 'main' at src/atanks.cpp:1478:17: /usr/include/bits/stdio2.h:54:35: note: '__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 'main': 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 'snprintf', inlined from 'credits()' at src/atanks.cpp:152:11, inlined from 'main' at src/atanks.cpp:1547:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'main': src/atanks.cpp:1322: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; | ~~~~~~~~~~~~~ ...... 1322 | snprintf(buffer, 255, "GAMEEND The game went to %s.", winner); | ^~ In function 'snprintf', inlined from 'play_local()' at src/atanks.cpp:1322:13, inlined from 'main' at src/atanks.cpp:1560:15: /usr/include/bits/stdio2.h:54:35: note: '__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/atanks.cpp: In function 'main': src/atanks.cpp:293:44: warning: '__snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 293 | snprintf(valTxt, 15, " %14s", Add_Comma(pl_money[z])); | ^ In function 'snprintf', inlined from 'do_winner()' at src/atanks.cpp:293:11, inlined from 'play_local()' at src/atanks.cpp:1319:39, inlined from 'main' at src/atanks.cpp:1560:15: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 16 or more bytes into a destination of size 15 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Compiling obj/beam.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/beam.o -c src/beam.cpp 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/button.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/button.o -c src/button.cpp Compiling obj/client.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/client.o -c src/client.cpp Compiling obj/clock.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/clock.o -c src/clock.cpp Compiling obj/debris_pool.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/debug.o -c src/debug.cpp Compiling obj/decor.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/decor.o -c src/decor.cpp Compiling obj/environment.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/environment.o -c src/environment.cpp Compiling obj/explosion.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/explosion.o -c src/explosion.cpp src/environment.cpp: In member function 'ENVIRONMENT::load_text_files()': src/environment.cpp:942: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=] 942 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_it.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from src/debug.h:5, from src/main.h:41, from src/environment.cpp:21: In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:942:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:958: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=] 958 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ES.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:958:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:950: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=] 950 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ru.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:950:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:954: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=] 954 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:954:12: /usr/include/bits/stdio2.h:54:35: note: '__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 '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 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:938:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:934: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=] 934 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:934:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:946: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=] 946 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:946:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:963: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=] 963 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:963:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:915:38: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:915:41: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:975:2: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:915:38: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:915:41: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:976:2: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:915:38: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:915:41: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:977:2: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:915:38: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:915:41: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:978:2: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:915:38: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:915:41: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:979:2: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:915:38: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:915:41: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:980:2: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:915:38: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:915:41: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:981:2: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::load_text_files()': src/environment.cpp:915:38: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~~~~~~~~~ src/environment.cpp:915:41: note: format string is defined here 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::load_text_files()' at src/environment.cpp:982:2: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::loadBackgroundMusic()': src/environment.cpp:1007:49: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1007 | snprintf(path_buf, PATH_MAX, "%s/music", configDir); | ^~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::loadBackgroundMusic()' at src/environment.cpp:1007:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::loadBackgroundMusic()': src/environment.cpp:1021:57: warning: '/music/' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1021 | snprintf(path_buf, PATH_MAX, "%s/music/%s", | ^~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::loadBackgroundMusic()' at src/environment.cpp:1021:12: /usr/include/bits/stdio2.h:54:35: note: '__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/environment.cpp: In member function 'ENVIRONMENT::loadBitmaps()': src/environment.cpp:1097:49: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1097 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ^ In function 'snprintf', inlined from 'ENVIRONMENT::loadBitmaps()' at src/environment.cpp:1097:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::loadBitmaps()': src/environment.cpp:1185:57: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 1185 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ^ src/environment.cpp:1185:54: note: directive argument in the range [1, 2147483647] 1185 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, | ^~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::loadBitmaps()' at src/environment.cpp:1185:12: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::loadFonts()': src/environment.cpp:1213:41: warning: '/unicode.dat' directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1213 | snprintf(path_buf, PATH_MAX, "%s/unicode.dat", dataDir); | ^~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::loadFonts()' at src/environment.cpp:1213:10: /usr/include/bits/stdio2.h:54:35: note: '__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 'ENVIRONMENT::loadSounds()': src/environment.cpp:1288:49: warning: '/sound/' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 1288 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); | ^~~~~~~ In member function 'ENVIRONMENT::loadSounds()', inlined from 'ENVIRONMENT::loadSounds()' at src/environment.cpp:1275:6: src/environment.cpp:1288:46: note: directive argument in the range [0, 50] 1288 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); | ^~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'ENVIRONMENT::loadSounds()' at src/environment.cpp:1288:11, inlined from 'ENVIRONMENT::loadSounds()' at src/environment.cpp:1275:6: /usr/include/bits/stdio2.h:54:35: note: '__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/explosion.cpp: In member function 'virtual void EXPLOSION::applyPhysics()': src/explosion.cpp:181:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 181 | } catch (std::exception) { /* No reason to fuss, its just smoke. */ } | ^~~~~~~~~ Compiling obj/files.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/files.o -c src/files.cpp Compiling obj/floattext.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/floattext.o -c src/floattext.cpp src/files.cpp: In function '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:906, from /usr/include/c++/12/cstdio:42, from src/debug.h:5, from src/main.h:41, from src/files.cpp:1: In function 'snprintf', inlined from 'Save_Game()' at src/files.cpp:44:10: /usr/include/bits/stdio2.h:54:35: note: '__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 'Save_Game()': src/files.cpp:95:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 95 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", | ^ In function 'snprintf', inlined from 'Save_Game()' at src/files.cpp:95:10: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Game()': src/files.cpp:131:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 131 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ^ In function 'snprintf', inlined from 'Load_Game()' at src/files.cpp:131:10: /usr/include/bits/stdio2.h:54:35: note: '__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 'Check_For_Saved_Game()': src/files.cpp:295:41: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] 295 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); | ^ In function 'snprintf', inlined from 'Check_For_Saved_Game()' at src/files.cpp:295:10: /usr/include/bits/stdio2.h:54:35: note: '__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 'Copy_Config_File()': src/files.cpp:323:42: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 323 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); | ^~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Copy_Config_File()' at src/files.cpp:323:10: /usr/include/bits/stdio2.h:54:35: note: '__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 'Create_Music_Folder()': src/files.cpp:381:41: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 381 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); | ^~~~~~ In function 'snprintf', inlined from 'Create_Music_Folder()' at src/files.cpp:381:10: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Weapons_Text()': src/files.cpp:511: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=] 511 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Load_Weapons_Text()' at src/files.cpp:511:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Weapons_Text()': src/files.cpp:509: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=] 509 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Load_Weapons_Text()' at src/files.cpp:509:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Weapons_Text()': src/files.cpp:507: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=] 507 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Load_Weapons_Text()' at src/files.cpp:507:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Weapons_Text()': src/files.cpp:505: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=] 505 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Load_Weapons_Text()' at src/files.cpp:505:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Weapons_Text()': src/files.cpp:503: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=] 503 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Load_Weapons_Text()' at src/files.cpp:503:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Weapons_Text()': src/files.cpp:501: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=] 501 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Load_Weapons_Text()' at src/files.cpp:501:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Weapons_Text()': src/files.cpp:499: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=] 499 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Load_Weapons_Text()' at src/files.cpp:499:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'Load_Weapons_Text()': src/files.cpp:497:49: warning: '/text/weapons.txt' directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] 497 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); | ^~~~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'Load_Weapons_Text()' at src/files.cpp:497:11: /usr/include/bits/stdio2.h:54:35: note: '__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 ()); | ~~~~~~~~~~~~~~~~~ Compiling obj/gameloop.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/gameloop.o -c src/gameloop.cpp Compiling obj/gfxData.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/gfxData.o -c src/gfxData.cpp src/gameloop.cpp: In function 'void init_new_round()': src/gameloop.cpp:1399:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1399 | for (int32_t i = 0; i < env.numGamePlayers; ++i) | ^~~ src/gameloop.cpp:1403:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1403 | global.newRound(); | ^~~~~~ src/gfxData.cpp: In member function 'void sGfxData::destroy()': src/gfxData.cpp:51:21: warning: the address of 'sGfxData::sky_gradient_strips' will never be NULL [-Waddress] 51 | if (sky_gradient_strips) { | ^~~~~~~~~~~~~~~~~~~ In file included from src/environment.h:26, from src/globaldata.h:48, from src/externs.h:24, from src/main.h:593, from src/gfxData.cpp:1: src/gfxData.h:54:17: note: 'sGfxData::sky_gradient_strips' declared here 54 | BITMAP* sky_gradient_strips[ALL_SKIES]; | ^~~~~~~~~~~~~~~~~~~ src/gfxData.cpp:60:21: warning: the address of 'sGfxData::land_gradient_strips' will never be NULL [-Waddress] 60 | if (land_gradient_strips) { | ^~~~~~~~~~~~~~~~~~~~ src/gfxData.h:55:17: note: 'sGfxData::land_gradient_strips' declared here 55 | BITMAP* land_gradient_strips[ALL_LANDS]; | ^~~~~~~~~~~~~~~~~~~~ src/gfxData.cpp:69:21: warning: the address of 'sGfxData::explosions' will never be NULL [-Waddress] 69 | if (explosions) { | ^~~~~~~~~~ src/gfxData.h:62:17: note: 'sGfxData::explosions' declared here 62 | BITMAP* explosions[EXPLOSIONFRAMES]; | ^~~~~~~~~~ src/gfxData.cpp:78:21: warning: the address of 'sGfxData::flameFront' will never be NULL [-Waddress] 78 | if (flameFront) { | ^~~~~~~~~~ src/gfxData.h:63:17: note: 'sGfxData::flameFront' declared here 63 | BITMAP* flameFront[EXPLOSIONFRAMES]; | ^~~~~~~~~~ Compiling obj/globaldata.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/globaldata.o -c src/globaldata.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:276:8: note: 'struct BOX' declared here 276 | struct BOX | ^~~ Compiling obj/globaltypes.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/globaltypes.o -c src/globaltypes.cpp Compiling obj/land.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/land.o -c src/land.cpp Compiling obj/main.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/main.o -c src/main.cpp Compiling obj/menu.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/menu.o -c src/menu.cpp Compiling obj/missile.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/missile.o -c src/missile.cpp src/missile.cpp: In member function 'virtual void MISSILE::applyPhysics()': src/missile.cpp:237:39: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] 237 | } catch (std::exception) { | ^~~~~~~~~ Compiling obj/network.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/network.o -c src/network.cpp Compiling obj/optionitembase.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optionitembase.o -c src/optionitembase.cpp src/network.cpp: In member function 'MESSAGE_QUEUE::Add(char*, int)': src/network.cpp:59:16: warning: 'strncpy' 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_QUEUE::Peek()': src/network.cpp:117:11: warning: 'strncpy' 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_QUEUE::Read_To(int)': src/network.cpp:163:16: warning: 'strncpy' 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)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/optionitemcolour.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optionitemcolour.o -c src/optionitemcolour.cpp Compiling obj/optionitemmenu.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optionitemmenu.o -c src/optionitemmenu.cpp Compiling obj/optionitemplayer.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optionitemplayer.o -c src/optionitemplayer.cpp In file included from src/menu.h:24, from src/optionitemmenu.cpp:2: src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': src/optionitem.h:304:37: warning: invalid use of incomplete type 'class BUTTON' 304 | this->button->getLocation(this->left, this->top, this->width, this->height); | ^~ In file included from src/optionitemmenu.h:24, from src/optionitemmenu.cpp:1: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' 40 | class BUTTON; | ^~~~~~ Compiling obj/optionscreens.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optionscreens.o -c src/optionscreens.cpp Compiling obj/optiontypes.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optiontypes.o -c src/optiontypes.cpp In file included from src/menu.h:24, from src/optionscreens.h:28, from src/optionscreens.cpp:1: src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': src/optionitem.h:304:37: warning: invalid use of incomplete type 'class BUTTON' 304 | this->button->getLocation(this->left, this->top, this->width, this->height); | ^~ In file included from src/optionitem.h:24: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' 40 | class BUTTON; | ^~~~~~ Compiling obj/perlin.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/perlin.o -c src/perlin.cpp Compiling obj/physobj.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/physobj.o -c src/physobj.cpp Compiling obj/player.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/player.o -c src/player.cpp Compiling obj/player_types.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/player_types.o -c src/player_types.cpp In file included from src/menu.h:24, from src/player.cpp:25: src/optionitem.h: In constructor 'OptionItem::OptionItem(int32_t, tgt_T*, int32_t (*)(tgt_T*, int32_t), const char*, int32_t, BUTTON*, int32_t, int32_t, int32_t, int32_t, int32_t)': src/optionitem.h:304:37: warning: invalid use of incomplete type 'class BUTTON' 304 | this->button->getLocation(this->left, this->top, this->width, this->height); | ^~ In file included from src/optionitem.h:24: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' 40 | class BUTTON; | ^~~~~~ Compiling obj/satellite.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/shop.o -c src/shop.cpp src/player.cpp: In member function 'PLAYER::load_from_file(_IO_FILE*)': src/player.cpp:2051:40: warning: 'strncpy' output may be truncated copying 24 bytes from a string of length 128 [-Wstringop-truncation] 2051 | strncpy(name, value, NAME_LEN); | ^ src/player.cpp: In member function 'PLAYER_mini::copy_from(PLAYER*)': src/player.cpp:2754:24: warning: 'strncpy' output may be truncated copying 24 bytes from a string of length 24 [-Wstringop-truncation] 2754 | strncpy(name, source->getName(), NAME_LEN); | ^ src/shop.cpp: In function '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:906, from /usr/include/c++/12/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 'snprintf', inlined from 'shop(LevelCreator*)' at src/shop.cpp:283:15: /usr/include/bits/stdio2.h:54:35: note: '__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 ()); | ~~~~~~~~~~~~~~~~~ Compiling obj/sky.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/sound.o -c src/sound.cpp Compiling obj/tank.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/tank.o -c src/tank.cpp Compiling obj/teleport.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/teleport.o -c src/teleport.cpp src/tank.cpp: In member function 'void TANK::activateCurrentSelection()': src/tank.cpp:104:20: warning: the address of 'GLOBALDATA::tank_status' will never be NULL [-Waddress] 104 | if (global.tank_status) | ~~~~~~~^~~~~~~~~~~ In file included from src/externs.h:24, from src/main.h:593, from src/floattext.h:24, from src/tank.cpp:21: src/globaldata.h:193:21: note: 'GLOBALDATA::tank_status' declared here 193 | char tank_status[128]; | ^~~~~~~~~~~ src/tank.cpp: In member function 'TANK::applyDamage()': src/tank.cpp:525:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 525 | snprintf (buf, 9, "%d", full_damage); | ^~ src/tank.cpp:525:43: note: directive argument in the range [1, 2147483647] 525 | snprintf (buf, 9, "%d", full_damage); | ^~~~ In file included from /usr/include/stdio.h:906, from /usr/include/c++/12/cstdio:42, from src/debug.h:5, from src/main.h:41: In function 'snprintf', inlined from 'TANK::applyDamage()' at src/tank.cpp:525:13: /usr/include/bits/stdio2.h:54:35: note: '__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 'TANK::applyDamage()': src/tank.cpp:537:44: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] 537 | snprintf (buf, 9, "%d", sh); | ^~ src/tank.cpp:537:43: note: directive argument in the range [1, 2147483647] 537 | snprintf (buf, 9, "%d", sh); | ^~~~ In function 'snprintf', inlined from 'TANK::applyDamage()' at src/tank.cpp:537:13: /usr/include/bits/stdio2.h:54:35: note: '__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 ()); | ~~~~~~~~~~~~~~~~~ Compiling obj/text.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/text.o -c src/text.cpp src/tank.cpp: In member function 'TANK::newRound(int, int)': src/tank.cpp:1433:28: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] 1433 | snprintf (buf, 9, "%d", l); | ^~ src/tank.cpp:1433:27: note: directive argument in the range [-2147483548, 2147483647] 1433 | snprintf (buf, 9, "%d", l); | ^~~~ In function 'snprintf', inlined from 'TANK::newRound(int, int)' at src/tank.cpp:1433:11: /usr/include/bits/stdio2.h:54:35: note: '__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 'TANK::explode(bool)': src/tank.cpp:865:50: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] 865 | snprintf(buffer, 14, "REMOVETANK %d", playerindex); | ^~ src/tank.cpp:865:38: note: directive argument in the range [0, 2147483646] 865 | snprintf(buffer, 14, "REMOVETANK %d", playerindex); | ^~~~~~~~~~~~~~~ In function 'snprintf', inlined from 'TANK::explode(bool)' at src/tank.cpp:865:11: /usr/include/bits/stdio2.h:54:35: note: '__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 ()); | ~~~~~~~~~~~~~~~~~ Compiling obj/update.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/update.o -c src/update.cpp src/text.cpp: In member function 'TEXTBLOCK::Load_File(char const*)': src/text.cpp:199:32: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 199 | strncpy(complete_text[lines_loaded++], line, strlen(line)); | ^ src/text.cpp:199:32: note: length computed here 199 | strncpy(complete_text[lines_loaded++], line, strlen(line)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/virtobj.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/virtobj.o -c src/virtobj.cpp /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.5\" -DNETWORK -I/usr/include -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 -L/usr/lib64 -lalleg -lm -lpthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -Wextra -pedantic -std=c++0x -pthread + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HdO5He + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 atanks-6.5 + rm -rf /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64 + mkdir -p -m 0755 /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/games/atanks /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/bin /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/pixmaps /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/applications + install -p -m 0644 README_ru.txt credits.txt /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/games/atanks/ + install -p -m 0644 unicode.dat /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/games/atanks/ + install -p -m 0755 atanks /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/bin/atanks + install -p -m 0644 atanks.png /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/pixmaps/ + mkdir -p /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/icons/hicolor/48x48/apps + install -p -m 644 atanks.png /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/icons/hicolor/48x48/apps + cp -pr button exporter misc missile sound stock tank tankgun text title /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/games/atanks/ + desktop-file-install --mode 0644 --dir /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/applications/ --add-category StrategyGame atanks.desktop + mkdir -p /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/appdata + cat + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 6.5-15.fc38 --unique-debug-suffix -6.5-15.fc38.x86_64 --unique-debug-src-base atanks-6.5-15.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/atanks-6.5 extracting debug info from /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/bin/atanks original debug info size: 3508kB, size after compression: 2308kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2343 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: atanks-6.5-15.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WNXDP3 + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + DOCDIR=/builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/doc/atanks + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/doc/atanks + cp -pr Changelog /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/doc/atanks + cp -pr README /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/doc/atanks + cp -pr TODO /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/doc/atanks + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Th1PCQ + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + LICENSEDIR=/builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/licenses/atanks + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/licenses/atanks + cp -pr COPYING /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64/usr/share/licenses/atanks + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(atanks.desktop) atanks = 6.5-15.fc38 atanks(x86-64) = 6.5-15.fc38 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: liballeg.so.4.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(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.9)(64bit) rtld(GNU_HASH) Processing files: atanks-debugsource-6.5-15.fc38.x86_64 Provides: atanks-debugsource = 6.5-15.fc38 atanks-debugsource(x86-64) = 6.5-15.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: atanks-debuginfo-6.5-15.fc38.x86_64 Provides: atanks-debuginfo = 6.5-15.fc38 atanks-debuginfo(x86-64) = 6.5-15.fc38 debuginfo(build-id) = 5276407cf607d8bb01d39c33f45bbb4ae1ca9345 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: atanks-debugsource(x86-64) = 6.5-15.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64 Wrote: /builddir/build/RPMS/atanks-debuginfo-6.5-15.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/atanks-debugsource-6.5-15.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/atanks-6.5-15.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wwGedN + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atanks-6.5-15.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.UX5gr1 + umask 022 + cd /builddir/build/BUILD + rm -rf atanks-6.5 atanks-6.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0