Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/atanks.spec'], chrootPath='/var/lib/mock/f29-build-9627-4321/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/atanks-6.5-6.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/atanks.spec'], chrootPath='/var/lib/mock/f29-build-9627-4321/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cOKzVp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf atanks-6.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/atanks-6.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd atanks-6.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (atanks-remove-cxxflags-mangling.patch):' Patch #0 (atanks-remove-cxxflags-mangling.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jlZez3 + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j4 DEBUG=NO Compiling obj/aicore.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/aicore.o -c src/aicore.cpp Compiling obj/beam.o Compiling obj/atanks.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/atanks.o -c src/atanks.cpp Compiling obj/button.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/beam.o -c src/beam.cpp /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/button.o -c src/button.cpp BUILDSTDERR: src/beam.cpp: In member function 'virtual void BEAM::applyPhysics()': BUILDSTDERR: src/beam.cpp:201:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/beam.cpp:211:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: src/beam.cpp: In member function 'void BEAM::createBeamPath()': BUILDSTDERR: src/beam.cpp:271:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from src/menu.h:24, BUILDSTDERR: from src/optionscreens.h:28, BUILDSTDERR: from src/atanks.cpp:24: BUILDSTDERR: 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)': BUILDSTDERR: src/optionitem.h:304:16: warning: invalid use of incomplete type 'class BUTTON' BUILDSTDERR: this->button->getLocation(this->left, this->top, this->width, this->height); BUILDSTDERR: ^~ BUILDSTDERR: In file included from src/optionitem.h:24, BUILDSTDERR: from src/menu.h:24, BUILDSTDERR: from src/optionscreens.h:28, BUILDSTDERR: from src/atanks.cpp:24: BUILDSTDERR: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' BUILDSTDERR: class BUTTON; BUILDSTDERR: ^~~~~~ Compiling obj/client.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/debris_pool.o -c src/debris_pool.cpp BUILDSTDERR: src/atanks.cpp: In function 'int32_t main(int32_t, char**)': BUILDSTDERR: src/atanks.cpp:737:32: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/atanks.cpp:22: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4115 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/atanks.cpp:152:32: warning: '/credits.txt' directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/atanks.cpp:22: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 13 and 4109 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/atanks.cpp:293:24: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: snprintf(valTxt, 15, " %14s", Add_Comma(pl_money[z])); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/atanks.cpp:22: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 16 or more bytes into a destination of size 15 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/atanks.cpp:1322:27: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 230 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 255, "GAMEEND The game went to %s.", winner); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/atanks.cpp:22: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 27 and 283 bytes into a destination of size 255 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/debug.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/explosion.o -c src/explosion.cpp Compiling obj/files.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/files.o -c src/files.cpp BUILDSTDERR: src/explosion.cpp: In member function 'virtual void EXPLOSION::applyPhysics()': BUILDSTDERR: src/explosion.cpp:181:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception) { /* No reason to fuss, its just smoke. */ } BUILDSTDERR: ^~~~~~~~~ Compiling obj/floattext.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/floattext.o -c src/floattext.cpp BUILDSTDERR: src/files.cpp: In function 'bool Save_Game()': BUILDSTDERR: src/files.cpp:44:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 4166 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:95:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/%s.txt", BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 4166 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Load_Game()': BUILDSTDERR: src/files.cpp:131:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 4166 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Check_For_Saved_Game()': BUILDSTDERR: src/files.cpp:295:31: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 6 and 4166 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Copy_Config_File()': BUILDSTDERR: src/files.cpp:323:32: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 19 and 4115 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Create_Music_Folder()': BUILDSTDERR: src/files.cpp:381:31: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 7 and 4103 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Load_Weapons_Text()': BUILDSTDERR: src/files.cpp:511:32: warning: '/text/weapons_it.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:509:32: warning: '/text/weapons_ES.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:507:32: warning: '/text/weapons_ru.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:505:32: warning: '/text/weapons_sk.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:503:32: warning: '/text/weapons_de.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:501:32: warning: '/text/weapons_fr.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:499:32: 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=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 24 and 4120 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:497:32: warning: '/text/weapons.txt' directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/files.cpp:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4114 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'void ENVIRONMENT::load_text_files()': BUILDSTDERR: src/environment.cpp:942:33: 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=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_it.txt", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 24 and 4120 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:958:33: 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=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ES.txt", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 24 and 4120 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:950:33: 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=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ru.txt", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 24 and 4120 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:954:33: warning: '/text/war_quotes.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:938:33: warning: '/text/war_quotes.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:934:33: warning: '/text/war_quotes.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:946:33: warning: '/text/war_quotes.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:963:33: warning: '/text/war_quotes.txt' directive output may be truncated writing 20 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 21 and 4117 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:31: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:975:2: note: in expansion of macro 'LOAD_TEXT_BLOCK' BUILDSTDERR: LOAD_TEXT_BLOCK(gloat, "gloat") BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 12 and 4119 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:31: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:976:2: note: in expansion of macro 'LOAD_TEXT_BLOCK' BUILDSTDERR: LOAD_TEXT_BLOCK(ingame, "ingame") BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 13 and 4120 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:31: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:977:2: note: in expansion of macro 'LOAD_TEXT_BLOCK' BUILDSTDERR: LOAD_TEXT_BLOCK(instructions, "instr") BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 12 and 4119 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:31: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:978:2: note: in expansion of macro 'LOAD_TEXT_BLOCK' BUILDSTDERR: LOAD_TEXT_BLOCK(panic, "panic") BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 12 and 4119 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:31: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:979:2: note: in expansion of macro 'LOAD_TEXT_BLOCK' BUILDSTDERR: LOAD_TEXT_BLOCK(kamikaze, "kamikaze") BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 15 and 4122 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:31: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:980:2: note: in expansion of macro 'LOAD_TEXT_BLOCK' BUILDSTDERR: LOAD_TEXT_BLOCK(retaliation, "retaliation") BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 18 and 4125 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/gameloop.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/gameloop.o -c src/gameloop.cpp BUILDSTDERR: src/environment.cpp:915:31: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:981:2: note: in expansion of macro 'LOAD_TEXT_BLOCK' BUILDSTDERR: LOAD_TEXT_BLOCK(revenge, "revenge") BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 14 and 4121 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:31: warning: '/text/' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:982:2: note: in expansion of macro 'LOAD_TEXT_BLOCK' BUILDSTDERR: LOAD_TEXT_BLOCK(suicide, "suicide") BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 14 and 4121 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/gfxData.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/gfxData.o -c src/gfxData.cpp BUILDSTDERR: src/environment.cpp: In member function 'bool ENVIRONMENT::loadBackgroundMusic()': BUILDSTDERR: src/environment.cpp:1007:32: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/music", configDir); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 7 and 4103 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:1021:33: warning: '/music/' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/music/%s", BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4359 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'bool ENVIRONMENT::loadBitmaps()': BUILDSTDERR: src/environment.cpp:1097:32: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4112 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:1185:33: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:1185:33: note: directive argument in the range [1, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 8 and 4121 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'bool ENVIRONMENT::loadFonts()': BUILDSTDERR: src/environment.cpp:1213:31: warning: '/unicode.dat' directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/unicode.dat", dataDir); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 13 and 4109 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'bool ENVIRONMENT::loadSounds()': BUILDSTDERR: src/environment.cpp:1288:32: warning: '/sound/' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:1288:32: note: directive argument in the range [0, 51] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/environment.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 14 and 4110 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/globaldata.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/globaldata.o -c src/globaldata.cpp Compiling obj/globaltypes.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/land.o -c src/land.cpp BUILDSTDERR: src/gameloop.cpp: In function 'void init_new_round()': BUILDSTDERR: src/gameloop.cpp:1399:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for (int32_t i = 0; i < env.numGamePlayers; ++i) BUILDSTDERR: ^~~ BUILDSTDERR: src/gameloop.cpp:1403:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: global.newRound(); BUILDSTDERR: ^~~~~~ Compiling obj/main.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/main.o -c src/main.cpp BUILDSTDERR: src/globaldata.cpp: In member function 'void GLOBALDATA::destroy()': BUILDSTDERR: src/globaldata.cpp:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (canvas) destroy_bitmap(canvas); canvas = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:226:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (canvas) destroy_bitmap(canvas); canvas = nullptr; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/globaldata.cpp:227:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (terrain) destroy_bitmap(terrain); terrain = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:227:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (terrain) destroy_bitmap(terrain); terrain = nullptr; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/globaldata.cpp:228:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (done) delete [] done; done = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:228:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (done) delete [] done; done = nullptr; BUILDSTDERR: ^~~~ BUILDSTDERR: src/globaldata.cpp:229:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (fp) delete [] fp; fp = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:229:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (fp) delete [] fp; fp = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:230:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (surface) delete [] surface; surface = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:230:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (surface) delete [] surface; surface = nullptr; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/globaldata.cpp:231:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (dropTo) delete [] dropTo; dropTo = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:231:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (dropTo) delete [] dropTo; dropTo = nullptr; BUILDSTDERR: ^~~~~~ BUILDSTDERR: src/globaldata.cpp:232:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (velocity) delete [] velocity; velocity = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:232:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (velocity) delete [] velocity; velocity = nullptr; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/globaldata.cpp:233:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (dropIncr) delete [] dropIncr; dropIncr = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:233:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (dropIncr) delete [] dropIncr; dropIncr = nullptr; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: src/globaldata.cpp:234:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (updates) delete [] updates; updates = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:234:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (updates) delete [] updates; updates = nullptr; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: src/globaldata.cpp:235:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; BUILDSTDERR: ^~ BUILDSTDERR: src/globaldata.cpp:235:43: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (lastUpdates) delete [] lastUpdates; lastUpdates = nullptr; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: src/globaldata.cpp: In member function 'void GLOBALDATA::do_updates()': BUILDSTDERR: src/globaldata.cpp:256:59: 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] BUILDSTDERR: memcpy (lastUpdates, updates, sizeof (BOX) * updateCount); BUILDSTDERR: ^ BUILDSTDERR: In file included from src/player_types.h:9, BUILDSTDERR: from src/player.h:25, BUILDSTDERR: from src/globaldata.cpp:22: BUILDSTDERR: src/main.h:276:8: note: 'struct BOX' declared here BUILDSTDERR: struct BOX BUILDSTDERR: ^~~ Compiling obj/menu.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/missile.o -c src/missile.cpp Compiling obj/network.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optionitembase.o -c src/optionitembase.cpp BUILDSTDERR: src/missile.cpp: In member function 'virtual void MISSILE::applyPhysics()': BUILDSTDERR: src/missile.cpp:237:18: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: } catch (std::exception) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: In file included from src/menu.h:24, BUILDSTDERR: from src/menu.cpp:5: BUILDSTDERR: src/optionitem.h: In instantiation of 'void OptionItem::activateValue(int32_t) [with tgt_T = bool; opt_T = unsigned int; int32_t = int]': BUILDSTDERR: src/optionitem.h:382:12: required from 'int32_t OptionItem::activate(int32_t, int32_t, int32_t, int32_t) [with tgt_T = bool; opt_T = unsigned int; int32_t = int]' BUILDSTDERR: src/optionitem.h:340:10: required from here BUILDSTDERR: src/optionitem.h:507:40: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] BUILDSTDERR: tgt_T t_val = static_cast(val * decinc); BUILDSTDERR: ~~~~^~~~~~~~ Compiling obj/optionitemcolour.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optionitemplayer.o -c src/optionitemplayer.cpp Compiling obj/optionscreens.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optionscreens.o -c src/optionscreens.cpp BUILDSTDERR: In file included from src/menu.h:24, BUILDSTDERR: from src/optionitemmenu.cpp:2: BUILDSTDERR: 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)': BUILDSTDERR: src/optionitem.h:304:16: warning: invalid use of incomplete type 'class BUTTON' BUILDSTDERR: this->button->getLocation(this->left, this->top, this->width, this->height); BUILDSTDERR: ^~ BUILDSTDERR: In file included from src/optionitemmenu.h:24, BUILDSTDERR: from src/optionitemmenu.cpp:1: BUILDSTDERR: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' BUILDSTDERR: class BUTTON; BUILDSTDERR: ^~~~~~ Compiling obj/optiontypes.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/optiontypes.o -c src/optiontypes.cpp Compiling obj/perlin.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/physobj.o -c src/physobj.cpp BUILDSTDERR: In file included from src/menu.h:24, BUILDSTDERR: from src/optionscreens.h:28, BUILDSTDERR: from src/optionscreens.cpp:1: BUILDSTDERR: 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)': BUILDSTDERR: src/optionitem.h:304:16: warning: invalid use of incomplete type 'class BUTTON' BUILDSTDERR: this->button->getLocation(this->left, this->top, this->width, this->height); BUILDSTDERR: ^~ BUILDSTDERR: In file included from src/optionitem.h:24, BUILDSTDERR: from src/menu.h:24, BUILDSTDERR: from src/optionscreens.h:28, BUILDSTDERR: from src/optionscreens.cpp:1: BUILDSTDERR: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' BUILDSTDERR: class BUTTON; BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from src/menu.h:24, BUILDSTDERR: from src/optionscreens.h:28, BUILDSTDERR: from src/optionscreens.cpp:1: BUILDSTDERR: src/optionitem.h: In instantiation of 'void OptionItem::activateValue(int32_t) [with tgt_T = bool; opt_T = int; int32_t = int]': BUILDSTDERR: src/optionitem.h:382:12: required from 'int32_t OptionItem::activate(int32_t, int32_t, int32_t, int32_t) [with tgt_T = bool; opt_T = int; int32_t = int]' BUILDSTDERR: src/optionitem.h:340:10: required from here BUILDSTDERR: src/optionitem.h:507:40: warning: '*' in boolean context, suggest '&&' instead [-Wint-in-bool-context] BUILDSTDERR: tgt_T t_val = static_cast(val * decinc); BUILDSTDERR: ~~~~^~~~~~~~ Compiling obj/player.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/player_types.o -c src/player_types.cpp Compiling obj/satellite.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/satellite.o -c src/satellite.cpp BUILDSTDERR: In file included from src/menu.h:24, BUILDSTDERR: from src/player.cpp:25: BUILDSTDERR: 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)': BUILDSTDERR: src/optionitem.h:304:16: warning: invalid use of incomplete type 'class BUTTON' BUILDSTDERR: this->button->getLocation(this->left, this->top, this->width, this->height); BUILDSTDERR: ^~ BUILDSTDERR: In file included from src/optionitem.h:24, BUILDSTDERR: from src/menu.h:24, BUILDSTDERR: from src/player.cpp:25: BUILDSTDERR: src/optionitembase.h:40:7: note: forward declaration of 'class BUTTON' BUILDSTDERR: class BUTTON; BUILDSTDERR: ^~~~~~ Compiling obj/shop.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/sound.o -c src/sound.cpp BUILDSTDERR: src/shop.cpp: In function 'bool shop(LevelCreator*)': BUILDSTDERR: src/shop.cpp:284:16: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=] BUILDSTDERR: "%s \"%s\".", BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: src/shop.cpp:286:16: BUILDSTDERR: env.game_name); BUILDSTDERR: ~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/player.h:25, BUILDSTDERR: from src/shop.cpp:2: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output 5 or more bytes (assuming 69) into a destination of size 64 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/tank.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/update.o -c src/update.cpp BUILDSTDERR: src/tank.cpp: In member function 'void TANK::applyDamage()': BUILDSTDERR: src/tank.cpp:525:22: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] BUILDSTDERR: snprintf (buf, 9, "%d", full_damage); BUILDSTDERR: ^~~~ BUILDSTDERR: src/tank.cpp:525:22: note: directive argument in the range [1, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/floattext.h:24, BUILDSTDERR: from src/tank.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 9 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/tank.cpp:537:22: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] BUILDSTDERR: snprintf (buf, 9, "%d", sh); BUILDSTDERR: ^~~~ BUILDSTDERR: src/tank.cpp:537:22: note: directive argument in the range [1, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/floattext.h:24, BUILDSTDERR: from src/tank.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 9 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling obj/virtobj.o /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread -o obj/virtobj.o -c src/virtobj.cpp BUILDSTDERR: src/tank.cpp: In member function 'void TANK::explode(bool)': BUILDSTDERR: src/tank.cpp:865:24: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] BUILDSTDERR: snprintf(buffer, 14, "REMOVETANK %d", playerindex); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: src/tank.cpp:865:24: note: directive argument in the range [0, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/floattext.h:24, BUILDSTDERR: from src/tank.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 13 and 22 bytes into a destination of size 14 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/tank.cpp: In member function 'void TANK::newRound(int32_t, int32_t)': BUILDSTDERR: src/tank.cpp:1433:20: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] BUILDSTDERR: snprintf (buf, 9, "%d", l); BUILDSTDERR: ^~~~ BUILDSTDERR: src/tank.cpp:1433:20: note: directive argument in the range [-2147483548, 2147483647] BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from /usr/include/c++/8/cstdio:42, BUILDSTDERR: from src/debug.h:5, BUILDSTDERR: from src/main.h:41, BUILDSTDERR: from src/floattext.h:24, BUILDSTDERR: from src/tank.cpp:21: BUILDSTDERR: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 9 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/lib -lalleg -lm -lpthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pedantic -std=c++0x -pthread + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.74gLY5 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64 + cd atanks-6.5 + rm -rf /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64 + mkdir -p -m 0755 /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/games/atanks /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/bin /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/pixmaps /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/applications + install -p -m 0644 README_ru.txt credits.txt /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/games/atanks/ + install -p -m 0644 unicode.dat /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/games/atanks/ + install -p -m 0755 atanks /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/bin/atanks + install -p -m 0644 atanks.png /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/pixmaps/ + cp -pr button exporter misc missile sound stock tank tankgun text title /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/games/atanks/ + desktop-file-install --mode 0644 --dir /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/applications/ --add-category StrategyGame atanks.desktop + mkdir -p /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/appdata + cat + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 6.5-6.fc29 --unique-debug-suffix -6.5-6.fc29.riscv64 --unique-debug-src-base atanks-6.5-6.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/atanks-6.5 extracting debug info from /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/bin/atanks /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 2340 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: atanks-6.5-6.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.T7Wubq + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + DOCDIR=/builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/doc/atanks + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/doc/atanks + cp -pr Changelog /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/doc/atanks + cp -pr README /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/doc/atanks + cp -pr TODO /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/doc/atanks + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.LpP74u + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + LICENSEDIR=/builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/licenses/atanks + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/licenses/atanks + cp -pr COPYING /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64/usr/share/licenses/atanks + exit 0 Provides: application() application(atanks.desktop) atanks = 6.5-6.fc29 atanks(riscv-64) = 6.5-6.fc29 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpthread.so.0(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.9)(64bit) rtld(GNU_HASH) Processing files: atanks-debugsource-6.5-6.fc29.riscv64 Provides: atanks-debugsource = 6.5-6.fc29 atanks-debugsource(riscv-64) = 6.5-6.fc29 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-6.fc29.riscv64 Provides: atanks-debuginfo = 6.5-6.fc29 atanks-debuginfo(riscv-64) = 6.5-6.fc29 debuginfo(build-id) = 03fd04a33b0f6ae77e91c1965960c59a0b9ba0bd 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.5-6.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64 Wrote: /builddir/build/RPMS/atanks-6.5-6.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/atanks-debugsource-6.5-6.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/atanks-debuginfo-6.5-6.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ou3Kdw + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atanks-6.5-6.fc29.riscv64 + exit 0 Child return code was: 0