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/f38-build-707722-91919/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=604800uid=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=1681430400 Wrote: /builddir/build/SRPMS/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.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/f38-build-707722-91919/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=604800uid=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=1681430400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JCw1yc + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-rpm-macros-2.5.2 + /usr/bin/mkdir -p ghc-rpm-macros-2.5.2 + cd ghc-rpm-macros-2.5.2 + /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.fVxaX4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -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 -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/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 no build stage + export CC + CXX=g++ + export CXX + cd ghc-rpm-macros-2.5.2 + echo no build stage + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mGfXFd + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch ++ dirname /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch + CFLAGS='-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 -fstack-clash-protection -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 -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fstack-clash-protection -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 -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/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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.5.2 + install -p -D -m 0644 /builddir/build/SOURCES/macros.ghc /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.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.5.2-3.0.riscv64.fc38.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.5.2-3.0.riscv64.fc38.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.5.2-3.0.riscv64.fc38.noarch/usr/lib/rpm/ghc-deps.sh + install -p -D -m 0644 /builddir/build/SOURCES/ghc.attr /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch/usr/lib/rpm/fileattrs/ghc.attr + install -p -D -m 0644 /builddir/build/SOURCES/Setup.hs /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.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.5.2-3.0.riscv64.fc38.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.5.2-3.0.riscv64.fc38.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.5.2-3.0.riscv64.fc38.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.5.2-3.0.riscv64.fc38.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.5.2-3.0.riscv64.fc38.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-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.5.2-3.0.riscv64.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3I18h7 + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.5.2 + DOCDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch/usr/share/doc/ghc-rpm-macros + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch/usr/share/doc/ghc-rpm-macros + cp -pr AUTHORS /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch/usr/share/doc/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.mVGCen + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.5.2 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch/usr/share/licenses/ghc-rpm-macros + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch/usr/share/licenses/ghc-rpm-macros + cp -pr COPYING /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch/usr/share/licenses/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-rpm-macros = 2.5.2-3.0.riscv64.fc38 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_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.5.2-3.0.riscv64.fc38.noarch Provides: ghc-rpm-macros-extra = 2.5.2-3.0.riscv64.fc38 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.5.2-3.0.riscv64.fc38.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch Wrote: /builddir/build/RPMS/ghc-obsoletes-2.5.2-3.0.riscv64.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-extra-2.5.2-3.0.riscv64.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.P7EeK4 + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-3.0.riscv64.fc38.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.XKMbsV + umask 022 + cd /builddir/build/BUILD + rm -rf ghc-rpm-macros-2.5.2 ghc-rpm-macros-2.5.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0