Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-persistent-template.spec'], chrootPath='/var/lib/mock/f38-build-689674-82546/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-persistent-template.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/ghc-persistent-template-2.12.0.0-8.fc38.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-persistent-template.spec'], chrootPath='/var/lib/mock/f38-build-689674-82546/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-persistent-template.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HWSc4R + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf persistent-template-2.12.0.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/persistent-template-2.12.0.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd persistent-template-2.12.0.0 + /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.LcRE93 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd persistent-template-2.12.0.0 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f ChangeLog.md -a -x ChangeLog.md ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.md -a -x README.md ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -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.6.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-persistent-template '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/persistent-template-2.12.0.0 --global Configuring persistent-template-2.12.0.0... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for persistent-template-2.12.0.0.. Building library for persistent-template-2.12.0.0.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R6hJKl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd persistent-template-2.12.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/persistent-template-2.12.0.0 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -d persistent-template-2.12.0.0.conf ']' + install -D --mode=0644 persistent-template-2.12.0.0.conf /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/persistent-template-2.12.0.0.conf + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib ++ ls /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/persistent-template-2.12.0.0.conf + '[' -z /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/persistent-template-2.12.0.0.conf ']' + rm -f ghc-persistent-template.files ghc-persistent-template-doc.files + touch ghc-persistent-template.files ghc-persistent-template-doc.files + for i in /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6${subsubdir}/libHSpersistent-template-2.12.0.0-*ghc9.2.6.so /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSpersistent-template-2.12.0.0-*ghc9.2.6.so: not found + '[' -x '/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSpersistent-template-2.12.0.0-*ghc9.2.6.so' ']' + echo '/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSpersistent-template-2.12.0.0-*ghc9.2.6.so:' not found + pkgdir=/usr/lib64/ghc-9.2.6/lib/persistent-template-2.12.0.0 + '[' -d /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/persistent-template-2.12.0.0 ']' + rm -f ghc-persistent-template-devel.files ghc-persistent-template-prof.files + touch ghc-persistent-template-devel.files ghc-persistent-template-prof.files + ls /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/persistent-template-2.12.0.0.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/persistent-template-2.12.0.0 + '[' -d /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/doc/ghc/html/libraries/persistent-template-2.12.0.0 ']' + for i in ghc-persistent-template.files ghc-persistent-template-devel.files ghc-persistent-template-doc.files ghc-persistent-template-prof.files + '[' -f ghc-persistent-template.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64!!g' ghc-persistent-template.files + for i in ghc-persistent-template.files ghc-persistent-template-devel.files ghc-persistent-template-doc.files ghc-persistent-template-prof.files + '[' -f ghc-persistent-template-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64!!g' ghc-persistent-template-devel.files + for i in ghc-persistent-template.files ghc-persistent-template-devel.files ghc-persistent-template-doc.files ghc-persistent-template-prof.files + '[' -f ghc-persistent-template-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64!!g' ghc-persistent-template-doc.files + for i in ghc-persistent-template.files ghc-persistent-template-devel.files ghc-persistent-template-doc.files ghc-persistent-template-prof.files + '[' -f ghc-persistent-template-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64!!g' ghc-persistent-template-prof.files + echo 'running ghc_delete_rpaths:' running ghc_delete_rpaths: + type chrpath ++ find /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + mv /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/licenses/ghc-persistent-template /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/licenses/ghc-persistent-template-devel + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ghc-persistent-template-devel-2.12.0.0-8.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cTRubc + umask 022 + cd /builddir/build/BUILD + cd persistent-template-2.12.0.0 + DOCDIR=/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/doc/ghc-persistent-template-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/doc/ghc-persistent-template-devel + cp -pr ChangeLog.md /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/doc/ghc-persistent-template-devel + cp -pr README.md /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/doc/ghc-persistent-template-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mgvuiO + umask 022 + cd /builddir/build/BUILD + cd persistent-template-2.12.0.0 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/licenses/ghc-persistent-template-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/licenses/ghc-persistent-template-devel + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64/usr/share/licenses/ghc-persistent-template-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(persistent-template-2.12.0.0-K9CqbMDr0rIFmtJQsEdfGA) ghc-persistent-template-devel = 2.12.0.0-8.fc38 ghc-persistent-template-devel(riscv-64) = 2.12.0.0-8.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.16.4.0) Obsoletes: ghc-persistent-template < 2.12.0.0-8.fc38 ghc-persistent-template-prof < 2.12.0.0-8.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64 Wrote: /builddir/build/RPMS/ghc-persistent-template-devel-2.12.0.0-8.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.qm6609 + umask 022 + cd /builddir/build/BUILD + cd persistent-template-2.12.0.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-persistent-template-2.12.0.0-8.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.owEfNH + umask 022 + cd /builddir/build/BUILD + rm -rf persistent-template-2.12.0.0 persistent-template-2.12.0.0.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0