Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/espresso.spec'], chrootPath='/var/lib/mock/f33-build-300298-55938/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/espresso.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1594166400 Wrote: /builddir/build/SRPMS/espresso-4.1.3-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/espresso.spec'], chrootPath='/var/lib/mock/f33-build-300298-55938/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/espresso.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': 'en_US.UTF-8'} and shell False /usr/bin/lua: /usr/share/lmod/lmod/libexec/addto:65: module 'posix' not found: no field package.preload['posix'] no file '/usr/share/lua/5.3/posix.lua' no file '/usr/share/lua/5.3/posix/init.lua' no file '/usr/lib64/lua/5.3/posix.lua' no file '/usr/lib64/lua/5.3/posix/init.lua' no file '/usr/lib64/lua/5.3/posix.so' no file '/usr/lib64/lua/5.3/loadall.so' no file '' stack traceback: [C]: in function 'require' /usr/share/lmod/lmod/libexec/addto:65: in main chunk [C]: in ? /usr/bin/lua: /usr/share/lmod/lmod/libexec/addto:65: module 'posix' not found: no field package.preload['posix'] no file '/usr/share/lua/5.3/posix.lua' no file '/usr/share/lua/5.3/posix/init.lua' no file '/usr/lib64/lua/5.3/posix.lua' no file '/usr/lib64/lua/5.3/posix/init.lua' no file '/usr/lib64/lua/5.3/posix.so' no file '/usr/lib64/lua/5.3/loadall.so' no file '' stack traceback: [C]: in function 'require' /usr/share/lmod/lmod/libexec/addto:65: in main chunk [C]: in ? /usr/bin/lua: /usr/share/lmod/lmod/libexec/addto:65: module 'posix' not found: no field package.preload['posix'] no file '/usr/share/lua/5.3/posix.lua' no file '/usr/share/lua/5.3/posix/init.lua' no file '/usr/lib64/lua/5.3/posix.lua' no file '/usr/lib64/lua/5.3/posix/init.lua' no file '/usr/lib64/lua/5.3/posix.so' no file '/usr/lib64/lua/5.3/loadall.so' no file '' stack traceback: [C]: in function 'require' /usr/share/lmod/lmod/libexec/addto:65: in main chunk [C]: in ? Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1594166400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jvjG5X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf espresso + /usr/bin/gzip -dc /builddir/build/SOURCES/espresso-4.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd espresso + /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.EfH60X + umask 022 + cd /builddir/build/BUILD + cd espresso + for mpi in mpich openmpi + module load mpi/mpich-riscv64 ++ /usr/share/lmod/lmod/libexec/lmod bash load mpi/mpich-riscv64 /usr/bin/lua: /usr/share/lmod/lmod/libexec/lmod:61: module 'posix' not found: no field package.preload['posix'] no file '/usr/share/lua/5.3/posix.lua' no file '/usr/share/lua/5.3/posix/init.lua' no file '/usr/lib64/lua/5.3/posix.lua' no file '/usr/lib64/lua/5.3/posix/init.lua' no file '/usr/lib64/lua/5.3/posix.so' no file '/usr/lib64/lua/5.3/loadall.so' no file '' stack traceback: [C]: in function 'require' /usr/share/lmod/lmod/libexec/lmod:61: in main chunk [C]: in ? + eval ++ : -s sh + eval + mkdir mpich + pushd mpich ~/build/BUILD/espresso/mpich ~/build/BUILD/espresso + old_LDFLAGS= + export 'LDFLAGS= -Wl,-rpath,/espressomd' + LDFLAGS=' -Wl,-rpath,/espressomd' + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS=' -Wl,-rpath,/espressomd' + 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 riscv64-redhat-linux-gnu -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_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 -DWITH_PYTHON=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DWITH_TESTS=ON -DCMAKE_SKIP_RPATH=ON -DINSTALL_PYPRESSO=OFF -DCYTHON_EXECUTABLE=/usr/bin/cython -DLIBDIR= -DPYTHON_INSTDIR= .. -- CMake version: 3.18.1 CMake Warning (dev) at /usr/share/cmake/Modules/GNUInstallDirs.cmake:225 (message): Unable to determine default CMAKE_INSTALL_LIBDIR directory because no target architecture is known. Please enable at least one language before including GNUInstallDirs. Call Stack (most recent call first): CMakeLists.txt:24 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 10.2.1 -- The CXX compiler identification is GNU 10.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 -- Config file: /builddir/build/BUILD/espresso/src/config/myconfig-default.hpp -- Performing Test result__PRETTY_FUNCTION__ -- Performing Test result__PRETTY_FUNCTION__ - Success CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "9.0") CMake Warning (dev) at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:273 (message): The package name passed to `find_package_handle_standard_args` (CudaCompiler) does not match the name of the calling package (CUDACompiler). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindCUDACompiler.cmake:137 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:130 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find CudaCompiler (missing: CUDA_COMPILER_EXE) -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.9", minimum required is "3.3") -- Found Cython: /usr/bin/cython (found suitable version "0.29.19", minimum required is "0.23") -- Found PythonHeaders: /usr/include/python3.9 -- Found NumPy: /usr/lib64/python3.9/site-packages/numpy/core/include (found version "1.19.0rc2") -- Found FFTW3: /usr/lib64/libfftw3.so -- Found HDF5: /usr/lib64/libhdf5.so (found suitable version "1.10.5", minimum required is "1.8") found components: C -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.0") -- Found GSL: /usr/include (found version "2.5") -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) (Required is at least version "3.0") -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) (Required is at least version "3.0") CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) (Required is at least version "3.0") Reason given by package: MPI component 'Fortran' was requested, but language Fortran is not enabled. Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindMPI.cmake:1721 (find_package_handle_standard_args) CMakeLists.txt:211 (find_package) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/espresso/mpich/riscv64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/espresso/mpich/riscv64-redhat-linux-gnu/CMakeFiles/CMakeError.log". error: Bad exit status from /var/tmp/rpm-tmp.EfH60X (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EfH60X (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/espresso.spec