SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + 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_DO_STRIP:BOOL=OFF -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 -DHWY_SYSTEM_GTEST:BOOL=ON -- The C compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - failed -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc - broken CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:69 (message): The C compiler "/usr/bin/gcc" is not able to compile a simple test program. It fails with the following output: Change Dir: /builddir/build/BUILD/highway-1.0.1/redhat-linux-build/CMakeFiles/CMakeTmp Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d366c/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d366c.dir/build.make CMakeFiles/cmTC_d366c.dir/build gmake[1]: Entering directory '/builddir/build/BUILD/highway-1.0.1/redhat-linux-build/CMakeFiles/CMakeTmp' Building C object CMakeFiles/cmTC_d366c.dir/testCCompiler.c.o /usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHWY_COMPILE_ONLY_EMU128 -DHWY_DISABLED_TARGETS=(HWY_RVV) -o CMakeFiles/cmTC_d366c.dir/testCCompiler.c.o -c /builddir/build/BUILD/highway-1.0.1/redhat-linux-build/CMakeFiles/CMakeTmp/testCCompiler.c /bin/sh: -c: line 1: syntax error near unexpected token `(' /bin/sh: -c: line 1: `/usr/bin/gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DHWY_COMPILE_ONLY_EMU128 -DHWY_DISABLED_TARGETS=(HWY_RVV) -o CMakeFiles/cmTC_d366c.dir/testCCompiler.c.o -c /builddir/build/BUILD/highway-1.0.1/redhat-linux-build/CMakeFiles/CMakeTmp/testCCompiler.c' gmake[1]: *** [CMakeFiles/cmTC_d366c.dir/build.make:78: CMakeFiles/cmTC_d366c.dir/testCCompiler.c.o] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/highway-1.0.1/redhat-linux-build/CMakeFiles/CMakeTmp' gmake: *** [Makefile:127: cmTC_d366c/fast] Error 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:22 (project) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/highway-1.0.1/redhat-linux-build/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/highway-1.0.1/redhat-linux-build/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.Q0UlQW (%build) Bad exit status from /var/tmp/rpm-tmp.Q0UlQW (%build) 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/highway.spec