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/mpibash.spec'], chrootPath='/var/lib/mock/f31-build-116206-34529/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/mpibash.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=1550102400 Wrote: /builddir/build/SRPMS/mpibash-1.3-6.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mpibash.spec'], chrootPath='/var/lib/mock/f31-build-116206-34529/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/mpibash.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=1550102400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JRXXV2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mpibash-1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/mpibash-1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mpibash-1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SXcE72 + umask 022 + cd /builddir/build/BUILD + cd mpibash-1.3 + mkdir openmpi mpich + pushd openmpi ~/build/BUILD/mpibash-1.3/openmpi ~/build/BUILD/mpibash-1.3 + . /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 18262 -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/openmpi-riscv64 BUILDSTDERR: ++ /usr/share/lmod/lmod/libexec/lmod sh load mpi/openmpi-riscv64 + eval '__LMOD_REF_COUNT_LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:1;' export '__LMOD_REF_COUNT_LD_LIBRARY_PATH;' 'LD_LIBRARY_PATH=/usr/lib64/openmpi/lib;' export 'LD_LIBRARY_PATH;' '__LMOD_REF_COUNT_LOADEDMODULES=mpi/openmpi-riscv64:1;' export '__LMOD_REF_COUNT_LOADEDMODULES;' 'LOADEDMODULES=mpi/openmpi-riscv64;' export 'LOADEDMODULES;' '__LMOD_REF_COUNT_MANPATH=/usr/share/man/openmpi-riscv64:1\;/usr/share/lmod/lmod/share/man:1;' export '__LMOD_REF_COUNT_MANPATH;' 'MANPATH=/usr/share/man/openmpi-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/openmpi/bin;' export 'MPI_BIN;' 'MPI_COMPILER=openmpi-riscv64;' export 'MPI_COMPILER;' 'MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/openmpi;' export 'MPI_FORTRAN_MOD_DIR;' 'MPI_HOME=/usr/lib64/openmpi;' export 'MPI_HOME;' 'MPI_INCLUDE=/usr/include/openmpi-riscv64;' export 'MPI_INCLUDE;' 'MPI_LIB=/usr/lib64/openmpi/lib;' export 'MPI_LIB;' 'MPI_MAN=/usr/share/man/openmpi-riscv64;' export 'MPI_MAN;' 'MPI_PYTHON2_SITEARCH=/usr/lib64/python2.7/site-packages/openmpi;' export 'MPI_PYTHON2_SITEARCH;' 'MPI_PYTHON3_SITEARCH=/usr/lib64/python3.7/site-packages/openmpi;' export 'MPI_PYTHON3_SITEARCH;' 'MPI_PYTHON_SITEARCH=/usr/lib64/python2.7/site-packages/openmpi;' export 'MPI_PYTHON_SITEARCH;' 'MPI_SUFFIX=_openmpi;' export 'MPI_SUFFIX;' 'MPI_SYSCONFIG=/etc/openmpi-riscv64;' export 'MPI_SYSCONFIG;' '__LMOD_REF_COUNT_PATH=/usr/lib64/openmpi/bin:1\;/usr/bin:1\;/bin:1\;/usr/sbin:1\;/sbin:1\;/usr/local/sbin:1;' export '__LMOD_REF_COUNT_PATH;' 'PATH=/usr/lib64/openmpi/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin;' export 'PATH;' '__LMOD_REF_COUNT_PKG_CONFIG_PATH=/usr/lib64/openmpi/lib/pkgconfig:1\;/usr/lib64/pkgconfig:1\;/usr/share/pkgconfig:1;' export '__LMOD_REF_COUNT_PKG_CONFIG_PATH;' 'PKG_CONFIG_PATH=/usr/lib64/openmpi/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig;' export 'PKG_CONFIG_PATH;' '__LMOD_REF_COUNT__LMFILES_=/usr/share/modulefiles/mpi/openmpi-riscv64:1;' export '__LMOD_REF_COUNT__LMFILES_;' '_LMFILES_=/usr/share/modulefiles/mpi/openmpi-riscv64;' export '_LMFILES_;' '_ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXttcGk9e1siZm4iXT0iL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9tcGkvb3Blbm1waS1yaXNjdjY0IixbImZ1bGxOYW1lIl09Im1waS9vcGVubXBpLXJpc2N2NjQiLFsibG9hZE9yZGVyIl09MSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJtcGkvb3Blbm1waS1yaXNjdjY0Iix9LH0sbXBhdGhBPXsiL2V0Yy9tb2R1bGVmaWxlcyIsIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwiL3Vzci9z;' export '_ModuleTable001_;' '_ModuleTable002_=aGFyZS9tb2R1bGVmaWxlcy9Db3JlIiwiL3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfSxbInN5c3RlbUJhc2VNUEFUSCJdPSIvZXRjL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eDovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmU6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfQ==;' export '_ModuleTable002_;' '_ModuleTable_Sz_=2;' export '_ModuleTable_Sz_;' BUILDSTDERR: ++ __LMOD_REF_COUNT_LD_LIBRARY_PATH=/usr/lib64/openmpi/lib:1 BUILDSTDERR: ++ export __LMOD_REF_COUNT_LD_LIBRARY_PATH BUILDSTDERR: ++ LD_LIBRARY_PATH=/usr/lib64/openmpi/lib BUILDSTDERR: ++ export LD_LIBRARY_PATH BUILDSTDERR: ++ __LMOD_REF_COUNT_LOADEDMODULES=mpi/openmpi-riscv64:1 BUILDSTDERR: ++ export __LMOD_REF_COUNT_LOADEDMODULES BUILDSTDERR: ++ LOADEDMODULES=mpi/openmpi-riscv64 BUILDSTDERR: ++ export LOADEDMODULES BUILDSTDERR: ++ __LMOD_REF_COUNT_MANPATH='/usr/share/man/openmpi-riscv64:1;/usr/share/lmod/lmod/share/man:1' BUILDSTDERR: ++ export __LMOD_REF_COUNT_MANPATH BUILDSTDERR: ++ MANPATH=/usr/share/man/openmpi-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/openmpi/bin BUILDSTDERR: ++ export MPI_BIN BUILDSTDERR: ++ MPI_COMPILER=openmpi-riscv64 BUILDSTDERR: ++ export MPI_COMPILER BUILDSTDERR: ++ MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/openmpi BUILDSTDERR: ++ export MPI_FORTRAN_MOD_DIR BUILDSTDERR: ++ MPI_HOME=/usr/lib64/openmpi BUILDSTDERR: ++ export MPI_HOME BUILDSTDERR: ++ MPI_INCLUDE=/usr/include/openmpi-riscv64 BUILDSTDERR: ++ export MPI_INCLUDE BUILDSTDERR: ++ MPI_LIB=/usr/lib64/openmpi/lib BUILDSTDERR: ++ export MPI_LIB BUILDSTDERR: ++ MPI_MAN=/usr/share/man/openmpi-riscv64 BUILDSTDERR: ++ export MPI_MAN BUILDSTDERR: ++ MPI_PYTHON2_SITEARCH=/usr/lib64/python2.7/site-packages/openmpi BUILDSTDERR: ++ export MPI_PYTHON2_SITEARCH BUILDSTDERR: ++ MPI_PYTHON3_SITEARCH=/usr/lib64/python3.7/site-packages/openmpi BUILDSTDERR: ++ export MPI_PYTHON3_SITEARCH BUILDSTDERR: ++ MPI_PYTHON_SITEARCH=/usr/lib64/python2.7/site-packages/openmpi BUILDSTDERR: ++ export MPI_PYTHON_SITEARCH BUILDSTDERR: ++ MPI_SUFFIX=_openmpi BUILDSTDERR: ++ export MPI_SUFFIX BUILDSTDERR: ++ MPI_SYSCONFIG=/etc/openmpi-riscv64 BUILDSTDERR: ++ export MPI_SYSCONFIG BUILDSTDERR: ++ __LMOD_REF_COUNT_PATH='/usr/lib64/openmpi/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/openmpi/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin BUILDSTDERR: ++ export PATH BUILDSTDERR: ++ __LMOD_REF_COUNT_PKG_CONFIG_PATH='/usr/lib64/openmpi/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/openmpi/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig BUILDSTDERR: ++ export PKG_CONFIG_PATH BUILDSTDERR: ++ __LMOD_REF_COUNT__LMFILES_=/usr/share/modulefiles/mpi/openmpi-riscv64:1 BUILDSTDERR: ++ export __LMOD_REF_COUNT__LMFILES_ BUILDSTDERR: ++ _LMFILES_=/usr/share/modulefiles/mpi/openmpi-riscv64 BUILDSTDERR: ++ export _LMFILES_ BUILDSTDERR: ++ _ModuleTable001_=X01vZHVsZVRhYmxlXz17WyJNVHZlcnNpb24iXT0zLFsiY19yZWJ1aWxkVGltZSJdPWZhbHNlLFsiY19zaG9ydFRpbWUiXT1mYWxzZSxkZXB0aFQ9e30sZmFtaWx5PXt9LG1UPXttcGk9e1siZm4iXT0iL3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9tcGkvb3Blbm1waS1yaXNjdjY0IixbImZ1bGxOYW1lIl09Im1waS9vcGVubXBpLXJpc2N2NjQiLFsibG9hZE9yZGVyIl09MSxwcm9wVD17fSxbInN0YWNrRGVwdGgiXT0wLFsic3RhdHVzIl09ImFjdGl2ZSIsWyJ1c2VyTmFtZSJdPSJtcGkvb3Blbm1waS1yaXNjdjY0Iix9LH0sbXBhdGhBPXsiL2V0Yy9tb2R1bGVmaWxlcyIsIi91c3Ivc2hhcmUvbW9kdWxlZmlsZXMiLCIvdXNyL3NoYXJlL21vZHVsZWZpbGVzL0xpbnV4IiwiL3Vzci9z BUILDSTDERR: ++ export _ModuleTable001_ BUILDSTDERR: ++ _ModuleTable002_=aGFyZS9tb2R1bGVmaWxlcy9Db3JlIiwiL3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfSxbInN5c3RlbUJhc2VNUEFUSCJdPSIvZXRjL21vZHVsZWZpbGVzOi91c3Ivc2hhcmUvbW9kdWxlZmlsZXM6L3Vzci9zaGFyZS9tb2R1bGVmaWxlcy9MaW51eDovdXNyL3NoYXJlL21vZHVsZWZpbGVzL0NvcmU6L3Vzci9zaGFyZS9sbW9kL2xtb2QvbW9kdWxlZmlsZXMvQ29yZSIsfQ== BUILDSTDERR: ++ export _ModuleTable002_ BUILDSTDERR: ++ _ModuleTable_Sz_=2 BUILDSTDERR: ++ export _ModuleTable_Sz_ + 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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ../configure BUILDSTDERR: ++ find .. -name config.guess -o -name config.sub + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ../config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ../config.guess BUILDSTDERR: ++ basename ../config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ../config.guess '/usr/lib/rpm/redhat/config.guess' -> '../config.guess' + for i in $(find $(dirname ../configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ../config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ../config.sub BUILDSTDERR: ++ basename ../config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ../config.sub '/usr/lib/rpm/redhat/config.sub' -> '../config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ../configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bashdir=/usr/include/bash --docdir=/usr/lib64/openmpi/lib/share/mpibash --with-plugindir=/usr/lib64/openmpi/lib/mpibash/ --bindir=/usr/lib64/openmpi/bin --mandir=/usr/share/man/openmpi-riscv64 --program-suffix=_openmpi CC=mpicc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... mpicc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether mpicc accepts -g... yes checking for mpicc option to accept ISO C89... none needed checking whether mpicc understands -c and -o together... yes checking dependency style of mpicc... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by mpicc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from mpicc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... mpicc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if mpicc supports -fno-rtti -fno-exceptions... no checking for mpicc option to produce PIC... -fPIC -DPIC checking if mpicc PIC flag -fPIC -DPIC works... yes checking if mpicc static flag -static works... no checking if mpicc supports -c -o file.o... yes checking if mpicc supports -c -o file.o... (cached) yes checking whether the mpicc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-redhat-linux-gnu-gcc... (cached) mpicc checking whether we are using the GNU C compiler... (cached) yes checking whether mpicc accepts -g... (cached) yes checking for mpicc option to accept ISO C89... (cached) none needed checking whether mpicc understands -c and -o together... (cached) yes checking dependency style of mpicc... (cached) none checking for readlink... yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for a directory containing bash header files... /usr/include/bash checking config.h usability... yes checking config.h presence... yes checking for config.h... yes checking builtins.h usability... yes checking builtins.h presence... yes checking for builtins.h... yes checking pathnames.h usability... yes checking pathnames.h presence... yes checking for pathnames.h... yes checking for shell.h... no BUILDSTDERR: configure: error: Cannot find bash header shell.h under /usr/include/bash. error: RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.SXcE72 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.SXcE72 (%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/mpibash.spec