D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/ngrep-1.47-5.mga9.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0nQbuR + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf ngrep-1_47 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ngrep-1_47.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ngrep-1_47 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ngrep-1.47-upstream-fixes.patch + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/ngrep-1.47-pcre2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r regex-0.12 + cp -af /usr/lib/rpm/mageia/config.guess /usr/lib/rpm/mageia/config.sub . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PpL57p + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ngrep-1_47 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:14: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:14: You should run autoupdate. ./lib/autoconf/general.m4:2081: AC_CANONICAL_SYSTEM is expanded from... configure.in:14: the top level configure.in:16: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:16: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:16: the top level autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: not using Automake autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-pcre2 --enable-ipv6 --with-pcap-includes=/usr/include/pcap --enable-tcpkill --disable-pcap-restart configure: WARNING: unrecognized options: --disable-dependency-tracking Configuring System ... checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu checking for x86_64-mageia-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for libnet_init in -lnet... yes Configuring Network Grep ... checking for a complete set of pcap headers... checking how to run the C preprocessor... gcc -E found /usr/include/pcap checking for pcap_open_live in -lpcap... yes checking for BPF include path... pcap/bpf.h checking for DLT_LINUX_SLL in pcap/bpf.h... yes checking for DLT_LOOP in pcap/bpf.h... yes checking for DLT_IEEE802_11 in pcap/bpf.h... yes checking for DLT_IEEE802_11_RADIO in pcap/bpf.h... yes checking for DLT_RAW in pcap/bpf.h... yes checking for DLT_PFLOG in pcap/bpf.h... yes checking for DLT_IPNET in pcap/bpf.h... yes CONFIG: IPv6 support enabled CONFIG: privilege dropping enabled (using nobody) CONFIG: using PCRE2 regex library CONFIG: tcpkill feature enabled CONFIG: automatically including VLAN frames configure: creating ./config.status config.status: creating Makefile config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j16 V=1 VERBOSE=1 STRIPFLAG= gcc -DHAVE_CONFIG_H -DLINUX -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I/usr/include/pcap -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -c tcpkill.c In file included from /usr/include/sys/types.h:25, from tcpkill.c:11: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ tcpkill.c: In function 'tcpkill_kill': tcpkill.c:68:11: warning: implicit declaration of function 'warn' [-Wimplicit-function-declaration] 68 | warn("write"); | ^~~~ tcpkill.c:70:31: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 70 | fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); | ~~^ ~~~ | | | | long unsigned int uint32_t {aka unsigned int} | %u tcpkill.c:70:35: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'uint32_t' {aka 'unsigned int'} [-Wformat=] 70 | fprintf(stderr, "%s R %lu:%lu(0) win 0\n", ctext, seq, seq); | ~~^ ~~~ | | | | long unsigned int uint32_t {aka unsigned int} | %u tcpkill.c: In function 'tcpkill_init': tcpkill.c:80:3: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 80 | if ((intf = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from tcpkill.c:18: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ tcpkill.c:81:7: warning: implicit declaration of function 'errx' [-Wimplicit-function-declaration] 81 | errx(1, "%s", ebuf); | ^~~~ gcc -DHAVE_CONFIG_H -DLINUX -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I/usr/include/pcap -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -g -c ngrep.c In file included from /usr/include/getopt.h:24, from ngrep.c:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ngrep.c: In function 'main': ngrep.c:369:9: warning: implicit declaration of function 'tcpkill_init' [-Wimplicit-function-declaration] 369 | tcpkill_init(); | ^~~~~~~~~~~~ ngrep.c: In function 'setup_pcap_source': ngrep.c:457:13: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 457 | pcap_lookupdev(pc_err); | ^~~~~~~~~~~~~~ In file included from ngrep.c:83: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ ngrep.c: In function 'dump_packet': ngrep.c:1017:9: warning: implicit declaration of function 'tcpkill_kill' [-Wimplicit-function-declaration] 1017 | tcpkill_kill(h, p, link_offset, tcpkill_active); | ^~~~~~~~~~~~ gcc -o ngrep ngrep.o tcpkill.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -lpcap -lnet -lpcre2-8 -lnet + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M6fahu + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64 + cd ngrep-1_47 + '[' 1 -eq 1 ']' + make install DESTDIR=/home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64 ./install-sh -c -m 0755 ngrep /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64//usr/bin/ngrep ./install-sh -c -m 0644 ngrep.8 /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64//usr/share/man/man8/ngrep.8 + /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 1.47-5.mga9 --unique-debug-suffix -1.47-5.mga9.x86_64 --unique-debug-src-base ngrep-1.47-5.mga9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/ngrep-1_47 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/bin/ngrep original debug info size: 92kB, size after compression: 92kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 98 blocks + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ngrep-1.47-5.mga9.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2cCugN + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ngrep-1_47 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/doc/ngrep + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/doc/ngrep + cp -pr CHANGES /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/doc/ngrep + cp -pr CREDITS /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/doc/ngrep + cp -pr EXAMPLES.md /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/doc/ngrep + cp -pr README.md /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/doc/ngrep + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.G5FTt9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ngrep-1_47 + LICENSEDIR=/home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/licenses/ngrep + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/licenses/ngrep + cp -pr LICENSE /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64/usr/share/licenses/ngrep + RPM_EC=0 ++ jobs -p + exit 0 Provides: ngrep = 1.47-5.mga9 ngrep(x86-64) = 1.47-5.mga9 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.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libnet.so.1()(64bit) libpcap.so.1()(64bit) libpcre2-8.so.0()(64bit) Processing files: ngrep-debugsource-1.47-5.mga9.x86_64 Provides: ngrep-debugsource = 1.47-5.mga9 ngrep-debugsource(x86-64) = 1.47-5.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ngrep-debuginfo-1.47-5.mga9.x86_64 Provides: debuginfo(build-id) = 2735b6ace1a7677648a2fb7a02281b82384d2732 ngrep-debuginfo = 1.47-5.mga9 ngrep-debuginfo(x86-64) = 1.47-5.mga9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ngrep-debugsource(x86-64) = 1.47-5.mga9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ngrep-debugsource-1.47-5.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ngrep-debuginfo-1.47-5.mga9.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/ngrep-1.47-5.mga9.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.J5UMPr + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd ngrep-1_47 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/ngrep-1.47-5.mga9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7wm8ND + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf ngrep-1_47 ngrep-1_47.gemspec + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!