D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/libnatpmp-20230423-2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wn4LYl Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dFuuoK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + rm -rf libnatpmp-20230423 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/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 /home/pterjan/rpmbuild/tmp/rpm-tmp.wOs6yA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libnatpmp-20230423 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'CFLAGS=-fPIC -Wall -DENABLE_STRNATPMPERR -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' 'EXTRA_LD=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' gcc -fPIC -Wall -DENABLE_STRNATPMPERR -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o testgetgateway.o testgetgateway.c gcc -fPIC -Wall -DENABLE_STRNATPMPERR -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o getgateway.o getgateway.c gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o testgetgateway testgetgateway.o getgateway.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -fPIC -Wall -DENABLE_STRNATPMPERR -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o natpmp.o natpmp.c gcc -fPIC -Wall -DENABLE_STRNATPMPERR -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -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 || ar crs libnatpmp.a natpmp.o getgateway.o gcc -shared -Wl,-soname,libnatpmp.so.1 -o libnatpmp.so natpmp.o getgateway.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o natpmpc-static natpmpc.o libnatpmp.a -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld gcc -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o natpmpc-shared natpmpc.o libnatpmp.so -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ei8clZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + mkdir /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libnatpmp-20230423 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT 'INSTALL=/usr/bin/install -p' INSTALLPREFIX=/home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr INSTALLDIRLIB=/home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/lib64 INSTALLDIRINC=/home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/include INSTALLDIRBIN=/home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/bin /usr/bin/install -p -d /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/include /usr/bin/install -p -m 644 natpmp.h /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/include /usr/bin/install -p -d /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/lib64 /usr/bin/install -p -m 644 libnatpmp.a /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/lib64 /usr/bin/install -p -m 644 libnatpmp.so /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/lib64/libnatpmp.so.1 /usr/bin/install -p -d /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/bin /usr/bin/install -p -m 755 natpmpc-shared /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/bin/natpmpc ln -s -f libnatpmp.so.1 /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/lib64/libnatpmp.so + rm -f /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/lib64/libnatpmp.a + install -pm 0644 natpmp_declspec.h /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/include/ + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 20230423-2.mga10 --unique-debug-suffix -20230423-2.mga10.x86_64 --unique-debug-src-base libnatpmp-20230423-2.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/libnatpmp-20230423 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libnatpmp-20230423-2.mga10.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files Warning: undefined symbols in /usr/lib64/libnatpmp.so.1: + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/SPECPARTS/rpm-debuginfo.specpart Processing files: libnatpmp-20230423-2.mga10.x86_64 Provides: libnatpmp = 20230423-2.mga10 libnatpmp(x86-64) = 20230423-2.mga10 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.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libnatpmp.so.1()(64bit) Processing files: lib64natpmp1-20230423-2.mga10.x86_64 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PytN9v + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + cd libnatpmp-20230423 + LICENSEDIR=/home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/share/licenses/lib64natpmp1 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/share/licenses/lib64natpmp1 + cp -pr /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/libnatpmp-20230423/LICENSE /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/share/licenses/lib64natpmp1 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64natpmp1 = 20230423-2.mga10 lib64natpmp1(x86-64) = 20230423-2.mga10 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.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) Processing files: lib64natpmp-devel-20230423-2.mga10.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0xkro7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + cd libnatpmp-20230423 + DOCDIR=/home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/share/doc/lib64natpmp-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/share/doc/lib64natpmp-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/libnatpmp-20230423/Changelog.txt /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/share/doc/lib64natpmp-devel + cp -pr /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/libnatpmp-20230423/README /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT/usr/share/doc/lib64natpmp-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: devel(libnatpmp(64bit)) lib64natpmp-devel = 20230423-2.mga10 lib64natpmp-devel(x86-64) = 20230423-2.mga10 libnatpmp-devel = 20230423-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libnatpmp-debugsource-20230423-2.mga10.x86_64 Provides: libnatpmp-debugsource = 20230423-2.mga10 libnatpmp-debugsource(x86-64) = 20230423-2.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libnatpmp-debuginfo-20230423-2.mga10.x86_64 Provides: debuginfo(build-id) = 58a670bf43c2c8d3ce029b59291034f688ed9680 libnatpmp-debuginfo = 20230423-2.mga10 libnatpmp-debuginfo(x86-64) = 20230423-2.mga10 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-2.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64natpmp-devel-20230423-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libnatpmp-debugsource-20230423-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/lib64natpmp1-20230423-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libnatpmp-debuginfo-20230423-2.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/libnatpmp-20230423-2.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xydMMQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + test -d /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + rm -rf /home/pterjan/rpmbuild/BUILD/libnatpmp-20230423-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!