Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ghc-split.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/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=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ghc-split.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1618444800 Wrote: /builddir/build/SRPMS/ghc-split-0.2.3.4-5.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/ghc-split.spec'], chrootPath='/var/lib/mock/rocky-9-s390x/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=1004gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/ghc-split.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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1618444800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.TxWBue + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf split-0.2.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/split-0.2.3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd split-0.2.3.4 + /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.RMDtMR + umask 022 + cd /builddir/build/BUILD + cd split-0.2.3.4 ++ ls ++ grep -i -e '^(ANNOUNCE|AUTHORS|CHANGELOG|CHANGES|CONTRIBUTORS|README|TODO)' ++ 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=z14 -mtune=z15 -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -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=z14 -mtune=z15 -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 -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=z14 -mtune=z15 -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-split '--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-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=z14 -optc-mtune=z15 -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/split-0.2.3.4 --global Configuring split-0.2.3.4... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for split-0.2.3.4.. Building library for split-0.2.3.4.. [1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, dist/build/Data/List/Split/Internals.o ) [2 of 2] Compiling Data.List.Split ( src/Data/List/Split.hs, dist/build/Data/List/Split.o ) [1 of 2] Compiling Data.List.Split.Internals ( src/Data/List/Split/Internals.hs, dist/build/Data/List/Split/Internals.p_o ) [2 of 2] Compiling Data.List.Split ( src/Data/List/Split.hs, dist/build/Data/List/Split.p_o ) + '[' -n dist/build/libHSsplit-0.2.3.4-KyPtAwfJzED2zEIheQpqQL-ghc8.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for split-0.2.3.4.. Running Haddock on library for split-0.2.3.4.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-4.13.0.0, ghc-prim-0.5.3, integer-gmp-1.0.2.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: Warning: 'n' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'm' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 91% ( 62 / 68) in 'Data.List.Split.Internals' 90% ( 45 / 50) in 'Data.List.Split' Warning: Data.List.Split.Internals: could not find link destinations for: concat Bool Maybe Eq == /= Show showsPrec Int ShowS show String showList concatMap map lines Integral Warning: Data.List.Split: could not find link destinations for: Eq Bool lines Int Integral concat map Documentation created: dist/doc/html/split/index.html, dist/doc/html/split/split.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.eDBbYL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x ++ dirname /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x + cd split-0.2.3.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x Installing library in /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/ghc-8.8.4/split-0.2.3.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d split-0.2.3.4.conf ']' + install -D --mode=0644 split-0.2.3.4.conf /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/ghc-8.8.4/package.conf.d/split-0.2.3.4.conf ++ ls /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/ghc-8.8.4/package.conf.d/split-0.2.3.4.conf + '[' -z /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/ghc-8.8.4/package.conf.d/split-0.2.3.4.conf ']' + rm -f ghc-split.files ghc-split-doc.files + touch ghc-split.files ghc-split-doc.files + for i in /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/libHSsplit-0.2.3.4-*ghc8.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/libHSsplit-0.2.3.4-KyPtAwfJzED2zEIheQpqQL-ghc8.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/libHSsplit-0.2.3.4-KyPtAwfJzED2zEIheQpqQL-ghc8.8.4.so + pkgdir=/usr/lib64/ghc-8.8.4/split-0.2.3.4 + '[' -d /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/ghc-8.8.4/split-0.2.3.4 ']' + find /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/ghc-8.8.4/split-0.2.3.4 -type d -fprintf ghc-split-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-split-prof.files -o -fprint ghc-split-devel.files + ls /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/lib64/ghc-8.8.4/package.conf.d/split-0.2.3.4.conf + '[' -d /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/doc/ghc/html/libraries/split-0.2.3.4 ']' + 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/split-0.2.3.4 + for i in ghc-split.files ghc-split-devel.files ghc-split-doc.files ghc-split-prof.files + '[' -f ghc-split.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x!!g' ghc-split.files + for i in ghc-split.files ghc-split-devel.files ghc-split-doc.files ghc-split-prof.files + '[' -f ghc-split-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x!!g' ghc-split-devel.files + for i in ghc-split.files ghc-split-devel.files ghc-split-doc.files ghc-split-prof.files + '[' -f ghc-split-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x!!g' ghc-split-doc.files + for i in ghc-split.files ghc-split-devel.files ghc-split-doc.files ghc-split-prof.files + '[' -f ghc-split-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x!!g' ghc-split-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.dNxdXj + umask 022 + cd /builddir/build/BUILD + cd split-0.2.3.4 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ghc-split-0.2.3.4-5.el9.s390x Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.R0fzHQ + umask 022 + cd /builddir/build/BUILD + cd split-0.2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/licenses/ghc-split + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/licenses/ghc-split + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/licenses/ghc-split + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-split = 0.2.3.4-5.el9 ghc-split(s390-64) = 0.2.3.4-5.el9 libHSsplit-0.2.3.4-KyPtAwfJzED2zEIheQpqQL-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) libHSghc-prim-0.5.3-ghc8.8.4.so()(64bit) rtld(GNU_HASH) Processing files: ghc-split-devel-0.2.3.4-5.el9.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wZKb4V + umask 022 + cd /builddir/build/BUILD + cd split-0.2.3.4 + DOCDIR=/builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/doc/ghc-split-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/doc/ghc-split-devel + cp -pr CHANGES /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/doc/ghc-split-devel + cp -pr README /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/doc/ghc-split-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(split-0.2.3.4-KyPtAwfJzED2zEIheQpqQL) ghc-split-devel = 0.2.3.4-5.el9 ghc-split-devel(s390-64) = 0.2.3.4-5.el9 ghc-split-static = 0.2.3.4-5.el9 ghc-split-static(s390-64) = 0.2.3.4-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) Processing files: ghc-split-doc-0.2.3.4-5.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oMYeEO + umask 022 + cd /builddir/build/BUILD + cd split-0.2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/licenses/ghc-split-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/licenses/ghc-split-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x/usr/share/licenses/ghc-split-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-split-doc = 0.2.3.4-5.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-split-prof-0.2.3.4-5.el9.s390x Provides: ghc-prof(split-0.2.3.4-KyPtAwfJzED2zEIheQpqQL) ghc-split-prof = 0.2.3.4-5.el9 ghc-split-prof(s390-64) = 0.2.3.4-5.el9 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) Supplements: (ghc-split-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x Wrote: /builddir/build/RPMS/ghc-split-0.2.3.4-5.el9.s390x.rpm Wrote: /builddir/build/RPMS/ghc-split-devel-0.2.3.4-5.el9.s390x.rpm Wrote: /builddir/build/RPMS/ghc-split-prof-0.2.3.4-5.el9.s390x.rpm Wrote: /builddir/build/RPMS/ghc-split-doc-0.2.3.4-5.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ao2pxv + umask 022 + cd /builddir/build/BUILD + cd split-0.2.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-split-0.2.3.4-5.el9.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0