IX: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 .. -- The C compiler identification is GNU 8.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken BUILDSTDERR: CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (message): BUILDSTDERR: The C compiler BUILDSTDERR: "/usr/bin/cc" BUILDSTDERR: is not able to compile a simple test program. BUILDSTDERR: It fails with the following output: BUILDSTDERR: Change Dir: /builddir/build/BUILD/cswrap-1.5.0/cswrap_build/CMakeFiles/CMakeTmp BUILDSTDERR: BUILDSTDERR: Run Build Command:"/usr/bin/gmake" "cmTC_d1c6c/fast" BUILDSTDERR: /usr/bin/gmake -f CMakeFiles/cmTC_d1c6c.dir/build.make CMakeFiles/cmTC_d1c6c.dir/build BUILDSTDERR: gmake[1]: Entering directory '/builddir/build/BUILD/cswrap-1.5.0/cswrap_build/CMakeFiles/CMakeTmp' BUILDSTDERR: Building C object CMakeFiles/cmTC_d1c6c.dir/testCCompiler.c.o BUILDSTDERR: /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 -DPATH_TO_WRAP=\"/usr/lib64/cswrap\" -o CMakeFiles/cmTC_d1c6c.dir/testCCompiler.c.o -c /builddir/build/BUILD/cswrap-1.5.0/cswrap_build/CMakeFiles/CMakeTmp/testCCompiler.c BUILDSTDERR: Linking C executable cmTC_d1c6c BUILDSTDERR: /usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d1c6c.dir/link.txt --verbose=1 BUILDSTDERR: /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 -DPATH_TO_WRAP=\"/usr/lib64/cswrap\" -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 -static -pthread -rdynamic CMakeFiles/cmTC_d1c6c.dir/testCCompiler.c.o -o cmTC_d1c6c BUILDSTDERR: /usr/bin/ld: cannot find -latomic BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: gmake[1]: *** [CMakeFiles/cmTC_d1c6c.dir/build.make:87: cmTC_d1c6c] Error 1 BUILDSTDERR: gmake[1]: Leaving directory '/builddir/build/BUILD/cswrap-1.5.0/cswrap_build/CMakeFiles/CMakeTmp' BUILDSTDERR: gmake: *** [Makefile:121: cmTC_d1c6c/fast] Error 2 BUILDSTDERR: BUILDSTDERR: BUILDSTDERR: CMake will not be able to correctly generate this project. BUILDSTDERR: Call Stack (most recent call first): BUILDSTDERR: CMakeLists.txt:19 (project) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/cswrap-1.5.0/cswrap_build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/cswrap-1.5.0/cswrap_build/CMakeFiles/CMakeError.log". RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.hgvtuN (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.hgvtuN (%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/cswrap.spec