ceptions -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 -Wno-attributes -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/structs/errors.cpp.o -MF CMakeFiles/matrix_client.dir/lib/structs/errors.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/structs/errors.cpp.o -c ../lib/structs/errors.cpp FAILED: CMakeFiles/matrix_client.dir/lib/structs/errors.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 -Wno-attributes -Wunreachable-code -DNDEBUG -fPIC -pthread -std=c++17 -MD -MT CMakeFiles/matrix_client.dir/lib/structs/errors.cpp.o -MF CMakeFiles/matrix_client.dir/lib/structs/errors.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/structs/errors.cpp.o -c ../lib/structs/errors.cpp ../lib/structs/errors.cpp: In function 'void mtx::errors::from_json(const json&, mtx::errors::Error&)': ../lib/structs/errors.cpp:107:17: error: 'const json' {aka 'const class nlohmann::basic_json<>'} has no member named 'contains' 107 | if (obj.contains("flows")) | ^~~~~~~~ [9/69] /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 -Wno-attributes -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 [10/69] /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 -Wno-attributes -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 ninja: build stopped: subcommand failed. error: Bad exit status from /var/tmp/rpm-tmp.sWmbpl (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.sWmbpl (%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