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/kernel-srpm-macros.spec'], chrootPath='/var/lib/mock/dist-oc9-build-58907-16463/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f75ff8844a8>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/kernel-srpm-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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/kernel-srpm-macros-1.0-20.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/kernel-srpm-macros.spec'], chrootPath='/var/lib/mock/dist-oc9-build-58907-16463/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7f75ff8844a8>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/kernel-srpm-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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.hTrtoB
+ umask 022
+ cd /builddir/build/BUILD
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.W37CsI
+ 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
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tL1sK1
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch
++ dirname /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch
+ mkdir -p /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/fileattrs
+ mkdir -p /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/macros.d
+ mkdir -p /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel
+ mkdir -p /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/provides.d
+ install -m 0644 /builddir/build/SOURCES/macros.kernel-srpm /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/macros.d/macros.kernel-srpm
+ install -m 0644 /builddir/build/SOURCES/macros.kernel-module-package /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/macros.d/macros.kernel-module-package
+ install -m 0644 /builddir/build/SOURCES/kabi.attr /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/fileattrs/kabi.attr
+ install -m 0644 /builddir/build/SOURCES/kmod.attr /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/fileattrs/kmod.attr
+ install -m 0644 /builddir/build/SOURCES/modalias.attr /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/fileattrs/modalias.attr
+ install -m 0644 /builddir/build/SOURCES/firmware.attr /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/fileattrs/firmware.attr
+ install -m 0644 /builddir/build/SOURCES/provided_ksyms.attr /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/fileattrs/provided_ksyms.attr
+ install -m 0644 /builddir/build/SOURCES/required_ksyms.attr /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/fileattrs/required_ksyms.attr
+ install -m 0755 /builddir/build/SOURCES/kabi.prov /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/provides.d/kabi.prov
+ install -m 0755 /builddir/build/SOURCES/modalias.prov /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/provides.d/modalias.prov
+ install -m 0755 /builddir/build/SOURCES/firmware.prov /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/provides.d/firmware.prov
+ install -m 0755 /builddir/build/SOURCES/find-provides.ksyms /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/find-requires.ksyms
+ install -m 0755 /builddir/build/SOURCES/find-requires.ksyms /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/find-provides.ksyms
+ install -m 0755 /builddir/build/SOURCES/brp-kmod-set-exec-bit /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/brp-kmod-restore-perms
+ install -m 0755 /builddir/build/SOURCES/brp-kmod-restore-perms /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/brp-kmod-set-exec-bit
+ install -m 0755 /builddir/build/SOURCES/kmodtool /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/kmodtool
+ install -m 0755 /builddir/build/SOURCES/rpmsort /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/rpmsort
+ install -m 0755 /builddir/build/SOURCES/symset-table /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch/usr/lib/rpm/kernel/symset-table
+ /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/kernel/symset-table from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/lib/rpm/kernel/brp-kmod-restore-perms from /bin/bash -efux to #!/usr/bin/bash -efux
mangling shebang in /usr/lib/rpm/kernel/brp-kmod-set-exec-bit from /bin/bash -efu to #!/usr/bin/bash -efu
mangling shebang in /usr/lib/rpm/kernel/find-requires.ksyms from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/lib/rpm/kernel/find-provides.ksyms from /bin/bash to #!/usr/bin/bash
mangling shebang in /usr/lib/rpm/kernel/provides.d/firmware.prov from /bin/sh to #!/usr/bin/sh
mangling shebang in /usr/lib/rpm/kernel/provides.d/modalias.prov from /bin/bash -efu to #!/usr/bin/bash -efu
mangling shebang in /usr/lib/rpm/kernel/provides.d/kabi.prov from /bin/bash +x to #!/usr/bin/bash +x
mangling shebang in /usr/lib/rpm/kernel/kmodtool from /bin/bash to #!/usr/bin/bash
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: kernel-srpm-macros-1.0-20.oc9.noarch
Provides: kernel-srpm-macros = 1.0-20.oc9 rpm_macro(kernel_arches)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: kernel-rpm-macros-206-20.oc9.noarch
Provides: kernel-rpm-macros = 206-20.oc9 rpm_macro(kernel_module_package) rpm_macro(kernel_module_package_buildreqs)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: /usr/bin/bash /usr/bin/perl /usr/bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kernel-srpm-macros-1.0-20.oc9.noarch
Wrote: /builddir/build/RPMS/kernel-srpm-macros-1.0-20.oc9.noarch.rpm
Wrote: /builddir/build/RPMS/kernel-rpm-macros-206-20.oc9.noarch.rpm
Child return code was: 0