Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cataclysm-dda.spec'], chrootPath='/var/lib/mock/f40-build-792816-138594/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j1ympay6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j1ympay6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '72b5180a5a9941ad9fc900d037e2901f', '-D', '/var/lib/mock/f40-build-792816-138594/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j1ympay6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/cataclysm-dda.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690243200 Wrote: /builddir/build/SRPMS/cataclysm-dda-0.G-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cataclysm-dda.spec'], chrootPath='/var/lib/mock/f40-build-792816-138594/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=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j1ympay6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j1ympay6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '256a5544745d46a99c8cbf53b5dfea26', '-D', '/var/lib/mock/f40-build-792816-138594/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.j1ympay6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cataclysm-dda.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1690243200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GxXfyL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Cataclysm-DDA-0.G + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/Cataclysm-DDA-0.G.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd Cataclysm-DDA-0.G + rm -rf /builddir/build/BUILD/Cataclysm-DDA-0.G-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/Cataclysm-DDA-0.G-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/compiler_warnings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/compile_fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.XFlNl3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd Cataclysm-DDA-0.G + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/make -O -j64 V=1 VERBOSE=1 PREFIX=/usr USE_HOME_DIR=1 PCH=0 RUNTESTS=0 fatal: not a git repository (or any of the parent directories): .git // NOLINT(cata-header-guard) #define VERSION "0.F" // NOLINT(cata-header-guard) #define PREFIX "/usr" g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/activity_tracker.cpp -o obj/activity_tracker.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_tracker.cpp:4: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/activity_tracker.o] Error 1 make: *** Waiting for unfinished jobs.... g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/behavior_oracle.cpp -o obj/behavior_oracle.o g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/behavior_strategy.cpp -o obj/behavior_strategy.o g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/active_item_cache.cpp -o obj/active_item_cache.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/item.h:19, from src/active_item_cache.cpp:6: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/active_item_cache.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/advanced_inv_pagination.cpp -o obj/advanced_inv_pagination.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/item_location.h:9, from src/advanced_inv_area.h:9, from src/advanced_inv_pane.h:12, from src/advanced_inv_pagination.cpp:5: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/advanced_inv_pagination.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/activity_type.cpp -o obj/activity_type.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/activity_type.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/activity_type.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/assign.cpp -o obj/assign.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/assign.h:17, from src/assign.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/assign.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/advanced_inv_listitem.cpp -o obj/advanced_inv_listitem.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/item_location.h:9, from src/advanced_inv_listitem.h:8, from src/advanced_inv_listitem.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/advanced_inv_listitem.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/ammo.cpp -o obj/ammo.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/item.h:19, from src/ammo.cpp:8: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/ammo.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/ascii_art.cpp -o obj/ascii_art.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/assign.h:17, from src/ascii_art.cpp:6: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/ascii_art.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/ammo_effect.cpp -o obj/ammo_effect.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/explosion.h:9, from src/ammo_effect.h:10, from src/ammo_effect.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/ammo_effect.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/auto_note.cpp -o obj/auto_note.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/map_extras.h:12, from src/auto_note.h:12, from src/auto_note.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/auto_note.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/behavior.cpp -o obj/behavior.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/assign.h:17, from src/generic_factory.h:11, from src/behavior.cpp:11: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/behavior.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/achievement.cpp -o obj/achievement.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/assign.h:17, from src/generic_factory.h:11, from src/achievement.cpp:16: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/achievement.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/bodypart.cpp -o obj/bodypart.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/assign.h:17, from src/generic_factory.h:11, from src/bodypart.cpp:12: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/bodypart.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/action.cpp -o obj/action.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/character.h:26, from src/avatar.h:15, from src/action.cpp:12: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/action.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/advanced_inv_area.cpp -o obj/advanced_inv_area.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/item_location.h:9, from src/advanced_inv_area.h:9, from src/advanced_inv_area.cpp:11: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/advanced_inv_area.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/addiction.cpp -o obj/addiction.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/character.h:26, from src/addiction.cpp:10: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/addiction.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/anatomy.cpp -o obj/anatomy.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/weighted_list.h:5, from src/ballistics.h:6, from src/anatomy.cpp:11: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/anatomy.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/armor_layers.cpp -o obj/armor_layers.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/armor_layers.cpp:11: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/armor_layers.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/bodygraph.cpp -o obj/bodygraph.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/character.h:26, from src/avatar.h:15, from src/bodygraph.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/bodygraph.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/advanced_inv_pane.cpp -o obj/advanced_inv_pane.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/item_location.h:9, from src/advanced_inv_area.h:9, from src/advanced_inv_pane.cpp:7: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/advanced_inv_pane.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/animation.cpp -o obj/animation.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/character.h:26, from src/avatar.h:15, from src/animation.cpp:3: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/animation.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/advanced_inv.cpp -o obj/advanced_inv.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/item_location.h:9, from src/advanced_inv_area.h:9, from src/advanced_inv.h:8, from src/advanced_inv.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/advanced_inv.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/ballistics.cpp -o obj/ballistics.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/weighted_list.h:5, from src/ballistics.h:6, from src/ballistics.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/ballistics.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/basecamp.cpp -o obj/basecamp.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/basecamp.h:14, from src/basecamp.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/basecamp.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/bionics_ui.cpp -o obj/bionics_ui.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/character.h:26, from src/avatar.h:15, from src/bionics_ui.cpp:7: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/bionics_ui.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/bonuses.cpp -o obj/bonuses.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/character.h:26, from src/bonuses.cpp:7: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/bonuses.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/activity_handlers.cpp -o obj/activity_handlers.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/activity_handlers.h:12, from src/activity_handlers.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/activity_handlers.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/auto_pickup.cpp -o obj/auto_pickup.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/item_location.h:9, from src/auto_pickup.h:12, from src/auto_pickup.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/auto_pickup.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/activity_actor.cpp -o obj/activity_actor.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/activity_actor.h:9, from src/activity_actor.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/activity_actor.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/avatar_action.cpp -o obj/avatar_action.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/avatar_action.h:8, from src/avatar_action.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/avatar_action.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/activity_item_handling.cpp -o obj/activity_item_handling.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/coordinates.h:10, from src/activity_handlers.h:12, from src/activity_item_handling.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/activity_item_handling.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/avatar.cpp -o obj/avatar.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/units.h:17, from src/game_constants.h:7, from src/activity_type.h:7, from src/character.h:26, from src/avatar.h:15, from src/avatar.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/avatar.o] Error 1 g++ -Isrc -isystem src/third-party -DBACKTRACE -DLOCALIZE -DPREFIX="/usr" -DDATA_DIR_PREFIX -DUSE_HOME_DIR -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Og -Werror -Wall -Wextra -Wformat-signedness -Wlogical-op -Wmissing-declarations -Wmissing-noreturn -Wnon-virtual-dtor -Wold-style-cast -Woverloaded-virtual -Wpedantic -Wsuggest-override -Wunused-macros -Wzero-as-null-pointer-constant -Wno-unknown-warning-option -Wno-dangling-reference -Wno-c++20-compat -Wredundant-decls -g -fsigned-char -std=c++14 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -MMD -MP -c src/bionics.cpp -o obj/bionics.o In file included from src/third-party/flatbuffers/util.h:23, from src/third-party/flatbuffers/flexbuffers.h:24, from src/flexbuffer_json.h:8, from src/json.h:1600, from src/cata_utility.h:20, from src/cuboid_rectangle.h:4, from src/dialogue_win.h:11, from src/dialogue.h:14, from src/condition.h:10, from src/effect_on_condition.h:9, from src/bionics.h:13, from src/bionics.cpp:1: src/third-party/flatbuffers/stl_emulation.h: In member function ‘constexpr flatbuffers::span& flatbuffers::span::operator=(const flatbuffers::span&)’: src/third-party/flatbuffers/stl_emulation.h:548:12: error: assignment of read-only member ‘flatbuffers::span::count_’ 548 | count_ = other.count_; | ~~~~~~~^~~~~~~~~~~~~~ At global scope: cc1plus: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics make: *** [Makefile:972: obj/bionics.o] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.XFlNl3 (%build) Bad exit status from /var/tmp/rpm-tmp.XFlNl3 (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 256a5544745d46a99c8cbf53b5dfea26 -D /var/lib/mock/f40-build-792816-138594/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j1ympay6:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\\033]0;\\007" --setenv=PS1= \\s-\\v\\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cataclysm-dda.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 256a5544745d46a99c8cbf53b5dfea26 -D /var/lib/mock/f40-build-792816-138594/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.j1ympay6:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/cataclysm-dda.spec