Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1698539958.754294/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-rpm-macros-2.5.2-1.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1698539958.754294/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-rpm-macros-2.5.2-1.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/openeuler-23.09-aarch64-1698539958.754294/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29KoSz + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ghc-rpm-macros-2.5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ghc-rpm-macros-2.5.2.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd ghc-rpm-macros-2.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (using-help-as-doc-packages-suffix.patch):' Patch #1 (using-help-as-doc-packages-suffix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file macros.ghc patching file macros.ghc-extra + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zE57nO + umask 022 + cd /builddir/build/BUILD no build stage needed + cd ghc-rpm-macros-2.5.2 + echo no build stage needed + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gef4ny + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64 ++ dirname /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64 + cd ghc-rpm-macros-2.5.2 + install -p -D -m 0644 macros.ghc /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64/usr/lib/rpm/macros.d/macros.ghc + install -p -D -m 0644 macros.ghc-extra /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/lib/rpm/macros.d/macros.ghc-extra + install -p -D -m 0644 macros.ghc-suse /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/lib/rpm/macros.d/macros.ghc-suse + install -p -D -m 0755 ghc-deps.sh /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/lib/rpm/ghc-deps.sh + install -p -D -m 0755 cabal-tweak-dep-ver /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/bin/cabal-tweak-dep-ver + install -p -D -m 0755 cabal-tweak-drop-dep /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/bin/cabal-tweak-drop-dep + install -p -D -m 0755 cabal-tweak-flag /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/bin/cabal-tweak-flag + install -p -D -m 0755 cabal-tweak-remove-upperbound /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/bin/cabal-tweak-remove-upperbound + install -p -D -m 0755 ghc-pkg-wrapper /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/lib/rpm/ghc-pkg-wrapper + install -p -D -m 0644 ghc.attr /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/lib/rpm/fileattrs/ghc.attr + install -p -D -m 0644 Setup.hs /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64//usr/share/ghc-rpm-macros/Setup.hs + /usr/bin/find-debuginfo -j4 --strict-build-id -i --build-id-seed 2.5.2-1 --unique-debug-suffix -2.5.2-1.aarch64 --unique-debug-src-base ghc-rpm-macros-2.5.2-1.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/ghc-rpm-macros-2.5.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: ghc-rpm-macros-2.5.2-1.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.jHgphJ + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.5.2 + DOCDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64/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-1.aarch64/usr/share/doc/ghc-rpm-macros + cp -pr AUTHORS /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64/usr/share/doc/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.NaIHTB + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.5.2 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64/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-1.aarch64/usr/share/licenses/ghc-rpm-macros + cp -pr COPYING /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64/usr/share/licenses/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-rpm-macros = 2.5.2-1 rpm_macro(_ghc_doc_dir) rpm_macro(_ghcdocdir) rpm_macro(_ghclicensedir) rpm_macro(cabal) rpm_macro(cabal_build_options) rpm_macro(cabal_configure) rpm_macro(cabal_configure_options) rpm_macro(cabal_install) rpm_macro(cabal_install_options) rpm_macro(cabal_pkg_conf) rpm_macro(cabal_test) rpm_macro(cabal_test_options) 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_suse_disable_debug_packages) 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_ghc_prof) rpm_macro(with_haddock) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh Processing files: ghc-rpm-macros-extra-2.5.2-1.noarch Provides: ghc-rpm-macros-extra = 2.5.2-1 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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-rpm-macros-2.5.2-1.aarch64 Wrote: /builddir/build/RPMS/ghc-rpm-macros-extra-2.5.2-1.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-2.5.2-1.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QYnCa1 + 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-1.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.6Nu1V2 + 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 RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0