Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) 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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618444800 Wrote: /builddir/build/SRPMS/ghc-rpm-macros-2.0.15-2.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64/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': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1003gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) 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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1618444800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EyQqpW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-rpm-macros-2.0.15 + /usr/bin/mkdir -p ghc-rpm-macros-2.0.15 + cd ghc-rpm-macros-2.0.15 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/COPYING /builddir/build/SOURCES/AUTHORS . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.RU4Bbq + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.0.15 no build stage + echo no build stage + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5v9Gwl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64 + cd ghc-rpm-macros-2.0.15 + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.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-2.0.15-2.el9.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-2.0.15-2.el9.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-2.0.15-2.el9.x86_64//usr/lib/rpm/ghc-deps.sh + install -p -D -m 0644 /builddir/build/SOURCES/ghc.attr /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64//usr/lib/rpm/fileattrs/ghc.attr + install -p -D -m 0644 /builddir/build/SOURCES/Setup.hs /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64//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-2.0.15-2.el9.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-2.0.15-2.el9.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-2.0.15-2.el9.x86_64//usr/bin/cabal-tweak-drop-dep + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-remove-upperbound /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64//usr/bin/cabal-tweak-remove-upperbound + install -p -D -m 0755 /builddir/build/SOURCES/ghc-pkg-wrapper /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64//usr/lib/rpm/ghc-pkg-wrapper + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/rpm/ghc-deps.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/rpm/ghc-pkg-wrapper from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cabal-tweak-dep-ver from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cabal-tweak-flag from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cabal-tweak-drop-dep from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cabal-tweak-remove-upperbound from /bin/sh to #!/usr/bin/sh Processing files: ghc-rpm-macros-2.0.15-2.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uVZnjd + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.0.15 + DOCDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64/usr/share/doc/ghc-rpm-macros + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64/usr/share/doc/ghc-rpm-macros + cp -pr AUTHORS /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64/usr/share/doc/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.0aGG6l + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.0.15 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64/usr/share/licenses/ghc-rpm-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64/usr/share/licenses/ghc-rpm-macros + cp -pr COPYING /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64/usr/share/licenses/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-rpm-macros = 2.0.15-2.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Processing files: ghc-rpm-macros-extra-2.0.15-2.el9.noarch Provides: ghc-rpm-macros-extra = 2.0.15-2.el9 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-2.0.15-2.el9.x86_64 Wrote: /builddir/build/RPMS/ghc-rpm-macros-extra-2.0.15-2.el9.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-2.0.15-2.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ime9iV + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.0.15 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-2.0.15-2.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0