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/multilib-rpm-config.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-85743-57519/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/multilib-rpm-config.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/multilib-rpm-config-1-2.oc9.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/multilib-rpm-config.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-85743-57519/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/multilib-rpm-config.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.7sZHtS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf multilib-rpm-config-1 + /usr/bin/mkdir -p multilib-rpm-config-1 + cd multilib-rpm-config-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + install -m 644 /builddir/build/SOURCES/README /builddir/build/SOURCES/COPYING . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5nCneD + 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 + CC=gcc + export CC + CXX=g++ + export CXX + cd multilib-rpm-config-1 + lib_sed_pattern='/@LIB@/ { r /builddir/build/SOURCES/multilib-library d }' + sed -e 's|@ML_FIX@|/usr/libexec/multilib-fix|g' -e 's|@ML_INFO@|/usr/libexec/multilib-info|g' /builddir/build/SOURCES/macros.ml + sed -e '/@LIB@/ { r /builddir/build/SOURCES/multilib-library d }' /builddir/build/SOURCES/multilib-fix + sed -e '/@LIB@/ { r /builddir/build/SOURCES/multilib-library d }' /builddir/build/SOURCES/multilib-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.r3fArY + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch ++ dirname /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch + cd multilib-rpm-config-1 + mkdir -p /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch/usr/libexec + mkdir -p /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch/usr/lib/rpm/macros.d + install -m 644 -p macros.multilib /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch//usr/lib/rpm/macros.d + install -m 755 -p multilib-fix /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch//usr/libexec/multilib-fix + install -m 755 -p multilib-info /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch//usr/libexec/multilib-info + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1-2.oc9 --unique-debug-suffix -1-2.oc9.noarch --unique-debug-src-base multilib-rpm-config-1-2.oc9.noarch -S debugsourcefiles.list /builddir/build/BUILD/multilib-rpm-config-1 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /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/libexec/multilib-info from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/libexec/multilib-fix from /bin/sh to #!/usr/bin/sh + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.UDEWta + 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 + CC=gcc + export CC + CXX=g++ + export CXX + cd multilib-rpm-config-1 + mkdir tests + cd tests ++ pwd ++ pwd + ml_fix='sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-fix --buildroot /builddir/build/BUILD/multilib-rpm-config-1/tests' ++ pwd + capable='sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-info --multilib-capable' + mkdir template + cat + cat + cp -r template basic + gcc ./basic/main.c + ./a.out works! /builddir/build/BUILD/multilib-rpm-config-1/tests + pwd ++ sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-info --multilib-capable + true + cp -r template really-works + sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-fix --buildroot /builddir/build/BUILD/multilib-rpm-config-1/tests --file /really-works/header.h INFO: multilib-fix: moving: '/builddir/build/BUILD/multilib-rpm-config-1/tests/really-works/header.h' to '/builddir/build/BUILD/multilib-rpm-config-1/tests/really-works/header-x86_64.h' + gcc really-works/main.c + ./a.out works! + test -f really-works/header-x86_64.h + cp -r template other_arch + sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-fix --buildroot /builddir/build/BUILD/multilib-rpm-config-1/tests --file /other_arch/header.h --arch ppc64 INFO: multilib-fix: moving: '/builddir/build/BUILD/multilib-rpm-config-1/tests/other_arch/header.h' to '/builddir/build/BUILD/multilib-rpm-config-1/tests/other_arch/header-ppc64.h' + test -f other_arch/header-ppc64.h + cp -r template other_arch_fix + sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-fix --buildroot /builddir/build/BUILD/multilib-rpm-config-1/tests --file /other_arch_fix/header.h --arch ppc64p7 INFO: multilib-fix: moving: '/builddir/build/BUILD/multilib-rpm-config-1/tests/other_arch_fix/header.h' to '/builddir/build/BUILD/multilib-rpm-config-1/tests/other_arch_fix/header-ppc64.h' + test -f other_arch_fix/header-ppc64.h + cp -r template aarch64-no-change + sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-fix --buildroot /builddir/build/BUILD/multilib-rpm-config-1/tests --file /aarch64-no-change/header.h --arch aarch64 INFO: multilib-fix: we don't need multilib haeder hack for 'aarch64' architecture (no-op) + test '!' -f 'aarch64-no-change/header-*.h' ++ sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-info --multilib-capable --arch x86_64 + test true = true ++ sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-info --multilib-capable --arch aarch64 + test false = false ++ sh /builddir/build/BUILD/multilib-rpm-config-1/tests/../multilib-info --multilib-capable --arch ppc64p7 + test true = true + RPM_EC=0 ++ jobs -p + exit 0 Processing files: multilib-rpm-config-1-2.oc9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AaZbS3 + umask 022 + cd /builddir/build/BUILD + cd multilib-rpm-config-1 + DOCDIR=/builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch/usr/share/doc/multilib-rpm-config + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch/usr/share/doc/multilib-rpm-config + cp -pr README /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch/usr/share/doc/multilib-rpm-config + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.e1LPHy + umask 022 + cd /builddir/build/BUILD + cd multilib-rpm-config-1 + LICENSEDIR=/builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch/usr/share/licenses/multilib-rpm-config + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch/usr/share/licenses/multilib-rpm-config + cp -pr COPYING /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch/usr/share/licenses/multilib-rpm-config + RPM_EC=0 ++ jobs -p + exit 0 Provides: multilib-rpm-config = 1-2.oc9 rpm_macro(multilib_capable) rpm_macro(multilib_fix_c_header) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/multilib-rpm-config-1-2.oc9.noarch Wrote: /builddir/build/RPMS/multilib-rpm-config-1-2.oc9.noarch.rpm Child return code was: 0