c.o -MF CMakeFiles/np_helper.dir/omp_reduce.c.o.d -o CMakeFiles/np_helper.dir/omp_reduce.c.o -c /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/np_helper/omp_reduce.c [ 10%] Building C object np_helper/CMakeFiles/np_helper.dir/np_helper.c.o cd /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/np_helper && /usr/bin/gcc -Dnp_helper_EXPORTS -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/np_helper -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/np_helper -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/deps/include -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -MD -MT np_helper/CMakeFiles/np_helper.dir/np_helper.c.o -MF CMakeFiles/np_helper.dir/np_helper.c.o.d -o CMakeFiles/np_helper.dir/np_helper.c.o -c /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/np_helper/np_helper.c [ 11%] Linking C shared library /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/libnp_helper.so cd /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/np_helper && /usr/bin/cmake -E cmake_link_script CMakeFiles/np_helper.dir/link.txt --verbose=1 /usr/bin/gcc -fPIC -Wall -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -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 -shared -Wl,-soname,libnp_helper.so -o /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/libnp_helper.so CMakeFiles/np_helper.dir/transpose.c.o CMakeFiles/np_helper.dir/pack_tril.c.o CMakeFiles/np_helper.dir/npdot.c.o CMakeFiles/np_helper.dir/condense.c.o CMakeFiles/np_helper.dir/omp_reduce.c.o CMakeFiles/np_helper.dir/np_helper.c.o -L/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/deps/lib -L/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/deps/lib64 /usr/lib64/libflexiblas.so /usr/lib/gcc/riscv64-redhat-linux/13/libgomp.so /lib64/lp64d/libpthread.a cc1: some warnings being treated as errors gmake[2]: *** [dft/CMakeFiles/xc_itrf.dir/build.make:76: dft/CMakeFiles/xc_itrf.dir/libxc_itrf.c.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' gmake[1]: *** [CMakeFiles/Makefile2:571: dft/CMakeFiles/xc_itrf.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs.... gmake[2]: Leaving directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' [ 11%] Built target np_helper gmake[1]: Leaving directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' gmake: *** [Makefile:91: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.yOOmEZ (%build) Bad exit status from /var/tmp/rpm-tmp.yOOmEZ (%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/python-pyscf.spec