D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/netcat-openbsd-1.89-10.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.l76w9k + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf netcat-openbsd-1.89.orig + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/netcat-openbsd-1.89.tar.gz + /usr/bin/tar -xof - + 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 -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 -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 -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 -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 -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 -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 -p1 --fuzz=0 patching file netcat.c + echo 'Patch #5 (pollhup.patch):' Patch #5 (pollhup.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file netcat.c + echo 'Patch #6 (reuseaddr.patch):' Patch #6 (reuseaddr.patch): + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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 -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 -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 -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 -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 -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 -p1 --fuzz=0 patching file netcat.c patching file socks.c + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zGId6z + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd netcat-openbsd-1.89.orig + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/make -O -j4 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables `pkg-config --cflags glib-2.0` -Iopenbsd-compat -c atomicio.c -o atomicio.o gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables `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,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables `pkg-config --cflags glib-2.0` -Iopenbsd-compat -c socks.c -o socks.o socks.c: In function 'socks_connect': socks.c:289:49: warning: 'Proxy-Authorization: Basic ' directive output truncated writing 27 bytes into a region of size 8 [-Wformat-truncation=] r = snprintf((char*)buf, sizeof((char*)buf), "Proxy-Authorization: " ^~~~~~~~~~~~~~~~~~~~~~~ socks.c:289:58: note: format string is defined here r = snprintf((char*)buf, sizeof((char*)buf), "Proxy-Authorization: " ~~~~~~~~^~~~~~~~~~~~~~ "Basic %s\r\n", resp); ~~~~~~~ In file included from /usr/include/stdio.h:862:0, from socks.c:36: /usr/include/bits/stdio2.h:64:10: note: '__builtin___snprintf_chk' output 30 or more bytes into a destination of size 8 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables `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:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(output, prompt, strlen(prompt)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ openbsd-compat/readpassphrase.c:135:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(output, "\n", 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables `pkg-config --cflags glib-2.0` -Iopenbsd-compat -c netcat.c -o netcat.o gcc `pkg-config --libs glib-2.0` netcat.o atomicio.o socks.o openbsd-compat/base64.o openbsd-compat/readpassphrase.o -o nc + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vz3BeQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64 + cd netcat-openbsd-1.89.orig + '[' 1 -eq 1 ']' + install -d /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64/usr/bin + install -m 755 nc /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64/usr/bin + cd /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64/usr/bin + ln -s nc netcat + install -d /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64/usr/share/man/man1 + install -m 644 nc.1 /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64/usr/share/man/man1 + cd /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64/usr/share/man/man1 + ln -s nc.1 netcat.1 + /usr/lib/rpm/find-debuginfo.sh -j4 -m -i --build-id-seed 1.89-10.mga7 --unique-debug-suffix -1.89-10.mga7.x86_64 --unique-debug-src-base netcat-openbsd-1.89-10.mga7.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.orig extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64/usr/bin/nc /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 105 blocks + '[' -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/translate_menu + '[' -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_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: netcat-openbsd-1.89-10.mga7.x86_64 Provides: netcat = 1.0 netcat-openbsd = 1.89-10.mga7 netcat-openbsd(x86-64) = 1.89-10.mga7 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.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.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libglib-2.0.so.0()(64bit) Conflicts: netcat < 1.0 netcat-gnu netcat-traditional Obsoletes: netcat-bsd Processing files: netcat-openbsd-debugsource-1.89-10.mga7.x86_64 Provides: netcat-openbsd-debugsource = 1.89-10.mga7 netcat-openbsd-debugsource(x86-64) = 1.89-10.mga7 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-10.mga7.x86_64 Provides: debuginfo(build-id) = 5afc8af305540e98afacd2c7bcd68951c34e5691 netcat-openbsd-debuginfo = 1.89-10.mga7 netcat-openbsd-debuginfo(x86-64) = 1.89-10.mga7 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-10.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/netcat-openbsd-1.89-10.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/netcat-openbsd-debugsource-1.89-10.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/netcat-openbsd-debuginfo-1.89-10.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.96sIS8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd netcat-openbsd-1.89.orig + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/netcat-openbsd-1.89-10.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Hxhkyr + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf netcat-openbsd-1.89.orig + exit 0 D: [iurt_root_command] Success!