Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-179385-11525/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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 Wrote: /builddir/build/SRPMS/ghc-rpm-macros-2.6.5-3.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/ghc-rpm-macros.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-179385-11525/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=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8rT8nH + 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 + /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.G3YePH + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH no build stage + 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.sVgE8X + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.noarch + 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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.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-3.ocs23.noarch/usr/lib/rpm/ghc-pkg-wrapper + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs 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/lib/rpm/ghc-deps.sh 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 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 + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: ghc-rpm-macros-2.6.5-3.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.x3VtHu + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.6.5 + DOCDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.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.6.5-3.ocs23.noarch/usr/share/doc/ghc-rpm-macros + cp -pr AUTHORS /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.noarch/usr/share/doc/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UL3Stu + umask 022 + cd /builddir/build/BUILD + cd ghc-rpm-macros-2.6.5 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.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.6.5-3.ocs23.noarch/usr/share/licenses/ghc-rpm-macros + cp -pr COPYING /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.noarch/usr/share/licenses/ghc-rpm-macros + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-rpm-macros = 2.6.5-3.ocs23 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-3.ocs23.noarch Provides: ghc-rpm-macros-extra = 2.6.5-3.ocs23 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-3.ocs23.noarch Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-rpm-macros-2.6.5-3.ocs23.noarch Wrote: /builddir/build/RPMS/ghc-obsoletes-2.6.5-3.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-extra-2.6.5-3.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/ghc-rpm-macros-2.6.5-3.ocs23.noarch.rpm Child return code was: 0