D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/cxxopts-2.2.0-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QFj2O8 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PhQT91 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build + rm -rf cxxopts-2.2.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cxxopts-2.2.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cxxopts-2.2.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/cxxopts-fix-installation.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 /home/pterjan/rpmbuild/tmp/rpm-tmp.G9RbHV + umask 022 + cd /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + 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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + 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 cxxopts-2.2.0 + '[' 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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + 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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + 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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + 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-dev -S . -B build -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 -G Ninja -DCMAKE_BUILD_TYPE=Release -DCXXOPTS_ENABLE_INSTALL=ON -DCXXOPTS_BUILD_EXAMPLES=OFF -DCXXOPTS_BUILD_TESTS=ON -- cxxopts version 2.2.0 -- The C compiler identification is GNU 15.1.0 -- The CXX compiler identification is GNU 15.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 -- Configuring done (0.9s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_CXX_FLAGS_RELWITHDEBINFO CMAKE_C_FLAGS_RELEASE CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE CXXOPTS_ENABLE_INSTALL INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/build + /usr/bin/cmake --build build -j16 --verbose Change Dir: '/home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/build' Run Build Command(s): /usr/bin/ninja -v -j 16 [1/6] /usr/bin/g++ -I/home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include -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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Werror -Wextra -Wshadow -DNDEBUG -std=c++11 -MD -MT test/CMakeFiles/link_test.dir/link_a.cpp.o -MF test/CMakeFiles/link_test.dir/link_a.cpp.o.d -o test/CMakeFiles/link_test.dir/link_a.cpp.o -c /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/test/link_a.cpp FAILED: test/CMakeFiles/link_test.dir/link_a.cpp.o /usr/bin/g++ -I/home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include -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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Werror -Wextra -Wshadow -DNDEBUG -std=c++11 -MD -MT test/CMakeFiles/link_test.dir/link_a.cpp.o -MF test/CMakeFiles/link_test.dir/link_a.cpp.o.d -o test/CMakeFiles/link_test.dir/link_a.cpp.o -c /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/test/link_a.cpp In file included from /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/test/link_a.cpp:1: /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:58:5: error: 'uint8_t' does not name a type 58 | uint8_t major, minor, patch; | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:41:1: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' 40 | #include +++ |+#include 41 | /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:63:3: error: too many initializers for 'const cxxopts::' 63 | }; | ^ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp: In function 'void cxxopts::values::integer_parser(const std::string&, T&)': /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:566:13: error: 'uint8_t' does not name a type [-Wtemplate-body] 566 | const uint8_t base = match.length(2) > 0 ? 16 : 10; | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:566:13: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:580:18: error: 'base' was not declared in this scope [-Wtemplate-body] 580 | else if (base == 16 && *iter >= 'a' && *iter <= 'f') | ^~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:593:28: error: 'base' was not declared in this scope [-Wtemplate-body] 593 | US next = result * base + digit; | ^~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp: At global scope: /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:42: error: 'uint8_t' has not been declared 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:42: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:642:42: error: 'uint16_t' has not been declared 642 | parse_value(const std::string& text, uint16_t& value) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:642:42: note: 'uint16_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:642:5: error: redefinition of 'void cxxopts::values::parse_value(const std::string&, int&)' 642 | parse_value(const std::string& text, uint16_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:5: note: 'void cxxopts::values::parse_value(const std::string&, int&)' previously defined here 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:656:42: error: 'uint32_t' has not been declared 656 | parse_value(const std::string& text, uint32_t& value) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:656:42: note: 'uint32_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:656:5: error: redefinition of 'void cxxopts::values::parse_value(const std::string&, int&)' 656 | parse_value(const std::string& text, uint32_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:5: note: 'void cxxopts::values::parse_value(const std::string&, int&)' previously defined here 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:663:5: error: redefinition of 'void cxxopts::values::parse_value(const std::string&, int32_t&)' 663 | parse_value(const std::string& text, int32_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:5: note: 'void cxxopts::values::parse_value(const std::string&, int&)' previously defined here 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:670:42: error: 'uint64_t' has not been declared 670 | parse_value(const std::string& text, uint64_t& value) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:670:42: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:670:5: error: redefinition of 'void cxxopts::values::parse_value(const std::string&, int&)' 670 | parse_value(const std::string& text, uint64_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:5: note: 'void cxxopts::values::parse_value(const std::string&, int&)' previously defined here 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~~~~~ [2/6] /usr/bin/g++ -I/home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include -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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Werror -Wextra -Wshadow -DNDEBUG -std=c++11 -MD -MT test/CMakeFiles/link_test.dir/link_b.cpp.o -MF test/CMakeFiles/link_test.dir/link_b.cpp.o.d -o test/CMakeFiles/link_test.dir/link_b.cpp.o -c /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/test/link_b.cpp FAILED: test/CMakeFiles/link_test.dir/link_b.cpp.o /usr/bin/g++ -I/home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include -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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Werror -Wextra -Wshadow -DNDEBUG -std=c++11 -MD -MT test/CMakeFiles/link_test.dir/link_b.cpp.o -MF test/CMakeFiles/link_test.dir/link_b.cpp.o.d -o test/CMakeFiles/link_test.dir/link_b.cpp.o -c /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/test/link_b.cpp In file included from /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/test/link_b.cpp:1: /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:58:5: error: 'uint8_t' does not name a type 58 | uint8_t major, minor, patch; | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:41:1: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' 40 | #include +++ |+#include 41 | /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:63:3: error: too many initializers for 'const cxxopts::' 63 | }; | ^ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp: In function 'void cxxopts::values::integer_parser(const std::string&, T&)': /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:566:13: error: 'uint8_t' does not name a type [-Wtemplate-body] 566 | const uint8_t base = match.length(2) > 0 ? 16 : 10; | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:566:13: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:580:18: error: 'base' was not declared in this scope [-Wtemplate-body] 580 | else if (base == 16 && *iter >= 'a' && *iter <= 'f') | ^~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:593:28: error: 'base' was not declared in this scope [-Wtemplate-body] 593 | US next = result * base + digit; | ^~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp: At global scope: /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:42: error: 'uint8_t' has not been declared 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:42: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:642:42: error: 'uint16_t' has not been declared 642 | parse_value(const std::string& text, uint16_t& value) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:642:42: note: 'uint16_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:642:5: error: redefinition of 'void cxxopts::values::parse_value(const std::string&, int&)' 642 | parse_value(const std::string& text, uint16_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:5: note: 'void cxxopts::values::parse_value(const std::string&, int&)' previously defined here 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:656:42: error: 'uint32_t' has not been declared 656 | parse_value(const std::string& text, uint32_t& value) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:656:42: note: 'uint32_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:656:5: error: redefinition of 'void cxxopts::values::parse_value(const std::string&, int&)' 656 | parse_value(const std::string& text, uint32_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:5: note: 'void cxxopts::values::parse_value(const std::string&, int&)' previously defined here 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:663:5: error: redefinition of 'void cxxopts::values::parse_value(const std::string&, int32_t&)' 663 | parse_value(const std::string& text, int32_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:5: note: 'void cxxopts::values::parse_value(const std::string&, int&)' previously defined here 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:670:42: error: 'uint64_t' has not been declared 670 | parse_value(const std::string& text, uint64_t& value) | ^~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:670:42: note: 'uint64_t' is defined in header ''; this is probably fixable by adding '#include ' /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:670:5: error: redefinition of 'void cxxopts::values::parse_value(const std::string&, int&)' 670 | parse_value(const std::string& text, uint64_t& value) | ^~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include/cxxopts.hpp:628:5: note: 'void cxxopts::values::parse_value(const std::string&, int&)' previously defined here 628 | parse_value(const std::string& text, uint8_t& value) | ^~~~~~~~~~~ [3/6] /usr/bin/g++ -I/home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include -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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Werror -Wextra -Wshadow -DNDEBUG -std=c++11 -MD -MT test/CMakeFiles/options_test.dir/main.cpp.o -MF test/CMakeFiles/options_test.dir/main.cpp.o.d -o test/CMakeFiles/options_test.dir/main.cpp.o -c /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/test/main.cpp [4/6] /usr/bin/g++ -I/home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/include -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 -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Wall -Werror -Wextra -Wshadow -DNDEBUG -std=c++11 -MD -MT test/CMakeFiles/options_test.dir/options.cpp.o -MF test/CMakeFiles/options_test.dir/options.cpp.o.d -o test/CMakeFiles/options_test.dir/options.cpp.o -c /home/pterjan/rpmbuild/BUILD/cxxopts-2.2.0-build/cxxopts-2.2.0/test/options.cpp ninja: build stopped: subcommand failed. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.G9RbHV (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.G9RbHV (%build) I: [iurt_root_command] ERROR: chroot