Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/elpa.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-a9da5ac28acaa9dedb8e4dcd02756d12e7002189/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=996) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/elpa.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/elpa-2015.02.002-4.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/elpa.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-a9da5ac28acaa9dedb8e4dcd02756d12e7002189/root'shell=Falseuid=996env={'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/elpa.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.PKEmfk + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf elpa-2015.02.002 + /usr/bin/mkdir -p elpa-2015.02.002 + cd elpa-2015.02.002 + /usr/bin/gzip -dc /builddir/build/SOURCES/elpa-2015.02.002.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv elpa-2015.02.002 mpich ~/build/BUILD/elpa-2015.02.002/mpich ~/build/BUILD/elpa-2015.02.002 Patch #1 (elpa-rpm.patch): + pushd mpich + echo 'Patch #1 (elpa-rpm.patch):' + /usr/bin/cat /builddir/build/SOURCES/elpa-rpm.patch + /usr/bin/patch -p1 -b --suffix .r --fuzz=0 patching file elpa.pc.in patching file Makefile.am Patch #2 (elpa-atlas.patch): + echo 'Patch #2 (elpa-atlas.patch):' + /usr/bin/cat /builddir/build/SOURCES/elpa-atlas.patch + /usr/bin/patch -p1 -b --suffix .atlas --fuzz=0 patching file configure.ac Patch #3 (elpa-no-avx.patch): + echo 'Patch #3 (elpa-no-avx.patch):' + /usr/bin/cat /builddir/build/SOURCES/elpa-no-avx.patch + /usr/bin/patch -p1 -b --suffix .avx --fuzz=0 patching file configure.ac patching file Makefile.am + autoreconf -vifs autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force ${ACLOCAL_FLAGS} -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --force libtoolize: putting auxiliary files in `.'. libtoolize: linking file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: linking file `m4/libtool.m4' libtoolize: linking file `m4/ltoptions.m4' libtoolize: linking file `m4/ltsugar.m4' libtoolize: linking file `m4/ltversion.m4' libtoolize: linking file `m4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --force-missing Makefile.am:94: warning: wildcard modules/*: non-POSIX variable name Makefile.am:94: (probably a GNU make extension) Makefile.am:307: warning: foreach p,$(bin_PROGRAMS: non-POSIX variable name Makefile.am:307: (probably a GNU make extension) Makefile.am:307: warning: foreach o,$($p_OBJECTS: non-POSIX variable name Makefile.am:307: (probably a GNU make extension) Makefile.am:307: warning: eval $(call require_elpa_lib,$o: non-POSIX variable name Makefile.am:307: (probably a GNU make extension) Makefile.am:142: warning: compiling 'test/shared_sources/redir.c' in subdir requires 'AM_PROG_CC_C_O' in 'configure.ac' autoreconf: Leaving directory `.' ~/build/BUILD/elpa-2015.02.002 + popd + cp -pr mpich openmpi + mkdir _openmp + cp -pr mpich openmpi _openmp/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3arD8E + umask 022 + cd /builddir/build/BUILD + cd elpa-2015.02.002 + export FCFLAGS=-ffree-line-length-none + FCFLAGS=-ffree-line-length-none + . /etc/profile.d/modules.sh ++++ /bin/ps -p 23523 -ocomm= +++ /bin/basename sh ++ shell=sh ++ '[' -f /usr/share/Modules/init/sh ']' ++ . /usr/share/Modules/init/sh +++ MODULESHOME=/usr/share/Modules +++ export MODULESHOME +++ '[' '' = '' ']' +++ LOADEDMODULES= +++ export LOADEDMODULES +++ '[' /usr/share/Modules/modulefiles:/etc/modulefiles = '' ']' + module load mpi/mpich-arm ++ /usr/bin/modulecmd sh load mpi/mpich-arm + eval LD_LIBRARY_PATH=/usr/lib/mpich/lib ';export' 'LD_LIBRARY_PATH;LOADEDMODULES=mpi/mpich-arm' ';export' 'LOADEDMODULES;MANPATH=/usr/share/man/mpich:/usr/share/man:/usr/local/share/man' ';export' 'MANPATH;MPI_BIN=/usr/lib/mpich/bin' ';export' 'MPI_BIN;MPI_COMPILER=mpich-arm' ';export' 'MPI_COMPILER;MPI_FORTRAN_MOD_DIR=/usr/lib/gfortran/modules/mpich-arm' ';export' 'MPI_FORTRAN_MOD_DIR;MPI_HOME=/usr/lib/mpich' ';export' 'MPI_HOME;MPI_INCLUDE=/usr/include/mpich-arm' ';export' 'MPI_INCLUDE;MPI_LIB=/usr/lib/mpich/lib' ';export' 'MPI_LIB;MPI_MAN=/usr/share/man/mpich' ';export' 'MPI_MAN;MPI_PYTHON_SITEARCH=/usr/lib/python2.7/site-packages/mpich' ';export' 'MPI_PYTHON_SITEARCH;MPI_SUFFIX=_mpich' ';export' 'MPI_SUFFIX;MPI_SYSCONFIG=/etc/mpich-arm' ';export' 'MPI_SYSCONFIG;PATH=/usr/lib/mpich/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin' ';export' 'PATH;_LMFILES_=/etc/modulefiles/mpi/mpich-arm' ';export' '_LMFILES_;' ++ LD_LIBRARY_PATH=/usr/lib/mpich/lib ++ export LD_LIBRARY_PATH ++ LOADEDMODULES=mpi/mpich-arm ++ export LOADEDMODULES ++ MANPATH=/usr/share/man/mpich:/usr/share/man:/usr/local/share/man ++ export MANPATH ++ MPI_BIN=/usr/lib/mpich/bin ++ export MPI_BIN ++ MPI_COMPILER=mpich-arm ++ export MPI_COMPILER ++ MPI_FORTRAN_MOD_DIR=/usr/lib/gfortran/modules/mpich-arm ++ export MPI_FORTRAN_MOD_DIR ++ MPI_HOME=/usr/lib/mpich ++ export MPI_HOME ++ MPI_INCLUDE=/usr/include/mpich-arm ++ export MPI_INCLUDE ++ MPI_LIB=/usr/lib/mpich/lib ++ export MPI_LIB ++ MPI_MAN=/usr/share/man/mpich ++ export MPI_MAN ++ MPI_PYTHON_SITEARCH=/usr/lib/python2.7/site-packages/mpich ++ export MPI_PYTHON_SITEARCH ++ MPI_SUFFIX=_mpich ++ export MPI_SUFFIX ++ MPI_SYSCONFIG=/etc/mpich-arm ++ export MPI_SYSCONFIG ~/build/BUILD/elpa-2015.02.002/mpich ~/build/BUILD/elpa-2015.02.002 ++ PATH=/usr/lib/mpich/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin ++ export PATH ++ _LMFILES_=/etc/modulefiles/mpi/mpich-arm ++ export _LMFILES_ + export 'CFLAGS= -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export 'LDFLAGS=-L/usr/lib/atlas -L/usr/lib/mpich/lib' + LDFLAGS='-L/usr/lib/atlas -L/usr/lib/mpich/lib' + pushd mpich + CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS=-ffree-line-length-none + export FCFLAGS + LDFLAGS='-L/usr/lib/atlas -L/usr/lib/mpich/lib' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-silent-rules --disable-static --libdir=/usr/lib/mpich/lib 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 whether to enable maintainer-specific portions of Makefiles... no checking whether make supports nested variables... (cached) yes checking for GNU make... make checking for cpp... yes checking for GNU make... make checking for style of include used by make... GNU checking whether to compile using MPI... yes checking for armv7hl-redhat-linux-gnu-mpicc... no checking for armv7hl-redhat-linux-gnu-mpixlc_r... no checking for armv7hl-redhat-linux-gnu-mpixlc... no checking for armv7hl-redhat-linux-gnu-hcc... no checking for armv7hl-redhat-linux-gnu-mpxlc_r... no checking for armv7hl-redhat-linux-gnu-mpxlc... no checking for armv7hl-redhat-linux-gnu-sxmpicc... no checking for armv7hl-redhat-linux-gnu-mpifcc... no checking for armv7hl-redhat-linux-gnu-mpgcc... no checking for armv7hl-redhat-linux-gnu-mpcc... no checking for armv7hl-redhat-linux-gnu-cmpicc... no checking for armv7hl-redhat-linux-gnu-cc... no checking for armv7hl-redhat-linux-gnu-gcc... no checking for mpicc... mpicc checking for armv7hl-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 dependency style of mpicc... none checking for function MPI_Init... yes checking for mpi.h... yes checking for armv7hl-redhat-linux-gnu-ar... no checking for armv7hl-redhat-linux-gnu-lib... no checking for armv7hl-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking dependency style of mpicc... none checking for armv7hl-redhat-linux-gnu-mpiifort... no checking for armv7hl-redhat-linux-gnu-mpifort... no checking for armv7hl-redhat-linux-gnu-mpif95... no checking for armv7hl-redhat-linux-gnu-mpxlf95_r... no checking for armv7hl-redhat-linux-gnu-mpxlf95... no checking for armv7hl-redhat-linux-gnu-ftn... no checking for armv7hl-redhat-linux-gnu-mpif90... no checking for armv7hl-redhat-linux-gnu-mpxlf90_r... no checking for armv7hl-redhat-linux-gnu-mpxlf90... no checking for armv7hl-redhat-linux-gnu-mpf90... no checking for armv7hl-redhat-linux-gnu-cmpif90c... no checking for armv7hl-redhat-linux-gnu-sxmpif90... no checking for armv7hl-redhat-linux-gnu-mpif77... no checking for armv7hl-redhat-linux-gnu-hf77... no checking for armv7hl-redhat-linux-gnu-mpxlf_r... no checking for armv7hl-redhat-linux-gnu-mpxlf... no checking for armv7hl-redhat-linux-gnu-mpifrt... no checking for armv7hl-redhat-linux-gnu-mpf77... no checking for armv7hl-redhat-linux-gnu-cmpifc... no checking for armv7hl-redhat-linux-gnu-xlf95... no checking for armv7hl-redhat-linux-gnu-pgf95... no checking for armv7hl-redhat-linux-gnu-pathf95... no checking for armv7hl-redhat-linux-gnu-ifort... no checking for armv7hl-redhat-linux-gnu-g95... no checking for armv7hl-redhat-linux-gnu-f95... no checking for armv7hl-redhat-linux-gnu-fort... no checking for armv7hl-redhat-linux-gnu-ifc... no checking for armv7hl-redhat-linux-gnu-efc... no checking for armv7hl-redhat-linux-gnu-openf95... no checking for armv7hl-redhat-linux-gnu-sunf95... no checking for armv7hl-redhat-linux-gnu-crayftn... no checking for armv7hl-redhat-linux-gnu-gfortran... no checking for armv7hl-redhat-linux-gnu-lf95... no checking for armv7hl-redhat-linux-gnu-ftn... no checking for armv7hl-redhat-linux-gnu-xlf90... no checking for armv7hl-redhat-linux-gnu-f90... no checking for armv7hl-redhat-linux-gnu-pgf90... no checking for armv7hl-redhat-linux-gnu-pghpf... no checking for armv7hl-redhat-linux-gnu-pathf90... no checking for armv7hl-redhat-linux-gnu-epcf90... no checking for armv7hl-redhat-linux-gnu-sxf90... no checking for armv7hl-redhat-linux-gnu-openf90... no checking for armv7hl-redhat-linux-gnu-sunf90... no checking for armv7hl-redhat-linux-gnu-xlf... no checking for armv7hl-redhat-linux-gnu-f77... no checking for armv7hl-redhat-linux-gnu-frt... no checking for armv7hl-redhat-linux-gnu-pgf77... no checking for armv7hl-redhat-linux-gnu-pathf77... no checking for armv7hl-redhat-linux-gnu-g77... no checking for armv7hl-redhat-linux-gnu-cf77... no checking for armv7hl-redhat-linux-gnu-fort77... no checking for armv7hl-redhat-linux-gnu-fl32... no checking for armv7hl-redhat-linux-gnu-af77... no checking for mpiifort... no checking for mpifort... no checking for mpif95... no checking for mpxlf95_r... no checking for mpxlf95... no checking for ftn... no checking for mpif90... mpif90 checking for armv7hl-redhat-linux-gnu-gfortran... mpif90 checking whether we are using the GNU Fortran compiler... yes checking whether mpif90 accepts -g... yes checking for function MPI_INIT... yes checking for mpif.h... yes checking for armv7hl-redhat-linux-gnu-g++... no checking for armv7hl-redhat-linux-gnu-c++... no checking for armv7hl-redhat-linux-gnu-gpp... no checking for armv7hl-redhat-linux-gnu-aCC... no checking for armv7hl-redhat-linux-gnu-CC... no checking for armv7hl-redhat-linux-gnu-cxx... no checking for armv7hl-redhat-linux-gnu-cc++... no checking for armv7hl-redhat-linux-gnu-cl.exe... no checking for armv7hl-redhat-linux-gnu-FCC... no checking for armv7hl-redhat-linux-gnu-KCC... no checking for armv7hl-redhat-linux-gnu-RCC... no checking for armv7hl-redhat-linux-gnu-xlC_r... no checking for armv7hl-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking whether ELPA should be build with ftimings support... no checking whether stdout/stderr file redirect should be enabled... no checking whether SSE assembler kernel can be compiled... no checking whether we can compile a gcc intrinsic AVX program... no checking whether AVX optimization flags should be set automatically... no checking for Fortran flag needed to accept free-form source... -ffree-form checking Fortran 90 module inclusion flag... -I checking Fortran 90 module output flag... -J checking whether OpenMP usage is specified... no checking whether Fortran module iso_fortran_env is available... yes checking whether we can compile a Fortran program using MKL... no checking for library containing dgemm... no checking whether we can link a program with a blas lib... no configure: error: could not link with blas: specify path RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.3arD8E (%build) Bad exit status from /var/tmp/rpm-tmp.3arD8E (%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/elpa.spec