Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/tcpick.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672362826.630667/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.3g8fbhgn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.3g8fbhgn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '63c4d57eb8b74c4da781ef5373deadad', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672362826.630667/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3g8fbhgn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/tcpick.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=1658534400 Wrote: /builddir/build/SRPMS/tcpick-0.2.1-42.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/tcpick.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1672362826.630667/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.3g8fbhgn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.3g8fbhgn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'bc6755d7147945a3962ea64f960b4057', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1672362826.630667/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.3g8fbhgn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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/tcpick.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8ZR6kR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tcpick-0.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tcpick-0.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tcpick-0.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (tcpick-0.2.1-CVE-2006-0048.patch):' Patch #0 (tcpick-0.2.1-CVE-2006-0048.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .CVE-2006-0048 --fuzz=0 patching file src/write.c Patch #1 (tcpick-0.2.1-ppc.patch): + echo 'Patch #1 (tcpick-0.2.1-ppc.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .ppc --fuzz=0 patching file src/args.c Patch #2 (tcpick-0.2.1-pointers.patch): + echo 'Patch #2 (tcpick-0.2.1-pointers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .pointers --fuzz=0 patching file src/display.c patching file src/tcpick.c patching file src/write.c patching file src/lookup.h patching file src/datalink.h Patch #3 (tcpick-0.2.1-cpu-loop.patch): + echo 'Patch #3 (tcpick-0.2.1-cpu-loop.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cpu-loop --fuzz=0 patching file src/tracker.c Patch #4 (tcpick-0.2.1-timezone.patch): + echo 'Patch #4 (tcpick-0.2.1-timezone.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .timezone --fuzz=0 patching file src/time.c Patch #5 (tcpick-0.2.1-gcc5.patch): + echo 'Patch #5 (tcpick-0.2.1-gcc5.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc5 --fuzz=0 patching file src/verify.c patching file src/fragments.c patching file src/write.c Hunk #1 succeeded at 184 (offset 3 lines). Patch #6 (tcpick-0.2.1-gcc10.patch): + echo 'Patch #6 (tcpick-0.2.1-gcc10.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/verify.c patching file src/write.c patching file src/conn.h patching file src/globals.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1llkVA + 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 tcpick-0.2.1 + 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 --- ./configure.backup 2005-01-18 21:39:23.000000000 +0000 +++ ./configure 2022-12-30 01:15:19.997619697 +0000 @@ -4309,7 +4309,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /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 + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --bindir=/usr/sbin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for pcap_loop in -lpcap... yes checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/udp.h usability... yes checking netinet/udp.h presence... yes checking for netinet/udp.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking pcap/pcap.h usability... yes checking pcap/pcap.h presence... yes checking for pcap/pcap.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for netinet/ip.h... yes checking for net/if.h... yes checking for netinet/if_ether.h... yes checking for gethostbyaddr... yes checking for getservbyport... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for strdup... yes checking for strndup... yes checking for strtol... yes checking for getopt... yes checking for getopt_long... yes checking for asctime... yes checking for atoi... yes checking for getuid... yes checking for isascii... yes checking for isgraph... yes checking for iscntrl... yes checking for vfprintf... yes checking for localtime... yes checking for vprintf... yes checking for setuid... yes checking for perror... yes checking for signal... yes checking for setitimer... yes checking for strftime... yes checking for time... yes checking for unlink... yes checking for mkdir... yes checking for atexit... yes checking for _exit... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/config.h config.status: executing depfiles commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 Making all in src /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c args.c args.c: In function 'usage': args.c:54:9: warning: implicit declaration of function 'color' [-Wimplicit-function-declaration] 54 | color(c_USAGE, stderr, USAGE); | ^~~~~ In file included from tcpick.h:108, from args.c:45: args.c: In function 'parse_write': def.h:48:2: warning: implicit declaration of function 'err' [-Wimplicit-function-declaration] 48 | err( "Unrecognized option: %c\n", c ); | ^~~ args.c:105:33: note: in expansion of macro 'ERR_FLAV' 105 | ERR_FLAV( c ); | ^~~~~~~~ args.c: In function 'parse_args': args.c:216:33: warning: implicit declaration of function 'suicide' [-Wimplicit-function-declaration] 216 | suicide( "parse_args", "%s: invalid number of maximum connections",optarg ); | ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c display.c display.c: In function 'display_status': display.c:96:13: warning: implicit declaration of function 'time_ascii' [-Wimplicit-function-declaration] 96 | if( time_ascii( s_time ) ) | ^~~~~~~~~~ display.c:97:17: warning: implicit declaration of function 'color' [-Wimplicit-function-declaration] 97 | color( c_TIME, out,"%-16s ",s_time ); /* FIXME: check */ | ^~~~~ display.c:111:22: warning: implicit declaration of function 'getportname'; did you mean 'gethostname'? [-Wimplicit-function-declaration] 111 | getportname(conn->client.port) ); | ^~~~~~~~~~~ | gethostname display.c: In function 'out_hn': display.c:198:23: warning: implicit declaration of function 'isascii' [-Wimplicit-function-declaration] 198 | if( ( isascii( CHAR ) && !iscntrl( CHAR ) ) || | ^~~~~~~ display.c:198:43: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] 198 | if( ( isascii( CHAR ) && !iscntrl( CHAR ) ) || | ^~~~~~~ display.c:33:1: note: include '' or provide a declaration of 'iscntrl' 32 | #include "extern.h" +++ |+#include 33 | display.c: In function 'out_xa': display.c:248:38: warning: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] 248 | if ( isgraph( *( buf + pos ) ) ) | ^~~~~~~ display.c:248:38: note: include '' or provide a declaration of 'isgraph' display.c: In function 'out_x': display.c:301:64: warning: too many arguments for format [-Wformat-extra-args] 301 | fprintf(out, pos % 2 ? " " : " ", *( buf + pos ) ); | ^~~~ display.c: In function 'display_status': display.c:127:1: warning: control reaches end of non-void function [-Wreturn-type] 127 | } | ^ display.c: In function 'display_header': display.c:176:1: warning: control reaches end of non-void function [-Wreturn-type] 176 | } | ^ display.c: In function 'out_h': display.c:190:1: warning: control reaches end of non-void function [-Wreturn-type] 190 | } | ^ display.c: In function 'out_hn': display.c:209:1: warning: control reaches end of non-void function [-Wreturn-type] 209 | } | ^ display.c: In function 'out_p': display.c:228:1: warning: control reaches end of non-void function [-Wreturn-type] 228 | } | ^ display.c: In function 'out_xa': display.c:281:1: warning: control reaches end of non-void function [-Wreturn-type] 281 | } | ^ display.c: In function 'out_x': display.c:312:1: warning: control reaches end of non-void function [-Wreturn-type] 312 | } | ^ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c lookup_tree.c make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c lookup_query.c lookup_query.c: In function 'lookup_new': lookup_query.c:42:9: warning: implicit declaration of function '_l_insert' [-Wimplicit-function-declaration] 42 | _l_insert( node ); | ^~~~~~~~~ lookup_query.c: In function 'getportname': lookup_query.c:83:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 83 | if(ptr=(struct servent *)getservbyport(port, "tcp")) | ^~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c loop.c loop.c: In function 'got_packet': loop.c:45:17: warning: implicit declaration of function 'check_expired' [-Wimplicit-function-declaration] 45 | check_expired(); | ^~~~~~~~~~~~~ loop.c:50:17: warning: implicit declaration of function 'fault' [-Wimplicit-function-declaration] 50 | fault( "got_packet", "didn't grab packet" ); | ^~~~~ loop.c:98:25: warning: implicit declaration of function 'display_header' [-Wimplicit-function-declaration] 98 | display_header( stdout, ippacket, tcppacket, | ^~~~~~~~~~~~~~ loop.c:101:17: warning: implicit declaration of function 'verify' [-Wimplicit-function-declaration] 101 | verify(); /* call the core to manage the packet */ | ^~~~~~ loop.c:106:17: warning: implicit declaration of function 'out_flavour' [-Wimplicit-function-declaration] 106 | out_flavour( flags.display_payload, | ^~~~~~~~~~~ loop.c:140:1: warning: control reaches end of non-void function [-Wreturn-type] 140 | } | ^ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c tracker.c tracker.c: In function 'status_switch': tracker.c:38:9: warning: implicit declaration of function 'display_status' [-Wimplicit-function-declaration] 38 | display_status( stdout, CURR, status ); | ^~~~~~~~~~~~~~ tracker.c:42:17: warning: implicit declaration of function 'rmconn' [-Wimplicit-function-declaration] 42 | rmconn( prev ); | ^~~~~~ tracker.c: In function 'rmconn': tracker.c:102:9: warning: implicit declaration of function 'free_desc' [-Wimplicit-function-declaration] 102 | free_desc( &(curr->client), 1); | ^~~~~~~~~ tracker.c: In function 'status_switch': tracker.c:45:1: warning: control reaches end of non-void function [-Wreturn-type] 45 | } | ^ tracker.c: In function 'newconn': tracker.c:88:1: warning: control reaches end of non-void function [-Wreturn-type] 88 | } | ^ tracker.c: In function 'rmconn': tracker.c:128:1: warning: control reaches end of non-void function [-Wreturn-type] 128 | } | ^ tracker.c: In function 'free_desc': tracker.c:159:1: warning: control reaches end of non-void function [-Wreturn-type] 159 | } | ^ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c tcpick.c tcpick.c: In function 'signal_setup': tcpick.c:82:17: warning: implicit declaration of function 'sorry' [-Wimplicit-function-declaration] 82 | sorry("signal_setup", "signal(%d,%p) returned SIG_ERR"); | ^~~~~ tcpick.c: In function 'main': tcpick.c:93:9: warning: implicit declaration of function 'parse_args' [-Wimplicit-function-declaration] 93 | parse_args(argc, argv); | ^~~~~~~~~~ tcpick.c:96:9: warning: implicit declaration of function 'set_timer'; did you mean 'setitimer'? [-Wimplicit-function-declaration] 96 | set_timer(); | ^~~~~~~~~ | setitimer tcpick.c:126:17: warning: implicit declaration of function 'fault' [-Wimplicit-function-declaration] 126 | fault("main", "Unable to get current localtime()"); | ^~~~~ tcpick.c:130:9: warning: implicit declaration of function 'msg' [-Wimplicit-function-declaration] 130 | msg( 1, c_WELCOME, | ^~~ tcpick.c:169:17: warning: implicit declaration of function 'suicide' [-Wimplicit-function-declaration] 169 | suicide( "main", | ^~~~~~~ tcpick.c:177:17: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 177 | dev = pcap_lookupdev( (char*) errbuf ); | ^~~ In file included from tcpick.h:89, from tcpick.c:50: /usr/include/pcap/pcap.h:394:18: note: declared here 394 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ tcpick.c:206:25: warning: implicit declaration of function 'err' [-Wimplicit-function-declaration] 206 | err( "%s", errbuf ); | ^~~ tcpick.c:242:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 242 | (int)net | ^ tcpick.c:252:22: warning: pointer targets in assignment from 'char *' to 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 252 | datalink_str = (char *)datalink2str( datalink_id ); | ^ tcpick.c:254:25: warning: implicit declaration of function 'datalink2off'; did you mean 'datalink2str'? [-Wimplicit-function-declaration] 254 | datalink_size = datalink2off( datalink_id ); | ^~~~~~~~~~~~ | datalink2str tcpick.c:184:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 184 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c write.c write.c: In function 'avail_filename': write.c:68:41: warning: implicit declaration of function 'fault' [-Wimplicit-function-declaration] 68 | fault("avail_filename", "mkdir"); | ^~~~~ write.c:86:17: warning: implicit declaration of function 'getportname'; did you mean 'gethostname'? [-Wimplicit-function-declaration] 86 | getportname(server_port) | ^~~~~~~~~~~ | gethostname write.c:83:39: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'int' [-Wformat=] 83 | sprintf(client_server,"%s_%s_%s", | ~^ | | | char * | %d ...... 86 | getportname(server_port) | ~~~~~~~~~~~~~~~~~~~~~~~~ | | | int write.c:106:25: warning: enumeration value 'NOTHING' not handled in switch [-Wswitch] 106 | switch( side ) { | ^~~~~~ write.c:106:25: warning: enumeration value 'BOTH' not handled in switch [-Wswitch] write.c:120:25: warning: enumeration value 'NOTHING' not handled in switch [-Wswitch] 120 | switch( side ) { | ^~~~~~ write.c:120:25: warning: enumeration value 'BOTH' not handled in switch [-Wswitch] write.c: In function 'flowflush': write.c:198:17: warning: implicit declaration of function 'out_flavour' [-Wimplicit-function-declaration] 198 | out_flavour ( flags.display_rebuild.flavour, | ^~~~~~~~~~~ write.c: In function 'out_flavour': write.c:245:17: warning: implicit declaration of function 'color' [-Wimplicit-function-declaration] 245 | color( c_SEPARATOR, stdout, SEPARATOR "\n" ); | ^~~~~ write.c:252:17: warning: implicit declaration of function 'out_xa' [-Wimplicit-function-declaration] 252 | out_xa( out, buf, buflen ); | ^~~~~~ write.c:255:17: warning: implicit declaration of function 'out_x' [-Wimplicit-function-declaration] 255 | out_x( out, buf, buflen ); | ^~~~~ write.c:263:17: warning: implicit declaration of function 'out_p' [-Wimplicit-function-declaration] 263 | out_p( out, buf, buflen ); | ^~~~~ write.c:266:17: warning: implicit declaration of function 'out_h' [-Wimplicit-function-declaration] 266 | out_h( out, buf, buflen ); | ^~~~~ write.c:269:17: warning: implicit declaration of function 'out_hn' [-Wimplicit-function-declaration] 269 | out_hn( out, buf, buflen ); | ^~~~~~ write.c: In function 'flowflush': write.c:235:1: warning: control reaches end of non-void function [-Wreturn-type] 235 | } | ^ write.c: In function 'out_flavour': write.c:274:1: warning: control reaches end of non-void function [-Wreturn-type] 274 | } | ^ In file included from /usr/include/stdio.h:906, from tcpick.h:14, from write.c:30: In function 'sprintf', inlined from 'avail_filename' at write.c:83:2: /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 5 overlaps destination object 'client_server_24' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c datalink.c datalink.c: In function 'datalink2off': datalink.c:221:17: warning: implicit declaration of function 'suicide' [-Wimplicit-function-declaration] 221 | suicide("datalink2off", | ^~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c verify.c verify.c: In function 'established_packet': verify.c:106:17: warning: implicit declaration of function 'addfr' [-Wimplicit-function-declaration] 106 | addfr( & (Desc->unack), | ^~~~~ verify.c:115:17: warning: implicit declaration of function 'flush_ack' [-Wimplicit-function-declaration] 115 | flush_ack ( Desc->oth, conn_ptr, ACK_OFF ); | ^~~~~~~~~ verify.c:122:1: warning: no return statement in function returning non-void [-Wreturn-type] 122 | } | ^ verify.c: In function 'verify': verify.c:139:17: warning: implicit declaration of function 'newconn' [-Wimplicit-function-declaration] 139 | newconn( last_conn ); | ^~~~~~~ verify.c:170:17: warning: implicit declaration of function 'status_switch' [-Wimplicit-function-declaration] 170 | status_switch( prev_conn, SYN_RECEIVED ); | ^~~~~~~~~~~~~ verify.c:220:1: warning: control reaches end of non-void function [-Wreturn-type] 220 | } | ^ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c colors.c colors.c: In function 'textcolor': colors.c:20:33: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] 20 | sprintf(command, "%c[%d;%dm", 0x1B, attr, fg + 30); | ^~ colors.c:20:26: note: directive argument in the range [-2147483618, 2147483647] 20 | sprintf(command, "%c[%d;%dm", 0x1B, attr, fg + 30); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from tcpick.h:14, from colors.c:13: In function 'sprintf', inlined from 'textcolor' at colors.c:20:2: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 27 bytes into a destination of size 13 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ colors.c: In function 'color': colors.c:20:33: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] 20 | sprintf(command, "%c[%d;%dm", 0x1B, attr, fg + 30); | ^~ In function 'textcolor', inlined from 'color' at colors.c:39:3: colors.c:20:26: note: directive argument in the range [-2147483618, 2147483647] 20 | sprintf(command, "%c[%d;%dm", 0x1B, attr, fg + 30); | ^~~~~~~~~~~ In function 'sprintf', inlined from 'textcolor' at colors.c:20:2, inlined from 'color' at colors.c:39:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 7 and 27 bytes into a destination of size 13 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c time.c time.c: In function 'time_ascii': time.c:57:54: warning: format '%d' expects argument of type 'int', but argument 6 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 57 | sprintf(ret,"%2.2d:%2.2d:%2.2d.%6.6d", | ~~~~^ | | | int | %6.6ld ...... 61 | tp->tv_usec | ~~~~~~~~~~~ | | | __suseconds_t {aka long int} time.c:67:27: warning: format '%d' expects argument of type 'int', but argument 9 has type '__suseconds_t' {aka 'long int'} [-Wformat=] 67 | "%2.2d-%2.2d-%2.2d " /* date */ | ^~~~~~~~~~~~~~~~~~~~ ...... 82 | tp->tv_usec | ~~~~~~~~~~~ | | | __suseconds_t {aka long int} time.c:68:50: note: format string is defined here 68 | "%2.2d:%2.2d:%2.2d.%6.6d", /* time */ | ~~~~^ | | | int | %6.6ld time.c:102:15: warning: zero-length gnu_printf format string [-Wformat-zero-length] 102 | sprintf(ret,""); | ^~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c timer.c timer.c: In function 'set_timer': timer.c:81:25: warning: implicit declaration of function 'sorry' [-Wimplicit-function-declaration] 81 | sorry("main", "setitimer"); | ^~~~~ timer.c:38:23: warning: implicit declaration of function 'err' [-Wimplicit-function-declaration] 38 | #define TIMER_ERR_MSG err( "unable to set timer properly.\n" \ | ^~~ timer.c:82:25: note: in expansion of macro 'TIMER_ERR_MSG' 82 | TIMER_ERR_MSG ; | ^~~~~~~~~~~~~ timer.c:90:9: warning: implicit declaration of function 'signal_setup' [-Wimplicit-function-declaration] 90 | signal_setup (SIGALRM, sigalrm_callback); | ^~~~~~~~~~~~ timer.c: In function 'check_expired': timer.c:111:25: warning: implicit declaration of function 'status_switch' [-Wimplicit-function-declaration] 111 | status_switch( prev_conn, EXPIRED ); | ^~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c debug.c debug.c: In function 'print_conn_chain': debug.c:35:27: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct CONN *' [-Wformat=] 35 | printf ("%x->",f); | ~^ ~ | | | | | struct CONN * | unsigned int debug.c: In function 'print_fragment_chain': debug.c:51:27: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'struct FRAGMENT *' [-Wformat=] 51 | printf ("%x(%i,%i)->",f,f->off,f->len); | ~^ ~ | | | | | struct FRAGMENT * | unsigned int make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c fragments.c fragments.c: In function 'flush_ack': fragments.c:174:17: warning: implicit declaration of function 'flowflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] 174 | flowflush( conn_ptr, desc->oth, LIST->payload, LIST->len ); | ^~~~~~~~~ | fflush fragments.c: In function 'addfr': fragments.c:157:1: warning: control reaches end of non-void function [-Wreturn-type] 157 | } | ^ fragments.c: In function 'flush_ack': fragments.c:182:1: warning: control reaches end of non-void function [-Wreturn-type] 182 | } | ^ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c quit.c quit.c: In function 'fault': quit.c:39:9: warning: implicit declaration of function 'err' [-Wimplicit-function-declaration] 39 | err( BUGREPORT ); | ^~~ quit.c:41:9: warning: implicit declaration of function 'color' [-Wimplicit-function-declaration] 41 | color( c_ERR, stderr, "FAULT:\t" ); | ^~~~~ quit.c: In function 'print_statistics': quit.c:74:9: warning: implicit declaration of function 'msg' [-Wimplicit-function-declaration] 74 | msg( 1, c_STATISTICS, "\n%d packets captured", count_packets); | ^~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c msg.c msg.c: In function 'err': msg.c:52:9: warning: implicit declaration of function 'color' [-Wimplicit-function-declaration] 52 | color( c_ERR, stderr, "ERROR: " ); | ^~~~~ msg.c: In function 'msg': msg.c:68:17: warning: implicit declaration of function 'textcolor' [-Wimplicit-function-declaration] 68 | textcolor ( stdout, attr, fg, GREEN ); | ^~~~~~~~~ msg.c:75:17: warning: implicit declaration of function 'resetcolor' [-Wimplicit-function-declaration] 75 | resetcolor( stdout ); | ^~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' gcc -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 -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 -o tcpick args.o display.o lookup_tree.o lookup_query.o loop.o tracker.o tcpick.o write.o datalink.o verify.o colors.o time.o timer.o debug.o fragments.o quit.o msg.o -lpcap display.c:111:22: warning: type of 'getportname' does not match original declaration [-Wlto-type-mismatch] 111 | getportname(conn->client.port) ); | ^ lookup_query.c:66:1: note: return value type mismatch 66 | getportname(u_int16_t port) | ^ lookup_query.c:66:1: note: 'getportname' was previously declared here lookup_query.c:66:1: note: code may be misoptimized unless '-fno-strict-aliasing' is used display.c:96:13: warning: type of 'time_ascii' does not match original declaration [-Wlto-type-mismatch] 96 | if( time_ascii( s_time ) ) | ^ time.c:31:8: note: return value type mismatch 31 | char * time_ascii(char * ret) | ^ time.c:31:8: note: 'time_ascii' was previously declared here time.c:31:8: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.qPPXxE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tcpick-0.2.1-42.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 tcpick-0.2.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1/src' test -z "/usr/sbin" || mkdir -p -- "/builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/sbin" /usr/bin/install -p 'tcpick' '/builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/sbin/tcpick' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[1]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1/src' make[1]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1' make[2]: Entering directory '/builddir/build/BUILD/tcpick-0.2.1' make[2]: Nothing to be done for 'install-exec-am'. test -z "/usr/share/man/man8" || mkdir -p -- "/builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/man/man8" /usr/bin/install -p -m 644 './tcpick.8' '/builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/man/man8/tcpick.8' /usr/bin/install -p -m 644 './tcpick_italian.8' '/builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/man/man8/tcpick_italian.8' make[2]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1' make[1]: Leaving directory '/builddir/build/BUILD/tcpick-0.2.1' + mkdir -p /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/man/it/man8 + mv -f /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/man/man8/tcpick_italian.8 /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/man/it/man8/tcpick.8 + iconv -f iso-8859-1 -t utf-8 -o AUTHORS.utf8 AUTHORS + touch -c -r AUTHORS AUTHORS.utf8 + mv -f AUTHORS.utf8 AUTHORS + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.2.1-42.fc38 --unique-debug-suffix -0.2.1-42.fc38.x86_64 --unique-debug-src-base tcpick-0.2.1-42.fc38.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/tcpick-0.2.1 extracting debug info from /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/sbin/tcpick original debug info size: 144kB, size after compression: 116kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 165 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: tcpick-0.2.1-42.fc38.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mVp6UT + umask 022 + cd /builddir/build/BUILD + cd tcpick-0.2.1 + DOCDIR=/builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/doc/tcpick + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/doc/tcpick + cp -pr AUTHORS /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/doc/tcpick + cp -pr ChangeLog /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/doc/tcpick + cp -pr EXAMPLES /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/doc/tcpick + cp -pr KNOWN-BUGS /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/doc/tcpick + cp -pr README /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/doc/tcpick + cp -pr THANKS /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/doc/tcpick + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.oiFUYe + umask 022 + cd /builddir/build/BUILD + cd tcpick-0.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/licenses/tcpick + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/licenses/tcpick + cp -pr COPYING /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64/usr/share/licenses/tcpick + RPM_EC=0 ++ jobs -p + exit 0 Provides: tcpick = 0.2.1-42.fc38 tcpick(x86-64) = 0.2.1-42.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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: tcpick-debugsource-0.2.1-42.fc38.x86_64 Provides: tcpick-debugsource = 0.2.1-42.fc38 tcpick-debugsource(x86-64) = 0.2.1-42.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: tcpick-debuginfo-0.2.1-42.fc38.x86_64 Provides: debuginfo(build-id) = 51f43cd391c562bfff246d938a04f86d88cdc55a tcpick-debuginfo = 0.2.1-42.fc38 tcpick-debuginfo(x86-64) = 0.2.1-42.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: tcpick-debugsource(x86-64) = 0.2.1-42.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64 Wrote: /builddir/build/RPMS/tcpick-0.2.1-42.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/tcpick-debuginfo-0.2.1-42.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/tcpick-debugsource-0.2.1-42.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BxAZlB + umask 022 + cd /builddir/build/BUILD + cd tcpick-0.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/tcpick-0.2.1-42.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.A17RQG + umask 022 + cd /builddir/build/BUILD + rm -rf tcpick-0.2.1 tcpick-0.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0