Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyscf.spec'], chrootPath='/var/lib/mock/f40-build-2359923-60327/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyscf.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=1706227200 Wrote: /builddir/build/SRPMS/python-pyscf-2.4.0-3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyscf.spec'], chrootPath='/var/lib/mock/f40-build-2359923-60327/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyscf.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=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7mJaQ9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pyscf-2.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pyscf-2.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pyscf-2.4.0 + rm -rf /builddir/build/BUILD/pyscf-2.4.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pyscf-2.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (pyscf-2.1.0-rpath.patch):' Patch #1 (pyscf-2.1.0-rpath.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rpath --fuzz=0 patching file pyscf/lib/CMakeLists.txt Hunk #1 succeeded at 118 (offset -1 lines). + find pyscf -name '*.py' -exec sed -i '/#!\/usr\/bin\/env /d' '{}' ';' + find pyscf -name '*.py' -exec sed -i '/#!\/usr\/bin\/python/d' '{}' ';' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Pcw55d + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 ' + 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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 -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 pyscf-2.4.0 + cd pyscf/lib + CFLAGS='-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 ' + 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=-Wl,-z,relro -Clink-arg=-Wl,-z,now -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 -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 -DENABLE_LIBXC=ON -DBUILD_LIBXC=OFF -DENABLE_XCFUN=ON -DBUILD_XCFUN=OFF -DBUILD_LIBCINT=OFF -DBLA_VENDOR=FlexiBLAS -DCMAKE_SKIP_BUILD_RPATH=1 -- The C compiler identification is GNU 13.2.1 -- The CXX compiler identification is GNU 13.2.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 -- Performing Test COMPILER_SUPPORTS_SSE3 -- Performing Test COMPILER_SUPPORTS_SSE3 - Failed -- Looking for sgemm_ -- Looking for sgemm_ - found -- Found BLAS: /usr/lib64/libflexiblas.so -- Looking for ffsll -- Looking for ffsll - found -- BLAS libraries: /usr/lib64/libflexiblas.so -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Configuring done (94.9s) -- Generating done (2.6s) 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 INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j8 --verbose Change Dir: '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j8 /usr/bin/cmake -S/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib -B/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/CMakeFiles /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' /usr/bin/gmake -f np_helper/CMakeFiles/np_helper.dir/build.make np_helper/CMakeFiles/np_helper.dir/depend /usr/bin/gmake -f dft/CMakeFiles/xc_itrf.dir/build.make dft/CMakeFiles/xc_itrf.dir/depend /usr/bin/gmake -f dft/CMakeFiles/xcfun_itrf.dir/build.make dft/CMakeFiles/xcfun_itrf.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' cd /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/np_helper /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/np_helper /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/np_helper/CMakeFiles/np_helper.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' cd /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft/CMakeFiles/xcfun_itrf.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' cd /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft/CMakeFiles/xc_itrf.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' /usr/bin/gmake -f np_helper/CMakeFiles/np_helper.dir/build.make np_helper/CMakeFiles/np_helper.dir/build /usr/bin/gmake -f dft/CMakeFiles/xcfun_itrf.dir/build.make dft/CMakeFiles/xcfun_itrf.dir/build gmake[2]: Leaving directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' /usr/bin/gmake -f dft/CMakeFiles/xc_itrf.dir/build.make dft/CMakeFiles/xc_itrf.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' gmake[2]: Entering directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' [ 1%] Building C object dft/CMakeFiles/xcfun_itrf.dir/xcfun_itrf.c.o [ 2%] Building C object np_helper/CMakeFiles/np_helper.dir/transpose.c.o cd /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft && /usr/bin/gcc -Dxcfun_itrf_EXPORTS -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft -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 dft/CMakeFiles/xcfun_itrf.dir/xcfun_itrf.c.o -MF CMakeFiles/xcfun_itrf.dir/xcfun_itrf.c.o.d -o CMakeFiles/xcfun_itrf.dir/xcfun_itrf.c.o -c /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/xcfun_itrf.c 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/transpose.c.o -MF CMakeFiles/np_helper.dir/transpose.c.o.d -o CMakeFiles/np_helper.dir/transpose.c.o -c /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/np_helper/transpose.c [ 5%] Building C object np_helper/CMakeFiles/np_helper.dir/pack_tril.c.o [ 4%] Building C object np_helper/CMakeFiles/np_helper.dir/npdot.c.o [ 5%] Building C object dft/CMakeFiles/xc_itrf.dir/libxc_itrf.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/pack_tril.c.o -MF CMakeFiles/np_helper.dir/pack_tril.c.o.d -o CMakeFiles/np_helper.dir/pack_tril.c.o -c /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/np_helper/pack_tril.c [ 8%] Building C object np_helper/CMakeFiles/np_helper.dir/omp_reduce.c.o [ 8%] Building C object np_helper/CMakeFiles/np_helper.dir/condense.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/npdot.c.o -MF CMakeFiles/np_helper.dir/npdot.c.o.d -o CMakeFiles/np_helper.dir/npdot.c.o -c /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/np_helper/npdot.c cd /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft && /usr/bin/gcc -Dxc_itrf_EXPORTS -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft -I/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft -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 dft/CMakeFiles/xc_itrf.dir/libxc_itrf.c.o -MF CMakeFiles/xc_itrf.dir/libxc_itrf.c.o.d -o CMakeFiles/xc_itrf.dir/libxc_itrf.c.o -c /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c 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/condense.c.o -MF CMakeFiles/np_helper.dir/condense.c.o.d -o CMakeFiles/np_helper.dir/condense.c.o -c /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/np_helper/condense.c 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/omp_reduce.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 [ 9%] 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 /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c: In function ‘_eval_xc’: /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c:138:25: error: implicit declaration of function ‘xc_lda_exc_vxc_fxc_kxc’; did you mean ‘xc_lda_exc_vxc’? [-Werror=implicit-function-declaration] 138 | xc_lda_exc_vxc_fxc_kxc(func_x, np, rho, ex, vxc, fxc, kxc); | ^~~~~~~~~~~~~~~~~~~~~~ | xc_lda_exc_vxc /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c:180:25: error: implicit declaration of function ‘xc_gga_exc_vxc_fxc_kxc’; did you mean ‘xc_gga_exc_vxc’? [-Werror=implicit-function-declaration] 180 | xc_gga_exc_vxc_fxc_kxc(func_x, np, rho, sigma, ex, | ^~~~~~~~~~~~~~~~~~~~~~ | xc_gga_exc_vxc /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c:286:25: error: implicit declaration of function ‘xc_mgga_exc_vxc_fxc_kxc’; did you mean ‘xc_mgga_exc_vxc’? [-Werror=implicit-function-declaration] 286 | xc_mgga_exc_vxc_fxc_kxc(func_x, np, rho, sigma, lapl, tau, ex, | ^~~~~~~~~~~~~~~~~~~~~~~ | xc_mgga_exc_vxc /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c: In function ‘LIBXC_reference’: /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c:902:10: error: implicit declaration of function ‘xc_reference’; did you mean ‘LIBXC_reference’? [-Werror=implicit-function-declaration] 902 | return xc_reference(); | ^~~~~~~~~~~~ | LIBXC_reference /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c:902:10: warning: returning ‘int’ from a function with return type ‘const char *’ makes pointer from integer without a cast [-Wint-conversion] 902 | return xc_reference(); | ^~~~~~~~~~~~~~ /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c: In function ‘LIBXC_reference_doi’: /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c:907:10: error: implicit declaration of function ‘xc_reference_doi’; did you mean ‘LIBXC_reference_doi’? [-Werror=implicit-function-declaration] 907 | return xc_reference_doi(); | ^~~~~~~~~~~~~~~~ | LIBXC_reference_doi /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/dft/libxc_itrf.c:907:10: warning: returning ‘int’ from a function with return type ‘const char *’ makes pointer from integer without a cast [-Wint-conversion] 907 | return xc_reference_doi(); | ^~~~~~~~~~~~~~~~~~ [ 10%] Linking C shared library /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/libxcfun_itrf.so cd /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build/dft && /usr/bin/cmake -E cmake_link_script CMakeFiles/xcfun_itrf.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,libxcfun_itrf.so -o /builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/libxcfun_itrf.so CMakeFiles/xcfun_itrf.dir/xcfun_itrf.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 -lxcfun /usr/lib/gcc/riscv64-redhat-linux/13/libgomp.so /lib64/lp64d/libpthread.a gmake[2]: Leaving directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' [ 10%] Built target xcfun_itrf [ 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]: Leaving directory '/builddir/build/BUILD/pyscf-2.4.0/pyscf/lib/redhat-linux-build' 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.... [ 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.Pcw55d (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Pcw55d (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyscf.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 597, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/python-pyscf.spec