Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ngrep.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667858250.016090/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.emxe0kw_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.emxe0kw_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c7f50e800e97420596cc8866d8c68bcb', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667858250.016090/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.emxe0kw_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ngrep.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665705600 Wrote: /builddir/build/SRPMS/ngrep-1.47^20180128git2a9603b-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ngrep.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667858250.016090/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.emxe0kw_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.emxe0kw_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ea9921f7d05e4d908828b1a26e6ae7e1', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667858250.016090/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.emxe0kw_:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ngrep.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1665705600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.picAnp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ngrep-2a9603bc67dface9606a658da45e1f5c65170444.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/27.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -r regex-0.12 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.thq1Ck + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + autoreconf -fiv 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: './config.sub' is updated autoreconf: './config.guess' is updated autoreconf: Leaving directory '.' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-pcre2 --enable-ipv6 --with-pcap-includes=/usr/include/pcap --enable-tcpkill configure: WARNING: unrecognized options: --disable-dependency-tracking Configuring System ... checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for x86_64-redhat-linux-gnu-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: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j2 V=1 VERBOSE=1 STRIPFLAG= gcc -DHAVE_CONFIG_H -DLINUX -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I/usr/include/pcap -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -c tcpkill.c tcpkill.c: In function 'tcpkill_kill': tcpkill.c:47:12: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign] 47 | snprintf(ctext, sizeof(ctext), "%s:%d > %s:%d:", | ^~~~~ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from tcpkill.c:11: /usr/include/bits/stdio2.h:51:1: note: expected 'char * restrict' but argument is of type 'u_char *' {aka 'unsigned char *'} 51 | __NTH (snprintf (char *__restrict __s, size_t __n, | ^~~~~ 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:31:25: warning: variable 'len' set but not used [-Wunused-but-set-variable] 31 | uint32_t seq, win, i, len; | ^~~ 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:394:18: note: declared here 394 | 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_DEFAULT_SOURCE -DHAVE_NET_ETHERNET_H -D_BSD_SOURCE=1 -D__FAVOR_BSD=1 -I/usr/include/pcap -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -c ngrep.c 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:394:18: note: declared here 394 | 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); | ^~~~~~~~~~~~ ngrep.c: In function 'clean_exit': ngrep.c:1503:22: warning: unused variable 's' [-Wunused-variable] 1503 | struct pcap_stat s; | ^ gcc -o ngrep ngrep.o tcpkill.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -lpcap -lnet -lpcre2-8 -lnet + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.QOq3fV + umask 022 + cd /builddir/build/BUILD + '[' '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64' '!=' / ']' + rm -rf '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64' ++ dirname '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64' + mkdir -p /builddir/build/BUILDROOT + mkdir '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64' + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + install -Ddpm0755 '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/sbin' '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/man/man8' + /usr/bin/make install 'DESTDIR=/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64' 'INSTALL=/usr/bin/install -p' BINDIR_INSTALL=/usr/sbin /usr/bin/install -p -c -m 0755 ngrep /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64//usr/sbin/ngrep /usr/bin/install -p -c -m 0644 ngrep.8 /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64//usr/share/man/man8/ngrep.8 + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed '1.47^20180128git2a9603b-1.fc38' --unique-debug-suffix '-1.47^20180128git2a9603b-1.fc38.x86_64' --unique-debug-src-base 'ngrep-1.47^20180128git2a9603b-1.fc38.x86_64' --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/ngrep-2a9603bc67dface9606a658da45e1f5c65170444 extracting debug info from /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/sbin/ngrep original debug info size: 92kB, size after compression: 88kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 98 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ngrep-1.47^20180128git2a9603b-1.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mqtUST + umask 022 + cd /builddir/build/BUILD + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + DOCDIR='/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/doc/ngrep' + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/doc/ngrep' + cp -pr CHANGES '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/doc/ngrep' + cp -pr CREDITS '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/doc/ngrep' + cp -pr EXAMPLES.md '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/doc/ngrep' + cp -pr README.md '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/doc/ngrep' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rJA7cN + umask 022 + cd /builddir/build/BUILD + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + LICENSEDIR='/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/licenses/ngrep' + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/licenses/ngrep' + cp -pr LICENSE '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64/usr/share/licenses/ngrep' + RPM_EC=0 ++ jobs -p + exit 0 Provides: ngrep = 1.47^20180128git2a9603b-1.fc38 ngrep(x86-64) = 1.47^20180128git2a9603b-1.fc38 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) rtld(GNU_HASH) Processing files: ngrep-debugsource-1.47^20180128git2a9603b-1.fc38.x86_64 Provides: ngrep-debugsource = 1.47^20180128git2a9603b-1.fc38 ngrep-debugsource(x86-64) = 1.47^20180128git2a9603b-1.fc38 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^20180128git2a9603b-1.fc38.x86_64 Provides: debuginfo(build-id) = 897143916f62f5fcd5322e7e550718cabc66469a ngrep-debuginfo = 1.47^20180128git2a9603b-1.fc38 ngrep-debuginfo(x86-64) = 1.47^20180128git2a9603b-1.fc38 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^20180128git2a9603b-1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64 Wrote: /builddir/build/RPMS/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ngrep-debuginfo-1.47^20180128git2a9603b-1.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ngrep-debugsource-1.47^20180128git2a9603b-1.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.b2BCcI + umask 022 + cd /builddir/build/BUILD + cd ngrep-2a9603bc67dface9606a658da45e1f5c65170444 + /usr/bin/rm -rf '/builddir/build/BUILDROOT/ngrep-1.47^20180128git2a9603b-1.fc38.x86_64' + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.EDG6fO + umask 022 + cd /builddir/build/BUILD + rm -rf ngrep-2a9603bc67dface9606a658da45e1f5c65170444 ngrep-2a9603bc67dface9606a658da45e1f5c65170444.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0