Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ghc-old-locale.spec'], chrootPath='/var/lib/mock/eln-build-25488388-2913372/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/ghc-old-locale.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=1611619200 Wrote: /builddir/build/SRPMS/ghc-old-locale-1.0.0.7-18.eln109.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-old-locale.spec'], chrootPath='/var/lib/mock/eln-build-25488388-2913372/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/ghc-old-locale.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=1611619200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ehWN73 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf old-locale-1.0.0.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/old-locale-1.0.0.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd old-locale-1.0.0.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -bp /builddir/build/SOURCES/old-locale-1.0.0.7.cabal old-locale.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5Ewmu2 + umask 022 + cd /builddir/build/BUILD + cd old-locale-1.0.0.7 ++ 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=z13 -mtune=z14 -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + '[' -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 -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=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-old-locale '--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=z13 -optc-mtune=z14 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/old-locale-1.0.0.7 --global Configuring old-locale-1.0.0.7... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for old-locale-1.0.0.7.. Building library for old-locale-1.0.0.7.. [1 of 1] Compiling System.Locale ( System/Locale.hs, dist/build/System/Locale.o ) [1 of 1] Compiling System.Locale ( System/Locale.hs, dist/build/System/Locale.p_o ) + '[' -n dist/build/libHSold-locale-1.0.0.7-KOGgqu8HfWChZyQBUEp1c-ghc8.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for old-locale-1.0.0.7.. Running Haddock on library for old-locale-1.0.0.7.. 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: 60% ( 3 / 5) in 'System.Locale' Missing documentation for: TimeLocale (System/Locale.hs:36) defaultTimeLocale (System/Locale.hs:49) Warning: System.Locale: could not find link destinations for: String Eq == Bool /= Ord compare Ordering < <= > >= max min Show showsPrec Int ShowS show showList Maybe Documentation created: dist/doc/html/old-locale/index.html, dist/doc/html/old-locale/old-locale.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YTSzVT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x ++ dirname /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x + cd old-locale-1.0.0.7 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x Installing library in /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/ghc-8.8.4/old-locale-1.0.0.7 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d old-locale-1.0.0.7.conf ']' + install -D --mode=0644 old-locale-1.0.0.7.conf /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/ghc-8.8.4/package.conf.d/old-locale-1.0.0.7.conf ++ ls /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/ghc-8.8.4/package.conf.d/old-locale-1.0.0.7.conf + '[' -z /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/ghc-8.8.4/package.conf.d/old-locale-1.0.0.7.conf ']' + rm -f ghc-old-locale.files ghc-old-locale-doc.files + touch ghc-old-locale.files ghc-old-locale-doc.files + for i in /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/libHSold-locale-1.0.0.7-*ghc8.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/libHSold-locale-1.0.0.7-KOGgqu8HfWChZyQBUEp1c-ghc8.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/libHSold-locale-1.0.0.7-KOGgqu8HfWChZyQBUEp1c-ghc8.8.4.so + pkgdir=/usr/lib64/ghc-8.8.4/old-locale-1.0.0.7 + '[' -d /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/ghc-8.8.4/old-locale-1.0.0.7 ']' + find /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/ghc-8.8.4/old-locale-1.0.0.7 -type d -fprintf ghc-old-locale-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-old-locale-prof.files -o -fprint ghc-old-locale-devel.files + ls /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/lib64/ghc-8.8.4/package.conf.d/old-locale-1.0.0.7.conf + '[' -d /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/doc/ghc/html/libraries/old-locale-1.0.0.7 ']' + 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/old-locale-1.0.0.7 + for i in ghc-old-locale.files ghc-old-locale-devel.files ghc-old-locale-doc.files ghc-old-locale-prof.files + '[' -f ghc-old-locale.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x!!g' ghc-old-locale.files + for i in ghc-old-locale.files ghc-old-locale-devel.files ghc-old-locale-doc.files ghc-old-locale-prof.files + '[' -f ghc-old-locale-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x!!g' ghc-old-locale-devel.files + for i in ghc-old-locale.files ghc-old-locale-devel.files ghc-old-locale-doc.files ghc-old-locale-prof.files + '[' -f ghc-old-locale-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x!!g' ghc-old-locale-doc.files + for i in ghc-old-locale.files ghc-old-locale-devel.files ghc-old-locale-doc.files ghc-old-locale-prof.files + '[' -f ghc-old-locale-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x!!g' ghc-old-locale-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-old-locale-1.0.0.7-18.eln109.s390x Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Ppx5Aq + umask 022 + cd /builddir/build/BUILD + cd old-locale-1.0.0.7 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/licenses/ghc-old-locale + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/licenses/ghc-old-locale + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/licenses/ghc-old-locale + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-old-locale = 1.0.0.7-18.eln109 ghc-old-locale(s390-64) = 1.0.0.7-18.eln109 libHSold-locale-1.0.0.7-KOGgqu8HfWChZyQBUEp1c-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-old-locale-devel-1.0.0.7-18.eln109.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.sL68da + umask 022 + cd /builddir/build/BUILD + cd old-locale-1.0.0.7 + DOCDIR=/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/doc/ghc-old-locale-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/doc/ghc-old-locale-devel + cp -pr changelog.md /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/doc/ghc-old-locale-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(old-locale-1.0.0.7-KOGgqu8HfWChZyQBUEp1c) ghc-old-locale-devel = 1.0.0.7-18.eln109 ghc-old-locale-devel(s390-64) = 1.0.0.7-18.eln109 ghc-old-locale-static = 1.0.0.7-18.eln109 ghc-old-locale-static(s390-64) = 1.0.0.7-18.eln109 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-old-locale-doc-1.0.0.7-18.eln109.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jWwtvu + umask 022 + cd /builddir/build/BUILD + cd old-locale-1.0.0.7 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/licenses/ghc-old-locale-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/licenses/ghc-old-locale-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x/usr/share/licenses/ghc-old-locale-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-old-locale-doc = 1.0.0.7-18.eln109 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-old-locale-prof-1.0.0.7-18.eln109.s390x Provides: ghc-old-locale-prof = 1.0.0.7-18.eln109 ghc-old-locale-prof(s390-64) = 1.0.0.7-18.eln109 ghc-prof(old-locale-1.0.0.7-KOGgqu8HfWChZyQBUEp1c) 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-old-locale-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x Wrote: /builddir/build/RPMS/ghc-old-locale-prof-1.0.0.7-18.eln109.s390x.rpm Wrote: /builddir/build/RPMS/ghc-old-locale-doc-1.0.0.7-18.eln109.noarch.rpm Wrote: /builddir/build/RPMS/ghc-old-locale-1.0.0.7-18.eln109.s390x.rpm Wrote: /builddir/build/RPMS/ghc-old-locale-devel-1.0.0.7-18.eln109.s390x.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hR341g + umask 022 + cd /builddir/build/BUILD + cd old-locale-1.0.0.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-old-locale-1.0.0.7-18.eln109.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0