Mock Version: 1.2.14 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/blacs.spec'], printOutput=Falseuser='mockbuild'uid=7225env={'CCACHE_UMASK': '002', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash'}chrootPath='/scratch/mock/epel-5-x86_64-1444/root'timeout=0logger=shell=Falsegid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/blacs.spec'] with env {'CCACHE_UMASK': '002', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/blacs-1.1-24.el5.centos.1.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/blacs.spec '], timeout=0private_network=Trueuser='mockbuild'uid=7225env={'CCACHE_UMASK': '002', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash'}chrootPath='/scratch/mock/epel-5-x86_64-1444/root'printOutput=Falselogger=shell=Falsegid=135) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/blacs.spec '] with env {'CCACHE_UMASK': '002', 'HOME': '/builddir', 'LANG': 'en_US.UTF-8', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'CCACHE_DIR': '/tmp/ccache', 'TERM': 'vt100', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'SHELL': '/bin/bash'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.83162 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf blacs + /bin/mkdir -p blacs + cd blacs + tar -xf - + /bin/gzip -dc /builddir/build/SOURCES/mpiblacs.tgz + STATUS=0 + '[' 0 -ne 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + cd blacs + /bin/gzip -dc /builddir/build/SOURCES/blacstester.tgz + tar -xf - tar: Read 4096 bytes from - + STATUS=0 + '[' 0 -ne 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' ++ /usr/bin/id -u + '[' 7225 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (blacs-shared.patch): + echo 'Patch #0 (blacs-shared.patch):' + patch -p1 -s + cd BLACS/ + cp -f /builddir/build/SOURCES/Bmake.inc.64bit ./Bmake.inc + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.83162 + umask 022 + cd /builddir/build/BUILD + cd blacs + LANG=C + export LANG + unset DISPLAY + cd BLACS/ ++ echo -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic ++ sed -e s/-fstack-protector//g + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic' ++ echo -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic + RPM_OPT_FLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic' + make mpi ( cd SRC/MPI ; make ) make[1]: Entering directory `/builddir/build/BUILD/blacs/BLACS/SRC/MPI' ( cd INTERNAL ; make -f ../Makefile I_int "dlvl=/builddir/build/BUILD/blacs/BLACS" ) make[2]: Entering directory `/builddir/build/BUILD/blacs/BLACS/SRC/MPI/INTERNAL' rm -f Bdef.h ln -s ../Bdef.h Bdef.h rm -f Bconfig.h ln -s ../Bconfig.h Bconfig.h gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DSYSINC -I/usr/include/lam -I/usr/include/lam/64 -DAdd_ -DBlacsDebugLvl=0 -DUseMpich BI_HypBS.c In file included from Bdef.h:8, from BI_HypBS.c:1: Bconfig.h:20:17: error: mpi.h: No such file or directory In file included from BI_HypBS.c:1: Bdef.h:50: error: expected specifier-qualifier-list before 'MPI_Comm' Bdef.h:93: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'BI_MPI_COMPLEX' Bdef.h:108: error: expected specifier-qualifier-list before 'MPI_Request' BI_HypBS.c: In function 'BI_HypBS': BI_HypBS.c:6: error: 'BLACSSCOPE' has no member named 'Np' BI_HypBS.c:8: error: 'BLACSSCOPE' has no member named 'Iam' BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'ScpId' BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'ScpId' BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'MaxId' BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'ScpId' BI_HypBS.c:9: error: 'BLACSSCOPE' has no member named 'MinId' make[2]: Leaving directory `/builddir/build/BUILD/blacs/BLACS/SRC/MPI/INTERNAL' make[2]: *** [BI_HypBS.o] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/blacs/BLACS/SRC/MPI' make[1]: *** [INTERN] Error 2 make: *** [MPI] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.83162 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.83162 (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/blacs.spec Traceback (most recent call last): File "/usr/lib/python3.4/site-packages/mockbuild/trace_decorator.py", line 84, in trace result = func(*args, **kw) File "/usr/lib/python3.4/site-packages/mockbuild/util.py", line 526, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) mockbuild.exception.Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/blacs.spec LEAVE do --> EXCEPTION RAISED