e OLD behavior for policy CMP0003 will be removed from a future version BUILDSTDERR: of CMake. BUILDSTDERR: The cmake-policies(7) manual explains that the OLD behaviors of all BUILDSTDERR: policies are deprecated and that a policy should be set to OLD only under BUILDSTDERR: specific short-term circumstances. Projects should be ported to the NEW BUILDSTDERR: behavior and not rely on setting a policy to OLD. BUILDSTDERR: CMake Deprecation Warning at CMakeLists.txt:10 (cmake_policy): BUILDSTDERR: The OLD behavior for policy CMP0005 will be removed from a future version BUILDSTDERR: of CMake. BUILDSTDERR: The cmake-policies(7) manual explains that the OLD behaviors of all BUILDSTDERR: policies are deprecated and that a policy should be set to OLD only under BUILDSTDERR: specific short-term circumstances. Projects should be ported to the NEW BUILDSTDERR: behavior and not rely on setting a policy to OLD. -- 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 -- 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/sqliteman-1.2.2/CMakeFiles/CMakeTmp BUILDSTDERR: BUILDSTDERR: Run Build Command:"/usr/bin/gmake" "cmTC_df66d/fast" BUILDSTDERR: /usr/bin/gmake -f CMakeFiles/cmTC_df66d.dir/build.make CMakeFiles/cmTC_df66d.dir/build BUILDSTDERR: gmake[1]: Entering directory '/builddir/build/BUILD/sqliteman-1.2.2/CMakeFiles/CMakeTmp' BUILDSTDERR: Building C object CMakeFiles/cmTC_df66d.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 -o CMakeFiles/cmTC_df66d.dir/testCCompiler.c.o -c /builddir/build/BUILD/sqliteman-1.2.2/CMakeFiles/CMakeTmp/testCCompiler.c BUILDSTDERR: annobin: /builddir/build/BUILD/sqliteman-1.2.2/CMakeFiles/CMakeTmp/testCCompiler.c: Error: plugin built for compiler version (8.1.1) but run with compiler version (8.2.1) BUILDSTDERR: cc1: error: fail to initialize plugin /usr/lib/gcc/riscv64-redhat-linux/8/plugin/annobin.so BUILDSTDERR: gmake[1]: *** [CMakeFiles/cmTC_df66d.dir/build.make:66: CMakeFiles/cmTC_df66d.dir/testCCompiler.c.o] Error 1 BUILDSTDERR: gmake[1]: Leaving directory '/builddir/build/BUILD/sqliteman-1.2.2/CMakeFiles/CMakeTmp' BUILDSTDERR: gmake: *** [Makefile:126: cmTC_df66d/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:23 (PROJECT) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/sqliteman-1.2.2/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/sqliteman-1.2.2/CMakeFiles/CMakeError.log". RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.72wLzX (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.72wLzX (%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/sqliteman.spec