Mock Version: 2.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ghc-data-default-instances-dlist.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-data-default-instances-dlist.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-data-default-instances-dlist-0.0.1-19.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-data-default-instances-dlist.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-data-default-instances-dlist.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.Bt2N7W + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf data-default-instances-dlist-0.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/data-default-instances-dlist-0.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd data-default-instances-dlist-0.0.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.bUuPTd + umask 022 + cd /builddir/build/BUILD + cd data-default-instances-dlist-0.0.1 ++ ls ++ grep -i -e '^(ANNOUNCE|AUTHORS|CHANGELOG|CHANGES|CONTRIBUTORS|README|TODO)' ++ sed -e 's/-Wall //' -e 's/-Werror=format-security //' ++ 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 + 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-data-default-instances-dlist '--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/data-default-instances-dlist-0.0.1 --global Configuring data-default-instances-dlist-0.0.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for data-default-instances-dlist-0.0.1.. Building library for data-default-instances-dlist-0.0.1.. [1 of 1] Compiling Data.Default.Instances.DList ( Data/Default/Instances/DList.hs, dist/build/Data/Default/Instances/DList.o ) [1 of 1] Compiling Data.Default.Instances.DList ( Data/Default/Instances/DList.hs, dist/build/Data/Default/Instances/DList.p_o ) + '[' -n dist/build/libHSdata-default-instances-dlist-0.0.1-ESSNe6J8j4i2jMg7SjEIHP-ghc8.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for data-default-instances-dlist-0.0.1.. Running Haddock on library for data-default-instances-dlist-0.0.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, data-default-class-0.1.2.0, deepseq-1.4.4.0, dlist-0.8.0.8, ghc-prim-0.5.3, integer-gmp-1.0.2.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: 50% ( 1 / 2) in 'Data.Default.Instances.DList' Missing documentation for: Module header Warning: Data.Default.Instances.DList: could not find link destinations for: Default DList def Documentation created: dist/doc/html/data-default-instances-dlist/index.html, dist/doc/html/data-default-instances-dlist/data-default-instances-dlist.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GsdK9K + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x ++ dirname /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x + cd data-default-instances-dlist-0.0.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x Installing library in /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/ghc-8.8.4/data-default-instances-dlist-0.0.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d data-default-instances-dlist-0.0.1.conf ']' + install -D --mode=0644 data-default-instances-dlist-0.0.1.conf /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/ghc-8.8.4/package.conf.d/data-default-instances-dlist-0.0.1.conf ++ ls /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/ghc-8.8.4/package.conf.d/data-default-instances-dlist-0.0.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/ghc-8.8.4/package.conf.d/data-default-instances-dlist-0.0.1.conf ']' + rm -f ghc-data-default-instances-dlist.files ghc-data-default-instances-dlist-doc.files + touch ghc-data-default-instances-dlist.files ghc-data-default-instances-dlist-doc.files + for i in /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/libHSdata-default-instances-dlist-0.0.1-*ghc8.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/libHSdata-default-instances-dlist-0.0.1-ESSNe6J8j4i2jMg7SjEIHP-ghc8.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/libHSdata-default-instances-dlist-0.0.1-ESSNe6J8j4i2jMg7SjEIHP-ghc8.8.4.so + pkgdir=/usr/lib64/ghc-8.8.4/data-default-instances-dlist-0.0.1 + '[' -d /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/ghc-8.8.4/data-default-instances-dlist-0.0.1 ']' + find /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/ghc-8.8.4/data-default-instances-dlist-0.0.1 -type d -fprintf ghc-data-default-instances-dlist-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-data-default-instances-dlist-prof.files -o -fprint ghc-data-default-instances-dlist-devel.files + ls /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/lib64/ghc-8.8.4/package.conf.d/data-default-instances-dlist-0.0.1.conf + '[' -d /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/share/doc/ghc/html/libraries/data-default-instances-dlist-0.0.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/data-default-instances-dlist-0.0.1 + for i in ghc-data-default-instances-dlist.files ghc-data-default-instances-dlist-devel.files ghc-data-default-instances-dlist-doc.files ghc-data-default-instances-dlist-prof.files + '[' -f ghc-data-default-instances-dlist.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x!!g' ghc-data-default-instances-dlist.files + for i in ghc-data-default-instances-dlist.files ghc-data-default-instances-dlist-devel.files ghc-data-default-instances-dlist-doc.files ghc-data-default-instances-dlist-prof.files + '[' -f ghc-data-default-instances-dlist-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x!!g' ghc-data-default-instances-dlist-devel.files + for i in ghc-data-default-instances-dlist.files ghc-data-default-instances-dlist-devel.files ghc-data-default-instances-dlist-doc.files ghc-data-default-instances-dlist-prof.files + '[' -f ghc-data-default-instances-dlist-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x!!g' ghc-data-default-instances-dlist-doc.files + for i in ghc-data-default-instances-dlist.files ghc-data-default-instances-dlist-devel.files ghc-data-default-instances-dlist-doc.files ghc-data-default-instances-dlist-prof.files + '[' -f ghc-data-default-instances-dlist-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x!!g' ghc-data-default-instances-dlist-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-data-default-instances-dlist-0.0.1-19.el9.s390x Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oqCZ3M + umask 022 + cd /builddir/build/BUILD + cd data-default-instances-dlist-0.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/share/licenses/ghc-data-default-instances-dlist + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/share/licenses/ghc-data-default-instances-dlist + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/share/licenses/ghc-data-default-instances-dlist + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-data-default-instances-dlist = 0.0.1-19.el9 ghc-data-default-instances-dlist(s390-64) = 0.0.1-19.el9 libHSdata-default-instances-dlist-0.0.1-ESSNe6J8j4i2jMg7SjEIHP-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-data-default-instances-dlist-devel-0.0.1-19.el9.s390x Provides: ghc-data-default-instances-dlist-devel = 0.0.1-19.el9 ghc-data-default-instances-dlist-devel(s390-64) = 0.0.1-19.el9 ghc-data-default-instances-dlist-static = 0.0.1-19.el9 ghc-data-default-instances-dlist-static(s390-64) = 0.0.1-19.el9 ghc-devel(data-default-instances-dlist-0.0.1-ESSNe6J8j4i2jMg7SjEIHP) 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(data-default-class-0.1.2.0-Hn6rbGElvv4B4VdN5m2X0W) ghc-devel(dlist-0.8.0.8-CaJMcR72iYwAfRu68HJPhK) Processing files: ghc-data-default-instances-dlist-doc-0.0.1-19.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.hwWFnB + umask 022 + cd /builddir/build/BUILD + cd data-default-instances-dlist-0.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/share/licenses/ghc-data-default-instances-dlist-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/share/licenses/ghc-data-default-instances-dlist-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x/usr/share/licenses/ghc-data-default-instances-dlist-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-data-default-instances-dlist-doc = 0.0.1-19.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-data-default-instances-dlist-prof-0.0.1-19.el9.s390x Provides: ghc-data-default-instances-dlist-prof = 0.0.1-19.el9 ghc-data-default-instances-dlist-prof(s390-64) = 0.0.1-19.el9 ghc-prof(data-default-instances-dlist-0.0.1-ESSNe6J8j4i2jMg7SjEIHP) 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(data-default-class-0.1.2.0-Hn6rbGElvv4B4VdN5m2X0W) ghc-prof(dlist-0.8.0.8-CaJMcR72iYwAfRu68HJPhK) Supplements: (ghc-data-default-instances-dlist-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x Wrote: /builddir/build/RPMS/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x.rpm Wrote: /builddir/build/RPMS/ghc-data-default-instances-dlist-devel-0.0.1-19.el9.s390x.rpm Wrote: /builddir/build/RPMS/ghc-data-default-instances-dlist-prof-0.0.1-19.el9.s390x.rpm Wrote: /builddir/build/RPMS/ghc-data-default-instances-dlist-doc-0.0.1-19.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8wfA4V + umask 022 + cd /builddir/build/BUILD + cd data-default-instances-dlist-0.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-data-default-instances-dlist-0.0.1-19.el9.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0