D: [iurt_root_command] chroot Building target platforms: aarch64 Building for target aarch64 Installing /home/iurt/rpmbuild/SRPMS/@2359959:bloaty-1.1-20.mga11.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.SgQTCB Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FkDag1 + umask 022 + cd /home/iurt/rpmbuild/BUILD/bloaty-1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD/bloaty-1.1-build + rm -rf bloaty-1.1 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/bloaty-1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bloaty-1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/bloaty-1.1-absl.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f -b --suffix .1 + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/bloaty-1.1-longlong.patch + /usr/bin/patch -p0 -s --fuzz=0 --no-backup-if-mismatch -f -b --suffix .2 + /usr/lib/rpm/rpmuncompress /home/iurt/rpmbuild/SOURCES/332.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f -b --suffix .1 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9CmRop + umask 022 + cd /home/iurt/rpmbuild/BUILD/bloaty-1.1-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bloaty-1.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -Wno-author -S . -B build -G Ninja -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_LIBDIR:PATH=lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_RUNSTATEDIR:PATH=/run -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLIB_SUFFIX=64 -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -DBUILD_SHARED_LIBS=OFF -DBLOATY_ENABLE_CMAKETARGETS=OFF -DBUILD_TESTING=ON -- The C compiler identification is GNU 16.1.0 -- The CXX compiler identification is GNU 16.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found PkgConfig: /usr/bin/pkg-config (found version "2.3.0") -- Checking for one of the modules 're2' -- Checking for one of the modules 'capstone' -- Checking for one of the modules 'protobuf' -- System re2 found, using -- System capstone found, using -- System protobuf found, using -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Performing Test SUPPORTS_COLOR_ALWAYS -- Performing Test SUPPORTS_COLOR_ALWAYS - Success -- Found GTest: /usr/lib64/cmake/GTest/GTestConfig.cmake (found version "1.17.0") -- Checking for one of the modules 'gmock' -- Configuring done (1.4s) -- Generating done (0.0s) CMake Warning (unused-cli): Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_DO_STRIP CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_RUNSTATEDIR CMAKE_INSTALL_SYSCONFDIR CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build + /usr/bin/cmake --build build -j4 --verbose Change Dir: '/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build' Run Build Command(s): /usr/bin/ninja -v -j 4 [1/22] cd /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build && protoc /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/bloaty.proto --cpp_out=/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src [2/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/demangle.cc.o -MF CMakeFiles/libbloaty.dir/src/demangle.cc.o.d -o CMakeFiles/libbloaty.dir/src/demangle.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/demangle.cc [3/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/disassemble.cc.o -MF CMakeFiles/libbloaty.dir/src/disassemble.cc.o.d -o CMakeFiles/libbloaty.dir/src/disassemble.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/disassemble.cc [4/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/bloaty.pb.cc.o -MF CMakeFiles/libbloaty.dir/src/bloaty.pb.cc.o.d -o CMakeFiles/libbloaty.dir/src/bloaty.pb.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src/bloaty.pb.cc [5/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/dwarf.cc.o -MF CMakeFiles/libbloaty.dir/src/dwarf.cc.o.d -o CMakeFiles/libbloaty.dir/src/dwarf.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/dwarf.cc [6/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/elf.cc.o -MF CMakeFiles/libbloaty.dir/src/elf.cc.o.d -o CMakeFiles/libbloaty.dir/src/elf.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/elf.cc [7/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/macho.cc.o -MF CMakeFiles/libbloaty.dir/src/macho.cc.o.d -o CMakeFiles/libbloaty.dir/src/macho.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/macho.cc [8/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/bloaty.cc.o -MF CMakeFiles/libbloaty.dir/src/bloaty.cc.o.d -o CMakeFiles/libbloaty.dir/src/bloaty.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/bloaty.cc [9/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/range_map.cc.o -MF CMakeFiles/libbloaty.dir/src/range_map.cc.o.d -o CMakeFiles/libbloaty.dir/src/range_map.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.cc FAILED: [code=1] CMakeFiles/libbloaty.dir/src/range_map.cc.o /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/range_map.cc.o -MF CMakeFiles/libbloaty.dir/src/range_map.cc.o.d -o CMakeFiles/libbloaty.dir/src/range_map.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.cc In file included from /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.cc:15: /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h: In static member function 'static void bloaty::RangeMap::ComputeRollup(const std::vector&, Func)': /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:246:20: error: 'runtime_error' is not a member of 'std' [-Wtemplate-body] 246 | throw std::runtime_error("Range extends beyond base map."); | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:40:1: note: 'std::runtime_error' is defined in header ''; this is probably fixable by adding '#include ' 39 | #include "absl/strings/str_cat.h" +++ |+#include 40 | /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:293:22: error: 'runtime_error' is not a member of 'std' [-Wtemplate-body] 293 | throw std::runtime_error("Range extends beyond base map."); | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:293:22: note: 'std::runtime_error' is defined in header ''; this is probably fixable by adding '#include ' /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:308:22: error: 'runtime_error' is not a member of 'std' [-Wtemplate-body] 308 | throw std::runtime_error("No more ranges."); | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:308:22: note: 'std::runtime_error' is defined in header ''; this is probably fixable by adding '#include ' /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:316:22: error: 'runtime_error' is not a member of 'std' [-Wtemplate-body] 316 | throw std::runtime_error("No more ranges."); | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:316:22: note: 'std::runtime_error' is defined in header ''; this is probably fixable by adding '#include ' /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:356:24: error: 'runtime_error' is not a member of 'std' [-Wtemplate-body] 356 | throw std::runtime_error("Entry range extends beyond base range"); | ^~~~~~~~~~~~~ /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/range_map.h:356:24: note: 'std::runtime_error' is defined in header ''; this is probably fixable by adding '#include ' [10/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIE -MD -MT CMakeFiles/bloaty.dir/src/main.cc.o -MF CMakeFiles/bloaty.dir/src/main.cc.o.d -o CMakeFiles/bloaty.dir/src/main.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/main.cc [11/22] /usr/bin/g++ -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIC -MD -MT CMakeFiles/libbloaty.dir/src/webassembly.cc.o -MF CMakeFiles/libbloaty.dir/src/webassembly.cc.o.d -o CMakeFiles/libbloaty.dir/src/webassembly.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src/webassembly.cc [12/22] /usr/bin/g++ -DGTEST_LINKED_AS_SHARED_LIBRARY=1 -D_LIBCXXABI_FUNC_VIS="" -I/usr/include/capstone -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/. -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/src -I/home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/build/src -W -Wall -Wno-sign-compare -fdiagnostics-color=always -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -O2 -g1 -std=gnu++17 -fPIE -MD -MT CMakeFiles/bloaty_test.dir/tests/bloaty_test.cc.o -MF CMakeFiles/bloaty_test.dir/tests/bloaty_test.cc.o.d -o CMakeFiles/bloaty_test.dir/tests/bloaty_test.cc.o -c /home/iurt/rpmbuild/BUILD/bloaty-1.1-build/bloaty-1.1/tests/bloaty_test.cc ninja: build stopped: subcommand failed. error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.9CmRop (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.9CmRop (%build) I: [iurt_root_command] ERROR: chroot