Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-HUnit.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=1001gid=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-HUnit.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-HUnit-1.6.0.0-13.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-HUnit.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=1001gid=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-HUnit.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.MyQ1Vm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf HUnit-1.6.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/HUnit-1.6.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd HUnit-1.6.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CrAokv + umask 022 + cd /builddir/build/BUILD + cd HUnit-1.6.0.0 ++ ls ++ grep -i -e '^(ANNOUNCE|AUTHORS|CHANGELOG|CHANGES|CONTRIBUTORS|README|TODO)' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.0.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-HUnit '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64 --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-m64 -optc-march=x86-64-v2 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/HUnit-1.6.0.0 --global Configuring HUnit-1.6.0.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for HUnit-1.6.0.0.. Building library for HUnit-1.6.0.0.. [1 of 6] Compiling Paths_HUnit ( dist/build/autogen/Paths_HUnit.hs, dist/build/Paths_HUnit.o ) [2 of 6] Compiling Test.HUnit.Lang ( src/Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.o ) [3 of 6] Compiling Test.HUnit.Base ( src/Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.o ) [4 of 6] Compiling Test.HUnit.Terminal ( src/Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.o ) [5 of 6] Compiling Test.HUnit.Text ( src/Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.o ) [6 of 6] Compiling Test.HUnit ( src/Test/HUnit.hs, dist/build/Test/HUnit.o ) [1 of 6] Compiling Paths_HUnit ( dist/build/autogen/Paths_HUnit.hs, dist/build/Paths_HUnit.p_o ) [2 of 6] Compiling Test.HUnit.Lang ( src/Test/HUnit/Lang.hs, dist/build/Test/HUnit/Lang.p_o ) [3 of 6] Compiling Test.HUnit.Base ( src/Test/HUnit/Base.hs, dist/build/Test/HUnit/Base.p_o ) [4 of 6] Compiling Test.HUnit.Terminal ( src/Test/HUnit/Terminal.hs, dist/build/Test/HUnit/Terminal.p_o ) [5 of 6] Compiling Test.HUnit.Text ( src/Test/HUnit/Text.hs, dist/build/Test/HUnit/Text.p_o ) [6 of 6] Compiling Test.HUnit ( src/Test/HUnit.hs, dist/build/Test/HUnit.p_o ) + '[' -n dist/build/libHSHUnit-1.6.0.0-Jclpnuqehp8GGyrAnfCVLK-ghc8.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for HUnit-1.6.0.0.. Running Haddock on library for HUnit-1.6.0.0.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.13.0.0, call-stack-0.2.0, deepseq-1.4.4.0, ghc-prim-0.5.3, integer-gmp-1.0.2.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: 55% ( 6 / 11) in 'Test.HUnit.Lang' Missing documentation for: Module header Result (src/Test/HUnit/Lang.hs:86) HUnitFailure (src/Test/HUnit/Lang.hs:34) FailureReason (src/Test/HUnit/Lang.hs:39) formatFailureReason (src/Test/HUnit/Lang.hs:82) 100% ( 33 / 33) in 'Test.HUnit.Base' 100% ( 2 / 2) in 'Test.HUnit.Terminal' Warning: 'st' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 8 / 8) in 'Test.HUnit.Text' 100% ( 3 / 3) in 'Test.HUnit' Warning: Test.HUnit.Lang: could not find link destinations for: IO HasCallStack String Eq Show Maybe SrcLoc == Bool /= showsPrec Int ShowS show showList Exception toException SomeException fromException displayException Warning: Test.HUnit.Base: could not find link destinations for: String Show showsPrec Int ShowS show showList HasCallStack Eq IO Bool Char == /= Read readsPrec ReadS readList readPrec ReadPrec readListPrec Maybe SrcLoc Warning: Test.HUnit.Terminal: could not find link destinations for: String Warning: Test.HUnit.Text: could not find link destinations for: String Bool IO True False Handle Int ShowS show Documentation created: dist/doc/html/HUnit/index.html, dist/doc/html/HUnit/HUnit.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yDNOAx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64 + cd HUnit-1.6.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/ghc-8.8.4/HUnit-1.6.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d HUnit-1.6.0.0.conf ']' + install -D --mode=0644 HUnit-1.6.0.0.conf /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/ghc-8.8.4/package.conf.d/HUnit-1.6.0.0.conf ++ ls /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/ghc-8.8.4/package.conf.d/HUnit-1.6.0.0.conf + '[' -z /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/ghc-8.8.4/package.conf.d/HUnit-1.6.0.0.conf ']' + rm -f ghc-HUnit.files ghc-HUnit-doc.files + touch ghc-HUnit.files ghc-HUnit-doc.files + for i in /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/libHSHUnit-1.6.0.0-*ghc8.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/libHSHUnit-1.6.0.0-Jclpnuqehp8GGyrAnfCVLK-ghc8.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/libHSHUnit-1.6.0.0-Jclpnuqehp8GGyrAnfCVLK-ghc8.8.4.so + pkgdir=/usr/lib64/ghc-8.8.4/HUnit-1.6.0.0 + '[' -d /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/ghc-8.8.4/HUnit-1.6.0.0 ']' + find /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/ghc-8.8.4/HUnit-1.6.0.0 -type d -fprintf ghc-HUnit-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-HUnit-prof.files -o -fprint ghc-HUnit-devel.files + ls /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/lib64/ghc-8.8.4/package.conf.d/HUnit-1.6.0.0.conf + '[' -d /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/doc/ghc/html/libraries/HUnit-1.6.0.0 ']' + echo %dir /usr/share/doc/ghc + echo %dir /usr/share/doc/ghc/html + echo %dir /usr/share/doc/ghc/html/libraries + echo /usr/share/doc/ghc/html/libraries/HUnit-1.6.0.0 + for i in ghc-HUnit.files ghc-HUnit-devel.files ghc-HUnit-doc.files ghc-HUnit-prof.files + '[' -f ghc-HUnit.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64!!g' ghc-HUnit.files + for i in ghc-HUnit.files ghc-HUnit-devel.files ghc-HUnit-doc.files ghc-HUnit-prof.files + '[' -f ghc-HUnit-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64!!g' ghc-HUnit-devel.files + for i in ghc-HUnit.files ghc-HUnit-devel.files ghc-HUnit-doc.files ghc-HUnit-prof.files + '[' -f ghc-HUnit-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64!!g' ghc-HUnit-doc.files + for i in ghc-HUnit.files ghc-HUnit-devel.files ghc-HUnit-doc.files ghc-HUnit-prof.files + '[' -f ghc-HUnit-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64!!g' ghc-HUnit-prof.files + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.r6jBL9 + umask 022 + cd /builddir/build/BUILD + cd HUnit-1.6.0.0 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ghc-HUnit-1.6.0.0-13.el9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.M1Jlqp + umask 022 + cd /builddir/build/BUILD + cd HUnit-1.6.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/licenses/ghc-HUnit + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/licenses/ghc-HUnit + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/licenses/ghc-HUnit + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HUnit = 1.6.0.0-13.el9 ghc-HUnit(x86-64) = 1.6.0.0-13.el9 libHSHUnit-1.6.0.0-Jclpnuqehp8GGyrAnfCVLK-ghc8.8.4.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSbase-4.13.0.0-ghc8.8.4.so()(64bit) libHScall-stack-0.2.0-60bTmb9VEHP3C0mVwwOjhh-ghc8.8.4.so()(64bit) libHSghc-prim-0.5.3-ghc8.8.4.so()(64bit) rtld(GNU_HASH) Processing files: ghc-HUnit-devel-1.6.0.0-13.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GtIcvc + umask 022 + cd /builddir/build/BUILD + cd HUnit-1.6.0.0 + DOCDIR=/builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/doc/ghc-HUnit-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/doc/ghc-HUnit-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/doc/ghc-HUnit-devel + cp -pr README.md /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/doc/ghc-HUnit-devel + cp -pr examples /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/doc/ghc-HUnit-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HUnit-devel = 1.6.0.0-13.el9 ghc-HUnit-devel(x86-64) = 1.6.0.0-13.el9 ghc-HUnit-static = 1.6.0.0-13.el9 ghc-HUnit-static(x86-64) = 1.6.0.0-13.el9 ghc-devel(HUnit-1.6.0.0-Jclpnuqehp8GGyrAnfCVLK) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.13.0.0) ghc-devel(call-stack-0.2.0-60bTmb9VEHP3C0mVwwOjhh) ghc-devel(deepseq-1.4.4.0) Processing files: ghc-HUnit-doc-1.6.0.0-13.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.79h4JW + umask 022 + cd /builddir/build/BUILD + cd HUnit-1.6.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/licenses/ghc-HUnit-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/licenses/ghc-HUnit-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64/usr/share/licenses/ghc-HUnit-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-HUnit-doc = 1.6.0.0-13.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-HUnit-prof-1.6.0.0-13.el9.x86_64 Provides: ghc-HUnit-prof = 1.6.0.0-13.el9 ghc-HUnit-prof(x86-64) = 1.6.0.0-13.el9 ghc-prof(HUnit-1.6.0.0-Jclpnuqehp8GGyrAnfCVLK) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.13.0.0) ghc-prof(call-stack-0.2.0-60bTmb9VEHP3C0mVwwOjhh) ghc-prof(deepseq-1.4.4.0) Supplements: (ghc-HUnit-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64 Wrote: /builddir/build/RPMS/ghc-HUnit-1.6.0.0-13.el9.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-HUnit-devel-1.6.0.0-13.el9.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-HUnit-doc-1.6.0.0-13.el9.noarch.rpm Wrote: /builddir/build/RPMS/ghc-HUnit-prof-1.6.0.0-13.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oSjNQN + umask 022 + cd /builddir/build/BUILD + cd HUnit-1.6.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-HUnit-1.6.0.0-13.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0