Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcxxabi.spec'], chrootPath='/var/lib/mock/f33-build-633455-68684/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libcxxabi.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': 'C.UTF-8'} and shell False warning: bogus date in %changelog: Thu Aug 24 2022 David Abdurachmanov - 14.0.0-1.1.riscv64 warning: bogus date in %changelog: Thu Aug 24 2022 David Abdurachmanov - 14.0.0-1.0.riscv64 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1661299200 Wrote: /builddir/build/SRPMS/libcxxabi-14.0.0-1.1.riscv64.fc33.src.rpm RPM build warnings: bogus date in %changelog: Thu Aug 24 2022 David Abdurachmanov - 14.0.0-1.1.riscv64 bogus date in %changelog: Thu Aug 24 2022 David Abdurachmanov - 14.0.0-1.0.riscv64 Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcxxabi.spec'], chrootPath='/var/lib/mock/f33-build-633455-68684/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libcxxabi.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': 'C.UTF-8'} and shell False warning: bogus date in %changelog: Thu Aug 24 2022 David Abdurachmanov - 14.0.0-1.1.riscv64 warning: bogus date in %changelog: Thu Aug 24 2022 David Abdurachmanov - 14.0.0-1.0.riscv64 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1661299200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ty63Jv + umask 022 + cd /builddir/build/BUILD + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/tstellar-gpg-key.asc --signature=/builddir/build/SOURCES/libcxxabi-14.0.0.src.tar.xz.sig --data=/builddir/build/SOURCES/libcxxabi-14.0.0.src.tar.xz gpgv: Signature made Wed Mar 23 06:04:04 2022 GMT gpgv: using RSA key 474E22316ABF4785A88C6E8EA2C794A986419D8A gpgv: Good signature from "Tom Stellard " + cd /builddir/build/BUILD + rm -rf libcxxabi-14.0.0.src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libcxxabi-14.0.0.src.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd libcxxabi-14.0.0.src + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-PATCH-libcxxabi-Include-refstring.h-from-system-incl.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-PATCH-libcxxabi-Remove-monorepo-requirement.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/add-llvm-cmake-package.patch + /usr/bin/patch -p2 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|${LLVM_BINARY_DIR}/share/llvm/cmake|/usr/lib64/cmake/llvm|g' CMakeLists.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.nc2BPa + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/libcxxabi-14.0.0.src/.package_note-libcxxabi-14.0.0-1.1.riscv64.fc33.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh libcxxabi 14.0.0-1.1.riscv64.fc33 riscv64 + cd libcxxabi-14.0.0.src + sed -i 's|#define _LIBCXXABI_ARM_EHABI||g' include/__cxxabi_config.h + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/libcxxabi-14.0.0.src/.package_note-libcxxabi-14.0.0-1.1.riscv64.fc33.riscv64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -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 -DCMAKE_C_COMPILER=/usr/bin/clang -DCMAKE_CXX_COMPILER=/usr/bin/clang++ -DLLVM_CONFIG_PATH=/usr/bin/llvm-config -DCMAKE_CXX_FLAGS=-std=c++11 -DLIBCXXABI_LIBCXX_INCLUDES=/usr/include/c++/v1/ -DLIBCXXABI_LIBDIR_SUFFIX:STRING=64 -DCMAKE_BUILD_TYPE=RelWithDebInfo CMake Warning at CMakeLists.txt:27 (message): The Standalone build is deprecated in this release. Please use one of the ways described at https://libcxx.llvm.org/BuildingLibcxx.html for building libc++abi. -- The CXX compiler identification is Clang 14.0.5 -- The C compiler identification is Clang 14.0.5 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCXXCompiler.cmake:59 (message): The C++ compiler "/usr/bin/clang++" is not able to compile a simple test program. It fails with the following output: Change Dir: /builddir/build/BUILD/libcxxabi-14.0.0.src/redhat-linux-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/ninja-build cmTC_e5ccb && [1/2] Building CXX object CMakeFiles/cmTC_e5ccb.dir/testCXXCompiler.cxx.o [2/2] Linking CXX executable cmTC_e5ccb FAILED: cmTC_e5ccb : && /usr/bin/clang++ -std=c++11 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -fno-openmp-implicit-rpath -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/libcxxabi-14.0.0.src/.package_note-libcxxabi-14.0.0-1.1.riscv64.fc33.riscv64.ld CMakeFiles/cmTC_e5ccb.dir/testCXXCompiler.cxx.o -o cmTC_e5ccb && : /usr/bin/ld: cannot find crtbegin.o: No such file or directory /usr/bin/ld: cannot find -lstdc++: No such file or directory /usr/bin/ld: cannot find -lgcc_s: No such file or directory /usr/bin/ld: cannot find -lgcc: No such file or directory clang-14: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:30 (project) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/libcxxabi-14.0.0.src/redhat-linux-build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/libcxxabi-14.0.0.src/redhat-linux-build/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.nc2BPa (%build) bogus date in %changelog: Thu Aug 24 2022 David Abdurachmanov - 14.0.0-1.1.riscv64 bogus date in %changelog: Thu Aug 24 2022 David Abdurachmanov - 14.0.0-1.0.riscv64 Bad exit status from /var/tmp/rpm-tmp.nc2BPa (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/libcxxabi.spec