Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/856291-epel-7-ppc64le-1549620358.373488/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.ud5se9vr:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '359719c813cf4965a582ec1d181814f0', '-D', '/var/lib/mock/856291-epel-7-ppc64le-1549620358.373488/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ud5se9vr:/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 ppc64le --nodeps /builddir/build/SPECS/ghc-rpm-macros.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: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/ghc-rpm-macros-1.9.52-1.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/856291-epel-7-ppc64le-1549620358.373488/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.ud5se9vr:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '274046b20df84e8b9b5f75776dca05d9', '-D', '/var/lib/mock/856291-epel-7-ppc64le-1549620358.373488/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ud5se9vr:/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 ppc64le --nodeps /builddir/build/SPECS/ghc-rpm-macros.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: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VBtDWq + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-rpm-macros-1.9.52 + /usr/bin/mkdir -p ghc-rpm-macros-1.9.52 + cd ghc-rpm-macros-1.9.52 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/COPYING /builddir/build/SOURCES/AUTHORS . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.v04CW9 + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-1.9.52 + echo no build stage needed no build stage needed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.uJXJWS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le + cd ghc-rpm-macros-1.9.52 + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/lib/rpm/macros.d/macros.ghc + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc-extra /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/lib/rpm/macros.d/macros.ghc-extra + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc-os /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/lib/rpm/macros.d/macros.ghc-os + install -p -D -m 0755 /builddir/build/SOURCES/ghc-deps.sh /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/lib/rpm/ghc-deps.sh + install -p -D -m 0644 /builddir/build/SOURCES/ghc.attr /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/lib/rpm/fileattrs/ghc.attr + install -p -D -m 0644 /builddir/build/SOURCES/Setup.hs /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/share/ghc-rpm-macros/Setup.hs + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-dep-ver /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/bin/cabal-tweak-dep-ver + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-flag /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/bin/cabal-tweak-flag + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-drop-dep /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/bin/cabal-tweak-drop-dep + install -p -D -m 0755 /builddir/build/SOURCES/ghc-pkg-wrapper /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le//usr/lib/rpm/ghc-pkg-wrapper + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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 Processing files: ghc-rpm-macros-1.9.52-1.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.al2jZB + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-1.9.52 + DOCDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le/usr/share/doc/ghc-rpm-macros-1.9.52 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le/usr/share/doc/ghc-rpm-macros-1.9.52 + cp -pr AUTHORS /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le/usr/share/doc/ghc-rpm-macros-1.9.52 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.imP71k + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-1.9.52 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le/usr/share/licenses/ghc-rpm-macros-1.9.52 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le/usr/share/licenses/ghc-rpm-macros-1.9.52 + cp -pr COPYING /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le/usr/share/licenses/ghc-rpm-macros-1.9.52 + exit 0 Provides: ghc-rpm-macros = 1.9.52-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Processing files: ghc-rpm-macros-extra-1.9.52-1.el7.noarch Provides: ghc-rpm-macros-extra = 1.9.52-1.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le Wrote: /builddir/build/RPMS/ghc-rpm-macros-1.9.52-1.el7.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-extra-1.9.52-1.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ayl7lw + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-1.9.52 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-1.9.52-1.el7.ppc64le + exit 0 Child return code was: 0