Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ghc-setenv.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/ghc-setenv.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1618444800 Wrote: /builddir/build/SRPMS/ghc-setenv-0.1.1.3-20.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/ghc-setenv.spec"], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/ghc-setenv.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1618444800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xoE7M0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf setenv-0.1.1.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/setenv-0.1.1.3.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd setenv-0.1.1.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -bp /builddir/build/SOURCES/setenv-0.1.1.3.cabal setenv.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IYhRS6 + umask 022 + cd /builddir/build/BUILD + cd setenv-0.1.1.3 ++ 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 -mcpu=power9 -mtune=power9 -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 -m64 -mcpu=power9 -mtune=power9 -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-setenv '--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-mcpu=power9 -optc-mtune=power9 -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/setenv-0.1.1.3 --global Configuring setenv-0.1.1.3... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for setenv-0.1.1.3.. Building library for setenv-0.1.1.3.. [1 of 1] Compiling System.SetEnv ( src/System/SetEnv.hs, dist/build/System/SetEnv.o ) [1 of 1] Compiling System.SetEnv ( src/System/SetEnv.hs, dist/build/System/SetEnv.p_o ) + '[' -n dist/build/libHSsetenv-0.1.1.3-AApHapTZwGVKX9z2HargZZ-ghc8.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for setenv-0.1.1.3.. Running Haddock on library for setenv-0.1.1.3.. 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, 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: Warning: Couldn't find .haddock for export setEnv Warning: Couldn't find .haddock for export unsetEnv 0% ( 0 / 3) in 'System.SetEnv' Missing documentation for: Module header setEnv unsetEnv Warning: System.SetEnv: could not find link destinations for: String IO Documentation created: dist/doc/html/setenv/index.html, dist/doc/html/setenv/setenv.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RhAW8j + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le + cd setenv-0.1.1.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le Installing library in /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/ghc-8.8.4/setenv-0.1.1.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d setenv-0.1.1.3.conf ']' + install -D --mode=0644 setenv-0.1.1.3.conf /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/ghc-8.8.4/package.conf.d/setenv-0.1.1.3.conf ++ ls /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/ghc-8.8.4/package.conf.d/setenv-0.1.1.3.conf + '[' -z /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/ghc-8.8.4/package.conf.d/setenv-0.1.1.3.conf ']' + rm -f ghc-setenv.files ghc-setenv-doc.files + touch ghc-setenv.files ghc-setenv-doc.files + for i in /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/libHSsetenv-0.1.1.3-*ghc8.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/libHSsetenv-0.1.1.3-AApHapTZwGVKX9z2HargZZ-ghc8.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/libHSsetenv-0.1.1.3-AApHapTZwGVKX9z2HargZZ-ghc8.8.4.so + pkgdir=/usr/lib64/ghc-8.8.4/setenv-0.1.1.3 + '[' -d /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/ghc-8.8.4/setenv-0.1.1.3 ']' + find /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/ghc-8.8.4/setenv-0.1.1.3 -type d -fprintf ghc-setenv-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-setenv-prof.files -o -fprint ghc-setenv-devel.files + ls /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/lib64/ghc-8.8.4/package.conf.d/setenv-0.1.1.3.conf + '[' -d /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/share/doc/ghc/html/libraries/setenv-0.1.1.3 ']' + 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/setenv-0.1.1.3 + for i in ghc-setenv.files ghc-setenv-devel.files ghc-setenv-doc.files ghc-setenv-prof.files + '[' -f ghc-setenv.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le!!g' ghc-setenv.files + for i in ghc-setenv.files ghc-setenv-devel.files ghc-setenv-doc.files ghc-setenv-prof.files + '[' -f ghc-setenv-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le!!g' ghc-setenv-devel.files + for i in ghc-setenv.files ghc-setenv-devel.files ghc-setenv-doc.files ghc-setenv-prof.files + '[' -f ghc-setenv-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le!!g' ghc-setenv-doc.files + for i in ghc-setenv.files ghc-setenv-devel.files ghc-setenv-doc.files ghc-setenv-prof.files + '[' -f ghc-setenv-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le!!g' ghc-setenv-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-setenv-0.1.1.3-20.el9.ppc64le Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.S6jDm1 + umask 022 + cd /builddir/build/BUILD + cd setenv-0.1.1.3 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/share/licenses/ghc-setenv + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/share/licenses/ghc-setenv + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/share/licenses/ghc-setenv + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-setenv = 0.1.1.3-20.el9 ghc-setenv(ppc-64) = 0.1.1.3-20.el9 libHSsetenv-0.1.1.3-AApHapTZwGVKX9z2HargZZ-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: libHSghc-prim-0.5.3-ghc8.8.4.so()(64bit) rtld(GNU_HASH) Processing files: ghc-setenv-devel-0.1.1.3-20.el9.ppc64le Provides: ghc-devel(setenv-0.1.1.3-AApHapTZwGVKX9z2HargZZ) ghc-setenv-devel = 0.1.1.3-20.el9 ghc-setenv-devel(ppc-64) = 0.1.1.3-20.el9 ghc-setenv-static = 0.1.1.3-20.el9 ghc-setenv-static(ppc-64) = 0.1.1.3-20.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(unix-2.7.2.2) Processing files: ghc-setenv-doc-0.1.1.3-20.el9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.b4rMHB + umask 022 + cd /builddir/build/BUILD + cd setenv-0.1.1.3 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/share/licenses/ghc-setenv-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/share/licenses/ghc-setenv-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le/usr/share/licenses/ghc-setenv-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-setenv-doc = 0.1.1.3-20.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-setenv-prof-0.1.1.3-20.el9.ppc64le Provides: ghc-prof(setenv-0.1.1.3-AApHapTZwGVKX9z2HargZZ) ghc-setenv-prof = 0.1.1.3-20.el9 ghc-setenv-prof(ppc-64) = 0.1.1.3-20.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) ghc-prof(unix-2.7.2.2) Supplements: (ghc-setenv-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le Wrote: /builddir/build/RPMS/ghc-setenv-devel-0.1.1.3-20.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/ghc-setenv-0.1.1.3-20.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/ghc-setenv-prof-0.1.1.3-20.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/ghc-setenv-doc-0.1.1.3-20.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.7VfWEr + umask 022 + cd /builddir/build/BUILD + cd setenv-0.1.1.3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-setenv-0.1.1.3-20.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0