Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/685971-epel-7-x86_64-1512807877.332248/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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 warning: Could not canonicalize hostname: copr-builder-930254682.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/ghc-rpm-macros-1.6.50-9.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/685971-epel-7-x86_64-1512807877.332248/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=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.h43dDV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-rpm-macros-1.6.50 + /usr/bin/mkdir -p ghc-rpm-macros-1.6.50 + cd ghc-rpm-macros-1.6.50 + /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.Wk8mgo + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-1.6.50 + echo no build stage needed no build stage needed + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.MNISTQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64 + cd ghc-rpm-macros-1.6.50 + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64//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.6.50-9.el7.centos.x86_64//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.6.50-9.el7.centos.x86_64//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.6.50-9.el7.centos.x86_64//usr/lib/rpm/ghc-deps.sh + install -p -D -m 0644 /builddir/build/SOURCES/ghc.attr /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64//usr/lib/rpm/fileattrs/ghc.attr + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-dep-ver /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64//usr/bin/cabal-tweak-dep-ver + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-flag /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64//usr/bin/cabal-tweak-flag + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-drop-dep /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64//usr/bin/cabal-tweak-drop-dep + install -p -D -m 0755 /builddir/build/SOURCES/ghc-pkg-wrapper /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64//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.6.50-9.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6UDLEj + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-1.6.50 + DOCDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64/usr/share/doc/ghc-rpm-macros-1.6.50 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64/usr/share/doc/ghc-rpm-macros-1.6.50 + cp -pr AUTHORS /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64/usr/share/doc/ghc-rpm-macros-1.6.50 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jK1iqM + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-1.6.50 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64/usr/share/licenses/ghc-rpm-macros-1.6.50 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64/usr/share/licenses/ghc-rpm-macros-1.6.50 + cp -pr COPYING /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64/usr/share/licenses/ghc-rpm-macros-1.6.50 + exit 0 Provides: ghc-rpm-macros = 1.6.50-9.el7.centos ghc-rpm-macros(x86-64) = 1.6.50-9.el7.centos 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.6.50-9.el7.centos.x86_64 Provides: ghc-rpm-macros-extra = 1.6.50-9.el7.centos ghc-rpm-macros-extra(x86-64) = 1.6.50-9.el7.centos 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.6.50-9.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-930254682.novalocal Wrote: /builddir/build/RPMS/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-extra-1.6.50-9.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yjcLib + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-1.6.50 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-1.6.50-9.el7.centos.x86_64 + exit 0 Child return code was: 0