Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mtxclient.spec'], chrootPath='/var/lib/mock/f29-build-28710-15379/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/mtxclient-0.1.0-9.20180808git1089467.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mtxclient.spec'], chrootPath='/var/lib/mock/f29-build-28710-15379/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x2Xx30 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mtxclient-10894678e982bc037a0aa4cf650b89a566ccbc52 + /usr/bin/gzip -dc /builddir/build/SOURCES/mtxclient-1089467.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mtxclient-10894678e982bc037a0aa4cf650b89a566ccbc52 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mkdir -p riscv64-redhat-linux-gnu + sed -i /-Werror/d CMakeLists.txt + echo 'include_directories(/usr/include/nlohmann)' + echo 'include_directories(/usr/include/mpark)' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.OGOPr4 + umask 022 + cd /builddir/build/BUILD + cd mtxclient-10894678e982bc037a0aa4cf650b89a566ccbc52 + pushd riscv64-redhat-linux-gnu ~/build/BUILD/mtxclient-10894678e982bc037a0aa4cf650b89a566ccbc52/riscv64-redhat-linux-gnu ~/build/BUILD/mtxclient-10894678e982bc037a0aa4cf650b89a566ccbc52 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -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_BUILD_TYPE=Release -DBUILD_LIB_TESTS=OFF -DBUILD_LIB_EXAMPLES=OFF .. -- The CXX compiler identification is GNU 8.2.1 -- The C compiler identification is GNU 8.2.1 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "1.1.1") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found OLM: /usr/include -- Found sodium: /usr/lib64/libsodium.so -- Boost version: 1.66.0 -- Found the following Boost libraries: -- atomic -- chrono -- date_time -- iostreams -- random -- regex -- system -- thread -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: CMAKE_VERBOSE_MAKEFILE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/mtxclient-10894678e982bc037a0aa4cf650b89a566ccbc52/riscv64-redhat-linux-gnu + popd ~/build/BUILD/mtxclient-10894678e982bc037a0aa4cf650b89a566ccbc52 + /usr/bin/ninja -v -j4 -C riscv64-redhat-linux-gnu ninja: Entering directory `riscv64-redhat-linux-gnu' [1/6] /usr/bin/c++ -Dmatrix_client_EXPORTS -I../include -I/usr/include/nlohmann -I/usr/include/mpark -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=gnu++14 -MD -MT CMakeFiles/matrix_client.dir/lib/utils.cpp.o -MF CMakeFiles/matrix_client.dir/lib/utils.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/utils.cpp.o -c ../lib/utils.cpp FAILED: CMakeFiles/matrix_client.dir/lib/utils.cpp.o /usr/bin/c++ -Dmatrix_client_EXPORTS -I../include -I/usr/include/nlohmann -I/usr/include/mpark -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=gnu++14 -MD -MT CMakeFiles/matrix_client.dir/lib/utils.cpp.o -MF CMakeFiles/matrix_client.dir/lib/utils.cpp.o.d -o CMakeFiles/matrix_client.dir/lib/utils.cpp.o -c ../lib/utils.cpp ../lib/utils.cpp: In function 'std::__cxx11::string mtx::client::utils::url_encode(const string&)': ../lib/utils.cpp:133:40: error: 'setw' is not a member of 'std' escaped << '%' << std::setw(2) << int((unsigned char)c); ^~~~ ../lib/utils.cpp:133:40: note: suggested alternative: 'get' escaped << '%' << std::setw(2) << int((unsigned char)c); ^~~~ get [2/6] /usr/bin/c++ -Dmatrix_client_EXPORTS -I../include -I/usr/include/nlohmann -I/usr/include/mpark -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=gnu++14 -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 [3/6] /usr/bin/c++ -Dmatrix_client_EXPORTS -I../include -I/usr/include/nlohmann -I/usr/include/mpark -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=gnu++14 -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 [4/6] /usr/bin/c++ -Dmatrix_client_EXPORTS -I../include -I/usr/include/nlohmann -I/usr/include/mpark -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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=gnu++14 -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. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.OGOPr4 (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.OGOPr4 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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