Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-extensible-exceptions.spec'], chrootPath='/var/lib/mock/f33-build-287539-53839/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-extensible-exceptions.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/ghc-extensible-exceptions-0.1.1.4-32.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-extensible-exceptions.spec'], chrootPath='/var/lib/mock/f33-build-287539-53839/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-extensible-exceptions.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.IBOnoD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf extensible-exceptions-0.1.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/extensible-exceptions-0.1.1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd extensible-exceptions-0.1.1.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.CVT6WE + umask 022 + cd /builddir/build/BUILD + cd extensible-exceptions-0.1.1.4 + 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 -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 2.4.0.1 + '[' -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 -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ / -optc/g' ++ sed -e 's/ / -optl/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-extensible-exceptions '--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-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/extensible-exceptions-0.1.1.4 --global Configuring extensible-exceptions-0.1.1.4... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for extensible-exceptions-0.1.1.4.. Building library for extensible-exceptions-0.1.1.4.. [1 of 1] Compiling Control.Exception.Extensible ( Control/Exception/Extensible.hs, dist/build/Control/Exception/Extensible.o ) [1 of 1] Compiling Control.Exception.Extensible ( Control/Exception/Extensible.hs, dist/build/Control/Exception/Extensible.p_o ) + '[' -n dist/build/libHSextensible-exceptions-0.1.1.4-KI0dG6kQM84KnSzvR2Yb0-ghc8.6.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for extensible-exceptions-0.1.1.4.. Running Haddock on library for extensible-exceptions-0.1.1.4.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-4.12.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: Control.Exception.Extensible: Could not find documentation for exported module: Control.Exception 100% ( 1 / 1) in 'Control.Exception.Extensible' Documentation created: dist/doc/html/extensible-exceptions/index.html, dist/doc/html/extensible-exceptions/extensible-exceptions.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lNFazG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64 + cd extensible-exceptions-0.1.1.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/ghc-8.6.5/extensible-exceptions-0.1.1.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d extensible-exceptions-0.1.1.4.conf ']' + install -D --mode=0644 extensible-exceptions-0.1.1.4.conf /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/ghc-8.6.5/package.conf.d/extensible-exceptions-0.1.1.4.conf ++ ls /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/ghc-8.6.5/package.conf.d/extensible-exceptions-0.1.1.4.conf + '[' -z /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/ghc-8.6.5/package.conf.d/extensible-exceptions-0.1.1.4.conf ']' + rm -f ghc-extensible-exceptions.files ghc-extensible-exceptions-doc.files + touch ghc-extensible-exceptions.files ghc-extensible-exceptions-doc.files + for i in /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/libHSextensible-exceptions-0.1.1.4-*ghc8.6.5.so + '[' -x /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/libHSextensible-exceptions-0.1.1.4-KI0dG6kQM84KnSzvR2Yb0-ghc8.6.5.so ']' + echo /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/libHSextensible-exceptions-0.1.1.4-KI0dG6kQM84KnSzvR2Yb0-ghc8.6.5.so + pkgdir=/usr/lib64/ghc-8.6.5/extensible-exceptions-0.1.1.4 + '[' -d /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/ghc-8.6.5/extensible-exceptions-0.1.1.4 ']' + find /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/ghc-8.6.5/extensible-exceptions-0.1.1.4 -type d -fprintf ghc-extensible-exceptions-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-extensible-exceptions-prof.files -o -fprint ghc-extensible-exceptions-devel.files + ls /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/lib64/ghc-8.6.5/package.conf.d/extensible-exceptions-0.1.1.4.conf + '[' -d /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/share/doc/ghc/html/libraries/extensible-exceptions-0.1.1.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/extensible-exceptions-0.1.1.4 + for i in ghc-extensible-exceptions.files ghc-extensible-exceptions-devel.files ghc-extensible-exceptions-doc.files ghc-extensible-exceptions-prof.files + '[' -f ghc-extensible-exceptions.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64!!g' ghc-extensible-exceptions.files + for i in ghc-extensible-exceptions.files ghc-extensible-exceptions-devel.files ghc-extensible-exceptions-doc.files ghc-extensible-exceptions-prof.files + '[' -f ghc-extensible-exceptions-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64!!g' ghc-extensible-exceptions-devel.files + for i in ghc-extensible-exceptions.files ghc-extensible-exceptions-devel.files ghc-extensible-exceptions-doc.files ghc-extensible-exceptions-prof.files + '[' -f ghc-extensible-exceptions-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64!!g' ghc-extensible-exceptions-doc.files + for i in ghc-extensible-exceptions.files ghc-extensible-exceptions-devel.files ghc-extensible-exceptions-doc.files ghc-extensible-exceptions-prof.files + '[' -f ghc-extensible-exceptions-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64!!g' ghc-extensible-exceptions-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-extensible-exceptions-0.1.1.4-32.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yyp4YE + umask 022 + cd /builddir/build/BUILD + cd extensible-exceptions-0.1.1.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/share/licenses/ghc-extensible-exceptions + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/share/licenses/ghc-extensible-exceptions + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/share/licenses/ghc-extensible-exceptions + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-extensible-exceptions = 0.1.1.4-32.fc33 ghc-extensible-exceptions(riscv-64) = 0.1.1.4-32.fc33 libHSextensible-exceptions-0.1.1.4-KI0dG6kQM84KnSzvR2Yb0-ghc8.6.5.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.6.5.so()(64bit) rtld(GNU_HASH) Processing files: ghc-extensible-exceptions-devel-0.1.1.4-32.fc33.riscv64 Provides: ghc-devel(extensible-exceptions-0.1.1.4-KI0dG6kQM84KnSzvR2Yb0) ghc-extensible-exceptions-devel = 0.1.1.4-32.fc33 ghc-extensible-exceptions-devel(riscv-64) = 0.1.1.4-32.fc33 ghc-extensible-exceptions-static = 0.1.1.4-32.fc33 ghc-extensible-exceptions-static(riscv-64) = 0.1.1.4-32.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.12.0.0) Processing files: ghc-extensible-exceptions-doc-0.1.1.4-32.fc33.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.D8g4xH + umask 022 + cd /builddir/build/BUILD + cd extensible-exceptions-0.1.1.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/share/licenses/ghc-extensible-exceptions-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/share/licenses/ghc-extensible-exceptions-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64/usr/share/licenses/ghc-extensible-exceptions-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-extensible-exceptions-doc = 0.1.1.4-32.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-extensible-exceptions-prof-0.1.1.4-32.fc33.riscv64 Provides: ghc-extensible-exceptions-prof = 0.1.1.4-32.fc33 ghc-extensible-exceptions-prof(riscv-64) = 0.1.1.4-32.fc33 ghc-prof(extensible-exceptions-0.1.1.4-KI0dG6kQM84KnSzvR2Yb0) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.12.0.0) Supplements: (ghc-extensible-exceptions-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64 Wrote: /builddir/build/RPMS/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-extensible-exceptions-prof-0.1.1.4-32.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-extensible-exceptions-devel-0.1.1.4-32.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-extensible-exceptions-doc-0.1.1.4-32.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dKsDxH + umask 022 + cd /builddir/build/BUILD + cd extensible-exceptions-0.1.1.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-extensible-exceptions-0.1.1.4-32.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0