Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/scalapack.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-4f9a2a368c2fa6e82f61b04b05d8d29f53ecb829/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/scalapack.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/scalapack-2.0.2-18.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/scalapack.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-4f9a2a368c2fa6e82f61b04b05d8d29f53ecb829/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/scalapack.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qB1Eai + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scalapack-2.0.2 + /usr/bin/mkdir -p scalapack-2.0.2 + cd scalapack-2.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/scalapack-2.0.2.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (scalapack-2.0.2-fedora.patch): + echo 'Patch #0 (scalapack-2.0.2-fedora.patch):' + /usr/bin/cat /builddir/build/SOURCES/scalapack-2.0.2-fedora.patch + /usr/bin/patch -p1 --fuzz=0 patching file scalapack-2.0.2/Makefile patching file scalapack-2.0.2/SLmake.inc Patch #1 (scalapack-2.0.2-shared-blacs.patch): + echo 'Patch #1 (scalapack-2.0.2-shared-blacs.patch):' + /usr/bin/cat /builddir/build/SOURCES/scalapack-2.0.2-shared-blacs.patch + /usr/bin/patch -p1 --fuzz=0 patching file scalapack-2.0.2/BLACS/SRC/Makefile Patch #2 (scalapack-2.0.2-missing-functions.patch): + echo 'Patch #2 (scalapack-2.0.2-missing-functions.patch):' + /usr/bin/cat /builddir/build/SOURCES/scalapack-2.0.2-missing-functions.patch + /usr/bin/patch -p1 --fuzz=0 patching file scalapack-2.0.2/SRC/Makefile + for i in mpich openmpi + cp -a scalapack-2.0.2 scalapack-2.0.2-mpich + for i in mpich openmpi + cp -a scalapack-2.0.2 scalapack-2.0.2-openmpi + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7ydyWJ + umask 022 + cd /builddir/build/BUILD + cd scalapack-2.0.2 RPM build errors: + export MPI_COMPILER_NAME=mpich + MPI_COMPILER_NAME=mpich + '%{_mpich_load}' /var/tmp/rpm-tmp.7ydyWJ: line 32: fg: no job control error: Bad exit status from /var/tmp/rpm-tmp.7ydyWJ (%build) Bad exit status from /var/tmp/rpm-tmp.7ydyWJ (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 88, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 547, in do raise exception.Error("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # bash --login -c /usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/scalapack.spec