Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ghc-hspec-discover.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/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 aarch64 --nodeps /builddir/build/SPECS/ghc-hspec-discover.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1618444800 Wrote: /builddir/build/SRPMS/ghc-hspec-discover-2.7.1-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ghc-hspec-discover.spec'], chrootPath='/var/lib/mock/rocky-9-aarch64/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 aarch64 --nodeps /builddir/build/SPECS/ghc-hspec-discover.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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1618444800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2n0MKL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hspec-discover-2.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/hspec-discover-2.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hspec-discover-2.7.1 + /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.8bENuT + umask 022 + cd /builddir/build/BUILD + cd hspec-discover-2.7.1 ++ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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-hspec-discover '--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-fasynchronous-unwind-tables -optc-fstack-clash-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/hspec-discover-2.7.1 --global Configuring hspec-discover-2.7.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for hspec-discover-2.7.1.. Building library for hspec-discover-2.7.1.. [1 of 4] Compiling Paths_hspec_discover ( dist/build/autogen/Paths_hspec_discover.hs, dist/build/Paths_hspec_discover.o ) [2 of 4] Compiling Test.Hspec.Discover.Config ( src/Test/Hspec/Discover/Config.hs, dist/build/Test/Hspec/Discover/Config.o ) [3 of 4] Compiling Test.Hspec.Discover.Sort ( src/Test/Hspec/Discover/Sort.hs, dist/build/Test/Hspec/Discover/Sort.o ) [4 of 4] Compiling Test.Hspec.Discover.Run ( src/Test/Hspec/Discover/Run.hs, dist/build/Test/Hspec/Discover/Run.o ) [1 of 4] Compiling Paths_hspec_discover ( dist/build/autogen/Paths_hspec_discover.hs, dist/build/Paths_hspec_discover.p_o ) [2 of 4] Compiling Test.Hspec.Discover.Config ( src/Test/Hspec/Discover/Config.hs, dist/build/Test/Hspec/Discover/Config.p_o ) [3 of 4] Compiling Test.Hspec.Discover.Sort ( src/Test/Hspec/Discover/Sort.hs, dist/build/Test/Hspec/Discover/Sort.p_o ) [4 of 4] Compiling Test.Hspec.Discover.Run ( src/Test/Hspec/Discover/Run.hs, dist/build/Test/Hspec/Discover/Run.p_o ) Preprocessing executable 'hspec-discover' for hspec-discover-2.7.1.. Building executable 'hspec-discover' for hspec-discover-2.7.1.. [1 of 2] Compiling Main ( driver/hspec-discover.hs, dist/build/hspec-discover/hspec-discover-tmp/Main.o ) [2 of 2] Compiling Paths_hspec_discover ( dist/build/hspec-discover/autogen/Paths_hspec_discover.hs, dist/build/hspec-discover/hspec-discover-tmp/Paths_hspec_discover.o ) Linking dist/build/hspec-discover/hspec-discover ... + '[' -n dist/build/libHShspec-discover-2.7.1-Fcf3GZzHd1g5RvV5E6Q3xM-ghc8.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for hspec-discover-2.7.1.. Running Haddock on library for hspec-discover-2.7.1.. 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, bytestring-0.10.10.1, deepseq-1.4.4.0, directory-1.3.6.0, filepath-1.4.2.1, ghc-prim-0.5.3, integer-gmp-1.0.2.0, time-1.9.3, unix-2.7.2.2 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: 20% ( 1 / 5) in 'Test.Hspec.Discover.Config' Missing documentation for: Config (src/Test/Hspec/Discover/Config.hs:14) defaultConfig (src/Test/Hspec/Discover/Config.hs:21) parseConfig (src/Test/Hspec/Discover/Config.hs:35) usage (src/Test/Hspec/Discover/Config.hs:32) 0% ( 0 / 4) in 'Test.Hspec.Discover.Sort' Missing documentation for: Module header sortNaturally (src/Test/Hspec/Discover/Sort.hs:12) NaturalSortKey (src/Test/Hspec/Discover/Sort.hs:15) naturalSortKey (src/Test/Hspec/Discover/Sort.hs:21) 40% ( 4 / 10) in 'Test.Hspec.Discover.Run' Missing documentation for: run (src/Test/Hspec/Discover/Run.hs:43) Spec (src/Test/Hspec/Discover/Run.hs:38) fileToSpec (src/Test/Hspec/Discover/Run.hs:125) findSpecs (src/Test/Hspec/Discover/Run.hs:120) getFilesRecursive (src/Test/Hspec/Discover/Run.hs:144) driverWithFormatter (src/Test/Hspec/Discover/Run.hs:89) Warning: Test.Hspec.Discover.Config: could not find link destinations for: Bool Maybe String Eq == /= Show showsPrec Int ShowS show showList Either Warning: Test.Hspec.Discover.Sort: could not find link destinations for: String Eq == Bool /= Ord compare Ordering < <= > >= max min Warning: Test.Hspec.Discover.Run: could not find link destinations for: String IO FilePath Eq == Bool /= Show showsPrec Int ShowS show showList Maybe IsString fromString Documentation created: dist/doc/html/hspec-discover/index.html, dist/doc/html/hspec-discover/hspec-discover.txt Preprocessing executable 'hspec-discover' for hspec-discover-2.7.1.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UagQVa + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64 + cd hspec-discover-2.7.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64 Installing library in /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/ghc-8.8.4/hspec-discover-2.7.1 Installing executable hspec-discover in /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/bin + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d hspec-discover-2.7.1.conf ']' + install -D --mode=0644 hspec-discover-2.7.1.conf /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/ghc-8.8.4/package.conf.d/hspec-discover-2.7.1.conf ++ ls /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/ghc-8.8.4/package.conf.d/hspec-discover-2.7.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/ghc-8.8.4/package.conf.d/hspec-discover-2.7.1.conf ']' + rm -f ghc-hspec-discover.files ghc-hspec-discover-doc.files + touch ghc-hspec-discover.files ghc-hspec-discover-doc.files + for i in /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/libHShspec-discover-2.7.1-*ghc8.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/libHShspec-discover-2.7.1-Fcf3GZzHd1g5RvV5E6Q3xM-ghc8.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/libHShspec-discover-2.7.1-Fcf3GZzHd1g5RvV5E6Q3xM-ghc8.8.4.so + pkgdir=/usr/lib64/ghc-8.8.4/hspec-discover-2.7.1 + '[' -d /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/ghc-8.8.4/hspec-discover-2.7.1 ']' + find /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/ghc-8.8.4/hspec-discover-2.7.1 -type d -fprintf ghc-hspec-discover-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-hspec-discover-prof.files -o -fprint ghc-hspec-discover-devel.files + ls /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/lib64/ghc-8.8.4/package.conf.d/hspec-discover-2.7.1.conf + '[' -d /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/share/doc/ghc/html/libraries/hspec-discover-2.7.1 ']' + 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/hspec-discover-2.7.1 + for i in ghc-hspec-discover.files ghc-hspec-discover-devel.files ghc-hspec-discover-doc.files ghc-hspec-discover-prof.files + '[' -f ghc-hspec-discover.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64!!g' ghc-hspec-discover.files + for i in ghc-hspec-discover.files ghc-hspec-discover-devel.files ghc-hspec-discover-doc.files ghc-hspec-discover-prof.files + '[' -f ghc-hspec-discover-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64!!g' ghc-hspec-discover-devel.files + for i in ghc-hspec-discover.files ghc-hspec-discover-devel.files ghc-hspec-discover-doc.files ghc-hspec-discover-prof.files + '[' -f ghc-hspec-discover-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64!!g' ghc-hspec-discover-doc.files + for i in ghc-hspec-discover.files ghc-hspec-discover-devel.files ghc-hspec-discover-doc.files ghc-hspec-discover-prof.files + '[' -f ghc-hspec-discover-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64!!g' ghc-hspec-discover-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 Processing files: ghc-hspec-discover-2.7.1-5.el9.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UXrpze + umask 022 + cd /builddir/build/BUILD + cd hspec-discover-2.7.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/share/licenses/ghc-hspec-discover + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/share/licenses/ghc-hspec-discover + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/share/licenses/ghc-hspec-discover + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-hspec-discover = 2.7.1-5.el9 ghc-hspec-discover(aarch-64) = 2.7.1-5.el9 libHShspec-discover-2.7.1-Fcf3GZzHd1g5RvV5E6Q3xM-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) libHSdirectory-1.3.6.0-ghc8.8.4.so()(64bit) libHSfilepath-1.4.2.1-ghc8.8.4.so()(64bit) libHSghc-prim-0.5.3-ghc8.8.4.so()(64bit) libHSinteger-gmp-1.0.2.0-ghc8.8.4.so()(64bit) rtld(GNU_HASH) Processing files: ghc-hspec-discover-devel-2.7.1-5.el9.aarch64 Provides: ghc-devel(hspec-discover-2.7.1-Fcf3GZzHd1g5RvV5E6Q3xM) ghc-hspec-discover-devel = 2.7.1-5.el9 ghc-hspec-discover-devel(aarch-64) = 2.7.1-5.el9 ghc-hspec-discover-static = 2.7.1-5.el9 ghc-hspec-discover-static(aarch-64) = 2.7.1-5.el9 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(directory-1.3.6.0) ghc-devel(filepath-1.4.2.1) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libffi.so.8()(64bit) libffi.so.8(LIBFFI_BASE_8.0)(64bit) libffi.so.8(LIBFFI_CLOSURE_8.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.17)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) rtld(GNU_HASH) Processing files: ghc-hspec-discover-doc-2.7.1-5.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IItpLx + umask 022 + cd /builddir/build/BUILD + cd hspec-discover-2.7.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/share/licenses/ghc-hspec-discover-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/share/licenses/ghc-hspec-discover-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64/usr/share/licenses/ghc-hspec-discover-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-hspec-discover-doc = 2.7.1-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-hspec-discover-prof-2.7.1-5.el9.aarch64 Provides: ghc-hspec-discover-prof = 2.7.1-5.el9 ghc-hspec-discover-prof(aarch-64) = 2.7.1-5.el9 ghc-prof(hspec-discover-2.7.1-Fcf3GZzHd1g5RvV5E6Q3xM) 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(directory-1.3.6.0) ghc-prof(filepath-1.4.2.1) Supplements: (ghc-hspec-discover-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64 Wrote: /builddir/build/RPMS/ghc-hspec-discover-2.7.1-5.el9.aarch64.rpm Wrote: /builddir/build/RPMS/ghc-hspec-discover-doc-2.7.1-5.el9.noarch.rpm Wrote: /builddir/build/RPMS/ghc-hspec-discover-prof-2.7.1-5.el9.aarch64.rpm Wrote: /builddir/build/RPMS/ghc-hspec-discover-devel-2.7.1-5.el9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SD7ijZ + umask 022 + cd /builddir/build/BUILD + cd hspec-discover-2.7.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-hspec-discover-2.7.1-5.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0