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/hmat-oss.spec'], chrootPath='/var/lib/mock/f40-build-806347-144990/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/hmat-oss.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1707264000 Wrote: /builddir/build/SRPMS/hmat-oss-1.9.0-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hmat-oss.spec'], chrootPath='/var/lib/mock/f40-build-806347-144990/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/hmat-oss.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 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1707264000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.11koxU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hmat-oss-1.9.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/hmat-oss-1.9.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd hmat-oss-1.9.0 + rm -rf /builddir/build/BUILD/hmat-oss-1.9.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/hmat-oss-1.9.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LA8X6a + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd hmat-oss-1.9.0 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_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 -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_EXAMPLES=ON -- The C compiler identification is GNU 14.0.1 -- The CXX compiler identification is GNU 14.0.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Version string is -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for sys/resource.h -- Looking for sys/resource.h - found -- Looking for unistd.h -- Looking for unistd.h - found -- Looking for mach/mach_time.h -- Looking for mach/mach_time.h - not found -- Looking for sqrt in m -- Looking for sqrt in m - found -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Performing Test MKL_PARALLEL_COMPILER_FLAG -- Performing Test MKL_PARALLEL_COMPILER_FLAG - Failed -- Could NOT find MKL (missing: MKL_INCLUDE_DIRS) -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib64/libflexiblas.so -- Looking for openblas_set_num_threads -- Looking for openblas_set_num_threads - found -- Looking for goto_get_num_procs -- Looking for goto_get_num_procs - not found -- Looking for cblas_dgemm -- Looking for cblas_dgemm - found -- Looking for cblas.h -- Looking for cblas.h - found -- Performing Test HAVE_COMPILER_WARNING_FLAGS -- Performing Test HAVE_COMPILER_WARNING_FLAGS - Success -- Performing Test CXX_Wno_sign_compare -- Performing Test CXX_Wno_sign_compare - Success -- Performing Test C_Wno_sign_compare -- Performing Test C_Wno_sign_compare - Success -- Performing Test CXX_Wno_undefined_var_template -- Performing Test CXX_Wno_undefined_var_template - Success -- Performing Test C_Wno_undefined_var_template -- Performing Test C_Wno_undefined_var_template - Success -- Performing Test CXX_Wno_unused_parameter -- Performing Test CXX_Wno_unused_parameter - Success -- Performing Test C_Wno_unused_parameter -- Performing Test C_Wno_unused_parameter - Success -- Performing Test HAVE_INTEL_WIN32_COMPILER_WARNING_FLAGS -- Performing Test HAVE_INTEL_WIN32_COMPILER_WARNING_FLAGS - Failed -- Performing Test HAVE_MSVC_COMPILER_WARNING_FLAGS -- Performing Test HAVE_MSVC_COMPILER_WARNING_FLAGS - Failed -- Performing Test _ffast_math -- Performing Test _ffast_math - Success -- Performing Test _funsafe_math_optimizations -- Performing Test _funsafe_math_optimizations - Success -- The following OPTIONAL packages have been found: * OpenMP * LAPACK * LAPACKE -- The following REQUIRED packages have been found: * Threads * BLAS -- The following OPTIONAL packages have not been found: * MKL -- Configuring done (22.5s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 [1/37] /usr/bin/g++ -DHMAT_DLL_EXPORTS -I/builddir/build/BUILD/hmat-oss-1.9.0/src -I/builddir/build/BUILD/hmat-oss-1.9.0/include -I/builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -O2 -g -DNDEBUG -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/cluster_assembly_function.cpp.o -MF CMakeFiles/hmat.dir/src/cluster_assembly_function.cpp.o.d -o CMakeFiles/hmat.dir/src/cluster_assembly_function.cpp.o -c /builddir/build/BUILD/hmat-oss-1.9.0/src/cluster_assembly_function.cpp FAILED: CMakeFiles/hmat.dir/src/cluster_assembly_function.cpp.o /usr/bin/g++ -DHMAT_DLL_EXPORTS -I/builddir/build/BUILD/hmat-oss-1.9.0/src -I/builddir/build/BUILD/hmat-oss-1.9.0/include -I/builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -O2 -g -DNDEBUG -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/cluster_assembly_function.cpp.o -MF CMakeFiles/hmat.dir/src/cluster_assembly_function.cpp.o.d -o CMakeFiles/hmat.dir/src/cluster_assembly_function.cpp.o -c /builddir/build/BUILD/hmat-oss-1.9.0/src/cluster_assembly_function.cpp In file included from /builddir/build/BUILD/hmat-oss-1.9.0/src/cluster_assembly_function.cpp:28: /builddir/build/BUILD/hmat-oss-1.9.0/src/scalar_array.hpp:597:14: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 597 | Vector(const Vector& o); | ^ /builddir/build/BUILD/hmat-oss-1.9.0/src/scalar_array.hpp:597:14: note: remove the ‘< >’ cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors [2/37] /usr/bin/g++ -DHMAT_DLL_EXPORTS -I/builddir/build/BUILD/hmat-oss-1.9.0/src -I/builddir/build/BUILD/hmat-oss-1.9.0/include -I/builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -O2 -g -DNDEBUG -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/admissibility.cpp.o -MF CMakeFiles/hmat.dir/src/admissibility.cpp.o.d -o CMakeFiles/hmat.dir/src/admissibility.cpp.o -c /builddir/build/BUILD/hmat-oss-1.9.0/src/admissibility.cpp [3/37] /usr/bin/g++ -DHMAT_DLL_EXPORTS -I/builddir/build/BUILD/hmat-oss-1.9.0/src -I/builddir/build/BUILD/hmat-oss-1.9.0/include -I/builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -O2 -g -DNDEBUG -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/assembly.cpp.o -MF CMakeFiles/hmat.dir/src/assembly.cpp.o.d -o CMakeFiles/hmat.dir/src/assembly.cpp.o -c /builddir/build/BUILD/hmat-oss-1.9.0/src/assembly.cpp FAILED: CMakeFiles/hmat.dir/src/assembly.cpp.o /usr/bin/g++ -DHMAT_DLL_EXPORTS -I/builddir/build/BUILD/hmat-oss-1.9.0/src -I/builddir/build/BUILD/hmat-oss-1.9.0/include -I/builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -O2 -g -DNDEBUG -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/assembly.cpp.o -MF CMakeFiles/hmat.dir/src/assembly.cpp.o.d -o CMakeFiles/hmat.dir/src/assembly.cpp.o -c /builddir/build/BUILD/hmat-oss-1.9.0/src/assembly.cpp In file included from /builddir/build/BUILD/hmat-oss-1.9.0/src/full_matrix.hpp:32, from /builddir/build/BUILD/hmat-oss-1.9.0/src/assembly.cpp:25: /builddir/build/BUILD/hmat-oss-1.9.0/src/scalar_array.hpp:597:14: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 597 | Vector(const Vector& o); | ^ /builddir/build/BUILD/hmat-oss-1.9.0/src/scalar_array.hpp:597:14: note: remove the ‘< >’ cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors [4/37] /usr/bin/g++ -DHMAT_DLL_EXPORTS -I/builddir/build/BUILD/hmat-oss-1.9.0/src -I/builddir/build/BUILD/hmat-oss-1.9.0/include -I/builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -O2 -g -DNDEBUG -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/c_default_interface.cpp.o -MF CMakeFiles/hmat.dir/src/c_default_interface.cpp.o.d -o CMakeFiles/hmat.dir/src/c_default_interface.cpp.o -c /builddir/build/BUILD/hmat-oss-1.9.0/src/c_default_interface.cpp FAILED: CMakeFiles/hmat.dir/src/c_default_interface.cpp.o /usr/bin/g++ -DHMAT_DLL_EXPORTS -I/builddir/build/BUILD/hmat-oss-1.9.0/src -I/builddir/build/BUILD/hmat-oss-1.9.0/include -I/builddir/build/BUILD/hmat-oss-1.9.0/redhat-linux-build -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -O2 -g -DNDEBUG -fPIC -fopenmp -Werror -Wall -Wno-sign-compare -Wno-undefined-var-template -Wno-unused-parameter -ffast-math -funsafe-math-optimizations -MD -MT CMakeFiles/hmat.dir/src/c_default_interface.cpp.o -MF CMakeFiles/hmat.dir/src/c_default_interface.cpp.o.d -o CMakeFiles/hmat.dir/src/c_default_interface.cpp.o -c /builddir/build/BUILD/hmat-oss-1.9.0/src/c_default_interface.cpp In file included from /builddir/build/BUILD/hmat-oss-1.9.0/src/full_matrix.hpp:32, from /builddir/build/BUILD/hmat-oss-1.9.0/src/rk_matrix.hpp:27, from /builddir/build/BUILD/hmat-oss-1.9.0/src/h_matrix.hpp:33, from /builddir/build/BUILD/hmat-oss-1.9.0/src/hmat_cpp_interface.hpp:47, from /builddir/build/BUILD/hmat-oss-1.9.0/src/c_default_interface.cpp:26: /builddir/build/BUILD/hmat-oss-1.9.0/src/scalar_array.hpp:597:14: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor] 597 | Vector(const Vector& o); | ^ /builddir/build/BUILD/hmat-oss-1.9.0/src/scalar_array.hpp:597:14: note: remove the ‘< >’ cc1plus: note: unrecognized command-line option ‘-Wno-undefined-var-template’ may have been intended to silence earlier diagnostics cc1plus: all warnings being treated as errors ninja: build stopped: subcommand failed. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.LA8X6a (%build) Bad exit status from /var/tmp/rpm-tmp.LA8X6a (%build) 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/hmat-oss.spec