Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/auryn.spec'], chrootPath='/var/lib/mock/f31-build-62675-29116/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=345600uid=986gid=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 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 73: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 96: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 116: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 120: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 173: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 183: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 208: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 217: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 234: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 240: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 242: %endif # tests BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 252: %endif # dev_doc BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 253: %endif # doc BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 265: %endif # mpich BUILDSTDERR: 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=1563926400 Wrote: /builddir/build/SRPMS/auryn-0.8.2-3.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/auryn.spec'], chrootPath='/var/lib/mock/f31-build-62675-29116/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=345600uid=986gid=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 BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 73: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 96: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 116: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 120: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 173: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 183: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 208: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 217: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 234: %endif # mpich BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 240: %endif # openmpi BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 242: %endif # tests BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 252: %endif # dev_doc BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 253: %endif # doc BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 265: %endif # mpich BUILDSTDERR: 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=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.994Bk9 + 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/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/auryn-0.8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd 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 + 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 BUILDSTDERR: ++ jobs -p + exit 0 ~/build/BUILD/auryn-0.8.2m/auryn-0.8.2m ~/build/BUILD/auryn-0.8.2m ~/build/BUILD/auryn-0.8.2m Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GuZTN8 + umask 022 + cd /builddir/build/BUILD + cd auryn-0.8.2m + . /etc/profile.d/modules.sh BUILDSTDERR: ++ '[' -z '' ']' BUILDSTDERR: ++ '[' -z /usr/share/modulefiles ']' BUILDSTDERR: ++ PS_CMD=/usr/bin/ps BUILDSTDERR: ++ '[' '!' -x /usr/bin/ps ']' BUILDSTDERR: ++ EXPR_CMD=/usr/bin/expr BUILDSTDERR: ++ '[' '!' -x /usr/bin/expr ']' BUILDSTDERR: ++ BASENAME_CMD=/usr/bin/basename BUILDSTDERR: ++ '[' '!' -x /usr/bin/basename ']' BUILDSTDERR: +++ /usr/bin/ps -p 26632 -ocomm= BUILDSTDERR: ++ my_shell=sh BUILDSTDERR: +++ /usr/bin/expr sh : '-*\(.*\)' BUILDSTDERR: ++ my_shell=sh BUILDSTDERR: +++ /usr/bin/basename sh BUILDSTDERR: ++ my_shell=sh BUILDSTDERR: ++ '[' -f /usr/share/lmod/lmod/init/sh ']' BUILDSTDERR: ++ . /usr/share/lmod/lmod/init/sh BUILDSTDERR: +++ LMOD_PKG=/usr/share/lmod/lmod BUILDSTDERR: +++ LMOD_DIR=/usr/share/lmod/lmod/libexec/ BUILDSTDERR: +++ LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod BUILDSTDERR: +++ MODULESHOME=/usr/share/lmod/lmod BUILDSTDERR: +++ export LMOD_CMD BUILDSTDERR: +++ export LMOD_PKG BUILDSTDERR: +++ export LMOD_DIR BUILDSTDERR: +++ export MODULESHOME BUILDSTDERR: +++ export LMOD_DIR BUILDSTDERR: ++ unset my_shell PS_CMD EXPR_CMD BASENAME_CMD MODULEPATH_INIT + module load mpi/mpich-riscv64 BUILDSTDERR: ++ /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=/usr/lib64/python2.7/site-packages/mpich;' export 'MPI_PYTHON2_SITEARCH;' 'MPI_PYTHON3_SITEARCH=/usr/lib64/python3.6/site-packages/mpich;' export 'MPI_PYTHON3_SITEARCH;' 'MPI_PYTHON_SITEARCH=/usr/lib64/python2.7/site-packages/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_=/etc/modulefiles/mpi/mpich-riscv64:1;' export '__LMOD_REF_COUNT__LMFILES_;' '_LMFILES_=/etc/modulefiles/mpi/mpich-riscv64;' export '_LMFILES_;' '_ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXttcGk9e1siZm4iXT0iL2V0Yy9tb2R1bGVmaWxlcy9tcGkvbXBpY2gtcmlzY3Y2NCIsWyJmdWxsTmFtZSJdPSJtcGkvbXBpY2gtcmlzY3Y2NCIsWyJsb2FkT3JkZXIiXT0xLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09Im1waS9tcGljaC1yaXNjdjY0Iix9LH0sbXBhdGhBPXsiL2V0Yy9tb2R1bGVmaWxlcyIsIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwiL3Vzci9zaGFyZS9tb2R1bGVm;' export '_ModuleTable001_;' '_ModuleTable002_=aWxlcy9Db3JlIiwiL3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfSxbInN5c3RlbUJhc2VNUEFUSCJdPSIvZXRjL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eDovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmU6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfQ==;' export '_ModuleTable002_;' '_ModuleTable_Sz_=2;' export '_ModuleTable_Sz_;' BUILDSTDERR: ++ __LMOD_REF_COUNT_LD_LIBRARY_PATH=/usr/lib64/mpich/lib:1 BUILDSTDERR: ++ export __LMOD_REF_COUNT_LD_LIBRARY_PATH BUILDSTDERR: ++ LD_LIBRARY_PATH=/usr/lib64/mpich/lib BUILDSTDERR: ++ export LD_LIBRARY_PATH BUILDSTDERR: ++ __LMOD_REF_COUNT_LOADEDMODULES=mpi/mpich-riscv64:1 BUILDSTDERR: ++ export __LMOD_REF_COUNT_LOADEDMODULES BUILDSTDERR: ++ LOADEDMODULES=mpi/mpich-riscv64 BUILDSTDERR: ++ export LOADEDMODULES BUILDSTDERR: ++ __LMOD_REF_COUNT_MANPATH='/usr/share/man/mpich-riscv64:1;/usr/share/lmod/lmod/share/man:1' BUILDSTDERR: ++ export __LMOD_REF_COUNT_MANPATH BUILDSTDERR: ++ MANPATH=:/usr/share/man/mpich-riscv64:/usr/share/lmod/lmod/share/man BUILDSTDERR: ++ export MANPATH BUILDSTDERR: ++ __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' BUILDSTDERR: ++ export __LMOD_REF_COUNT_MODULEPATH BUILDSTDERR: ++ MODULEPATH=/etc/modulefiles:/usr/share/modulefiles:/usr/share/modulefiles/Linux:/usr/share/modulefiles/Core:/usr/share/lmod/lmod/modulefiles/Core BUILDSTDERR: ++ export MODULEPATH BUILDSTDERR: ++ MPI_BIN=/usr/lib64/mpich/bin BUILDSTDERR: ++ export MPI_BIN BUILDSTDERR: ++ MPI_COMPILER=mpich-riscv64 BUILDSTDERR: ++ export MPI_COMPILER BUILDSTDERR: ++ MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/mpich BUILDSTDERR: ++ export MPI_FORTRAN_MOD_DIR BUILDSTDERR: ++ MPI_HOME=/usr/lib64/mpich BUILDSTDERR: ++ export MPI_HOME BUILDSTDERR: ++ MPI_INCLUDE=/usr/include/mpich-riscv64 BUILDSTDERR: ++ export MPI_INCLUDE BUILDSTDERR: ++ MPI_LIB=/usr/lib64/mpich/lib BUILDSTDERR: ++ export MPI_LIB BUILDSTDERR: ++ MPI_MAN=/usr/share/man/mpich-riscv64 BUILDSTDERR: ++ export MPI_MAN BUILDSTDERR: ++ MPI_PYTHON2_SITEARCH=/usr/lib64/python2.7/site-packages/mpich BUILDSTDERR: ++ export MPI_PYTHON2_SITEARCH BUILDSTDERR: ++ MPI_PYTHON3_SITEARCH=/usr/lib64/python3.6/site-packages/mpich BUILDSTDERR: ++ export MPI_PYTHON3_SITEARCH BUILDSTDERR: ++ MPI_PYTHON_SITEARCH=/usr/lib64/python2.7/site-packages/mpich BUILDSTDERR: ++ export MPI_PYTHON_SITEARCH BUILDSTDERR: ++ MPI_SUFFIX=_mpich BUILDSTDERR: ++ export MPI_SUFFIX BUILDSTDERR: ++ MPI_SYSCONFIG=/etc/mpich-riscv64 BUILDSTDERR: ++ export MPI_SYSCONFIG BUILDSTDERR: ++ __LMOD_REF_COUNT_PATH='/usr/lib64/mpich/bin:1;/usr/bin:1;/bin:1;/usr/sbin:1;/sbin:1;/usr/local/sbin:1' BUILDSTDERR: ++ export __LMOD_REF_COUNT_PATH BUILDSTDERR: ++ PATH=/usr/lib64/mpich/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin BUILDSTDERR: ++ export PATH BUILDSTDERR: ++ __LMOD_REF_COUNT_PKG_CONFIG_PATH='/usr/lib64/mpich/lib/pkgconfig:1;/usr/lib64/pkgconfig:1;/usr/share/pkgconfig:1' BUILDSTDERR: ++ export __LMOD_REF_COUNT_PKG_CONFIG_PATH BUILDSTDERR: ++ PKG_CONFIG_PATH=/usr/lib64/mpich/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig BUILDSTDERR: ++ export PKG_CONFIG_PATH BUILDSTDERR: ++ __LMOD_REF_COUNT__LMFILES_=/etc/modulefiles/mpi/mpich-riscv64:1 BUILDSTDERR: ++ export __LMOD_REF_COUNT__LMFILES_ BUILDSTDERR: ++ _LMFILES_=/etc/modulefiles/mpi/mpich-riscv64 BUILDSTDERR: ++ export _LMFILES_ BUILDSTDERR: ++ _ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXttcGk9e1siZm4iXT0iL2V0Yy9tb2R1bGVmaWxlcy9tcGkvbXBpY2gtcmlzY3Y2NCIsWyJmdWxsTmFtZSJdPSJtcGkvbXBpY2gtcmlzY3Y2NCIsWyJsb2FkT3JkZXIiXT0xLHByb3BUPXt9LFsic3RhY2tEZXB0aCJdPTAsWyJzdGF0dXMiXT0iYWN0aXZlIixbInVzZXJOYW1lIl09Im1waS9tcGljaC1yaXNjdjY0Iix9LH0sbXBhdGhBPXsiL2V0Yy9tb2R1bGVmaWxlcyIsIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwiL3Vzci9zaGFyZS9tb2R1bGVm BUILDSTDERR: ++ export _ModuleTable001_ BUILDSTDERR: ++ _ModuleTable002_=aWxlcy9Db3JlIiwiL3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfSxbInN5c3RlbUJhc2VNUEFUSCJdPSIvZXRjL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eDovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmU6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfQ== BUILDSTDERR: ++ export _ModuleTable002_ BUILDSTDERR: ++ _ModuleTable_Sz_=2 BUILDSTDERR: ++ export _ModuleTable_Sz_ + export 'CFLAGS= -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS=' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 + 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 BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR + popd + make -j4 -C auryn-0.8.2m-mpich *** BUILDING auryn-0.8.2m-mpich *** ~/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich ~/build/BUILD/auryn-0.8.2m -- The C compiler identification is GNU 9.1.1 -- The CXX compiler identification is GNU 9.1.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- 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") -- Boost version: 1.69.0 -- Found the following Boost libraries: -- mpi -- serialization -- program_options -- date_time -- unit_test_framework -- system -- filesystem -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich ~/build/BUILD/auryn-0.8.2m 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/c++ -I/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src -I/usr/include/mpich-riscv64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/AIFGroup.cpp.o cd /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src && /usr/bin/c++ -I/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src -I/usr/include/mpich-riscv64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 [ 2%] Building CXX object src/CMakeFiles/auryn.dir/auryn/AIF2Group.cpp.o BUILDSTDERR: cIn file included from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/ABSConnection.h:33, BUILDSTDERR: from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/ABSConnection.cpp:26: BUILDSTDERR: /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 BUILDSTDERR: 113 | #include // SIMD intrinsics (pulls everything you need) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [src/CMakeFiles/auryn.dir/build.make:66: src/CMakeFiles/auryn.dir/auryn/ABSConnection.cpp.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIFGroup.h:29, BUILDSTDERR: from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIFGroup.cpp:26: BUILDSTDERR: /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 BUILDSTDERR: 113 | #include // SIMD intrinsics (pulls everything you need) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [src/CMakeFiles/auryn.dir/build.make:92: src/CMakeFiles/auryn.dir/auryn/AIFGroup.cpp.o] Error 1 BUILDSTDERR: In file included from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIF2Group.h:29, BUILDSTDERR: from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AIF2Group.cpp:26: BUILDSTDERR: /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 BUILDSTDERR: 113 | #include // SIMD intrinsics (pulls everything you need) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [src/CMakeFiles/auryn.dir/build.make:79: src/CMakeFiles/auryn.dir/auryn/AIF2Group.cpp.o] Error 1 BUILDSTDERR: In file included from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AdExGroup.h:29, BUILDSTDERR: from /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src/auryn/AdExGroup.cpp:26: BUILDSTDERR: /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 BUILDSTDERR: 113 | #include // SIMD intrinsics (pulls everything you need) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [src/CMakeFiles/auryn.dir/build.make:105: src/CMakeFiles/auryn.dir/auryn/AdExGroup.cpp.o] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:94: src/CMakeFiles/auryn.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 + exit -1 d /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src && /usr/bin/c++ -I/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src -I/usr/include/mpich-riscv64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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/AdExGroup.cpp.o cd /builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src && /usr/bin/c++ -I/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich/src -I/usr/include/mpich-riscv64 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 make[2]: Leaving directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' make[1]: Leaving directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' make: Leaving directory '/builddir/build/BUILD/auryn-0.8.2m/auryn-0.8.2m-mpich' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GuZTN8 (%build) BUILDSTDERR: extra tokens at the end of %endif directive in line 73: %endif # mpich BUILDSTDERR: extra tokens at the end of %endif directive in line 96: %endif # openmpi BUILDSTDERR: extra tokens at the end of %endif directive in line 116: %endif # mpich BUILDSTDERR: extra tokens at the end of %endif directive in line 120: %endif # openmpi BUILDSTDERR: extra tokens at the end of %endif directive in line 173: %endif # mpich BUILDSTDERR: extra tokens at the end of %endif directive in line 183: %endif # openmpi BUILDSTDERR: extra tokens at the end of %endif directive in line 208: %endif # mpich BUILDSTDERR: extra tokens at the end of %endif directive in line 217: %endif # openmpi BUILDSTDERR: extra tokens at the end of %endif directive in line 234: %endif # mpich BUILDSTDERR: extra tokens at the end of %endif directive in line 240: %endif # openmpi BUILDSTDERR: extra tokens at the end of %endif directive in line 242: %endif # tests BUILDSTDERR: extra tokens at the end of %endif directive in line 252: %endif # dev_doc BUILDSTDERR: extra tokens at the end of %endif directive in line 253: %endif # doc BUILDSTDERR: extra tokens at the end of %endif directive in line 265: %endif # mpich BUILDSTDERR: extra tokens at the end of %endif directive in line 277: %endif # openmpi BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.GuZTN8 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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