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-562669-65829/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-562669-65829/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 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.Y9o6Ue + 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.yZFafg + umask 022 + cd /builddir/build/BUILD + cd auryn-0.8.2m + . /etc/profile.d/modules.sh ++ . /etc/profile.d/00-modulepath.sh +++ '[' -z /etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core ']' +++ : ++ '[' -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 40743 -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 ']' ++ . /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 + eval '__LMOD_REF_COUNT_LD_LIBRARY_PATH=/usr/lib64/mpich/lib:1;' export '__LMOD_REF_COUNT_LD_LIBRARY_PATH;' 'LD_LIBRARY_PATH=/usr/lib64/mpich/lib;' export 'LD_LIBRARY_PATH;' '__LMOD_REF_COUNT_LOADEDMODULES=mpi/mpich-riscv64:1;' export '__LMOD_REF_COUNT_LOADEDMODULES;' 'LOADEDMODULES=mpi/mpich-riscv64;' export 'LOADEDMODULES;' '__LMOD_REF_COUNT_MANPATH=/usr/share/man/mpich-riscv64:1\;/usr/share/lmod/lmod/share/man:1;' export '__LMOD_REF_COUNT_MANPATH;' 'MANPATH=:/usr/share/man/mpich-riscv64:/usr/share/lmod/lmod/share/man;' export 'MANPATH;' '__LMOD_REF_COUNT_MODULEPATH=/etc/modulefiles:1\;/usr/share/modulefiles:1\;/usr/share/modulefiles/Linux:1\;/usr/share/modulefiles/Core:1\;/usr/share/lmod/lmod/modulefiles/Core:1;' export '__LMOD_REF_COUNT_MODULEPATH;' 'MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core;' export 'MODULEPATH;' 'MPI_BIN=/usr/lib64/mpich/bin;' export 'MPI_BIN;' 'MPI_COMPILER=mpich-riscv64;' export 'MPI_COMPILER;' 'MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/mpich;' export 'MPI_FORTRAN_MOD_DIR;' 'MPI_HOME=/usr/lib64/mpich;' export 'MPI_HOME;' 'MPI_INCLUDE=/usr/include/mpich-riscv64;' export 'MPI_INCLUDE;' 'MPI_LIB=/usr/lib64/mpich/lib;' export 'MPI_LIB;' 'MPI_MAN=/usr/share/man/mpich-riscv64;' export 'MPI_MAN;' 'MPI_PYTHON2_SITEARCH=%\{python2_sitearch\}/mpich;' export 'MPI_PYTHON2_SITEARCH;' 'MPI_PYTHON3_SITEARCH=/usr/lib64/python3.9/site-packages/mpich;' export 'MPI_PYTHON3_SITEARCH;' 'MPI_PYTHON_SITEARCH=%\{python2_sitearch\}/mpich;' export 'MPI_PYTHON_SITEARCH;' 'MPI_SUFFIX=_mpich;' export 'MPI_SUFFIX;' 'MPI_SYSCONFIG=/etc/mpich-riscv64;' export 'MPI_SYSCONFIG;' '__LMOD_REF_COUNT_PATH=/usr/lib64/mpich/bin:1\;/usr/bin:1\;/bin:1\;/usr/sbin:1\;/sbin:1\;/usr/local/sbin:1;' export '__LMOD_REF_COUNT_PATH;' 'PATH=/usr/lib64/mpich/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin;' export 'PATH;' '__LMOD_REF_COUNT_PKG_CONFIG_PATH=/usr/lib64/mpich/lib/pkgconfig:1\;/usr/lib64/pkgconfig:1\;/usr/share/pkgconfig:1;' export '__LMOD_REF_COUNT_PKG_CONFIG_PATH;' 'PKG_CONFIG_PATH=/usr/lib64/mpich/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig;' export 'PKG_CONFIG_PATH;' '__LMOD_REF_COUNT__LMFILES_=/usr/share/modulefiles/mpi/mpich-riscv64:1;' export '__LMOD_REF_COUNT__LMFILES_;' '_LMFILES_=/usr/share/modulefiles/mpi/mpich-riscv64;' export '_LMFILES_;' '_ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXttcGk9e1siZm4iXT0iL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9tcGkvbXBpY2gtcmlzY3Y2NCIsWyJmdWxsTmFtZSJdPSJtcGkvbXBpY2gtcmlzY3Y2NCIsWyJsb2FkT3JkZXIiXT0xLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09Im1waS9tcGljaC1yaXNjdjY0Iix9LH0sbXBhdGhBPXsiL2V0Yy9tb2R1bGVmaWxlcyIsIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwiL3Vzci9zaGFyZS9t;' export '_ModuleTable001_;' '_ModuleTable002_=b2R1bGVmaWxlcy9Db3JlIiwiL3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfSxbInN5c3RlbUJhc2VNUEFUSCJdPSIvZXRjL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eDovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmU6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfQ==;' export '_ModuleTable002_;' '_ModuleTable_Sz_=2;' export '_ModuleTable_Sz_;' ++ __LMOD_REF_COUNT_LD_LIBRARY_PATH=/usr/lib64/mpich/lib:1 ++ export __LMOD_REF_COUNT_LD_LIBRARY_PATH ++ LD_LIBRARY_PATH=/usr/lib64/mpich/lib ++ export LD_LIBRARY_PATH ++ __LMOD_REF_COUNT_LOADEDMODULES=mpi/mpich-riscv64:1 ++ export __LMOD_REF_COUNT_LOADEDMODULES ++ LOADEDMODULES=mpi/mpich-riscv64 ++ export LOADEDMODULES ++ __LMOD_REF_COUNT_MANPATH='/usr/share/man/mpich-riscv64:1;/usr/share/lmod/lmod/share/man:1' ++ export __LMOD_REF_COUNT_MANPATH ++ MANPATH=:/usr/share/man/mpich-riscv64:/usr/share/lmod/lmod/share/man ++ export MANPATH ++ __LMOD_REF_COUNT_MODULEPATH='/etc/modulefiles:1;/usr/share/modulefiles:1;/usr/share/modulefiles/Linux:1;/usr/share/modulefiles/Core:1;/usr/share/lmod/lmod/modulefiles/Core:1' ++ export __LMOD_REF_COUNT_MODULEPATH ++ MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core ++ export MODULEPATH ++ MPI_BIN=/usr/lib64/mpich/bin ++ export MPI_BIN ++ MPI_COMPILER=mpich-riscv64 ++ export MPI_COMPILER ++ MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/mpich ++ export MPI_FORTRAN_MOD_DIR ++ MPI_HOME=/usr/lib64/mpich ++ export MPI_HOME ++ MPI_INCLUDE=/usr/include/mpich-riscv64 *** BUILDING auryn-0.8.2m-mpich *** ~/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich ~/build/BUILD/auryn-0.8.2m ++ export MPI_INCLUDE ++ MPI_LIB=/usr/lib64/mpich/lib ++ export MPI_LIB ++ MPI_MAN=/usr/share/man/mpich-riscv64 ++ export MPI_MAN ++ MPI_PYTHON2_SITEARCH='%{python2_sitearch}/mpich' ++ export MPI_PYTHON2_SITEARCH ++ MPI_PYTHON3_SITEARCH=/usr/lib64/python3.9/site-packages/mpich ++ export MPI_PYTHON3_SITEARCH ++ MPI_PYTHON_SITEARCH='%{python2_sitearch}/mpich' ++ export MPI_PYTHON_SITEARCH ++ MPI_SUFFIX=_mpich ++ export MPI_SUFFIX ++ MPI_SYSCONFIG=/etc/mpich-riscv64 ++ export MPI_SYSCONFIG ++ __LMOD_REF_COUNT_PATH='/usr/lib64/mpich/bin:1;/usr/bin:1;/bin:1;/usr/sbin:1;/sbin:1;/usr/local/sbin:1' ++ export __LMOD_REF_COUNT_PATH ++ PATH=/usr/lib64/mpich/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++ export PATH ++ __LMOD_REF_COUNT_PKG_CONFIG_PATH='/usr/lib64/mpich/lib/pkgconfig:1;/usr/lib64/pkgconfig:1;/usr/share/pkgconfig:1' ++ export __LMOD_REF_COUNT_PKG_CONFIG_PATH ++ PKG_CONFIG_PATH=/usr/lib64/mpich/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig ++ export PKG_CONFIG_PATH ++ __LMOD_REF_COUNT__LMFILES_=/usr/share/modulefiles/mpi/mpich-riscv64:1 ++ export __LMOD_REF_COUNT__LMFILES_ ++ _LMFILES_=/usr/share/modulefiles/mpi/mpich-riscv64 ++ export _LMFILES_ ++ _ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXttcGk9e1siZm4iXT0iL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9tcGkvbXBpY2gtcmlzY3Y2NCIsWyJmdWxsTmFtZSJdPSJtcGkvbXBpY2gtcmlzY3Y2NCIsWyJsb2FkT3JkZXIiXT0xLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09Im1waS9tcGljaC1yaXNjdjY0Iix9LH0sbXBhdGhBPXsiL2V0Yy9tb2R1bGVmaWxlcyIsIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwiL3Vzci9zaGFyZS9t ++ export _ModuleTable001_ ++ _ModuleTable002_=b2R1bGVmaWxlcy9Db3JlIiwiL3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfSxbInN5c3RlbUJhc2VNUEFUSCJdPSIvZXRjL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eDovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmU6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfQ== ++ export _ModuleTable002_ ++ _ModuleTable_Sz_=2 ++ export _ModuleTable_Sz_ + 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' + 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=/usr/lib64/mpich -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 -- Found MPI_C: /usr/lib64/mpich/lib/libmpi.so (found version "3.1") -- Found MPI_CXX: /usr/lib64/mpich/lib/libmpicxx.so (found version "3.1") -- Found MPI: TRUE (found version "3.1") -- Found Boost: /usr/include (found suitable version "1.73.0", minimum required is "1.41.0") found components: mpi serialization program_options date_time unit_test_framework system filesystem -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich + popd ~/build/BUILD/auryn-0.8.2m + make -j4 -C auryn-0.8.2m-mpich make: Entering directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' /usr/bin/cmake -S/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich -B/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/CMakeFiles /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' make -f src/CMakeFiles/auryn.dir/build.make src/CMakeFiles/auryn.dir/depend make[2]: Entering directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' cd /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/CMakeFiles/auryn.dir/DependInfo.cmake --color= Scanning dependencies of target auryn make[2]: Leaving directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' make -f src/CMakeFiles/auryn.dir/build.make src/CMakeFiles/auryn.dir/build make[2]: Entering directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' [ 0%] Building CXX object src/CMakeFiles/auryn.dir/auryn/ABSConnection.cpp.o cd /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src && /usr/bin/g++ -I/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src -I/usr/include/mpich-riscv64 -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 -o CMakeFiles/auryn.dir/auryn/ABSConnection.cpp.o -c /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/ABSConnection.cpp [ 1%] Building CXX object src/CMakeFiles/auryn.dir/auryn/AdExGroup.cpp.o [ 1%] Building CXX object src/CMakeFiles/auryn.dir/auryn/AIF2Group.cpp.o cd /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src && /usr/bin/g++ -I/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src -I/usr/include/mpich-riscv64 -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 -o CMakeFiles/auryn.dir/auryn/AdExGroup.cpp.o -c /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AdExGroup.cpp cd /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src && /usr/bin/g++ -I/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src -I/usr/include/mpich-riscv64 -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 -o CMakeFiles/auryn.dir/auryn/AIF2Group.cpp.o -c /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIF2Group.cpp [ 2%] Building CXX object src/CMakeFiles/auryn.dir/auryn/AIFGroup.cpp.o cd /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src && /usr/bin/g++ -I/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src -I/usr/include/mpich-riscv64 -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 -o CMakeFiles/auryn.dir/auryn/AIFGroup.cpp.o -c /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIFGroup.cpp In file included from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/ABSConnection.h:33, from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/ABSConnection.cpp:26: /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/auryn_definitions.h:113:10: fatal error: x86intrin.h: No such file or directory 113 | #include // SIMD intrinsics (pulls everything you need) | ^~~~~~~~~~~~~ compilation terminated. In file included from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIF2Group.h:29, from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIF2Group.cpp:26: /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/auryn_definitions.h:113:10: fatal error: x86intrin.h: No such file or directory 113 | #include // SIMD intrinsics (pulls everything you need) | ^~~~~~~~~~~~~ compilation terminated. In file included from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AdExGroup.h:29, from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AdExGroup.cpp:26: /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/auryn_definitions.h:113:10: fatal error: x86intrin.h: No such file or directory 113 | #include // SIMD intrinsics (pulls everything you need) | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [src/CMakeFiles/auryn.dir/build.make:85: src/CMakeFiles/auryn.dir/auryn/ABSConnection.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [src/CMakeFiles/auryn.dir/build.make:98: src/CMakeFiles/auryn.dir/auryn/AIF2Group.cpp.o] Error 1 make[2]: *** [src/CMakeFiles/auryn.dir/build.make:124: src/CMakeFiles/auryn.dir/auryn/AdExGroup.cpp.o] Error 1 In file included from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIFGroup.h:29, from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIFGroup.cpp:26: /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/auryn_definitions.h:113:10: fatal error: x86intrin.h: No such file or directory 113 | #include // SIMD intrinsics (pulls everything you need) | ^~~~~~~~~~~~~ compilation terminated. make[2]: *** [src/CMakeFiles/auryn.dir/build.make:111: src/CMakeFiles/auryn.dir/auryn/AIFGroup.cpp.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' make[1]: *** [CMakeFiles/Makefile2:255: src/CMakeFiles/auryn.dir/all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' make: *** [Makefile:152: all] Error 2 make: Leaving directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' + exit -1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.yZFafg (%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.yZFafg (%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