Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mir.spec'], chrootPath='/var/lib/mock/f29-build-33388-18097/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mir.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 Wrote: /builddir/build/SRPMS/mir-1.0.0-2.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mir.spec'], chrootPath='/var/lib/mock/f29-build-33388-18097/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=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mir.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aMCV0Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mir-1.0.0 + /usr/bin/xz -dc /builddir/build/SOURCES/mir-1.0.0.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mir-1.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-tests-Use-the-correct-package-name-to-detect-gtest-o.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Detect-GTest-GMock-via-pkg-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/mir-1.0.0-tests-Make-wlcs-build-as-a-static-library.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -e s/-Werror//g -i CMakeLists.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DM0MSp + umask 022 + cd /builddir/build/BUILD + cd mir-1.0.0 + mkdir -p riscv64-redhat-linux-gnu + pushd riscv64-redhat-linux-gnu ~/build/BUILD/mir-1.0.0/riscv64-redhat-linux-gnu ~/build/BUILD/mir-1.0.0 + 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 .. -GNinja -DMIR_LINK_TIME_OPTIMIZATION=ON -DMIR_USE_PRECOMPILED_HEADERS=OFF -DCMAKE_INSTALL_LIBEXECDIR=usr/libexec/mir '-DMIR_PLATFORM=mesa-kms;mesa-x11;eglstream-kms' -- The C compiler identification is GNU 8.2.1 -- The CXX compiler identification is GNU 8.2.1 -- 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 -- 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 -- Found Lcov: /usr/bin/lcov -- Found gcovr: /bin/gcovr -- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen dot -- doxygen 1.8.14 (>= 1.8.0) available - enabling make target doc -- Performing Test HAS_W_MISMATCHED_TAGS -- Performing Test HAS_W_MISMATCHED_TAGS - Failed -- Performing Test HAS_W_PSABI -- Performing Test HAS_W_PSABI - Success -- Boost version: 1.66.0 -- Found the following Boost libraries: -- date_time -- system -- program_options -- filesystem -- iostreams -- regex -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.3") -- Found EGL: /usr/lib64/libEGL.so -- Found GLESv2: /usr/lib64/libGLESv2.so -- Found GLM: /usr/include -- Looking for pthread.h -- Looking for pthread.h - not found -- Could NOT find Threads (missing: Threads_FOUND) -- Found Protobuf: /usr/lib64/libprotobuf.so (found version "3.5.0") -- Found GLog: /usr/lib64/libglog.so -- Found GFlags: /usr/lib64/libgflags.so -- Found LTTNG_UST: /usr/lib64/liblttng-ust.so -- Checking for module 'libudev' -- Found libudev, version 239 -- Checking for module 'glib-2.0' -- Found glib-2.0, version 2.58.1 -- Checking for modules 'gio-2.0;gio-unix-2.0' -- Found gio-2.0, version 2.58.1 -- Found gio-unix-2.0, version 2.58.1 -- Checking for module 'wayland-server' -- Found wayland-server, version 1.16.0 -- Checking for module 'wayland-client' -- Found wayland-client, version 1.16.0 -- Checking for module 'xcb' -- Found xcb, version 1.13.1 -- Checking for module 'xcb-composite' -- Found xcb-composite, version 1.13.1 -- Checking for module 'xcb-xfixes' -- Found xcb-xfixes, version 1.13.1 -- Checking for module 'xcb-render' -- Found xcb-render, version 1.13.1 -- Checking for module 'xcursor' -- Found xcursor, version 1.1.15 -- Checking for module 'glesv2' -- Found glesv2, version 18.2.0-rc2 -- Checking for module 'gbm>=9.0.0' -- Found gbm, version 18.2.0-rc2 -- Checking for module 'libdrm' -- Found libdrm, version 2.4.96 -- Checking for module 'epoxy' -- Found epoxy, version 1.5.3 -- Checking for module 'nettle' -- Found nettle, version 3.4 -- Checking for module 'libinput' -- Found libinput, version 1.12.3 -- Checking for module 'uuid' -- Found uuid, version 2.32.1 -- Checking for module 'libxml++-2.6' -- Found libxml++-2.6, version 2.40.1 -- Checking for module 'yaml-cpp' -- Found yaml-cpp, version 0.6.0 -- Performing Test HAS_W_NO_ATTRIBUTE_ALIAS -- Performing Test HAS_W_NO_ATTRIBUTE_ALIAS - Failed -- Found XKBCOMMON: /usr/lib64/libxkbcommon.so -- Checking for module 'freetype2' -- Found freetype2, version 22.1.16 -- Checking for module 'wayland-egl' -- Found wayland-egl, version 18.1.0 -- Installing: /builddir/build/BUILD/mir-1.0.0/riscv64-redhat-linux-gnu/mir_gtest/fail_on_success.sh -- Found GTest: /usr/lib64/libgtest.so -- Checking for module 'gtest >= 1.8.0' -- Found gtest , version 1.8.1 -- Checking for module 'gtest_main >= 1.8.0' -- Found gtest_main , version 1.8.1 -- Checking for module 'libevdev' -- Found libevdev, version 1.5.9 BUILDSTDERR: Using GTest v1.8.1 (parsed from pkg-config) -- Checking for module 'umockdev-1.0>=0.6' -- Found umockdev-1.0, version 0.11.3 -- Performing Test HAS_W_NULL_DEREFERENCE -- Performing Test HAS_W_NULL_DEREFERENCE - Failed -- Performing Test HAS_W_OVERLOADED_VIRTUAL -- Performing Test HAS_W_OVERLOADED_VIRTUAL - Failed -- Performing Test HAS_W_INCONSISTENT_MISSING_OVERRIDE -- Performing Test HAS_W_INCONSISTENT_MISSING_OVERRIDE - Failed -- Performing Test HAS_W_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS -- Performing Test HAS_W_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS - Failed -- Performing Test HAS_W_GNU_SIGN_COMPARE -- Performing Test HAS_W_GNU_SIGN_COMPARE - Failed -- Performing Test MIRAL_COMPILE_WITH_W_NO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS -- Performing Test MIRAL_COMPILE_WITH_W_NO_GNU_ZERO_VARIADIC_MACRO_ARGUMENTS - Failed -- Performing Test MIRAL_COMPILE_WITH_W_NO_PEDANTIC -- Performing Test MIRAL_COMPILE_WITH_W_NO_PEDANTIC - Failed BUILDSTDERR: valgrind not found, disabling cpu benchmarks BUILDSTDERR: valgrind not found, disabling memory benchmarks -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE 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/mir-1.0.0/riscv64-redhat-linux-gnu ~/build/BUILD/mir-1.0.0 + popd + /usr/bin/ninja -v -j4 -C riscv64-redhat-linux-gnu ninja: Entering directory `riscv64-redhat-linux-gnu' [1/1058] /usr/bin/c++ -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API -DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT -DMIR_SERVER_GLEXT_H="" -DMIR_SERVER_GL_H="" -DMIR_VERSION_MAJOR=1 -DMIR_VERSION_MICRO=0 -DMIR_VERSION_MINOR=0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Dmircookie_EXPORTS -I../include/core -I../include/common -I../include/cookie -I../src/include/cookie -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 -pthread -g -std=c++14 -Wall -fno-strict-aliasing -pedantic -Wnon-virtual-dtor -Wextra -fPIC -Wno-psabi -flto -ffat-lto-objects -fPIC -MD -MT src/cookie/CMakeFiles/mircookie.dir/const_memcmp.cpp.o -MF src/cookie/CMakeFiles/mircookie.dir/const_memcmp.cpp.o.d -o src/cookie/CMakeFiles/mircookie.dir/const_memcmp.cpp.o -c ../src/cookie/const_memcmp.cpp [2/1058] /usr/bin/cc -DEXECUTABLE_FORMAT=\"%s.bin\" -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API -DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT -DMIR_SERVER_GLEXT_H="" -DMIR_SERVER_GL_H="" -DMIR_VERSION_MAJOR=1 -DMIR_VERSION_MICRO=0 -DMIR_VERSION_MINOR=0 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -I../include/core -I../include/common -I../include/cookie -I../src/include/common -Isrc/capnproto -Isrc/protobuf -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 -pthread -g -Wall -pedantic -Wextra -fPIC -flto -ffat-lto-objects -MD -MT src/CMakeFiles/wrapper.dir/wrapper.c.o -MF src/CMakeFiles/wrapper.dir/wrapper.c.o.d -o src/CMakeFiles/wrapper.dir/wrapper.c.o -c ../src/wrapper.c [3/1058] : && /usr/bin/cc -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 -pthread -g -Wall -pedantic -Wextra -fPIC -flto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -fuse-ld=gold -Wl,--no-undefined src/CMakeFiles/wrapper.dir/wrapper.c.o -o bin/wrapper && : FAILED: bin/wrapper : && /usr/bin/cc -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 -pthread -g -Wall -pedantic -Wextra -fPIC -flto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -fuse-ld=gold -Wl,--no-undefined src/CMakeFiles/wrapper.dir/wrapper.c.o -o bin/wrapper && : collect2: fatal error: cannot find 'ld' compilation terminated. [4/1058] /usr/bin/c++ -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API -DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT -DMIR_SERVER_GLEXT_H="" -DMIR_SERVER_GL_H="" -DMIR_VERSION_MAJOR=1 -DMIR_VERSION_MICRO=0 -DMIR_VERSION_MINOR=0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Dmircookie_EXPORTS -I../include/core -I../include/common -I../include/cookie -I../src/include/cookie -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 -pthread -g -std=c++14 -Wall -fno-strict-aliasing -pedantic -Wnon-virtual-dtor -Wextra -fPIC -Wno-psabi -flto -ffat-lto-objects -fPIC -MD -MT src/cookie/CMakeFiles/mircookie.dir/hmac_cookie.cpp.o -MF src/cookie/CMakeFiles/mircookie.dir/hmac_cookie.cpp.o.d -o src/cookie/CMakeFiles/mircookie.dir/hmac_cookie.cpp.o -c ../src/cookie/hmac_cookie.cpp [5/1058] /usr/bin/c++ -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API -DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT -DMIR_SERVER_GLEXT_H="" -DMIR_SERVER_GL_H="" -DMIR_VERSION_MAJOR=1 -DMIR_VERSION_MICRO=0 -DMIR_VERSION_MINOR=0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Dmircookie_EXPORTS -I../include/core -I../include/common -I../include/cookie -I../src/include/cookie -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 -pthread -g -std=c++14 -Wall -fno-strict-aliasing -pedantic -Wnon-virtual-dtor -Wextra -fPIC -Wno-psabi -flto -ffat-lto-objects -fPIC -MD -MT src/cookie/CMakeFiles/mircookie.dir/authority.cpp.o -MF src/cookie/CMakeFiles/mircookie.dir/authority.cpp.o.d -o src/cookie/CMakeFiles/mircookie.dir/authority.cpp.o -c ../src/cookie/authority.cpp [6/1058] /usr/bin/c++ -DLOG_NDEBUG=1 -DMESA_EGL_NO_X11_HEADERS -DMIR_DRMMODEADDFB_HAS_CONST_SIGNATURE -DMIR_SERVER_EGL_OPENGL_API=EGL_OPENGL_ES_API -DMIR_SERVER_EGL_OPENGL_BIT=EGL_OPENGL_ES2_BIT -DMIR_SERVER_GLEXT_H="" -DMIR_SERVER_GL_H="" -DMIR_VERSION_MAJOR=1 -DMIR_VERSION_MICRO=0 -DMIR_VERSION_MINOR=0 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Dmircore_EXPORTS -I../include/core -I../include/common -I../include/cookie -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 -g -std=c++14 -Wall -fno-strict-aliasing -pedantic -Wnon-virtual-dtor -Wextra -fPIC -Wno-psabi -flto -ffat-lto-objects -fPIC -MD -MT src/core/CMakeFiles/mircore.dir/anonymous_shm_file.cpp.o -MF src/core/CMakeFiles/mircore.dir/anonymous_shm_file.cpp.o.d -o src/core/CMakeFiles/mircore.dir/anonymous_shm_file.cpp.o -c ../src/core/anonymous_shm_file.cpp ninja: build stopped: subcommand failed. BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.DM0MSp (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.DM0MSp (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, 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/mir.spec