Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/eduke32.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1657665796.544624/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d1y10965:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d1y10965:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '55bcdba91a484fee8f21c12434f66e73', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1657665796.544624/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d1y10965:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/eduke32.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/eduke32-20200522.9028-2.fc37.src.rpm RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/eduke32.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1657665796.544624/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d1y10965:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d1y10965:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '790490176c9e43f397329e08dbdf1354', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1657665796.544624/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.d1y10965:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/eduke32.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: source_date_epoch_from_changelog set but %changelog is missing Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.L9CQUk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf eduke32-20200522.9028 + /usr/bin/mkdir -p eduke32-20200522.9028 + cd eduke32-20200522.9028 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/eduke32_src_20200522-9028-02eff8c8c.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RLBvq9 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/eduke32-20200522.9028/.package_note-eduke32-20200522.9028-2.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh eduke32 20200522.9028-2.fc37 x86_64 + cd eduke32-20200522.9028 + cd eduke32_20200522-9028-02eff8c8c + /usr/bin/make -O -j2 V=1 VERBOSE=1 eduke32 HAVE_GTK2=0 NOASM=1 Building object obj/duke3d/anim.o... Built object obj/duke3d/anim.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/cheats.o... Built object obj/duke3d/cheats.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/cmdline.o... Built object obj/duke3d/cmdline.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/duke3d/src/cmdline.cpp: In function 'G_AddDemo(char const*)': source/duke3d/src/cmdline.cpp:138:13: warning: 'strncpy' specified bound 8192 equals destination size [-Wstringop-truncation] 138 | Bstrncpy(tempbuf, param, sizeof(tempbuf)); | ^ Building object obj/duke3d/common.o... Built object obj/duke3d/common.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/duke3d/src/common.cpp: In function 'G_AddSearchPaths': source/duke3d/src/common.cpp:540:36: warning: '/data' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 540 | Bsnprintf(buf, sizeof(buf), "%s/data", path); | ^~~~~ In file included from /usr/include/stdio.h:906, from source/build/include/compat.h:427, from source/duke3d/src/common.cpp:5: In function 'snprintf', inlined from 'Duke_Add_GOG_Atomic_Linux(char const*)' at source/duke3d/src/common.cpp:540:14, inlined from 'G_AddSearchPaths' at source/duke3d/src/common.cpp:610:30: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 261 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ source/duke3d/src/common.cpp: In function 'G_AddSearchPaths': source/duke3d/src/common.cpp:547:36: warning: '/game' directive output may be truncated writing 5 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 547 | Bsnprintf(buf, sizeof(buf), "%s/game", path); | ^~~~~ In function 'snprintf', inlined from 'Fury_Add_GOG_Linux(char const*)' at source/duke3d/src/common.cpp:547:14, inlined from 'G_AddSearchPaths' at source/duke3d/src/common.cpp:615:23: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 6 and 261 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ source/duke3d/src/common.cpp: In function 'G_LoadGroups': source/duke3d/src/common.cpp:403:47: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 403 | Bsnprintf(path, sizeof(path), "%s/%s", cwd, g_modDir); | ^~ ~~~~~~~~ In function 'snprintf', inlined from 'G_LoadGroups' at source/duke3d/src/common.cpp:403:22: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 512 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ source/duke3d/src/common.cpp: In function 'G_LoadGroups': source/duke3d/src/common.cpp:413:43: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 413 | Bsnprintf(path, sizeof(path), "%s/%s", g_modDir, TEXCACHEFILE); | ^~ ~~~~~~~~~~~~ In function 'snprintf', inlined from 'G_LoadGroups' at source/duke3d/src/common.cpp:413:18: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 2 and 512 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Building object obj/duke3d/config.o... Built object obj/duke3d/config.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from source/build/include/a.h:9, from source/duke3d/src/duke3d.h:27, from source/duke3d/src/config.cpp:23: source/build/include/compat.h: In function 'CONFIG_ReadSetup()': source/build/include/compat.h:1247:13: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 1023 [-Wstringop-truncation] 1247 | Bstrncpy(dst, src, n); | ^ Building object obj/duke3d/actors.o... Built object obj/duke3d/actors.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/demo.o... Built object obj/duke3d/demo.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/gamedef.o... Built object obj/duke3d/gamedef.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/duke3d/src/gamedef.cpp: In function 'C_SetCfgName(char const*) [clone .constprop.0]': source/duke3d/src/gamedef.cpp:2447:67: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 2447 | Bsnprintf(g_setupFileName, sizeof(g_setupFileName), "%s/%s", g_modDir, temp); | ^ In file included from /usr/include/stdio.h:906, from source/build/include/compat.h:427, from source/build/include/collections.h:7, from source/build/include/build.h:22, from source/duke3d/src/player.h:26, from source/duke3d/src/actors.h:26, from source/duke3d/src/gamedef.h:28, from source/duke3d/src/gamedef.cpp:23: In function 'snprintf', inlined from 'C_SetCfgName(char const*) [clone .constprop.0]' at source/duke3d/src/gamedef.cpp:2447:18: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Building object obj/duke3d/game.o... Built object obj/duke3d/game.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from source/build/include/a.h:9, from source/duke3d/src/duke3d.h:27, from source/duke3d/src/game.cpp:25: source/build/include/compat.h: In function 'app_main': source/build/include/compat.h:1247:13: warning: 'strncpy' output may be truncated copying 31 bytes from a string of length 8191 [-Wstringop-truncation] 1247 | Bstrncpy(dst, src, n); | ^ Building object obj/duke3d/gamestructures.o... Built object obj/duke3d/gamestructures.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/gamevars.o... Built object obj/duke3d/gamevars.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/global.o... Built object obj/duke3d/global.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/grpscan.o... Built object obj/duke3d/grpscan.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/duke3d/src/grpscan.cpp: In function 'ScanGroups': source/duke3d/src/grpscan.cpp:300:17: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 300 | Bstrncpy(fg->name, fname, BMAX_PATH); | ^ source/duke3d/src/grpscan.cpp:448:21: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 448 | Bstrncpy(fgg->name, sidx->name, BMAX_PATH); | ^ Building object obj/duke3d/input.o... Built object obj/duke3d/input.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/gameexec.o... Built object obj/duke3d/gameexec.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from source/duke3d/src/game.h:34, from source/duke3d/src/duke3d.h:138, from source/duke3d/src/gameexec.cpp:28: source/duke3d/src/gamevars.h: In instantiation of 'void Gv_FillWithVars(T&) [with T = vec2_t [2]]': source/duke3d/src/gameexec.cpp:4337:36: required from here source/duke3d/src/gamevars.h:137:29: warning: expression does not compute the number of elements in this array; element type is 'vec2_t', not 'int32_t' {aka 'int'} [-Wsizeof-array-div] 137 | Gv_GetManyVars(sizeof(T)/sizeof(int32_t), (int32_t *)&rv); | ~~~~~~~~~^~~~~~~~~~~~~~~~ source/duke3d/src/gamevars.h:137:30: note: add parentheses around 'sizeof (int32_t)' to silence this warning 137 | Gv_GetManyVars(sizeof(T)/sizeof(int32_t), (int32_t *)&rv); | ^~~~~~~~~~~~~~~ | ( ) source/duke3d/src/gameexec.cpp: In function 'VM_Execute(int)': source/duke3d/src/gameexec.cpp:3912:96: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] 3912 | case STR_USERMAPFILENAME: snprintf(apStrings[q], MAXQUOTELEN, "%s", boardfilename); break; | ^~ ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from source/build/include/compat.h:427, from source/duke3d/src/anim.h:26, from source/duke3d/src/gameexec.cpp:23: In function 'snprintf', inlined from 'VM_Execute(int)' at source/duke3d/src/gameexec.cpp:3912:67: /usr/include/bits/stdio2.h:54:35: note: 'snprintf' output between 1 and 256 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ source/duke3d/src/gameexec.cpp: In function 'VM_Execute(int)': source/duke3d/src/gameexec.cpp:3871:78: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] 3871 | snprintf(apStrings[q], MAXQUOTELEN, "%s", boardfilename); | ^~ ~~~~~~~~~~~~~ In function 'snprintf', inlined from 'VM_Execute(int)' at source/duke3d/src/gameexec.cpp:3871:49: /usr/include/bits/stdio2.h:54:35: note: 'snprintf' output between 1 and 256 bytes into a destination of size 128 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Building object obj/duke3d/namesdyn.o... Built object obj/duke3d/namesdyn.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/menus.o... Built object obj/duke3d/menus.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/duke3d/src/menus.cpp: In function 'Menu_RunInput_EntryString_Activate(MenuEntry_t*) [clone .isra.0]': source/duke3d/src/menus.cpp:6620:16: warning: 'strncpy' specified bound 141 equals destination size [-Wstringop-truncation] 6620 | strncpy(typebuf, object->variable, TYPEBUFSIZE); | ^ Building object obj/duke3d/network.o... Built object obj/duke3d/network.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/string.h:535, from source/build/include/compat.h:430, from source/build/include/a.h:9, from source/duke3d/src/duke3d.h:27, from source/duke3d/src/network.cpp:30: In function 'memcpy', inlined from 'Net_SpawnPlayer(int)' at source/duke3d/src/network.cpp:4677:12: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [4, 23] from the object at '_6' is out of the bounds of referenced subobject 'x' with type 'int' at offset 0 [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ source/build/include/compat.h: In function 'Net_SpawnPlayer(int)': source/build/include/compat.h:877:26: note: subobject 'x' declared here 877 | struct { int32_t x, y, z; }; | ^ In function 'memcpy', inlined from 'Net_ParseServerPacket(_ENetEvent*)' at source/duke3d/src/network.cpp:2494:16, inlined from 'Net_HandleServerPackets()' at source/duke3d/src/network.cpp:2542:34, inlined from 'Net_GetPackets()' at source/duke3d/src/network.cpp:94:32: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [4, 23] from the object at '_350' is out of the bounds of referenced subobject 'x' with type 'int' at offset 0 [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ source/build/include/compat.h: In function 'Net_GetPackets()': source/build/include/compat.h:877:26: note: subobject 'x' declared here 877 | struct { int32_t x, y, z; }; | ^ Building object obj/duke3d/osdcmds.o... Built object obj/duke3d/osdcmds.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/osdfuncs.o... Built object obj/duke3d/osdfuncs.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/premap.o... Built object obj/duke3d/premap.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/rts.o... Built object obj/duke3d/rts.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/player.o... Built object obj/duke3d/player.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/savegame.o... Built object obj/duke3d/savegame.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/duke3d/src/savegame.cpp: In function 'ReadSaveGameHeaders_CACHE1D(_BUILDVFS_FIND_REC*)': source/duke3d/src/savegame.cpp:192:16: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 192 | strncpy(msv.brief.path, fn, ARRAY_SIZE(msv.brief.path)); | ^ source/duke3d/src/savegame.cpp:192:16: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] source/duke3d/src/savegame.cpp:192:16: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] source/duke3d/src/savegame.cpp: In function 'G_LoadPlayer': source/duke3d/src/savegame.cpp:389:47: warning: '.ext' directive output may be truncated writing 4 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 389 | snprintf(extfn, ARRAY_SIZE(extfn), "%s.ext", sv.path); | ^~~~ In file included from /usr/include/stdio.h:906, from source/build/include/compat.h:427, from source/build/include/a.h:9, from source/duke3d/src/duke3d.h:27, from source/duke3d/src/savegame.cpp:23: In function 'snprintf', inlined from 'G_LoadPlayer' at source/duke3d/src/savegame.cpp:389:17: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output between 5 and 260 bytes into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Building object obj/duke3d/sbar.o... Built object obj/duke3d/sbar.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/screens.o... Built object obj/duke3d/screens.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/sector.o... Built object obj/duke3d/sector.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/sounds.o... Built object obj/duke3d/sounds.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/soundsdyn.o... Built object obj/duke3d/soundsdyn.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/game_icon.o... Built object obj/duke3d/game_icon.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/duke3d/text.o... Built object obj/duke3d/text.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/baselayer.o... Built object obj/build/baselayer.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/2d.o... Built object obj/build/2d.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/cache1d.o... Built object obj/build/cache1d.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/colmatch.o... Built object obj/build/colmatch.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/common.o... Built object obj/build/common.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/communityapi.o... Built object obj/build/communityapi.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/clip.o... Built object obj/build/clip.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/compat.o... Built object obj/build/compat.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/crc32.o... Built object obj/build/crc32.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/cpuid.o... Built object obj/build/cpuid.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/dxtfilter.o... Built object obj/build/dxtfilter.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/defs.o... Built object obj/build/defs.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/enet.o... Built object obj/build/enet.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/fix16.o... Built object obj/build/fix16.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/hash.o... Built object obj/build/hash.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/hightile.o... Built object obj/build/hightile.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/klzw.o... Built object obj/build/klzw.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/kplib.o... Built object obj/build/kplib.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/lz4.o... Built object obj/build/lz4.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/md4.o... Built object obj/build/md4.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/mhk.o... Built object obj/build/mhk.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/miniz.o... Built object obj/build/miniz.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/engine.o... Built object obj/build/engine.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/build/src/engine.cpp: In function 'classicDrawSprite(int)': source/build/src/engine.cpp:6116:40: warning: 'sdaz' may be used uninitialized [-Wmaybe-uninitialized] 6116 | globvis = ((((uint64_t)(vis*sdaz)) >> 13) * xdimscale) >> 16; | ~~~~^~~~~~ source/build/src/engine.cpp:5769:32: note: 'sdaz' was declared here 5769 | float sgzd, sgzx, sgz, sdaz; | ^~~~ source/build/src/engine.cpp:6355:22: warning: 'sgz' may be used uninitialized [-Wmaybe-uninitialized] 6355 | sgzx += sgz; | ~~~~~^~~~~~ source/build/src/engine.cpp:5769:27: note: 'sgz' was declared here 5769 | float sgzd, sgzx, sgz, sdaz; | ^~~ source/build/src/engine.cpp:6130:64: warning: 'sgzx' may be used uninitialized [-Wmaybe-uninitialized] 6130 | int32_t m1 = Blrintf((y1*sgzd)*(1.f/65536.f) + sgzx*(1.f/64.f)); | ~~~~^~~~~~~~~~~ source/build/src/engine.cpp:5769:21: note: 'sgzx' was declared here 5769 | float sgzd, sgzx, sgz, sdaz; | ^~~~ source/build/src/engine.cpp:6130:37: warning: 'sgzd' may be used uninitialized [-Wmaybe-uninitialized] 6130 | int32_t m1 = Blrintf((y1*sgzd)*(1.f/65536.f) + sgzx*(1.f/64.f)); | ~~~^~~~~~ source/build/src/engine.cpp:5769:15: note: 'sgzd' was declared here 5769 | float sgzd, sgzx, sgz, sdaz; | ^~~~ Building object obj/build/miniz_tinfl.o... Built object obj/build/miniz_tinfl.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/miniz_tdef.o... Built object obj/build/miniz_tdef.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/mutex.o... Built object obj/build/mutex.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/mmulti.o... Built object obj/build/mmulti.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/palette.o... Built object obj/build/palette.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/osd.o... Built object obj/build/osd.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/build/src/osd.cpp: In function 'OSD_RegisterFunction': source/build/src/osd.cpp:1946:20: warning: potential null pointer dereference [-Wnull-dereference] 1946 | symb->name = pszName; | ~~~~~~~~~~~^~~~~~~~~ Building object obj/build/pngwrite.o... Built object obj/build/pngwrite.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Creating obj/build/polymost1Frag.glsl.cpp from source/build/src/polymost1Frag.glsl Building object obj/build/polymost1Frag.o... Built object obj/build/polymost1Frag.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Creating obj/build/polymost1Vert.glsl.cpp from source/build/src/polymost1Vert.glsl Building object obj/build/polymost1Vert.o... Built object obj/build/polymost1Vert.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/pragmas.o... Built object obj/build/pragmas.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/rev.o... Built object obj/build/rev.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/screenshot.o... Built object obj/build/screenshot.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/screentext.o... Built object obj/build/screentext.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/scriptfile.o... Built object obj/build/scriptfile.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/polymost.o... Built object obj/build/polymost.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/smalltextfont.o... Built object obj/build/smalltextfont.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/sjson.o... Built object obj/build/sjson.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from source/build/src/sjson.cpp:5: In function 'sjson__page_del(sjson__node_page*, sjson_node*)', inlined from 'sjson__del_node(sjson_context*, sjson_node*)' at source/build/include/sjson.h:737:20, inlined from 'sjson_delete_node.part.0' at source/build/include/sjson.h:1143:24: source/build/include/sjson.h:553:22: warning: potential null pointer dereference [-Wnull-dereference] 553 | page->ptrs[page->iter++] = ptr; | ~~~~~~^~~~ source/build/include/sjson.h:553:11: warning: potential null pointer dereference [-Wnull-dereference] 553 | page->ptrs[page->iter++] = ptr; | ~~~~~~^~~~ source/build/include/sjson.h:553:26: warning: potential null pointer dereference [-Wnull-dereference] 553 | page->ptrs[page->iter++] = ptr; | ~~~~~~~~~~^~ source/build/include/sjson.h:553:22: warning: potential null pointer dereference [-Wnull-dereference] 553 | page->ptrs[page->iter++] = ptr; | ~~~~~~^~~~ source/build/include/sjson.h:553:11: warning: potential null pointer dereference [-Wnull-dereference] 553 | page->ptrs[page->iter++] = ptr; | ~~~~~~^~~~ source/build/include/sjson.h:553:26: warning: potential null pointer dereference [-Wnull-dereference] 553 | page->ptrs[page->iter++] = ptr; | ~~~~~~~~~~^~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkbool' at source/build/include/sjson.h:1365:38, inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1633:40: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkbool' at source/build/include/sjson.h:1365:38, inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1642:40: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mkbool', inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1642:40: source/build/include/sjson.h:1366:16: warning: potential null pointer dereference [-Wnull-dereference] 1366 | ret->bool_ = b; | ~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson__mkstring(sjson_context*, char*)' at source/build/include/sjson.h:1372:38, inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1652:43: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__mkstring(sjson_context*, char*)', inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1652:43: source/build/include/sjson.h:1373:18: warning: potential null pointer dereference [-Wnull-dereference] 1373 | ret->string_ = s; | ~~~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27, inlined from 'sjson__parse_array(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1689:42, inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1660:35: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkobject' at source/build/include/sjson.h:1396:27, inlined from 'sjson__parse_object(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1733:43, inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1667:36: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1677:42: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson__parse_value(sjson_context*, char const**, sjson_node**)' at source/build/include/sjson.h:1677:42: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkbool' at source/build/include/sjson.h:1365:38: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ source/build/include/sjson.h: In function 'sjson_mkbool': source/build/include/sjson.h:1366:16: warning: potential null pointer dereference [-Wnull-dereference] 1366 | ret->bool_ = b; | ~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson__mkstring(sjson_context*, char*)' at source/build/include/sjson.h:1372:38, inlined from 'sjson_mkstring' at source/build/include/sjson.h:1379:27: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__mkstring(sjson_context*, char*)', inlined from 'sjson_mkstring' at source/build/include/sjson.h:1379:27: source/build/include/sjson.h:1373:18: warning: potential null pointer dereference [-Wnull-dereference] 1373 | ret->string_ = s; | ~~~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ source/build/include/sjson.h: In function 'sjson_mknumber': source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkobject' at source/build/include/sjson.h:1396:27: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkobject' at source/build/include/sjson.h:1396:27, inlined from 'sjson_put_obj' at source/build/include/sjson.h:1486:35: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27, inlined from 'sjson_put_array' at source/build/include/sjson.h:1493:34: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_int' at source/build/include/sjson.h:1500:35: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson_put_int' at source/build/include/sjson.h:1500:35: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_float' at source/build/include/sjson.h:1508:35: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson_put_float' at source/build/include/sjson.h:1508:35: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_double' at source/build/include/sjson.h:1516:35: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson_put_double' at source/build/include/sjson.h:1516:35: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkbool' at source/build/include/sjson.h:1365:38, inlined from 'sjson_put_bool' at source/build/include/sjson.h:1524:33: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mkbool', inlined from 'sjson_put_bool' at source/build/include/sjson.h:1524:33: source/build/include/sjson.h:1366:16: warning: potential null pointer dereference [-Wnull-dereference] 1366 | ret->bool_ = b; | ~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson__mkstring(sjson_context*, char*)' at source/build/include/sjson.h:1372:38, inlined from 'sjson_mkstring' at source/build/include/sjson.h:1379:27, inlined from 'sjson_put_string' at source/build/include/sjson.h:1532:35: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__mkstring(sjson_context*, char*)', inlined from 'sjson_mkstring' at source/build/include/sjson.h:1379:27, inlined from 'sjson_put_string' at source/build/include/sjson.h:1532:35: source/build/include/sjson.h:1373:18: warning: potential null pointer dereference [-Wnull-dereference] 1373 | ret->string_ = s; | ~~~~~~~~~~~~~^~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27, inlined from 'sjson_put_floats' at source/build/include/sjson.h:1540:34: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_floats' at source/build/include/sjson.h:1543:39: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson_put_floats' at source/build/include/sjson.h:1543:39: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__append_node(sjson_node*, sjson_node*)', inlined from 'sjson_append_element' at source/build/include/sjson.h:1436:23, inlined from 'sjson_put_floats' at source/build/include/sjson.h:1545:29: source/build/include/sjson.h:1401:19: warning: potential null pointer dereference [-Wnull-dereference] 1401 | child->parent = parent; | ~~~~~~~~~~~~~~^~~~~~~~ source/build/include/sjson.h:1402:17: warning: potential null pointer dereference [-Wnull-dereference] 1402 | child->prev = parent->children.tail; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from source/build/include/compat.h:430, from source/build/src/sjson.cpp:2: In function 'memset', inlined from 'sjson__new_node(sjson_context*, sjson_tag)' at source/build/include/sjson.h:725:5, inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_floats' at source/build/include/sjson.h:1543:39: /usr/include/bits/string_fortified.h:59:33: warning: 'memset' offset [0, 47] is out of the bounds [0, 0] [-Warray-bounds] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27, inlined from 'sjson_put_ints' at source/build/include/sjson.h:1553:34: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_ints' at source/build/include/sjson.h:1556:39: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson_put_ints' at source/build/include/sjson.h:1556:39: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__append_node(sjson_node*, sjson_node*)', inlined from 'sjson_append_element' at source/build/include/sjson.h:1436:23, inlined from 'sjson_put_ints' at source/build/include/sjson.h:1558:29: source/build/include/sjson.h:1401:19: warning: potential null pointer dereference [-Wnull-dereference] 1401 | child->parent = parent; | ~~~~~~~~~~~~~~^~~~~~~~ source/build/include/sjson.h:1402:17: warning: potential null pointer dereference [-Wnull-dereference] 1402 | child->prev = parent->children.tail; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'sjson__new_node(sjson_context*, sjson_tag)' at source/build/include/sjson.h:725:5, inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_ints' at source/build/include/sjson.h:1556:39: /usr/include/bits/string_fortified.h:59:33: warning: 'memset' offset [0, 47] is out of the bounds [0, 0] [-Warray-bounds] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27, inlined from 'sjson_put_uints' at source/build/include/sjson.h:1566:34: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_uints' at source/build/include/sjson.h:1569:39: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson_put_uints' at source/build/include/sjson.h:1569:39: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__append_node(sjson_node*, sjson_node*)', inlined from 'sjson_append_element' at source/build/include/sjson.h:1436:23, inlined from 'sjson_put_uints' at source/build/include/sjson.h:1571:29: source/build/include/sjson.h:1401:19: warning: potential null pointer dereference [-Wnull-dereference] 1401 | child->parent = parent; | ~~~~~~~~~~~~~~^~~~~~~~ source/build/include/sjson.h:1402:17: warning: potential null pointer dereference [-Wnull-dereference] 1402 | child->prev = parent->children.tail; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'sjson__new_node(sjson_context*, sjson_tag)' at source/build/include/sjson.h:725:5, inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_uints' at source/build/include/sjson.h:1569:39: /usr/include/bits/string_fortified.h:59:33: warning: 'memset' offset [0, 47] is out of the bounds [0, 0] [-Warray-bounds] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27, inlined from 'sjson_put_int16s' at source/build/include/sjson.h:1579:34: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_int16s' at source/build/include/sjson.h:1582:39: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson_put_int16s' at source/build/include/sjson.h:1582:39: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__append_node(sjson_node*, sjson_node*)', inlined from 'sjson_append_element' at source/build/include/sjson.h:1436:23, inlined from 'sjson_put_int16s' at source/build/include/sjson.h:1584:29: source/build/include/sjson.h:1401:19: warning: potential null pointer dereference [-Wnull-dereference] 1401 | child->parent = parent; | ~~~~~~~~~~~~~~^~~~~~~~ source/build/include/sjson.h:1402:17: warning: potential null pointer dereference [-Wnull-dereference] 1402 | child->prev = parent->children.tail; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'sjson__new_node(sjson_context*, sjson_tag)' at source/build/include/sjson.h:725:5, inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_int16s' at source/build/include/sjson.h:1582:39: /usr/include/bits/string_fortified.h:59:33: warning: 'memset' offset [0, 47] is out of the bounds [0, 0] [-Warray-bounds] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27, inlined from 'sjson_put_uint16s' at source/build/include/sjson.h:1592:34: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_uint16s' at source/build/include/sjson.h:1595:39: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson_mknumber', inlined from 'sjson_put_uint16s' at source/build/include/sjson.h:1595:39: source/build/include/sjson.h:1385:19: warning: potential null pointer dereference [-Wnull-dereference] 1385 | node->number_ = n; | ~~~~~~~~~~~~~~^~~ In function 'sjson__append_node(sjson_node*, sjson_node*)', inlined from 'sjson_append_element' at source/build/include/sjson.h:1436:23, inlined from 'sjson_put_uint16s' at source/build/include/sjson.h:1597:29: source/build/include/sjson.h:1401:19: warning: potential null pointer dereference [-Wnull-dereference] 1401 | child->parent = parent; | ~~~~~~~~~~~~~~^~~~~~~~ source/build/include/sjson.h:1402:17: warning: potential null pointer dereference [-Wnull-dereference] 1402 | child->prev = parent->children.tail; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'sjson__new_node(sjson_context*, sjson_tag)' at source/build/include/sjson.h:725:5, inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_uint16s' at source/build/include/sjson.h:1595:39: /usr/include/bits/string_fortified.h:59:33: warning: 'memset' offset [0, 47] is out of the bounds [0, 0] [-Warray-bounds] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson_mkarray' at source/build/include/sjson.h:1391:27, inlined from 'sjson_put_strings' at source/build/include/sjson.h:1605:34: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__new_node(sjson_context*, sjson_tag)', inlined from 'sjson__mkstring(sjson_context*, char*)' at source/build/include/sjson.h:1372:38, inlined from 'sjson_mkstring' at source/build/include/sjson.h:1379:27, inlined from 'sjson_put_strings' at source/build/include/sjson.h:1608:39: source/build/include/sjson.h:726:15: warning: potential null pointer dereference [-Wnull-dereference] 726 | node->tag = tag; | ~~~~~~~~~~^~~~~ In function 'sjson__mkstring(sjson_context*, char*)', inlined from 'sjson_mkstring' at source/build/include/sjson.h:1379:27, inlined from 'sjson_put_strings' at source/build/include/sjson.h:1608:39: source/build/include/sjson.h:1373:18: warning: potential null pointer dereference [-Wnull-dereference] 1373 | ret->string_ = s; | ~~~~~~~~~~~~~^~~ In function 'sjson__append_node(sjson_node*, sjson_node*)', inlined from 'sjson_append_element' at source/build/include/sjson.h:1436:23, inlined from 'sjson_put_strings' at source/build/include/sjson.h:1610:29: source/build/include/sjson.h:1401:19: warning: potential null pointer dereference [-Wnull-dereference] 1401 | child->parent = parent; | ~~~~~~~~~~~~~~^~~~~~~~ source/build/include/sjson.h:1402:17: warning: potential null pointer dereference [-Wnull-dereference] 1402 | child->prev = parent->children.tail; | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In function 'memset', inlined from 'sjson__new_node(sjson_context*, sjson_tag)' at source/build/include/sjson.h:725:5, inlined from 'sjson__mkstring(sjson_context*, char*)' at source/build/include/sjson.h:1372:38, inlined from 'sjson_mkstring' at source/build/include/sjson.h:1379:27, inlined from 'sjson_put_strings' at source/build/include/sjson.h:1608:39: /usr/include/bits/string_fortified.h:59:33: warning: 'memset' offset [0, 47] is out of the bounds [0, 0] [-Warray-bounds] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 60 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ Building object obj/build/softsurface.o... Built object obj/build/softsurface.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/textfont.o... Built object obj/build/textfont.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/texcache.o... Built object obj/build/texcache.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/tiles.o... Built object obj/build/tiles.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from source/build/src/tiles.cpp:9: source/build/include/compat.h: In function 'artLoadFiles': source/build/include/compat.h:1247:13: warning: 'strncpy' specified bound 20 equals destination size [-Wstringop-truncation] 1247 | Bstrncpy(dst, src, n); | ^ Building object obj/build/timer.o... Built object obj/build/timer.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/xxhash.o... Built object obj/build/xxhash.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/zpl.o... Built object obj/build/zpl.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/vfs.o... Built object obj/build/vfs.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/build/src/vfs.cpp: In function 'kopen4loadfrommod': source/build/src/vfs.cpp:878:65: warning: '__snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 878 | Bsnprintf(staticFileName, sizeof(staticFileName), "%s/%s", g_modDir, fileName); | ^ In file included from /usr/include/stdio.h:906, from source/build/include/compat.h:427, from source/build/include/baselayer.h:10, from source/build/src/vfs.cpp:8: In function 'snprintf', inlined from 'kopen4loadfrommod' at source/build/src/vfs.cpp:878:18: /usr/include/bits/stdio2.h:54:35: note: '__snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 256 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ Building object obj/build/a-c.o... Built object obj/build/a-c.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/glsurface.o... Built object obj/build/glsurface.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/voxmodel.o... Built object obj/build/voxmodel.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/mdsprite.o... Built object obj/build/mdsprite.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from source/build/src/mdsprite.cpp:5: source/build/include/compat.h: In function 'md_loadmodel': source/build/include/compat.h:1247:13: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 1247 | Bstrncpy(dst, src, n); | ^ Building object obj/build/tilepacker.o... Built object obj/build/tilepacker.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/glbuild.o... Built object obj/build/glbuild.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/sdlayer.o... Built object obj/build/sdlayer.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/build/polymer.o... Built object obj/build/polymer.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/build/src/polymer.cpp: In function 'void polymer_updatewall(int16_t)': source/build/src/polymer.cpp:3404:13: warning: this condition has identical branches [-Wduplicated-branches] 3404 | if ((wal->cstat & 16) || (wal->overpicnum == 0)) | ^~ In file included from /usr/include/string.h:535, from source/build/include/compat.h:430, from source/build/src/polymer.cpp:5: In function 'memcpy', inlined from 'polymer_updatewall' at source/build/src/polymer.cpp:3236:16: /usr/include/bits/string_fortified.h:29:33: warning: 'memcpy' offset [6854, 6863] from the object at 'w_595' is out of the bounds of referenced subobject 'cstat' with type 'short unsigned int' at offset 6852 [-Warray-bounds] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from source/build/src/polymer.cpp:8: source/build/include/polymer.h: In function 'polymer_updatewall': source/build/include/polymer.h:300:21: note: subobject 'cstat' declared here 300 | uint16_t cstat; | ^~~~~ Building object obj/build/animvpx.o... Built object obj/build/animvpx.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/driver_adlib.o... Built object obj/audiolib/driver_adlib.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/drivers.o... Built object obj/audiolib/drivers.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/driver_sf2.o... Built object obj/audiolib/driver_sf2.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/flac.o... Built object obj/audiolib/flac.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition source/audiolib/src/flac.cpp: In function 'MV_PlayFLAC': source/audiolib/src/flac.cpp:455:91: warning: pointer used after 'free' [-Wuse-after-free] 455 | MV_Printf("MV_PlayFLAC: %s\n", FLAC__stream_decoder_get_resolved_state_string(fd->stream)); | ~~~~^~~~~~ In file included from source/audiolib/src/flac.cpp:25: source/build/include/compat.h:1401:26: note: call to 'free' here 1401 | #define Xfree(ptr) (Bfree(ptr)) | ~~~~~~^~~~~~ Building object obj/audiolib/formats.o... Built object obj/audiolib/formats.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/gmtimbre.o... Built object obj/audiolib/gmtimbre.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/fx_man.o... Built object obj/audiolib/fx_man.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/midi.o... Built object obj/audiolib/midi.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/mixst.o... Built object obj/audiolib/mixst.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/mix.o... Built object obj/audiolib/mix.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/music.o... Built object obj/audiolib/music.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/opl3.o... Built object obj/audiolib/opl3.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/pitch.o... Built object obj/audiolib/pitch.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/multivoc.o... Built object obj/audiolib/multivoc.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/vorbis.o... Built object obj/audiolib/vorbis.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/xa.o... Built object obj/audiolib/xa.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/xmp.o... Built object obj/audiolib/xmp.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/driver_alsa.o... Built object obj/audiolib/driver_alsa.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/mact/animlib.o... Built object obj/mact/animlib.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/audiolib/driver_sdl.o... Built object obj/audiolib/driver_sdl.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/mact/control.o... Built object obj/mact/control.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/mact/joystick.o... Built object obj/mact/joystick.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/mact/scriplib.o... Built object obj/mact/scriplib.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/common.o... Built object obj/libxmp-lite/common.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/control.o... Built object obj/libxmp-lite/control.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/mact/keyboard.o... Built object obj/mact/keyboard.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/dataio.o... Built object obj/libxmp-lite/dataio.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/filter.o... Built object obj/libxmp-lite/filter.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/format.o... Built object obj/libxmp-lite/format.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/effects.o... Built object obj/libxmp-lite/effects.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/hio.o... Built object obj/libxmp-lite/hio.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/itsex.o... Built object obj/libxmp-lite/itsex.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/lfo.o... Built object obj/libxmp-lite/lfo.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/load.o... Built object obj/libxmp-lite/load.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/load_helpers.o... Built object obj/libxmp-lite/load_helpers.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/it_load.o... Built object obj/libxmp-lite/it_load.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/memio.o... Built object obj/libxmp-lite/memio.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/mixer.o... Built object obj/libxmp-lite/mixer.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/mod_load.o... Built object obj/libxmp-lite/mod_load.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/mix_all.o... Built object obj/libxmp-lite/mix_all.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/mtm_load.o... Built object obj/libxmp-lite/mtm_load.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/period.o... Built object obj/libxmp-lite/period.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/read_event.o... Built object obj/libxmp-lite/read_event.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/player.o... Built object obj/libxmp-lite/player.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/sample.o... Built object obj/libxmp-lite/sample.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/s3m_load.o... Built object obj/libxmp-lite/s3m_load.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/smix.o... Built object obj/libxmp-lite/smix.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/scan.o... Built object obj/libxmp-lite/scan.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/virtual.o... Built object obj/libxmp-lite/virtual.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/libxmp-lite/xm_load.o... Built object obj/libxmp-lite/xm_load.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Building object obj/glad/glad.o... Built object obj/glad/glad.o : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Linking eduke32... Linked eduke32 In function 'memset', inlined from 'sjson__new_node' at source/build/include/sjson.h:725:5, inlined from 'sjson_mkobject' at source/build/include/sjson.h:1396:27, inlined from 'portableBackupSave' at source/duke3d/src/player.cpp:5904:49, inlined from 'G_SavePlayer.isra' at source/duke3d/src/savegame.cpp:831:23: /usr/include/bits/string_fortified.h:59:33: warning: '__builtin_memset' writing 48 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^ In function 'memset', inlined from 'sjson__new_node' at source/build/include/sjson.h:725:5, inlined from 'sjson_mkbool' at source/build/include/sjson.h:1365:38, inlined from 'portableBackupSave' at source/duke3d/src/player.cpp:5912:37, inlined from 'G_SavePlayer.isra' at source/duke3d/src/savegame.cpp:831:23: /usr/include/bits/string_fortified.h:59:33: warning: '__builtin_memset' writing 48 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^ In function 'memset', inlined from 'sjson__new_node' at source/build/include/sjson.h:725:5, inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_int16s' at source/build/include/sjson.h:1582:39, inlined from 'portableBackupSave' at source/duke3d/src/player.cpp:5914:29, inlined from 'G_SavePlayer.isra' at source/duke3d/src/savegame.cpp:831:23: /usr/include/bits/string_fortified.h:59:33: warning: '__builtin_memset' writing 48 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^ In function 'memset', inlined from 'sjson__new_node' at source/build/include/sjson.h:725:5, inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_int16s' at source/build/include/sjson.h:1582:39, inlined from 'portableBackupSave' at source/duke3d/src/player.cpp:5915:29, inlined from 'G_SavePlayer.isra' at source/duke3d/src/savegame.cpp:831:23: /usr/include/bits/string_fortified.h:59:33: warning: '__builtin_memset' writing 48 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^ In function 'memset', inlined from 'sjson__new_node' at source/build/include/sjson.h:725:5, inlined from 'sjson_mknumber' at source/build/include/sjson.h:1384:39, inlined from 'sjson_put_int16s' at source/build/include/sjson.h:1582:39, inlined from 'portableBackupSave' at source/duke3d/src/player.cpp:5916:29, inlined from 'G_SavePlayer.isra' at source/duke3d/src/savegame.cpp:831:23: /usr/include/bits/string_fortified.h:59:33: warning: '__builtin_memset' writing 48 bytes into a region of size 0 overflows the destination [-Wstringop-overflow=] 59 | return __builtin___memset_chk (__dest, __ch, __len, | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.j2fpsf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/eduke32-20200522.9028/.package_note-eduke32-20200522.9028-2.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd eduke32-20200522.9028 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64/usr/share/applications/ + install -Dm644 /builddir/build/SOURCES/eduke32.desktop /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64/usr/share/applications/eduke32.desktop + /usr/bin/mkdir -p /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64/usr/share/icons/hicolor/48x48/apps/ + install -Dm644 /builddir/build/SOURCES/eduke32.png /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64/usr/share/icons/hicolor/48x48/apps/eduke32.png + cd eduke32_20200522-9028-02eff8c8c + /usr/bin/mkdir -p /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64//usr/bin + install -m 755 -p -s eduke32 /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64//usr/bin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: eduke32-20200522.9028-2.fc37.x86_64 Provides: application() application(eduke32.desktop) eduke32 = 20200522.9028-2.fc37 eduke32(x86-64) = 20200522.9028-2.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libFLAC.so.8()(64bit) libSDL2-2.0.so.0()(64bit) libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libvorbisfile.so.3()(64bit) libvpx.so.7()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64 Wrote: /builddir/build/RPMS/eduke32-20200522.9028-2.fc37.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.R8uaLN + umask 022 + cd /builddir/build/BUILD + cd eduke32-20200522.9028 + /usr/bin/rm -rf /builddir/build/BUILDROOT/eduke32-20200522.9028-2.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.FeIt2Q + umask 022 + cd /builddir/build/BUILD + rm -rf eduke32-20200522.9028 eduke32-20200522.9028.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: source_date_epoch_from_changelog set but %changelog is missing Child return code was: 0