Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/f40-build-745133-111963/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 noarch --nodeps /builddir/build/SPECS/ghc-rpm-macros.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1700438400 Wrote: /builddir/build/SRPMS/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/f40-build-745133-111963/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 noarch --nodeps /builddir/build/SPECS/ghc-rpm-macros.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: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1700438400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mCuiU4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-rpm-macros-2.6.5 + /usr/bin/mkdir -p ghc-rpm-macros-2.6.5 + cd ghc-rpm-macros-2.6.5 + rm -rf /builddir/build/BUILD/ghc-rpm-macros-2.6.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-rpm-macros-2.6.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/COPYING /builddir/build/SOURCES/AUTHORS . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I2Uaa3 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -I/usr/lib/gfortran/modules ' + export FFLAGS no build stage + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ghc-rpm-macros-2.6.5 + echo no build stage + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lYQZ3V + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch ++ dirname /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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 ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ghc-rpm-macros-2.6.5 + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/lib/rpm/macros.d/macros.ghc + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc-extra /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/lib/rpm/macros.d/macros.ghc-extra + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc-os /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/lib/rpm/macros.d/macros.ghc-os + install -p -D -m 0755 /builddir/build/SOURCES/ghc-deps.sh /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/lib/rpm/ghc-deps.sh + install -p -D -m 0755 /builddir/build/SOURCES/ghc-info.sh /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/lib/rpm/ghc-info.sh + install -p -D -m 0644 /builddir/build/SOURCES/ghc.attr /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/lib/rpm/fileattrs/ghc.attr + install -p -D -m 0644 /builddir/build/SOURCES/Setup.hs /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/share/ghc-rpm-macros/Setup.hs + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-dep-ver /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/bin/cabal-tweak-dep-ver + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-flag /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/bin/cabal-tweak-flag + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-drop-dep /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/bin/cabal-tweak-drop-dep + install -p -D -m 0755 /builddir/build/SOURCES/cabal-tweak-remove-upperbound /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/bin/cabal-tweak-remove-upperbound + install -p -D -m 0755 /builddir/build/SOURCES/ghc-pkg-wrapper /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/lib/rpm/ghc-pkg-wrapper + /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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/lib/rpm/ghc-deps.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/rpm/ghc-info.sh from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/lib/rpm/ghc-pkg-wrapper from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cabal-tweak-dep-ver from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cabal-tweak-flag from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cabal-tweak-remove-upperbound from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cabal-tweak-drop-dep from /bin/sh to #!/usr/bin/sh + /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-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4LNTWs + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.6.5 + DOCDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/share/doc/ghc-rpm-macros + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/share/doc/ghc-rpm-macros + cp -pr /builddir/build/BUILD/ghc-rpm-macros-2.6.5/AUTHORS /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/share/doc/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ej5tge + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.6.5 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/share/licenses/ghc-rpm-macros + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/share/licenses/ghc-rpm-macros + cp -pr /builddir/build/BUILD/ghc-rpm-macros-2.6.5/COPYING /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch/usr/share/licenses/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-rpm-macros = 2.6.5-1.0.riscv64.fc40 rpm_macro(_ghc_doc_dir) rpm_macro(_ghcdocdir) rpm_macro(_ghclicensedir) rpm_macro(cabal) rpm_macro(cabal_configure) rpm_macro(cabal_install) rpm_macro(cabal_pkg_conf) rpm_macro(cabal_test) rpm_macro(ghc_bin_build) rpm_macro(ghc_bin_install) rpm_macro(ghc_delete_rpaths) rpm_macro(ghc_fix_doc_perms) rpm_macro(ghc_fix_rpath) rpm_macro(ghc_gen_filelists) rpm_macro(ghc_html_dir) rpm_macro(ghc_html_libraries_dir) rpm_macro(ghc_html_pkg_dir) rpm_macro(ghc_lib_build) rpm_macro(ghc_lib_build_without_haddock) rpm_macro(ghc_lib_install) rpm_macro(ghc_major_version) rpm_macro(ghc_merge_filelist) rpm_macro(ghc_pkg_recache) rpm_macro(ghc_pkgdocdir) rpm_macro(ghc_prefix) rpm_macro(ghc_quick_build) rpm_macro(ghc_set_gcc_flags) rpm_macro(ghc_smp_mflags) rpm_macro(ghc_version) rpm_macro(ghc_without_dynamic) rpm_macro(ghcdocbasedir) rpm_macro(ghclibdir) rpm_macro(ghclibdocdir) rpm_macro(ghcliblib) rpm_macro(ghclibplatform) rpm_macro(ghcpkgdocdir) rpm_macro(ghcplatform) rpm_macro(with_haddock) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Processing files: ghc-rpm-macros-extra-2.6.5-1.0.riscv64.fc40.noarch Provides: ghc-rpm-macros-extra = 2.6.5-1.0.riscv64.fc40 rpm_macro(ghc_lib_subpackage) rpm_macro(ghc_libs_build) rpm_macro(ghc_libs_install) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-obsoletes-2.6.5-1.0.riscv64.fc40.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch Wrote: /builddir/build/RPMS/ghc-obsoletes-2.6.5-1.0.riscv64.fc40.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-extra-2.6.5-1.0.riscv64.fc40.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.mtm3tF + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.6.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-1.0.riscv64.fc40.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.UR7O3W + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/ghc-rpm-macros-2.6.5-SPECPARTS + rm -rf ghc-rpm-macros-2.6.5 ghc-rpm-macros-2.6.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0