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 aarch64 --nodeps /builddir/build/SPECS/astyle.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79131-53291/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 0xfffeb16550b8>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/astyle.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
warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Building target platforms: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/astyle-3.1-1.oc9.src.rpm
RPM build warnings:
    %patchN is deprecated (2 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 --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/astyle.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79131-53291/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 0xfffeb16550b8>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/astyle.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
warning: %patchN is deprecated (2 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.dBWPAw
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf astyle
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/astyle_3.1_linux.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd astyle
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
Patch #1 (astyle-html-help.patch):
+ echo 'Patch #1 (astyle-html-help.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
patching file src/astyle_main.cpp
Hunk #1 succeeded at 1492 (offset 178 lines).
Patch #2 (astyle-r655-gcc8-vector-at-end.patch):
+ echo 'Patch #2 (astyle-r655-gcc8-vector-at-end.patch):'
+ /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0
(Stripping trailing CRs from patch; use --binary to disable.)
patching file src/astyle_main.cpp
Hunk #1 succeeded at 1363 (offset 16 lines).
+ find . -type f -exec chmod a-x '{}' ';'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yLuqZ9
+ 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  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-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  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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  -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/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/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
~/build/BUILD/astyle/src ~/build/BUILD/astyle
+ CXX=g++
+ export CXX
+ cd astyle
+ pushd src
+ g++ -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -DASTYLE_LIB -fPIC -c ASBeautifier.cpp ASEnhancer.cpp ASFormatter.cpp ASResource.cpp astyle_main.cpp
+ g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -shared -o libastyle.so.3.1.0 ASBeautifier.o ASEnhancer.o ASFormatter.o ASResource.o astyle_main.o -Wl,-soname,libastyle.so.3
+ ln -s libastyle.so.3.1.0 libastyle.so
+ g++ -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 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -c ASLocalizer.cpp astyle_main.cpp
+ g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o astyle ASLocalizer.o astyle_main.o -L. -lastyle
+ popd
+ RPM_EC=0
~/build/BUILD/astyle
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.91cGlU
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64
++ dirname /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64
+ cd astyle
+ pushd src
~/build/BUILD/astyle/src ~/build/BUILD/astyle
+ mkdir -p /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/bin /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/lib64 /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/include
+ install -p -m 755 astyle /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/bin
+ install -p -m 755 libastyle.so.3.1.0 /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/lib64
+ cp -P libastyle.so /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/lib64
+ install -p -m 644 astyle.h /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/include
+ popd
~/build/BUILD/astyle
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.1-1.oc9 --unique-debug-suffix -3.1-1.oc9.aarch64 --unique-debug-src-base astyle-3.1-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/astyle
extracting debug info from /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/bin/astyle
extracting debug info from /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/lib64/libastyle.so.3.1.0
1267 blocks
+ /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
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Processing files: astyle-3.1-1.oc9.aarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uJ8ynu
+ umask 022
+ cd /builddir/build/BUILD
+ cd astyle
+ DOCDIR=/builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/share/doc/astyle
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/share/doc/astyle
+ cp -pr doc/astyle.html doc/install.html doc/news.html doc/notes.html /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/share/doc/astyle
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2vcwV8
+ umask 022
+ cd /builddir/build/BUILD
+ cd astyle
+ LICENSEDIR=/builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/share/licenses/astyle
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/share/licenses/astyle
+ cp -pr LICENSE.md /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64/usr/share/licenses/astyle
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: astyle = 3.1-1.oc9 astyle(aarch-64) = 3.1-1.oc9 libastyle.so.3()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libastyle.so.3()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH)
Processing files: astyle-devel-3.1-1.oc9.aarch64
Provides: astyle-devel = 3.1-1.oc9 astyle-devel(aarch-64) = 3.1-1.oc9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libastyle.so.3()(64bit)
Processing files: astyle-debugsource-3.1-1.oc9.aarch64
Provides: astyle-debugsource = 3.1-1.oc9 astyle-debugsource(aarch-64) = 3.1-1.oc9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: astyle-debuginfo-3.1-1.oc9.aarch64
Provides: astyle-debuginfo = 3.1-1.oc9 astyle-debuginfo(aarch-64) = 3.1-1.oc9 debuginfo(build-id) = 41a179554df27e131a7e2dd179ffbe6169a51079 debuginfo(build-id) = 7d160d5e8c82012c92b37171d49f1966c5754063 libastyle.so.3.1.0-3.1-1.oc9.aarch64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: astyle-debugsource(aarch-64) = 3.1-1.oc9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/astyle-3.1-1.oc9.aarch64
Wrote: /builddir/build/RPMS/astyle-devel-3.1-1.oc9.aarch64.rpm
Wrote: /builddir/build/RPMS/astyle-debugsource-3.1-1.oc9.aarch64.rpm
Wrote: /builddir/build/RPMS/astyle-3.1-1.oc9.aarch64.rpm
Wrote: /builddir/build/RPMS/astyle-debuginfo-3.1-1.oc9.aarch64.rpm
RPM build warnings:
    %patchN is deprecated (2 usages found), use %patch N (or %patch -P N)
Child return code was: 0