D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/netcat-openbsd-1.89-15.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dqY1QF + umask 022 + cd /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + test -d /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7shayW + umask 022 + cd /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + rm -rf netcat-openbsd-1.89.orig + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/netcat-openbsd-1.89.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd netcat-openbsd-1.89.orig + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #20 (netcat-openbsd-1.89-makefile.patch):' Patch #20 (netcat-openbsd-1.89-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile + echo 'Patch #21 (netcat-openbsd-1.89-openbsd-compat.patch):' Patch #21 (netcat-openbsd-1.89-openbsd-compat.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file openbsd-compat/base64.c patching file openbsd-compat/readpassphrase.c patching file openbsd-compat/readpassphrase.h + echo 'Patch #0 (openbsd-compat.patch):' Patch #0 (openbsd-compat.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file openbsd-compat/readpassphrase.c + echo 'Patch #1 (socks-b64-prototype.patch):' Patch #1 (socks-b64-prototype.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file socks.c + echo 'Patch #2 (silence-z.patch):' Patch #2 (silence-z.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #3 (glib-strlcpy.patch):' Patch #3 (glib-strlcpy.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #4 (no-strtonum.patch):' Patch #4 (no-strtonum.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #5 (pollhup.patch):' Patch #5 (pollhup.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #6 (reuseaddr.patch):' Patch #6 (reuseaddr.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #7 (connect-timeout.patch):' Patch #7 (connect-timeout.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #8 (udp-scan-timeout.patch):' Patch #8 (udp-scan-timeout.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #9 (verbose-numeric-port.patch):' Patch #9 (verbose-numeric-port.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #10 (send-crlf.patch):' Patch #10 (send-crlf.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c patching file nc.1 + echo 'Patch #11 (help-version-exit.patch):' Patch #11 (help-version-exit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #12 (quit-timer.patch):' Patch #12 (quit-timer.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c Hunk #7 succeeded at 966 (offset -1 lines). Hunk #8 succeeded at 995 (offset -1 lines). + echo 'Patch #13 (getservbyname.patch):' Patch #13 (getservbyname.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c + echo 'Patch #14 (gcc-warnings.patch):' Patch #14 (gcc-warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file netcat.c patching file socks.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.n0MhSp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + cd netcat-openbsd-1.89.orig + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j16 V=1 VERBOSE=1 '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' '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' gcc -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 `pkg-config --cflags glib-2.0` -Iopenbsd-compat -c atomicio.c -o atomicio.o gcc -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 `pkg-config --cflags glib-2.0` -Iopenbsd-compat -c openbsd-compat/readpassphrase.c -o openbsd-compat/readpassphrase.o openbsd-compat/readpassphrase.c: In function 'readpassphrase': openbsd-compat/readpassphrase.c:116:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | (void)write(output, prompt, strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbsd-compat/readpassphrase.c:135:31: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | (void)write(output, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~ gcc -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 `pkg-config --cflags glib-2.0` -Iopenbsd-compat -c openbsd-compat/base64.c -o openbsd-compat/base64.o gcc -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 `pkg-config --cflags glib-2.0` -Iopenbsd-compat -c socks.c -o socks.o socks.c: In function 'socks_connect': socks.c:289:70: warning: 'Proxy-Authorization: Basic ' directive output truncated writing 27 bytes into a region of size 8 [-Wformat-truncation=] 289 | r = snprintf((char*)buf, sizeof((char*)buf), "Proxy-Authorization: " | ^~~~~~~~~~~~~~~~~~~~~~~ socks.c:289:79: note: format string is defined here 289 | r = snprintf((char*)buf, sizeof((char*)buf), "Proxy-Authorization: " | ~~~~~~~~^~~~~~~~~~~~~~ 290 | "Basic %s\r\n", resp); | ~~~~~~~ In file included from /usr/include/stdio.h:970, from socks.c:36: In function 'snprintf', inlined from 'socks_connect' at socks.c:289:8: /usr/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 30 and 1053 bytes into a destination of size 8 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 69 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ gcc -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 `pkg-config --cflags glib-2.0` -Iopenbsd-compat -c netcat.c -o netcat.o 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 netcat.o atomicio.o socks.o openbsd-compat/base64.o openbsd-compat/readpassphrase.o `pkg-config --libs glib-2.0` -o nc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Ywn0aS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + mkdir /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT + cd netcat-openbsd-1.89.orig + '[' 1 -eq 1 ']' + install -Dpm 755 nc /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT/usr/bin/nc-openbsd + install -Dpm 644 nc.1 /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT/usr/share/man/man1/nc-openbsd.1 + touch /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT/usr/bin/nc + touch /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT/usr/bin/netcat + touch /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT/usr/share/man/man1/nc.1.xz + touch /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT/usr/share/man/man1/netcat.1.xz + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.89-15.mga10 --unique-debug-suffix -1.89-15.mga10.x86_64 --unique-debug-src-base netcat-openbsd-1.89-15.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/netcat-openbsd-1.89.orig 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/netcat-openbsd-1.89-15.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 + /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/netcat-openbsd-1.89-build/SPECPARTS/rpm-debuginfo.specpart Processing files: netcat-openbsd-1.89-15.mga10.x86_64 Provides: netcat = 1.0 netcat-openbsd = 1.89-15.mga10 netcat-openbsd(x86-64) = 1.89-15.mga10 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.16)(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) libglib-2.0.so.0()(64bit) Processing files: netcat-openbsd-debugsource-1.89-15.mga10.x86_64 Provides: netcat-openbsd-debugsource = 1.89-15.mga10 netcat-openbsd-debugsource(x86-64) = 1.89-15.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: netcat-openbsd-debuginfo-1.89-15.mga10.x86_64 Provides: debuginfo(build-id) = 0c1eba904473f66b89b281f2cd67faa71b8fce22 netcat-openbsd-debuginfo = 1.89-15.mga10 netcat-openbsd-debuginfo(x86-64) = 1.89-15.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: netcat-openbsd-debugsource(x86-64) = 1.89-15.mga10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/netcat-openbsd-debuginfo-1.89-15.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/netcat-openbsd-debugsource-1.89-15.mga10.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/netcat-openbsd-1.89-15.mga10.x86_64.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pA3LdD + umask 022 + cd /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + test -d /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + rm -rf /home/pterjan/rpmbuild/BUILD/netcat-openbsd-1.89-build + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!