Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mtxclient.spec'], chrootPath='/var/lib/mock/f33-build-391202-62301/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mtxclient.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Wrote: /builddir/build/SRPMS/mtxclient-0.3.1-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mtxclient.spec'], chrootPath='/var/lib/mock/f33-build-391202-62301/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mtxclient.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595894400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jIPVLS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mtxclient-0.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/mtxclient-0.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mtxclient-0.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zfEKyU + umask 022 + cd /builddir/build/BUILD + cd mtxclient-0.3.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B riscv64-redhat-linux-gnu -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -G Ninja -DCMAKE_AR=/usr/bin/gcc-ar -DCMAKE_RANLIB=/usr/bin/gcc-ranlib -DCMAKE_NM=/usr/bin/gcc-nm -DCMAKE_BUILD_TYPE=Release -DHUNTER_ENABLED:BOOL=OFF -DUSE_BUNDLED_BOOST:BOOL=OFF -DUSE_BUNDLED_SPDLOG:BOOL=OFF -DUSE_BUNDLED_OLM:BOOL=OFF -DUSE_BUNDLED_GTEST:BOOL=OFF -DUSE_BUNDLED_JSON:BOOL=OFF -DUSE_BUNDLED_OPENSSL:BOOL=OFF -DUSE_BUNDLED_SODIUM:BOOL=OFF -DBUILD_LIB_TESTS:BOOL=OFF -DBUILD_LIB_EXAMPLES:BOOL=OFF -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.2.1 -- 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 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1h") -- Found sodium: /usr/lib64/libsodium.so (found suitable version "1.0.18", minimum required is "1.0.14") -- Found nlohmann_json: /usr/lib64/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.5.0", minimum required is "3.2.0") -- Found Boost: /usr/include (found suitable version "1.73.0", minimum required is "1.70") found components: iostreams system thread regex chrono date_time atomic -- The following OPTIONAL packages have been found: * PkgConfig -- The following REQUIRED packages have been found: * OpenSSL, Open source SSL and TLS implementation and cryptographic library, * Olm (required version >= 3), An implementation of the Double Ratchet cryptographic ratchet, * sodium (required version >= 1.0.14), A modern, portable, easy to use crypto library, * nlohmann_json (required version >= 3.2.0), JSON for Modern C++, a C++11 header-only JSON class, * Threads * Boost (required version >= 1.70), Free peer-reviewed portable C++ source libraries, -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR USE_BUNDLED_GTEST USE_BUNDLED_SPDLOG -- Build files have been written to: /builddir/build/BUILD/mtxclient-0.3.1/riscv64-redhat-linux-gnu + /usr/bin/cmake --build riscv64-redhat-linux-gnu -j4 --verbose [1/58] /usr/bin/g++ -Dmatrix_client_EXPORTS -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/crypto/utils.cpp.o -MF CMakeFiles/matrix_client.dir/lib/crypto/utils.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/crypto/utils.cpp.o -c ../lib/crypto/utils.cpp [2/58] /usr/bin/g++ -Dmatrix_client_EXPORTS -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/http/session.cpp.o -MF CMakeFiles/matrix_client.dir/lib/http/session.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/http/session.cpp.o -c ../lib/http/session.cpp FAILED: CMakeFiles/matrix_client.dir/lib/http/session.cpp.o /usr/bin/g++ -Dmatrix_client_EXPORTS -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/http/session.cpp.o -MF CMakeFiles/matrix_client.dir/lib/http/session.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/http/session.cpp.o -c ../lib/http/session.cpp In file included from /usr/include/c++/10/bits/move.h:57, from /usr/include/c++/10/bits/stl_pair.h:59, from /usr/include/c++/10/bits/stl_algobase.h:64, from /usr/include/c++/10/memory:63, from /usr/include/boost/asio/associated_allocator.hpp:19, from /usr/include/boost/asio.hpp:20, from ../include/mtxclient/http/session.hpp:3, from ../lib/http/session.cpp:1: /usr/include/c++/10/type_traits: In instantiation of 'struct std::is_constructible, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>': /usr/include/nlohmann/json.hpp:11659:79: required by substitution of 'template, Args ...>::value, int>::type > nlohmann::detail::json_ref >::json_ref(Args&& ...) [with Args = {const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&}; typename std::enable_if, Args ...>::value, int>::type = ]' /usr/include/c++/10/type_traits:901:30: required from 'struct std::__is_constructible_impl, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>' /usr/include/c++/10/type_traits:930:12: required from 'struct std::__is_copy_constructible_impl, true>' /usr/include/c++/10/type_traits:936:12: required from 'struct std::is_copy_constructible >' /usr/include/c++/10/type_traits:3111:33: required from 'constexpr const bool std::is_copy_constructible_v >' /usr/include/c++/10/variant:288:5: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/10/bits/hashtable_policy.h:233:43: required from 'struct std::__detail::_Hash_node_value_base, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > > >' /usr/include/c++/10/bits/hashtable_policy.h:264:12: required from 'struct std::__detail::_Hash_node, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >, true>' /usr/include/c++/10/bits/hashtable_policy.h:1973:13: required from 'struct std::__detail::_Hashtable_alloc, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >, true> > >' /usr/include/c++/10/bits/hashtable.h:173:11: required from 'class std::_Hashtable, std::pair, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >, std::allocator, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >' /usr/include/c++/10/bits/unordered_map.h:105:18: required from 'class std::unordered_map, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >' ../include/mtx/user_interactive.hpp:79:46: required from here /usr/include/c++/10/type_traits:906:12: error: invalid use of incomplete type 'struct std::__is_constructible_impl, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>' 906 | struct is_constructible | ^~~~~~~~~~~~~~~~ /usr/include/c++/10/type_traits:900:12: note: declaration of 'struct std::__is_constructible_impl, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>' 900 | struct __is_constructible_impl | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/10/memory:66, from /usr/include/boost/asio/associated_allocator.hpp:19, from /usr/include/boost/asio.hpp:20, from ../include/mtxclient/http/session.hpp:3, from ../lib/http/session.cpp:1: /usr/include/c++/10/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; _ForwardIterator = nlohmann::basic_json<>*]': /usr/include/c++/10/bits/stl_uninitialized.h:325:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; _ForwardIterator = nlohmann::basic_json<>*; _Tp = nlohmann::basic_json<>]' /usr/include/c++/10/bits/stl_vector.h:558:31: required from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]' /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::vector, std::allocator > >; _Args = {const std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >&}; _Tp = std::vector, std::allocator > >]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::vector, std::allocator > >; _Args = {const std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >&}; _Tp = std::vector, std::allocator > >; std::allocator_traits >::allocator_type = std::allocator, std::allocator > > >]' /usr/include/nlohmann/json.hpp:13214:35: [ skipping 2 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/nlohmann/json.hpp:14147:25: required from 'nlohmann::basic_json::basic_json(const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' /usr/include/nlohmann/json.hpp:4656:35: required from 'bool nlohmann::detail::json_sax_dom_callback_parser::end_object() [with BasicJsonType = nlohmann::basic_json<>]' /usr/include/nlohmann/json.hpp:5121:33: required from 'bool nlohmann::detail::parser::sax_parse_internal(SAX*) [with SAX = nlohmann::detail::json_sax_dom_callback_parser >; BasicJsonType = nlohmann::basic_json<>]' /usr/include/nlohmann/json.hpp:5014:31: required from 'void nlohmann::detail::parser::parse(bool, BasicJsonType&) [with BasicJsonType = nlohmann::basic_json<>]' /usr/include/nlohmann/json.hpp:18573:79: required from 'static nlohmann::basic_json nlohmann::basic_json::parse(IteratorType, IteratorType, nlohmann::basic_json::parser_callback_t, bool) [with IteratorType = const char*; typename std::enable_if::iterator_category>::value, int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::parser_callback_t = std::function >::parse_event_t, nlohmann::basic_json<>&)>]' /usr/include/nlohmann/json.hpp:20360:42: required from here /usr/include/c++/10/bits/stl_uninitialized.h:137:72: error: 'value' is not a member of 'std::is_constructible, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>' 137 | static_assert(is_constructible<_ValueType2, decltype(*__first)>::value, | ^~~~~ [3/58] /usr/bin/g++ -Dmatrix_client_EXPORTS -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/crypto/types.cpp.o -MF CMakeFiles/matrix_client.dir/lib/crypto/types.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/crypto/types.cpp.o -c ../lib/crypto/types.cpp [4/58] /usr/bin/g++ -Dmatrix_client_EXPORTS -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/crypto/client.cpp.o -MF CMakeFiles/matrix_client.dir/lib/crypto/client.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/crypto/client.cpp.o -c ../lib/crypto/client.cpp [5/58] /usr/bin/g++ -Dmatrix_client_EXPORTS -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/http/client.cpp.o -MF CMakeFiles/matrix_client.dir/lib/http/client.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/http/client.cpp.o -c ../lib/http/client.cpp FAILED: CMakeFiles/matrix_client.dir/lib/http/client.cpp.o /usr/bin/g++ -Dmatrix_client_EXPORTS -I../include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -pipe -pedantic -fsized-deallocation -fdiagnostics-color=always -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/http/client.cpp.o -MF CMakeFiles/matrix_client.dir/lib/http/client.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/http/client.cpp.o -c ../lib/http/client.cpp In file included from /usr/include/c++/10/bits/move.h:57, from /usr/include/c++/10/bits/stl_pair.h:59, from /usr/include/c++/10/utility:70, from /usr/include/c++/10/algorithm:60, from /usr/include/nlohmann/json.hpp:37, from ../include/mtxclient/http/client.hpp:6, from ../lib/http/client.cpp:1: /usr/include/c++/10/type_traits: In instantiation of 'struct std::is_constructible, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>': /usr/include/nlohmann/json.hpp:11659:79: required by substitution of 'template, Args ...>::value, int>::type > nlohmann::detail::json_ref >::json_ref(Args&& ...) [with Args = {const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&}; typename std::enable_if, Args ...>::value, int>::type = ]' /usr/include/c++/10/type_traits:901:30: required from 'struct std::__is_constructible_impl, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>' /usr/include/c++/10/type_traits:930:12: required from 'struct std::__is_copy_constructible_impl, true>' /usr/include/c++/10/type_traits:936:12: required from 'struct std::is_copy_constructible >' /usr/include/c++/10/type_traits:3111:33: required from 'constexpr const bool std::is_copy_constructible_v >' /usr/include/c++/10/variant:288:5: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /usr/include/c++/10/bits/hashtable_policy.h:233:43: required from 'struct std::__detail::_Hash_node_value_base, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > > >' /usr/include/c++/10/bits/hashtable_policy.h:264:12: required from 'struct std::__detail::_Hash_node, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >, true>' /usr/include/c++/10/bits/hashtable_policy.h:1973:13: required from 'struct std::__detail::_Hashtable_alloc, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >, true> > >' /usr/include/c++/10/bits/hashtable.h:173:11: required from 'class std::_Hashtable, std::pair, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >, std::allocator, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > > >, std::__detail::_Select1st, std::equal_to >, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >' /usr/include/c++/10/bits/unordered_map.h:105:18: required from 'class std::unordered_map, std::variant, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >' ../include/mtx/user_interactive.hpp:79:46: required from here /usr/include/c++/10/type_traits:906:12: error: invalid use of incomplete type 'struct std::__is_constructible_impl, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>' 906 | struct is_constructible | ^~~~~~~~~~~~~~~~ /usr/include/c++/10/type_traits:900:12: note: declaration of 'struct std::__is_constructible_impl, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>' 900 | struct __is_constructible_impl | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/boost/bind.hpp:30, from ../lib/http/client.cpp:7: /usr/include/boost/bind.hpp:36:1: note: '#pragma message: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.' 36 | BOOST_PRAGMA_MESSAGE( | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/10/utility:70, from /usr/include/c++/10/algorithm:60, from /usr/include/nlohmann/json.hpp:37, from ../include/mtxclient/http/client.hpp:6, from ../lib/http/client.cpp:1: /usr/include/c++/10/bits/stl_pair.h: In instantiation of 'static constexpr bool std::_PCC<, _T1, _T2>::_ConstructiblePair() [with _U1 = const std::__cxx11::basic_string; _U2 = nlohmann::basic_json<>; bool = true; _T1 = const std::__cxx11::basic_string; _T2 = nlohmann::basic_json<>]': /usr/include/c++/10/bits/stl_pair.h:262:35: required by substitution of 'template() && _ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type > constexpr std::pair, nlohmann::basic_json<> >::pair(const std::__cxx11::basic_string&, const nlohmann::basic_json<>&) [with _U1 = const std::__cxx11::basic_string; _U2 = nlohmann::basic_json<>; typename std::enable_if<(_ConstructiblePair<_U1, _U2>() && _ImplicitlyConvertiblePair<_U1, _U2>()), bool>::type = ]' /usr/include/c++/10/type_traits:1003:36: required from 'struct std::is_nothrow_constructible, nlohmann::basic_json<> >, std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> >' /usr/include/c++/10/bits/alloc_traits.h:509:57: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair, nlohmann::basic_json<> >; _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>}; _Tp = std::_Rb_tree_node, nlohmann::basic_json<> > >; std::allocator_traits >::allocator_type = std::allocator, nlohmann::basic_json<> > > >]' /usr/include/c++/10/bits/stl_tree.h:618:32: required from 'void std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_construct_node(std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type, _Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>}; _Key = std::__cxx11::basic_string; _Val = std::pair, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st, nlohmann::basic_json<> > >; _Compare = std::less; _Alloc = std::allocator, nlohmann::basic_json<> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node, nlohmann::basic_json<> > >*]' /usr/include/c++/10/bits/stl_tree.h:635:21: required from 'std::_Rb_tree_node<_Val>* std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_create_node(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>}; _Key = std::__cxx11::basic_string; _Val = std::pair, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st, nlohmann::basic_json<> > >; _Compare = std::less; _Alloc = std::allocator, nlohmann::basic_json<> > >; std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_Link_type = std::_Rb_tree_node, nlohmann::basic_json<> > >*]' /usr/include/c++/10/bits/stl_tree.h:2414:33: required from 'std::pair, bool> std::_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>::_M_emplace_unique(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>}; _Key = std::__cxx11::basic_string; _Val = std::pair, nlohmann::basic_json<> >; _KeyOfValue = std::_Select1st, nlohmann::basic_json<> > >; _Compare = std::less; _Alloc = std::allocator, nlohmann::basic_json<> > >]' /usr/include/c++/10/bits/stl_map.h:577:33: required from 'std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind >::other>::iterator, bool> std::map<_Key, _Tp, _Compare, _Alloc>::emplace(_Args&& ...) [with _Args = {std::__cxx11::basic_string, std::allocator >, nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>}; _Key = std::__cxx11::basic_string; _Tp = nlohmann::basic_json<>; _Compare = std::less; _Alloc = std::allocator, nlohmann::basic_json<> > >; typename std::_Rb_tree<_Key, std::pair, std::_Select1st >, _Compare, typename __gnu_cxx::__alloc_traits<_Allocator>::rebind >::other>::iterator = std::_Rb_tree, std::pair, nlohmann::basic_json<> >, std::_Select1st, nlohmann::basic_json<> > >, std::less, std::allocator, nlohmann::basic_json<> > > >::iterator]' /usr/include/nlohmann/json.hpp:13820:40: required from 'nlohmann::basic_json::basic_json(nlohmann::basic_json::initializer_list_t, bool, nlohmann::basic_json::value_t) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::initializer_list_t = std::initializer_list > >; nlohmann::basic_json::value_t = nlohmann::detail::value_t]' ../lib/http/client.cpp:909:80: required from here /usr/include/c++/10/bits/stl_pair.h:107:45: error: 'value' is not a member of 'std::__and_, std::allocator >, const std::__cxx11::basic_string, std::allocator >&>, std::is_constructible, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&> >' 107 | is_constructible<_T2, const _U2&>>::value; | ^~~~~ In file included from /usr/include/c++/10/vector:66, from /usr/include/c++/10/functional:62, from /usr/include/c++/10/pstl/glue_algorithm_defs.h:13, from /usr/include/c++/10/algorithm:74, from /usr/include/nlohmann/json.hpp:37, from ../include/mtxclient/http/client.hpp:6, from ../lib/http/client.cpp:1: /usr/include/c++/10/bits/stl_uninitialized.h: In instantiation of '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; _ForwardIterator = nlohmann::basic_json<>*]': /usr/include/c++/10/bits/stl_uninitialized.h:325:37: required from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >; _ForwardIterator = nlohmann::basic_json<>*; _Tp = nlohmann::basic_json<>]' /usr/include/c++/10/bits/stl_vector.h:558:31: required from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = nlohmann::basic_json<>; _Alloc = std::allocator >]' /usr/include/c++/10/ext/new_allocator.h:150:4: required from 'void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::vector, std::allocator > >; _Args = {const std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >&}; _Tp = std::vector, std::allocator > >]' /usr/include/c++/10/bits/alloc_traits.h:512:17: required from 'static void std::allocator_traits >::construct(std::allocator_traits >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::vector, std::allocator > >; _Args = {const std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >&}; _Tp = std::vector, std::allocator > >; std::allocator_traits >::allocator_type = std::allocator, std::allocator > > >]' /usr/include/nlohmann/json.hpp:13214:35: required from 'static T* nlohmann::basic_json::create(Args&& ...) [with T = std::vector, std::allocator > >; Args = {const std::vector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>, std::allocator, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer> > >&}; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' /usr/include/nlohmann/json.hpp:13366:36: required from 'nlohmann::basic_json::json_value::json_value(const array_t&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::array_t = std::vector, std::allocator > >]' /usr/include/nlohmann/json.hpp:14147:25: required from 'nlohmann::basic_json::basic_json(const nlohmann::basic_json&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' ../include/mtxclient/utils.hpp:64:26: required from 'std::string mtx::client::utils::serialize(const T&) [with T = nlohmann::basic_json<>; std::string = std::__cxx11::basic_string]' ../include/mtxclient/http/client.hpp:568:35: required from 'void mtx::http::Client::post(const string&, const Request&, mtx::http::Callback, bool, const string&) [with Request = nlohmann::basic_json<>; Response = mtx::responses::FilterId; std::string = std::__cxx11::basic_string; mtx::http::Callback = std::function&)>]' ../lib/http/client.cpp:900:77: required from here /usr/include/c++/10/bits/stl_uninitialized.h:137:72: error: 'value' is not a member of 'std::is_constructible, const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&>' 137 | static_assert(is_constructible<_ValueType2, decltype(*__first)>::value, | ^~~~~ ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.zfEKyU (%build) Bad exit status from /var/tmp/rpm-tmp.zfEKyU (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mtxclient.spec