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/cabal-rpm.spec'], chrootPath='/var/lib/mock/f41-build-840913-161014/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cabal-rpm.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=1723593600 Wrote: /builddir/build/SRPMS/cabal-rpm-2.2.1-3.rvre0.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cabal-rpm.spec'], chrootPath='/var/lib/mock/f41-build-840913-161014/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cabal-rpm.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=1723593600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.F4GPkf + umask 022 + cd /builddir/build/BUILD/cabal-rpm-2.2.1-build + test -d /builddir/build/BUILD/cabal-rpm-2.2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/cabal-rpm-2.2.1-build + /usr/bin/rm -rf /builddir/build/BUILD/cabal-rpm-2.2.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/cabal-rpm-2.2.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/cabal-rpm-2.2.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1GbZ3Q + umask 022 + cd /builddir/build/BUILD/cabal-rpm-2.2.1-build + cd /builddir/build/BUILD/cabal-rpm-2.2.1-build + rm -rf cabal-rpm-2.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cabal-rpm-2.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cabal-rpm-2.2.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.KYoK09 + umask 022 + cd /builddir/build/BUILD/cabal-rpm-2.2.1-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 -fno-omit-frame-pointer -mno-omit-leaf-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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 cabal-rpm-2.2.1 ++ 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\)') ==== Build %{pkg_name}-2.2.1 ==== + '[' -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 ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f TODO -a -x TODO ']' + echo -e '\n==== Build %{pkg_name}-2.2.1 ====' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking 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 -fno-omit-frame-pointer -mno-omit-leaf-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/cabal-rpm '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.6.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-fno-omit-frame-pointer -optc-mno-omit-leaf-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' Configuring cabal-rpm-2.2.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing executable 'cabal-rpm' for cabal-rpm-2.2.1.. Building executable 'cabal-rpm' for cabal-rpm-2.2.1.. [ 1 of 19] Compiling FileUtils [ 2 of 19] Compiling Header [ 3 of 19] Compiling Paths_cabal_rpm [ 4 of 19] Compiling Stackage.MajorVer [ 5 of 19] Compiling Stackage.Snapshots [ 6 of 19] Compiling SysCmd [ 7 of 19] Compiling Types [ 8 of 19] Compiling Stackage [ 9 of 19] Compiling PackageUtils [10 of 19] Compiling Dependencies [11 of 19] Compiling Commands.Spec [12 of 19] Compiling Commands.Update [13 of 19] Compiling Commands.RpmBuild [14 of 19] Compiling Commands.Refresh [15 of 19] Compiling Commands.Install [16 of 19] Compiling Commands.Diff [17 of 19] Compiling Commands.Depends [18 of 19] Compiling Commands.BuildDep [19 of 19] Compiling Main [20 of 20] Linking dist/build/cabal-rpm/cabal-rpm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p0Om2Q + umask 022 + cd /builddir/build/BUILD/cabal-rpm-2.2.1-build + '[' /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/cabal-rpm-2.2.1-build + mkdir /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT + 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 -fno-omit-frame-pointer -mno-omit-leaf-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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + 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 cabal-rpm-2.2.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT Installing executable cabal-rpm in /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/bin Warning: Executable installed in /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/bin + echo 'deleting rpaths:' deleting rpaths: + type chrpath ++ find /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/bin/cabal-rpm ++ sed -e 's@^/builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/bin/cabal-rpm: R.*PATH=@@' + rpath='/builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/bin/cabal-rpm: no rpath or runpath tag found.' + case "$rpath" in + mkdir -p /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/bash-completion/completions + /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/bin/cabal-rpm --bash-completion-script cabal-rpm + sed s/filenames/default/ + mkdir -p /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/man/man1/ + help2man --no-info /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/bin/cabal-rpm + ln -s cabal-rpm /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/bin/cblrpm + sed -i -e 's/ _cabal-rpm / _cabal-rpm cblrpm /' /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/bash-completion/completions/cabal-rpm + ln -s cabal-rpm /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/bash-completion/completions/cblrpm + ln -s cabal-rpm.1 /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/man/man1/cblrpm.1 + /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 + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT Scanned 10 directories and 7 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/cabal-rpm-2.2.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: cabal-rpm-2.2.1-3.rvre0.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.30S0jt + umask 022 + cd /builddir/build/BUILD/cabal-rpm-2.2.1-build + cd cabal-rpm-2.2.1 + DOCDIR=/builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/doc/cabal-rpm + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/doc/cabal-rpm + cp -pr /builddir/build/BUILD/cabal-rpm-2.2.1-build/cabal-rpm-2.2.1/ChangeLog.md /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/doc/cabal-rpm + cp -pr /builddir/build/BUILD/cabal-rpm-2.2.1-build/cabal-rpm-2.2.1/README.md /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/doc/cabal-rpm + cp -pr /builddir/build/BUILD/cabal-rpm-2.2.1-build/cabal-rpm-2.2.1/TODO /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/doc/cabal-rpm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.yJusIK + umask 022 + cd /builddir/build/BUILD/cabal-rpm-2.2.1-build + cd cabal-rpm-2.2.1 + LICENSEDIR=/builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/licenses/cabal-rpm + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/licenses/cabal-rpm + cp -pr /builddir/build/BUILD/cabal-rpm-2.2.1-build/cabal-rpm-2.2.1/COPYING /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT/usr/share/licenses/cabal-rpm + RPM_EC=0 ++ jobs -p + exit 0 Provides: cabal-rpm = 2.2.1-3.rvre0.fc41 cabal-rpm(riscv-64) = 2.2.1-3.rvre0.fc41 cblrpm = 2.2.1-3.rvre0.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libffi.so.8()(64bit) libffi.so.8(LIBFFI_BASE_8.0)(64bit) libffi.so.8(LIBFFI_CLOSURE_8.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Recommends: stack > 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/cabal-rpm-2.2.1-build/BUILDROOT Wrote: /builddir/build/RPMS/cabal-rpm-2.2.1-3.rvre0.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.cZ1iLY + umask 022 + cd /builddir/build/BUILD/cabal-rpm-2.2.1-build + test -d /builddir/build/BUILD/cabal-rpm-2.2.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/cabal-rpm-2.2.1-build + rm -rf /builddir/build/BUILD/cabal-rpm-2.2.1-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0