Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/wrap.spec'], chrootPath='/var/lib/mock/838324-epel-7-x86_64-1545143181.523799/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8sdi31k7:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '055286e827e0466abdd3f5432d4c5ca0', '-D', '/var/lib/mock/838324-epel-7-x86_64-1545143181.523799/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8sdi31k7:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/wrap.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/wrap-20170511-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/wrap.spec'], chrootPath='/var/lib/mock/838324-epel-7-x86_64-1545143181.523799/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=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8sdi31k7:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dc506cb0538b418d8291273e1fb6f9a4', '-D', '/var/lib/mock/838324-epel-7-x86_64-1545143181.523799/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8sdi31k7:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/wrap.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xFJj3j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 + /usr/bin/gzip -dc /builddir/build/SOURCES/wrap-20c2866.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (wrap-deprecated.patch):' Patch #1 (wrap-deprecated.patch): + /usr/bin/cat /builddir/build/SOURCES/wrap-deprecated.patch + /usr/bin/patch -p1 --fuzz=0 patching file wrap.py + sed -i 's,bin/env python$,bin/python3,' wrap.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kUm3uT + umask 022 + cd /builddir/build/BUILD + cd wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.jZUhXs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64 + cd wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 + install -Dp wrap.py /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/bin/wrap.py + install -Dp WrapConfig.cmake /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/cmake/WrapConfig.cmake + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.a9hgE2 + umask 022 + cd /builddir/build/BUILD + cd wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 + . /etc/profile.d/modules.sh BUILDSTDERR: ++++ /bin/ps -p 85 -ocomm= BUILDSTDERR: +++ /bin/basename sh BUILDSTDERR: ++ shell=sh BUILDSTDERR: ++ '[' -f /usr/share/Modules/init/sh ']' BUILDSTDERR: ++ . /usr/share/Modules/init/sh BUILDSTDERR: +++ MODULESHOME=/usr/share/Modules BUILDSTDERR: +++ export MODULESHOME BUILDSTDERR: +++ '[' '' = '' ']' BUILDSTDERR: +++ LOADEDMODULES= BUILDSTDERR: +++ export LOADEDMODULES BUILDSTDERR: +++ '[' /usr/share/Modules/modulefiles:/etc/modulefiles = '' ']' + module load mpi/openmpi-x86_64 BUILDSTDERR: ++ /usr/bin/modulecmd sh load mpi/openmpi-x86_64 + eval LD_LIBRARY_PATH=/usr/lib64/openmpi/lib ';export' 'LD_LIBRARY_PATH;LOADEDMODULES=mpi/openmpi-x86_64' ';export' 'LOADEDMODULES;MANPATH=/usr/share/man/openmpi-x86_64:/usr/share/man:/usr/local/share/man' ';export' 'MANPATH;MPI_BIN=/usr/lib64/openmpi/bin' ';export' 'MPI_BIN;MPI_COMPILER=openmpi-x86_64' ';export' 'MPI_COMPILER;MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/openmpi-x86_64' ';export' 'MPI_FORTRAN_MOD_DIR;MPI_HOME=/usr/lib64/openmpi' ';export' 'MPI_HOME;MPI_INCLUDE=/usr/include/openmpi-x86_64' ';export' 'MPI_INCLUDE;MPI_LIB=/usr/lib64/openmpi/lib' ';export' 'MPI_LIB;MPI_MAN=/usr/share/man/openmpi-x86_64' ';export' 'MPI_MAN;MPI_PYTHON_SITEARCH=/usr/lib64/python2.7/site-packages/openmpi' ';export' 'MPI_PYTHON_SITEARCH;MPI_SUFFIX=_openmpi' ';export' 'MPI_SUFFIX;MPI_SYSCONFIG=/etc/openmpi-x86_64' ';export' 'MPI_SYSCONFIG;PATH=/usr/lib64/openmpi/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin' ';export' 'PATH;PYTHONPATH=/usr/lib64/python2.7/site-packages/openmpi' ';export' 'PYTHONPATH;_LMFILES_=/etc/modulefiles/mpi/openmpi-x86_64' ';export' '_LMFILES_;' BUILDSTDERR: ++ LD_LIBRARY_PATH=/usr/lib64/openmpi/lib BUILDSTDERR: ++ export LD_LIBRARY_PATH BUILDSTDERR: ++ LOADEDMODULES=mpi/openmpi-x86_64 BUILDSTDERR: ++ export LOADEDMODULES BUILDSTDERR: ++ MANPATH=/usr/share/man/openmpi-x86_64:/usr/share/man:/usr/local/share/man BUILDSTDERR: ++ export MANPATH BUILDSTDERR: ++ MPI_BIN=/usr/lib64/openmpi/bin BUILDSTDERR: ++ export MPI_BIN BUILDSTDERR: ++ MPI_COMPILER=openmpi-x86_64 BUILDSTDERR: ++ export MPI_COMPILER BUILDSTDERR: ++ MPI_FORTRAN_MOD_DIR=/usr/lib64/gfortran/modules/openmpi-x86_64 BUILDSTDERR: ++ export MPI_FORTRAN_MOD_DIR BUILDSTDERR: ++ MPI_HOME=/usr/lib64/openmpi BUILDSTDERR: ++ export MPI_HOME BUILDSTDERR: ++ MPI_INCLUDE=/usr/include/openmpi-x86_64 BUILDSTDERR: ++ export MPI_INCLUDE BUILDSTDERR: ++ MPI_LIB=/usr/lib64/openmpi/lib BUILDSTDERR: ++ export MPI_LIB BUILDSTDERR: ++ MPI_MAN=/usr/share/man/openmpi-x86_64 BUILDSTDERR: ++ export MPI_MAN 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-x86_64 BUILDSTDERR: ++ export MPI_SYSCONFIG BUILDSTDERR: ++ PATH=/usr/lib64/openmpi/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin BUILDSTDERR: ++ export PATH BUILDSTDERR: ++ PYTHONPATH=/usr/lib64/python2.7/site-packages/openmpi BUILDSTDERR: ++ export PYTHONPATH BUILDSTDERR: ++ _LMFILES_=/etc/modulefiles/mpi/openmpi-x86_64 BUILDSTDERR: ++ 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 -m64 -mtune=generic' + CFLAGS=' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + cd examples + /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/bin/wrap.py -D world48.w + echo 'main () {return 0;}' + mpicxx main.c world48.C + rm world48.C main.c a.out + exit 0 Processing files: wrap-20170511-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WeRLvE + umask 022 + cd /builddir/build/BUILD + cd wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 + DOCDIR=/builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/doc/wrap-20170511 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/doc/wrap-20170511 + cp -pr README.md /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/doc/wrap-20170511 + cp -pr FAQ /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/doc/wrap-20170511 + cp -pr examples /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/doc/wrap-20170511 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UPwMog + umask 022 + cd /builddir/build/BUILD + cd wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 + LICENSEDIR=/builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/licenses/wrap-20170511 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/licenses/wrap-20170511 + cp -pr LICENSE /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64/usr/share/licenses/wrap-20170511 + exit 0 Provides: wrap = 20170511-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64 Wrote: /builddir/build/RPMS/wrap-20170511-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hj6iDu + umask 022 + cd /builddir/build/BUILD + cd wrap-20c286659ca09c253a8283bb6ff7c1a9226194f8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wrap-20170511-1.el7.x86_64 + exit 0 Child return code was: 0