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 x86_64 --nodeps /builddir/build/SPECS/libnatpmp.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79573-53399/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 x86_64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 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 x86_64 --nodeps --nocheck /builddir/build/SPECS/libnatpmp.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-79573-53399/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 x86_64 --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;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.g2lLk5 + 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.HzPPkC + 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/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -j32 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.gaPKUB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64 + cd libnatpmp-20230423 + make install 'INSTALL=install -p' PREFIX=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64 INSTALLDIRLIB=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/lib64 INSTALLDIRINC=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/include INSTALLDIRBIN=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/bin install -p -d /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/include install -p -m 644 natpmp.h /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/include install -p -d /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/lib64 install -p -m 644 libnatpmp.a /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/lib64 install -p -m 644 libnatpmp.so /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/lib64/libnatpmp.so.1 install -p -d /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/bin install -p -m 755 natpmpc-shared /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/bin/natpmpc ln -s -f libnatpmp.so.1 /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/lib64/libnatpmp.so + install -m 0644 -p natpmp_declspec.h /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/include/ + find /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64 -name '*.a' -delete -print /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/lib64/libnatpmp.a + find /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64 -name '*.so' -exec chmod 755 '{}' ';' -print /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/lib64/libnatpmp.so + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 20230423-1.oc9 --unique-debug-suffix -20230423-1.oc9.x86_64 --unique-debug-src-base libnatpmp-20230423-1.oc9.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/libnatpmp-20230423 extracting debug info from /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/bin/natpmpc extracting debug info from /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/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.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.W3Tgwc + umask 022 + cd /builddir/build/BUILD + cd libnatpmp-20230423 + LICENSEDIR=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/share/licenses/libnatpmp + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/share/licenses/libnatpmp + cp -pr LICENSE /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/share/licenses/libnatpmp + RPM_EC=0 ++ jobs -p + exit 0 Provides: libnatpmp = 20230423-1.oc9 libnatpmp(x86-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libnatpmp.so.1()(64bit) rtld(GNU_HASH) Processing files: libnatpmp-devel-20230423-1.oc9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Cld49B + umask 022 + cd /builddir/build/BUILD + cd libnatpmp-20230423 + DOCDIR=/builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/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.x86_64/usr/share/doc/libnatpmp-devel + cp -pr Changelog.txt /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/share/doc/libnatpmp-devel + cp -pr README /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64/usr/share/doc/libnatpmp-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libnatpmp-devel = 20230423-1.oc9 libnatpmp-devel(x86-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.x86_64 Provides: libnatpmp-debugsource = 20230423-1.oc9 libnatpmp-debugsource(x86-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.x86_64 Provides: debuginfo(build-id) = 121c97d2692a2971712c6be8762da344541bcfaf debuginfo(build-id) = 38231cf3a3310e7d516305daff94927868357264 libnatpmp-debuginfo = 20230423-1.oc9 libnatpmp-debuginfo(x86-64) = 20230423-1.oc9 libnatpmp.so.1-20230423-1.oc9.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libnatpmp-debugsource(x86-64) = 20230423-1.oc9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libnatpmp-20230423-1.oc9.x86_64 Wrote: /builddir/build/RPMS/libnatpmp-devel-20230423-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/libnatpmp-debugsource-20230423-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/libnatpmp-debuginfo-20230423-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/libnatpmp-20230423-1.oc9.x86_64.rpm Child return code was: 0