Mock Version: 1.4.16 Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/atanks.spec'], chrootPath='/var/lib/mock/f31-build-16976197-1223008/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1563926400 Wrote: /builddir/build/SRPMS/atanks-6.5-9.fc31.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/atanks.spec'], chrootPath='/var/lib/mock/f31-build-16976197-1223008/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=172800uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.87IGeG + 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):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (atanks-remove-cxxflags-mangling.patch): patching file Makefile Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.L1i2VF + 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,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + make -j8 DEBUG=NO Compiling obj/aicore.o Compiling obj/atanks.o Compiling obj/beam.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/button.o 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/atanks.o -c src/atanks.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/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 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/client.o -c src/client.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/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 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 BUILDSTDERR: /usr/bin/g++ -DDATA_DIR=\"/usr/share/gaIn 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: 304 | 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: 40 | class BUTTON; BUILDSTDERR: | ^~~~~~ 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: 201 | } catch (std::exception) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/beam.cpp:211:17: warning: catching polymorphic type 'class std::exception' by value [-Wcatch-value=] BUILDSTDERR: 211 | } 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: 271 | } catch (std::exception) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/atanks.cpp: In function 'int32_t main(int32_t, char**)': BUILDSTDERR: src/atanks.cpp:737:35: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 737 | snprintf(fullPath, PATH_MAX, "%s/atanks-config.txt", env.configDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/atanks.cpp:152:35: warning: '/credits.txt' directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 152 | snprintf (path_buf, PATH_MAX, "%s/credits.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/atanks.cpp:293:30: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] BUILDSTDERR: 293 | snprintf(valTxt, 15, " %14s", Add_Comma(pl_money[z])); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/atanks.cpp:1322:53: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 230 [-Wformat-truncation=] BUILDSTDERR: 1322 | snprintf(buffer, 255, "GAMEEND The game went to %s.", winner); BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 181 | } catch (std::exception) { /* No reason to fuss, its just smoke. */ } BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Save_Game()': BUILDSTDERR: src/files.cpp:44:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 44 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:95:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 95 | snprintf(path_buf, PATH_MAX, "%s/%s.txt", BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Load_Game()': BUILDSTDERR: src/files.cpp:131:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 131 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'void ENVIRONMENT::load_text_files()': BUILDSTDERR: src/environment.cpp:954:36: 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: 954 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:958:36: 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: 958 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ES.txt", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:942:36: 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: 942 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_it.txt", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:950:36: 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: 950 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes_ru.txt", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:934:36: 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: 934 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:938:36: 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: 938 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:946:36: 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: 946 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:963:36: 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: 963 | snprintf(path_buf, PATH_MAX, "%s/text/war_quotes.txt", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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: 915 | 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: 975 | LOAD_TEXT_BLOCK(gloat, "gloat") BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:34: note: format string is defined here BUILDSTDERR: 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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: 915 | 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: 976 | LOAD_TEXT_BLOCK(ingame, "ingame") BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:34: note: format string is defined here BUILDSTDERR: 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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: 915 | 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: 977 | LOAD_TEXT_BLOCK(instructions, "instr") BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:34: note: format string is defined here BUILDSTDERR: 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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: 915 | 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: 978 | LOAD_TEXT_BLOCK(panic, "panic") BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:34: note: format string is defined here BUILDSTDERR: 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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: 915 | 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: 979 | LOAD_TEXT_BLOCK(kamikaze, "kamikaze") BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:34: note: format string is defined here BUILDSTDERR: 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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: 915 | 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: 980 | LOAD_TEXT_BLOCK(retaliation, "retaliation") BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:34: note: format string is defined here BUILDSTDERR: 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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: 915 | 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: 981 | LOAD_TEXT_BLOCK(revenge, "revenge") BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:34: note: format string is defined here BUILDSTDERR: 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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: 915 | 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: 982 | LOAD_TEXT_BLOCK(suicide, "suicide") BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:915:34: note: format string is defined here BUILDSTDERR: 915 | snprintf(path_buf, PATH_MAX, "%s/text/%s%s", dataDir, file, suffix); \ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 1399 | 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: 1403 | global.newRound(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'bool ENVIRONMENT::loadBackgroundMusic()': BUILDSTDERR: src/environment.cpp:1007:35: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 1007 | snprintf(path_buf, PATH_MAX, "%s/music", configDir); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:1021:36: warning: '/music/' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 1021 | snprintf(path_buf, PATH_MAX, "%s/music/%s", BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'bool ENVIRONMENT::loadBitmaps()': BUILDSTDERR: src/environment.cpp:1097:35: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 1097 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp:1185:36: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 1185 | 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: 1185 | snprintf(path_buf, PATH_MAX, "%s/%s/%d.bmp", dataDir, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Check_For_Saved_Game()': BUILDSTDERR: src/files.cpp:295:34: warning: '/' directive output may be truncated writing 1 byte into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 295 | snprintf(path_buf, PATH_MAX, "%s/%s.sav", env.configDir, env.game_name); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'bool ENVIRONMENT::loadFonts()': BUILDSTDERR: src/environment.cpp:1213:34: warning: '/unicode.dat' directive output may be truncated writing 12 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 1213 | snprintf(path_buf, PATH_MAX, "%s/unicode.dat", dataDir); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Copy_Config_File()': BUILDSTDERR: src/files.cpp:323:35: warning: '/atanks-config.txt' directive output may be truncated writing 18 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 323 | snprintf(dest_path, PATH_MAX, "%s/atanks-config.txt", env.configDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/environment.cpp: In member function 'bool ENVIRONMENT::loadSounds()': BUILDSTDERR: src/environment.cpp:1288:35: warning: '/sound/' directive output may be truncated writing 7 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 1288 | 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, 50] BUILDSTDERR: 1288 | snprintf(path_buf, PATH_MAX, "%s/sound/%02d.wav", dataDir, i); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Create_Music_Folder()': BUILDSTDERR: src/files.cpp:381:34: warning: '/music' directive output may be truncated writing 6 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 381 | snprintf(path_buf, PATH_MAX, "%s/music", env.configDir); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp: In function 'bool Load_Weapons_Text()': BUILDSTDERR: src/files.cpp:511:35: 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: 511 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_it.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:509:35: 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: 509 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ES.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:507:35: 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: 507 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_ru.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:505:35: 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: 505 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_sk.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:503:35: 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: 503 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_de.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:501:35: 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: 501 | snprintf(path_buf, PATH_MAX, "%s/text/weapons_fr.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:499:35: 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: 499 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.pt_BR.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/files.cpp:497:35: warning: '/text/weapons.txt' directive output may be truncated writing 17 bytes into a region of size between 0 and 4096 [-Wformat-truncation=] BUILDSTDERR: 497 | snprintf(path_buf, PATH_MAX, "%s/text/weapons.txt", env.dataDir); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mes/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 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 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 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 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 BUILDSTDERR: /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atankssrc/globaldata.cpp: In member function 'void GLOBALDATA::destroy()': BUILDSTDERR: src/globaldata.cpp:226:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 226 | 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: 226 | if (canvas) destroy_bitmap(canvas); canvas = nullptr; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/globaldata.cpp:227:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 227 | 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: 227 | if (terrain) destroy_bitmap(terrain); terrain = nullptr; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/globaldata.cpp:228:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 228 | 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: 228 | if (done) delete [] done; done = nullptr; BUILDSTDERR: | ^~~~ BUILDSTDERR: src/globaldata.cpp:229:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 229 | 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: 229 | if (fp) delete [] fp; fp = nullptr; BUILDSTDERR: | ^~ BUILDSTDERR: src/globaldata.cpp:230:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 230 | 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: 230 | if (surface) delete [] surface; surface = nullptr; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/globaldata.cpp:231:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 231 | 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: 231 | if (dropTo) delete [] dropTo; dropTo = nullptr; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/globaldata.cpp:232:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 232 | 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: 232 | if (velocity) delete [] velocity; velocity = nullptr; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/globaldata.cpp:233:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 233 | 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: 233 | if (dropIncr) delete [] dropIncr; dropIncr = nullptr; BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: src/globaldata.cpp:234:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 234 | 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: 234 | if (updates) delete [] updates; updates = nullptr; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: src/globaldata.cpp:235:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 235 | 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: 235 | 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: 256 | 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: 276 | struct BOX BUILDSTDERR: | ^~~ 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: 237 | } 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: 507 | tgt_T t_val = static_cast(val * decinc); BUILDSTDERR: | ~~~~^~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/allegro/base.h:30, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/player.h:25, BUILDSTDERR: from src/network.cpp:2: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'bool MESSAGE_QUEUE::Add(char*, int)' at src/network.cpp:59:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ \" -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 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 Compiling obj/menu.o 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/menu.o -c src/menu.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/missile.o -c src/missile.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/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 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 BUILDSTDERR: /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -src/network.cpp: In member function 'bool MESSAGE_QUEUE::Add(char*, int)': BUILDSTDERR: src/network.cpp:59:9: note: length computed here BUILDSTDERR: 59 | strncpy(new_message->text, some_text, strlen(some_text)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/allegro/base.h:30, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/player.h:25, BUILDSTDERR: from src/network.cpp:2: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'MESSAGE* MESSAGE_QUEUE::Peek()' at src/network.cpp:117:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/network.cpp: In member function 'MESSAGE* MESSAGE_QUEUE::Peek()': BUILDSTDERR: src/network.cpp:117:11: note: length computed here BUILDSTDERR: 117 | strncpy(my_message->text, first_message->text, strlen(first_message->text)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/allegro/base.h:30, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/player_types.h:9, BUILDSTDERR: from src/player.h:25, BUILDSTDERR: from src/network.cpp:2: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'MESSAGE* MESSAGE_QUEUE::Read_To(int)' at src/network.cpp:163:9: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/network.cpp: In member function 'MESSAGE* MESSAGE_QUEUE::Read_To(int)': BUILDSTDERR: src/network.cpp:163:9: note: length computed here BUILDSTDERR: 163 | strncpy(my_message->text, current->text, strlen(current->text)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 304 | 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: 40 | class BUTTON; BUILDSTDERR: | ^~~~~~ 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 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 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 BUILDSTDERR: /usr/bin/g+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: 304 | 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: 40 | 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: 507 | tgt_T t_val = static_cast(val * decinc); BUILDSTDERR: | ~~~~^~~~~~~~ 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: 304 | 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: 40 | class BUTTON; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: src/shop.cpp: In function 'bool shop(LevelCreator*)': BUILDSTDERR: src/shop.cpp:284:22: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 62 [-Wformat-truncation=] BUILDSTDERR: 284 | "%s \"%s\".", BUILDSTDERR: | ^~ BUILDSTDERR: 285 | env.ingame->Get_Line(17), BUILDSTDERR: 286 | env.game_name); BUILDSTDERR: | ~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + -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 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 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 Compiling obj/virtobj.o BUILDSTDERR: /usr/bin/g++ -DDATA_DIR=\"/usr/share/games/atanks\" -DLINUX -DVERSION=\"6.5\" -DNETWORK -I/usrc/tank.cpp: In member function 'void TANK::applyDamage()': BUILDSTDERR: src/tank.cpp:525:23: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] BUILDSTDERR: 525 | snprintf (buf, 9, "%d", full_damage); BUILDSTDERR: | ^~ BUILDSTDERR: src/tank.cpp:525:22: note: directive argument in the range [1, 2147483647] BUILDSTDERR: 525 | snprintf (buf, 9, "%d", full_damage); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/tank.cpp:537:23: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 9 [-Wformat-truncation=] BUILDSTDERR: 537 | snprintf (buf, 9, "%d", sh); BUILDSTDERR: | ^~ BUILDSTDERR: src/tank.cpp:537:22: note: directive argument in the range [1, 2147483647] BUILDSTDERR: 537 | snprintf (buf, 9, "%d", sh); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/c++/9/cstring:42, BUILDSTDERR: from src/text.cpp:3: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'bool TEXTBLOCK::Load_File(const char*)' at src/text.cpp:199:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/text.cpp: In member function 'bool TEXTBLOCK::Load_File(const char*)': BUILDSTDERR: src/text.cpp:199:11: note: length computed here BUILDSTDERR: 199 | strncpy(complete_text[lines_loaded++], line, strlen(line)); BUILDSTDERR: | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/tank.cpp: In member function 'void TANK::explode(bool)': BUILDSTDERR: src/tank.cpp:865:36: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 3 [-Wformat-truncation=] BUILDSTDERR: 865 | snprintf(buffer, 14, "REMOVETANK %d", playerindex); BUILDSTDERR: | ^~ BUILDSTDERR: src/tank.cpp:865:24: note: directive argument in the range [0, 2147483646] BUILDSTDERR: 865 | snprintf(buffer, 14, "REMOVETANK %d", playerindex); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __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:21: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 9 [-Wformat-truncation=] BUILDSTDERR: 1433 | snprintf (buf, 9, "%d", l); BUILDSTDERR: | ^~ BUILDSTDERR: src/tank.cpp:1433:20: note: directive argument in the range [-2147483548, 2147483647] BUILDSTDERR: 1433 | snprintf (buf, 9, "%d", l); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:867, BUILDSTDERR: from /usr/include/c++/9/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: 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 68 | __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from /usr/include/allegro/base.h:30, BUILDSTDERR: from /usr/include/allegro.h:25, BUILDSTDERR: from src/main.h:55, BUILDSTDERR: from src/environment.h:24, BUILDSTDERR: from src/player.cpp:21: BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'bool PLAYER::load_from_file(FILE*)' at src/player.cpp:2051:12: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 24 bytes from a string of length 128 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In function 'char* strncpy(char*, const char*, size_t)', BUILDSTDERR: inlined from 'void PLAYER_mini::copy_from(PLAYER*)' at src/player.cpp:2754:10: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output may be truncated copying 24 bytes from a string of length 24 [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 sr/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 /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 -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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ZoXJqG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64 + cd atanks-6.5 + rm -rf /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64 + mkdir -p -m 0755 /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/games/atanks /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/bin /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/pixmaps /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/applications + install -p -m 0644 README_ru.txt credits.txt /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/games/atanks/ + install -p -m 0644 unicode.dat /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/games/atanks/ + install -p -m 0755 atanks /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/bin/atanks + install -p -m 0644 atanks.png /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/pixmaps/ + cp -pr button exporter misc missile sound stock tank tankgun text title /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/games/atanks/ + desktop-file-install --mode 0644 --dir /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/applications/ --add-category StrategyGame atanks.desktop + mkdir -p /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/appdata + cat + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 6.5-9.fc31 --unique-debug-suffix -6.5-9.fc31.aarch64 --unique-debug-src-base atanks-6.5-9.fc31.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/atanks-6.5 BUILDSTDERR: 2340 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/bin/atanks extracting debug info from /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/bin/atanks original debug info size: 5196kB, size after compression: 3044kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: atanks-6.5-9.fc31.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OaSQsH + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + DOCDIR=/builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/doc/atanks + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/doc/atanks + cp -pr Changelog /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/doc/atanks + cp -pr README /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/doc/atanks + cp -pr TODO /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/doc/atanks + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TLEPFG + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + LICENSEDIR=/builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/licenses/atanks + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/licenses/atanks + cp -pr COPYING /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64/usr/share/licenses/atanks + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(atanks.desktop) atanks = 6.5-9.fc31 atanks(aarch-64) = 6.5-9.fc31 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-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) liballeg.so.4.4()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.29)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(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-9.fc31.aarch64 Provides: atanks-debugsource = 6.5-9.fc31 atanks-debugsource(aarch-64) = 6.5-9.fc31 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-9.fc31.aarch64 Provides: atanks-debuginfo = 6.5-9.fc31 atanks-debuginfo(aarch-64) = 6.5-9.fc31 debuginfo(build-id) = 4c9bb1a3e5f99cf3bf614a948483667f5a0bf18d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: atanks-debugsource(aarch-64) = 6.5-9.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64 Wrote: /builddir/build/RPMS/atanks-debugsource-6.5-9.fc31.aarch64.rpm Wrote: /builddir/build/RPMS/atanks-debuginfo-6.5-9.fc31.aarch64.rpm Wrote: /builddir/build/RPMS/atanks-6.5-9.fc31.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.CjO3PG + umask 022 + cd /builddir/build/BUILD + cd atanks-6.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/atanks-6.5-9.fc31.aarch64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0