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/auryn.spec'], chrootPath='/var/lib/mock/f33-build-308349-57187/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/auryn.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 warning: extra tokens at the end of %endif directive in line 73: %endif # mpich warning: extra tokens at the end of %endif directive in line 96: %endif # openmpi warning: extra tokens at the end of %endif directive in line 116: %endif # mpich warning: extra tokens at the end of %endif directive in line 120: %endif # openmpi warning: extra tokens at the end of %endif directive in line 173: %endif # mpich warning: extra tokens at the end of %endif directive in line 183: %endif # openmpi warning: extra tokens at the end of %endif directive in line 208: %endif # mpich warning: extra tokens at the end of %endif directive in line 217: %endif # openmpi warning: extra tokens at the end of %endif directive in line 234: %endif # mpich warning: extra tokens at the end of %endif directive in line 240: %endif # openmpi warning: extra tokens at the end of %endif directive in line 242: %endif # tests warning: extra tokens at the end of %endif directive in line 252: %endif # dev_doc warning: extra tokens at the end of %endif directive in line 253: %endif # doc warning: extra tokens at the end of %endif directive in line 265: %endif # mpich warning: extra tokens at the end of %endif directive in line 277: %endif # openmpi Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/auryn-0.8.2-6.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/auryn.spec'], chrootPath='/var/lib/mock/f33-build-308349-57187/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/auryn.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 ? warning: extra tokens at the end of %endif directive in line 73: %endif # mpich warning: extra tokens at the end of %endif directive in line 96: %endif # openmpi warning: extra tokens at the end of %endif directive in line 116: %endif # mpich warning: extra tokens at the end of %endif directive in line 120: %endif # openmpi warning: extra tokens at the end of %endif directive in line 173: %endif # mpich warning: extra tokens at the end of %endif directive in line 183: %endif # openmpi warning: extra tokens at the end of %endif directive in line 208: %endif # mpich warning: extra tokens at the end of %endif directive in line 217: %endif # openmpi warning: extra tokens at the end of %endif directive in line 234: %endif # mpich warning: extra tokens at the end of %endif directive in line 240: %endif # openmpi warning: extra tokens at the end of %endif directive in line 242: %endif # tests warning: extra tokens at the end of %endif directive in line 252: %endif # dev_doc warning: extra tokens at the end of %endif directive in line 253: %endif # doc warning: extra tokens at the end of %endif directive in line 265: %endif # mpich warning: extra tokens at the end of %endif directive in line 277: %endif # openmpi Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NXPtux + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf auryn-0.8.2m + /usr/bin/mkdir -p auryn-0.8.2m + cd auryn-0.8.2m + /usr/bin/gzip -dc /builddir/build/SOURCES/auryn-0.8.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd auryn-0.8.2m ~/build/BUILD/auryn-0.8.2m/auryn-0.8.2m ~/build/BUILD/auryn-0.8.2m + sed -i '/SET(CMAKE_CXX_FLAGS/ d' CMakeLists.txt + sed -i '/^BUILDDIR/ d' test/run_network_tests.sh test/run_tests.sh test/run_unit_tests.sh + sed -i 's|^.BUILDDIR/test/||' test/run_network_tests.sh test/run_tests.sh test/run_unit_tests.sh + popd ~/build/BUILD/auryn-0.8.2m + cp -a auryn-0.8.2m auryn-0.8.2m-mpich + cp -a auryn-0.8.2m auryn-0.8.2m-openmpi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ItlH1z + umask 022 + cd /builddir/build/BUILD + cd auryn-0.8.2m + . /etc/profile.d/modules.sh ++ . /etc/profile.d/00-modulepath.sh +++ '[' -z '' ']' ++++ readlink /etc/alternatives/modules.sh +++ '[' /usr/share/lmod/lmod/init/profile = /usr/share/lmod/lmod/init/profile -o -f /etc/profile.d/z00_lmod.sh ']' +++ export MODULEPATH=/etc/modulefiles:/usr/share/modulefiles +++ MODULEPATH=/etc/modulefiles:/usr/share/modulefiles ++ '[' -z '' ']' ++ '[' -z /usr/share/modulefiles ']' ++ findExec PS_CMD /usr/bin/ps ps ++ Nm=PS_CMD ++ confPath=/usr/bin/ps ++ execNm=ps ++ eval PS_CMD=/usr/bin/ps +++ PS_CMD=/usr/bin/ps ++ '[' '!' -x /usr/bin/ps ']' ++ unset Nm confPath execNm ++ findExec EXPR_CMD /usr/bin/expr expr ++ Nm=EXPR_CMD ++ confPath=/usr/bin/expr ++ execNm=expr ++ eval EXPR_CMD=/usr/bin/expr +++ EXPR_CMD=/usr/bin/expr ++ '[' '!' -x /usr/bin/expr ']' ++ unset Nm confPath execNm ++ findExec BASENAME_CMD /usr/bin/basename basename ++ Nm=BASENAME_CMD ++ confPath=/usr/bin/basename ++ execNm=basename ++ eval BASENAME_CMD=/usr/bin/basename +++ BASENAME_CMD=/usr/bin/basename ++ '[' '!' -x /usr/bin/basename ']' ++ unset Nm confPath execNm ++ unset -f findExec +++ /usr/bin/ps -p 3003 -ocomm= ++ my_shell=sh +++ /usr/bin/expr sh : '-*\(.*\)' ++ my_shell=sh +++ /usr/bin/basename sh ++ my_shell=sh ++ '[' -f /usr/share/lmod/lmod/init/sh ']' ++ source /usr/share/lmod/lmod/init/sh +++ LMOD_ROOT=/usr/share/lmod +++ LMOD_PKG=/usr/share/lmod/lmod +++ LMOD_DIR=/usr/share/lmod/lmod/libexec/ +++ LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod +++ MODULESHOME=/usr/share/lmod/lmod +++ export LMOD_CMD +++ export LMOD_PKG +++ export LMOD_DIR +++ export MODULESHOME +++ export LMOD_DIR ++ unset my_shell PS_CMD EXPR_CMD BASENAME_CMD MODULEPATH_INIT + module load mpi/mpich-riscv64 ++ /usr/share/lmod/lmod/libexec/lmod sh 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 ? *** BUILDING auryn-0.8.2m-mpich *** + eval + export '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' + 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 MPI_COMPILE_TYPE=-mpich + MPI_COMPILE_TYPE=-mpich + echo + echo '*** BUILDING auryn-0.8.2m-mpich ***' + echo + 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' ~/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich ~/build/BUILD/auryn-0.8.2m + 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,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + pushd auryn-0.8.2m-mpich + cmake . -DCMAKE_FIND_NO_INSTALL_PREFIX:BOOL=TRUE -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= -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_SKIP_RPATH:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON -DLIB_SUFFIX=64 -- 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 -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) 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:15 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/CMakeFiles/CMakeOutput.log". See also "/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/CMakeFiles/CMakeError.log". + exit -1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ItlH1z (%build) extra tokens at the end of %endif directive in line 73: %endif # mpich extra tokens at the end of %endif directive in line 96: %endif # openmpi extra tokens at the end of %endif directive in line 116: %endif # mpich extra tokens at the end of %endif directive in line 120: %endif # openmpi extra tokens at the end of %endif directive in line 173: %endif # mpich extra tokens at the end of %endif directive in line 183: %endif # openmpi extra tokens at the end of %endif directive in line 208: %endif # mpich extra tokens at the end of %endif directive in line 217: %endif # openmpi extra tokens at the end of %endif directive in line 234: %endif # mpich extra tokens at the end of %endif directive in line 240: %endif # openmpi extra tokens at the end of %endif directive in line 242: %endif # tests extra tokens at the end of %endif directive in line 252: %endif # dev_doc extra tokens at the end of %endif directive in line 253: %endif # doc extra tokens at the end of %endif directive in line 265: %endif # mpich extra tokens at the end of %endif directive in line 277: %endif # openmpi Bad exit status from /var/tmp/rpm-tmp.ItlH1z (%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/auryn.spec