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/libnatpmp.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79570-53399/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 0xfffd5f4150b8>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/libnatpmp.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: aarch64
Building for target aarch64
Wrote: /builddir/build/SRPMS/libnatpmp-20230423-1.oc9.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/libnatpmp.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79570-53399/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 0xfffd5f4150b8>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/libnatpmp.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: aarch64
Building for target aarch64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ft9fs2
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libnatpmp-20230423
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libnatpmp-20230423.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libnatpmp-20230423
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MzYFxg
+ 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
+ CXX=g++
+ export CXX
+ cd libnatpmp-20230423
+ /usr/bin/make -O -j8 V=1 VERBOSE=1 'CFLAGS=-fPIC -Wall -DENABLE_STRNATPMPERR -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' 'EXTRA_LD=-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
gcc -fPIC -Wall -DENABLE_STRNATPMPERR -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 -o testgetgateway.o testgetgateway.c
gcc -fPIC -Wall -DENABLE_STRNATPMPERR -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 -o getgateway.o getgateway.c
gcc -fPIC -Wall -DENABLE_STRNATPMPERR -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 -o natpmp.o natpmp.c
ar crs libnatpmp.a natpmp.o getgateway.o
gcc -fPIC -Wall -DENABLE_STRNATPMPERR -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 -o natpmpc.o natpmpc.c
natpmpc.c: In function 'main':
natpmpc.c:278:73: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  278 |                                         protocol == NATPMP_PROTOCOL_TCP && response.type != NATPMP_RESPTYPE_TCPPORTMAPPING ||
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o testgetgateway testgetgateway.o getgateway.o -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1
gcc -shared -Wl,-soname,libnatpmp.so.1 -o libnatpmp.so natpmp.o getgateway.o -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o natpmpc-static natpmpc.o libnatpmp.a -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1
gcc -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -o natpmpc-shared natpmpc.o libnatpmp.so -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CHlEnr
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64
++ dirname /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64
+ cd libnatpmp-20230423
+ make install 'INSTALL=install -p' PREFIX=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64 INSTALLDIRLIB=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/lib64 INSTALLDIRINC=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/include INSTALLDIRBIN=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/bin
install -p -d /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/include
install -p -m 644 natpmp.h /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/include
install -p -d /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/lib64
install -p -m 644 libnatpmp.a /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/lib64
install -p -m 644 libnatpmp.so /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/lib64/libnatpmp.so.1
install -p -d /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/bin
install -p -m 755 natpmpc-shared /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/bin/natpmpc
ln -s -f libnatpmp.so.1 /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/lib64/libnatpmp.so
+ install -m 0644 -p natpmp_declspec.h /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/include/
+ find /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64 -name '*.a' -delete -print
/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/lib64/libnatpmp.a
+ find /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64 -name '*.so' -exec chmod 755 '{}' ';' -print
/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/lib64/libnatpmp.so
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 20230423-1.oc9 --unique-debug-suffix -20230423-1.oc9.aarch64 --unique-debug-src-base libnatpmp-20230423-1.oc9.aarch64 -S debugsourcefiles.list /builddir/build/BUILD/libnatpmp-20230423
extracting debug info from /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/bin/natpmpc
extracting debug info from /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/lib64/libnatpmp.so.1
96 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: libnatpmp-20230423-1.oc9.aarch64
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.zmSqZH
+ umask 022
+ cd /builddir/build/BUILD
+ cd libnatpmp-20230423
+ LICENSEDIR=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/share/licenses/libnatpmp
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/share/licenses/libnatpmp
+ cp -pr LICENSE /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/share/licenses/libnatpmp
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libnatpmp = 20230423-1.oc9 libnatpmp(aarch-64) = 20230423-1.oc9 libnatpmp.so.1()(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) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.34)(64bit) libnatpmp.so.1()(64bit) rtld(GNU_HASH)
Processing files: libnatpmp-devel-20230423-1.oc9.aarch64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ptUxhP
+ umask 022
+ cd /builddir/build/BUILD
+ cd libnatpmp-20230423
+ DOCDIR=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/share/doc/libnatpmp-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/share/doc/libnatpmp-devel
+ cp -pr Changelog.txt /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/share/doc/libnatpmp-devel
+ cp -pr README /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64/usr/share/doc/libnatpmp-devel
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libnatpmp-devel = 20230423-1.oc9 libnatpmp-devel(aarch-64) = 20230423-1.oc9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libnatpmp.so.1()(64bit)
Processing files: libnatpmp-debugsource-20230423-1.oc9.aarch64
Provides: libnatpmp-debugsource = 20230423-1.oc9 libnatpmp-debugsource(aarch-64) = 20230423-1.oc9
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libnatpmp-debuginfo-20230423-1.oc9.aarch64
Provides: debuginfo(build-id) = 53fba060628ead39dbe5709738981977dc4fdfef debuginfo(build-id) = da5420c4ed8c1d41e28b4103397f16545a50cc32 libnatpmp-debuginfo = 20230423-1.oc9 libnatpmp-debuginfo(aarch-64) = 20230423-1.oc9 libnatpmp.so.1-20230423-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: libnatpmp-debugsource(aarch-64) = 20230423-1.oc9
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.aarch64
Wrote: /builddir/build/RPMS/libnatpmp-debugsource-20230423-1.oc9.aarch64.rpm
Wrote: /builddir/build/RPMS/libnatpmp-devel-20230423-1.oc9.aarch64.rpm
Wrote: /builddir/build/RPMS/libnatpmp-debuginfo-20230423-1.oc9.aarch64.rpm
Wrote: /builddir/build/RPMS/libnatpmp-20230423-1.oc9.aarch64.rpm
Child return code was: 0