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/compiler-rt.spec'], chrootPath='/var/lib/mock/f29-build-33132-17868/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/compiler-rt.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/compiler-rt-7.0.0-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/compiler-rt.spec'], chrootPath='/var/lib/mock/f29-build-33132-17868/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/compiler-rt.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.NCbGES + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf compiler-rt-7.0.0.src + /usr/bin/xz -dc /builddir/build/SOURCES/compiler-rt-7.0.0.src.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd compiler-rt-7.0.0.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-cmake-Don-t-prefer-python2.7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + pathfix.py -i /usr/bin/python3 -pn . BUILDSTDERR: recursedown('.') BUILDSTDERR: recursedown('./cmake') BUILDSTDERR: recursedown('./cmake/Modules') BUILDSTDERR: recursedown('./cmake/caches') BUILDSTDERR: recursedown('./docs') BUILDSTDERR: recursedown('./include') BUILDSTDERR: recursedown('./include/sanitizer') BUILDSTDERR: recursedown('./include/xray') BUILDSTDERR: recursedown('./lib') BUILDSTDERR: recursedown('./lib/BlocksRuntime') BUILDSTDERR: recursedown('./lib/asan') BUILDSTDERR: recursedown('./lib/asan/scripts') BUILDSTDERR: recursedown('./lib/asan/tests') BUILDSTDERR: recursedown('./lib/builtins') BUILDSTDERR: recursedown('./lib/builtins/Darwin-excludes') BUILDSTDERR: recursedown('./lib/builtins/aarch64') BUILDSTDERR: recursedown('./lib/builtins/arm') BUILDSTDERR: recursedown('./lib/builtins/arm64') BUILDSTDERR: recursedown('./lib/builtins/armv6m') BUILDSTDERR: recursedown('./lib/builtins/hexagon') BUILDSTDERR: recursedown('./lib/builtins/i386') BUILDSTDERR: recursedown('./lib/builtins/macho_embedded') BUILDSTDERR: recursedown('./lib/builtins/ppc') BUILDSTDERR: recursedown('./lib/builtins/riscv') BUILDSTDERR: recursedown('./lib/builtins/x86_64') BUILDSTDERR: recursedown('./lib/cfi') BUILDSTDERR: recursedown('./lib/dfsan') BUILDSTDERR: recursedown('./lib/dfsan/scripts') BUILDSTDERR: recursedown('./lib/esan') BUILDSTDERR: recursedown('./lib/fuzzer') BUILDSTDERR: recursedown('./lib/fuzzer/afl') BUILDSTDERR: recursedown('./lib/fuzzer/dataflow') BUILDSTDERR: recursedown('./lib/fuzzer/scripts') BUILDSTDERR: recursedown('./lib/fuzzer/standalone') BUILDSTDERR: recursedown('./lib/fuzzer/tests') BUILDSTDERR: recursedown('./lib/hwasan') BUILDSTDERR: recursedown('./lib/interception') BUILDSTDERR: recursedown('./lib/interception/tests') BUILDSTDERR: recursedown('./lib/lsan') BUILDSTDERR: recursedown('./lib/msan') BUILDSTDERR: recursedown('./lib/msan/tests') BUILDSTDERR: recursedown('./lib/profile') BUILDSTDERR: recursedown('./lib/safestack') BUILDSTDERR: recursedown('./lib/sancov') BUILDSTDERR: recursedown('./lib/sanitizer_common') BUILDSTDERR: recursedown('./lib/sanitizer_common/scripts') BUILDSTDERR: recursedown('./lib/sanitizer_common/symbolizer') BUILDSTDERR: recursedown('./lib/sanitizer_common/symbolizer/scripts') BUILDSTDERR: recursedown('./lib/sanitizer_common/tests') BUILDSTDERR: recursedown('./lib/scudo') BUILDSTDERR: recursedown('./lib/stats') BUILDSTDERR: recursedown('./lib/tsan') BUILDSTDERR: recursedown('./lib/tsan/benchmarks') BUILDSTDERR: recursedown('./lib/tsan/dd') BUILDSTDERR: recursedown('./lib/tsan/go') BUILDSTDERR: recursedown('./lib/tsan/rtl') BUILDSTDERR: recursedown('./lib/tsan/tests') BUILDSTDERR: recursedown('./lib/tsan/tests/rtl') BUILDSTDERR: recursedown('./lib/tsan/tests/unit') BUILDSTDERR: recursedown('./lib/ubsan') BUILDSTDERR: recursedown('./lib/ubsan_minimal') BUILDSTDERR: recursedown('./lib/xray') BUILDSTDERR: recursedown('./lib/xray/tests') BUILDSTDERR: recursedown('./lib/xray/tests/unit') BUILDSTDERR: recursedown('./make') BUILDSTDERR: recursedown('./make/platform') BUILDSTDERR: recursedown('./make/test') BUILDSTDERR: recursedown('./test') BUILDSTDERR: recursedown('./test/BlocksRuntime') BUILDSTDERR: recursedown('./test/asan') BUILDSTDERR: recursedown('./test/asan/TestCases') BUILDSTDERR: recursedown('./test/asan/TestCases/Android') BUILDSTDERR: recursedown('./test/asan/TestCases/Darwin') BUILDSTDERR: recursedown('./test/asan/TestCases/Helpers') BUILDSTDERR: recursedown('./test/asan/TestCases/Linux') BUILDSTDERR: recursedown('./test/asan/TestCases/Posix') BUILDSTDERR: recursedown('./test/asan/TestCases/Posix/glob_test_root') BUILDSTDERR: recursedown('./test/asan/TestCases/Windows') BUILDSTDERR: recursedown('./test/asan/Unit') BUILDSTDERR: recursedown('./test/builtins') BUILDSTDERR: recursedown('./test/builtins/TestCases') BUILDSTDERR: recursedown('./test/builtins/TestCases/Darwin') BUILDSTDERR: recursedown('./test/builtins/Unit') BUILDSTDERR: recursedown('./test/builtins/Unit/arm') BUILDSTDERR: recursedown('./test/builtins/Unit/ppc') BUILDSTDERR: recursedown('./test/builtins/Unit/riscv') BUILDSTDERR: recursedown('./test/builtins/timing') BUILDSTDERR: recursedown('./test/cfi') BUILDSTDERR: recursedown('./test/cfi/cross-dso') BUILDSTDERR: recursedown('./test/cfi/cross-dso/icall') BUILDSTDERR: recursedown('./test/cfi/cross-dso/util') BUILDSTDERR: recursedown('./test/cfi/icall') BUILDSTDERR: recursedown('./test/dfsan') BUILDSTDERR: recursedown('./test/dfsan/Inputs') BUILDSTDERR: recursedown('./test/esan') BUILDSTDERR: recursedown('./test/esan/TestCases') BUILDSTDERR: recursedown('./test/esan/Unit') BUILDSTDERR: recursedown('./test/fuzzer') BUILDSTDERR: recursedown('./test/fuzzer/unit') BUILDSTDERR: recursedown('./test/hwasan') BUILDSTDERR: recursedown('./test/hwasan/TestCases') BUILDSTDERR: recursedown('./test/hwasan/TestCases/Linux') BUILDSTDERR: recursedown('./test/hwasan/TestCases/Posix') BUILDSTDERR: recursedown('./test/interception') BUILDSTDERR: recursedown('./test/interception/TestCases') BUILDSTDERR: recursedown('./test/interception/TestCases/Windows') BUILDSTDERR: recursedown('./test/interception/Unit') BUILDSTDERR: recursedown('./test/lsan') BUILDSTDERR: recursedown('./test/lsan/TestCases') BUILDSTDERR: recursedown('./test/lsan/TestCases/Darwin') BUILDSTDERR: recursedown('./test/lsan/TestCases/Linux') BUILDSTDERR: recursedown('./test/lsan/TestCases/Posix') BUILDSTDERR: recursedown('./test/msan') BUILDSTDERR: recursedown('./test/msan/Linux') BUILDSTDERR: recursedown('./test/msan/Linux/glob_test_root') BUILDSTDERR: recursedown('./test/msan/Linux/xattr_test_root') BUILDSTDERR: recursedown('./test/msan/Unit') BUILDSTDERR: recursedown('./test/msan/scandir_test_root') BUILDSTDERR: recursedown('./test/profile') BUILDSTDERR: recursedown('./test/profile/Inputs') BUILDSTDERR: recursedown('./test/profile/Linux') BUILDSTDERR: recursedown('./test/profile/Posix') BUILDSTDERR: recursedown('./test/safestack') BUILDSTDERR: recursedown('./test/sanitizer_common') BUILDSTDERR: recursedown('./test/sanitizer_common/TestCases') BUILDSTDERR: recursedown('./test/sanitizer_common/TestCases/Darwin') BUILDSTDERR: recursedown('./test/sanitizer_common/TestCases/Linux') BUILDSTDERR: recursedown('./test/sanitizer_common/TestCases/NetBSD') BUILDSTDERR: recursedown('./test/sanitizer_common/TestCases/Posix') BUILDSTDERR: recursedown('./test/sanitizer_common/Unit') BUILDSTDERR: recursedown('./test/sanitizer_common/android_commands') BUILDSTDERR: recursedown('./test/sanitizer_common/ios_commands') BUILDSTDERR: recursedown('./test/scudo') BUILDSTDERR: recursedown('./test/shadowcallstack') BUILDSTDERR: recursedown('./test/tsan') BUILDSTDERR: recursedown('./test/tsan/Darwin') BUILDSTDERR: recursedown('./test/tsan/Linux') BUILDSTDERR: recursedown('./test/tsan/Unit') BUILDSTDERR: recursedown('./test/tsan/libcxx') BUILDSTDERR: recursedown('./test/ubsan') BUILDSTDERR: recursedown('./test/ubsan/TestCases') BUILDSTDERR: recursedown('./test/ubsan/TestCases/Float') BUILDSTDERR: recursedown('./test/ubsan/TestCases/ImplicitCast') BUILDSTDERR: recursedown('./test/ubsan/TestCases/ImplicitConversion') BUILDSTDERR: recursedown('./test/ubsan/TestCases/Integer') BUILDSTDERR: recursedown('./test/ubsan/TestCases/Misc') BUILDSTDERR: recursedown('./test/ubsan/TestCases/Misc/Inputs') BUILDSTDERR: recursedown('./test/ubsan/TestCases/Misc/Linux') BUILDSTDERR: recursedown('./test/ubsan/TestCases/Pointer') BUILDSTDERR: recursedown('./test/ubsan/TestCases/TypeCheck') BUILDSTDERR: recursedown('./test/ubsan/TestCases/TypeCheck/Function') BUILDSTDERR: recursedown('./test/ubsan/TestCases/TypeCheck/Helpers') BUILDSTDERR: recursedown('./test/ubsan/TestCases/TypeCheck/Linux') BUILDSTDERR: recursedown('./test/ubsan_minimal') BUILDSTDERR: recursedown('./test/ubsan_minimal/TestCases') BUILDSTDERR: recursedown('./test/xray') BUILDSTDERR: recursedown('./test/xray/TestCases') BUILDSTDERR: recursedown('./test/xray/TestCases/Posix') BUILDSTDERR: recursedown('./test/xray/Unit') BUILDSTDERR: recursedown('./unittests') BUILDSTDERR: recursedown('./utils') BUILDSTDERR: recursedown('./www') ./lib/asan/scripts/asan_symbolize.py: updating ./lib/fuzzer/scripts/collect_data_flow.py: updating ./lib/fuzzer/scripts/merge_data_flow.py: updating ./lib/fuzzer/scripts/unbalanced_allocs.py: updating ./lib/sanitizer_common/scripts/cpplint.py: updating ./lib/sanitizer_common/scripts/gen_dynamic_list.py: updating ./lib/sanitizer_common/scripts/litlint.py: updating ./lib/sanitizer_common/scripts/litlint_test.py: updating ./lib/sanitizer_common/scripts/sancov.py: updating ./test/sanitizer_common/android_commands/android_common.py: no change ./test/sanitizer_common/android_commands/android_compile.py: updating ./test/sanitizer_common/android_commands/android_run.py: updating ./test/sanitizer_common/ios_commands/iossim_compile.py: updating ./test/sanitizer_common/ios_commands/iossim_env.py: updating ./test/sanitizer_common/ios_commands/iossim_prepare.py: updating ./test/sanitizer_common/ios_commands/iossim_run.py: updating ./unittests/lit_unittest_cfg_utils.py: no change Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.N9eWXq + exit 0 + umask 022 + cd /builddir/build/BUILD + cd compiler-rt-7.0.0.src + mkdir -p _build + cd _build + 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 .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_CONFIG_PATH:FILEPATH=/usr/bin/llvm-config-64 -DLLVM_LIBDIR_SUFFIX=64 -DCOMPILER_RT_INCLUDE_TESTS:BOOL=OFF -- The C compiler identification is GNU 8.2.1 -- The CXX compiler identification is GNU 8.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/cc -- 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 -- Looking for unwind.h -- Looking for unwind.h - found BUILDSTDERR: CMake Error at /usr/lib64/cmake/llvm/LLVMExports.cmake:240 (message): BUILDSTDERR: The imported target "TestPlugin" references the file BUILDSTDERR: "/usr/lib64/TestPlugin.so" BUILDSTDERR: but this file does not exist. Possible reasons include: BUILDSTDERR: * The file was deleted, renamed, or moved to another location. BUILDSTDERR: * An install or uninstall procedure did not complete successfully. BUILDSTDERR: * The installation package was faulty and contained BUILDSTDERR: "/usr/lib64/cmake/llvm/LLVMExports.cmake" BUILDSTDERR: but not all the files it references. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: /usr/lib64/cmake/llvm/LLVMConfig.cmake:162 (include) BUILDSTDERR: cmake/Modules/CompilerRTUtils.cmake:250 (include) BUILDSTDERR: CMakeLists.txt:66 (load_llvm_config) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/compiler-rt-7.0.0.src/_build/CMakeFiles/CMakeOutput.log". RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.N9eWXq (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.N9eWXq (%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/compiler-rt.spec