Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-regex-base.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-regex-base.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-regex-base-0.94.0.0-5.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-regex-base.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-regex-base.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.lqmzLm + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf regex-base-0.94.0.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/regex-base-0.94.0.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd regex-base-0.94.0.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -bp /builddir/build/SOURCES/regex-base-0.94.0.0.cabal regex-base.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KQ2bBJ + umask 022 + cd /builddir/build/BUILD + cd regex-base-0.94.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.hs, 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-regex-base '--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/regex-base-0.94.0.0 --global Configuring regex-base-0.94.0.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for regex-base-0.94.0.0.. Building library for regex-base-0.94.0.0.. [1 of 5] Compiling Paths_regex_base ( dist/build/autogen/Paths_regex_base.hs, dist/build/Paths_regex_base.o ) [2 of 5] Compiling Text.Regex.Base.RegexLike ( src/Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o ) [3 of 5] Compiling Text.Regex.Base.Context ( src/Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o ) [4 of 5] Compiling Text.Regex.Base ( src/Text/Regex/Base.hs, dist/build/Text/Regex/Base.o ) [5 of 5] Compiling Text.Regex.Base.Impl ( src/Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.o ) [1 of 5] Compiling Paths_regex_base ( dist/build/autogen/Paths_regex_base.hs, dist/build/Paths_regex_base.p_o ) [2 of 5] Compiling Text.Regex.Base.RegexLike ( src/Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.p_o ) [3 of 5] Compiling Text.Regex.Base.Context ( src/Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.p_o ) [4 of 5] Compiling Text.Regex.Base ( src/Text/Regex/Base.hs, dist/build/Text/Regex/Base.p_o ) [5 of 5] Compiling Text.Regex.Base.Impl ( src/Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.p_o ) + '[' -n dist/build/libHSregex-base-0.94.0.0-3lEao9661mNAzgJWClRz5I-ghc8.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for regex-base-0.94.0.0.. Running Haddock on library for regex-base-0.94.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, binary-0.8.7.0, bytestring-0.10.10.1, containers-0.6.2.1, deepseq-1.4.4.0, ghc-boot-th-8.8.4, ghc-prim-0.5.3, integer-gmp-1.0.2.0, mtl-2.2.2, pretty-1.1.3.6, template-haskell-2.15.0.0, text-1.2.4.0, transformers-0.5.6.2 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: Warning: 'MonadError' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'target' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'fail' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'regex' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'source' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 94% ( 17 / 18) in 'Text.Regex.Base.RegexLike' Missing documentation for: MatchText (src/Text/Regex/Base/RegexLike.hs:59) Warning: 'a' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'RegexMaker' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'b' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'c' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 100% ( 1 / 1) in 'Text.Regex.Base.Context' 75% ( 3 / 4) in 'Text.Regex.Base' Missing documentation for: getVersion_Text_Regex_Base (src/Text/Regex/Base.hs:79) 33% ( 1 / 3) in 'Text.Regex.Base.Impl' Missing documentation for: polymatch (src/Text/Regex/Base/Impl.hs:59) polymatchM (src/Text/Regex/Base/Impl.hs:65) Warning: Text.Regex.Base.RegexLike: could not find link destinations for: Int Array MonadFail Maybe Bool String ByteString ByteString Text Text Seq Warning: Text.Regex.Base.Context: could not find link destinations for: MonadFail Int Bool Array fail Warning: Text.Regex.Base: could not find link destinations for: Version Warning: Text.Regex.Base.Impl: could not find link destinations for: MonadFail Documentation created: dist/doc/html/regex-base/index.html, dist/doc/html/regex-base/regex-base.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vg1GRf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64 + cd regex-base-0.94.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/ghc-8.8.4/regex-base-0.94.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d regex-base-0.94.0.0.conf ']' + install -D --mode=0644 regex-base-0.94.0.0.conf /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/ghc-8.8.4/package.conf.d/regex-base-0.94.0.0.conf ++ ls /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/ghc-8.8.4/package.conf.d/regex-base-0.94.0.0.conf + '[' -z /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/ghc-8.8.4/package.conf.d/regex-base-0.94.0.0.conf ']' + rm -f ghc-regex-base.files ghc-regex-base-doc.files + touch ghc-regex-base.files ghc-regex-base-doc.files + for i in /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/libHSregex-base-0.94.0.0-*ghc8.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/libHSregex-base-0.94.0.0-3lEao9661mNAzgJWClRz5I-ghc8.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/libHSregex-base-0.94.0.0-3lEao9661mNAzgJWClRz5I-ghc8.8.4.so + pkgdir=/usr/lib64/ghc-8.8.4/regex-base-0.94.0.0 + '[' -d /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/ghc-8.8.4/regex-base-0.94.0.0 ']' + find /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/ghc-8.8.4/regex-base-0.94.0.0 -type d -fprintf ghc-regex-base-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-regex-base-prof.files -o -fprint ghc-regex-base-devel.files + ls /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/lib64/ghc-8.8.4/package.conf.d/regex-base-0.94.0.0.conf + '[' -d /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/doc/ghc/html/libraries/regex-base-0.94.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/regex-base-0.94.0.0 + for i in ghc-regex-base.files ghc-regex-base-devel.files ghc-regex-base-doc.files ghc-regex-base-prof.files + '[' -f ghc-regex-base.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64!!g' ghc-regex-base.files + for i in ghc-regex-base.files ghc-regex-base-devel.files ghc-regex-base-doc.files ghc-regex-base-prof.files + '[' -f ghc-regex-base-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64!!g' ghc-regex-base-devel.files + for i in ghc-regex-base.files ghc-regex-base-devel.files ghc-regex-base-doc.files ghc-regex-base-prof.files + '[' -f ghc-regex-base-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64!!g' ghc-regex-base-doc.files + for i in ghc-regex-base.files ghc-regex-base-devel.files ghc-regex-base-doc.files ghc-regex-base-prof.files + '[' -f ghc-regex-base-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64!!g' ghc-regex-base-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-regex-base-0.94.0.0-5.el9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.8vnCBq + umask 022 + cd /builddir/build/BUILD + cd regex-base-0.94.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/licenses/ghc-regex-base + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/licenses/ghc-regex-base + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/licenses/ghc-regex-base + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-regex-base = 0.94.0.0-5.el9 ghc-regex-base(x86-64) = 0.94.0.0-5.el9 libHSregex-base-0.94.0.0-3lEao9661mNAzgJWClRz5I-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) libHSbytestring-0.10.10.1-ghc8.8.4.so()(64bit) libHScontainers-0.6.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) libHStext-1.2.4.0-ghc8.8.4.so()(64bit) rtld(GNU_HASH) Processing files: ghc-regex-base-devel-0.94.0.0-5.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UsEFAv + umask 022 + cd /builddir/build/BUILD + cd regex-base-0.94.0.0 + DOCDIR=/builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/doc/ghc-regex-base-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/doc/ghc-regex-base-devel + cp -pr ChangeLog.md /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/doc/ghc-regex-base-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(regex-base-0.94.0.0-3lEao9661mNAzgJWClRz5I) ghc-regex-base-devel = 0.94.0.0-5.el9 ghc-regex-base-devel(x86-64) = 0.94.0.0-5.el9 ghc-regex-base-static = 0.94.0.0-5.el9 ghc-regex-base-static(x86-64) = 0.94.0.0-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(array-0.5.4.0) ghc-devel(base-4.13.0.0) ghc-devel(bytestring-0.10.10.1) ghc-devel(containers-0.6.2.1) ghc-devel(mtl-2.2.2) ghc-devel(text-1.2.4.0) Processing files: ghc-regex-base-doc-0.94.0.0-5.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ldljH8 + umask 022 + cd /builddir/build/BUILD + cd regex-base-0.94.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/licenses/ghc-regex-base-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/licenses/ghc-regex-base-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64/usr/share/licenses/ghc-regex-base-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-regex-base-doc = 0.94.0.0-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-regex-base-prof-0.94.0.0-5.el9.x86_64 Provides: ghc-prof(regex-base-0.94.0.0-3lEao9661mNAzgJWClRz5I) ghc-regex-base-prof = 0.94.0.0-5.el9 ghc-regex-base-prof(x86-64) = 0.94.0.0-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(array-0.5.4.0) ghc-prof(base-4.13.0.0) ghc-prof(bytestring-0.10.10.1) ghc-prof(containers-0.6.2.1) ghc-prof(mtl-2.2.2) ghc-prof(text-1.2.4.0) Supplements: (ghc-regex-base-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64 Wrote: /builddir/build/RPMS/ghc-regex-base-0.94.0.0-5.el9.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-regex-base-prof-0.94.0.0-5.el9.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-regex-base-devel-0.94.0.0-5.el9.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-regex-base-doc-0.94.0.0-5.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ZRKbnI + umask 022 + cd /builddir/build/BUILD + cd regex-base-0.94.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-regex-base-0.94.0.0-5.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0