Mock Version: 2.14 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_1/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/iptraf-ng.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/iptraf-ng-1.2.1-4.el9.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/iptraf-ng.spec'], chrootPath='/var/lib/mock/rocky-9-x86_64-ABC_1/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=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/iptraf-ng.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'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.A2QlFR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iptraf-ng-1.2.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.2.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iptraf-ng-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VOQJE1 + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.2.1 + make -j4 V=1 'CFLAGS=-g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' '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 ' IPTRAF_VERSION = 1.2.1 cc -o src/tui/input.o -c -MF src/tui/.depend/input.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/input.c cc -o src/tui/labels.o -c -MF src/tui/.depend/labels.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/labels.c cc -o src/tui/listbox.o -c -MF src/tui/.depend/listbox.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/listbox.c cc -o src/tui/menurt.o -c -MF src/tui/.depend/menurt.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/menurt.c cc -o src/tui/msgboxes.o -c -MF src/tui/.depend/msgboxes.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/msgboxes.c cc -o src/tui/winops.o -c -MF src/tui/.depend/winops.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/winops.c cc -o src/error.o -c -MF src/.depend/error.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/error.c cc -o src/log.o -c -MF src/.depend/log.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/log.c cc -o src/getpath.o -c -MF src/.depend/getpath.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/getpath.c cc -o src/parseproto.o -c -MF src/.depend/parseproto.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/parseproto.c cc -o src/fltselect.o -c -MF src/.depend/fltselect.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/fltselect.c cc -o src/ipfilter.o -c -MF src/.depend/ipfilter.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/ipfilter.c cc -o src/fltmgr.o -c -MF src/.depend/fltmgr.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/fltmgr.c cc -o src/ipfrag.o -c -MF src/.depend/ipfrag.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/ipfrag.c cc -o src/serv.o -c -MF src/.depend/serv.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/serv.c cc -o src/servname.o -c -MF src/.depend/servname.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/servname.c cc -o src/timer.o -c -MF src/.depend/timer.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/timer.c cc -o src/revname.o -c -MF src/.depend/revname.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/revname.c cc -o src/pktsize.o -c -MF src/.depend/pktsize.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/pktsize.c cc -o src/landesc.o -c -MF src/.depend/landesc.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/landesc.c src/serv.c: In function 'saveportlist': src/serv.c:1129:22: warning: 'write' reading 4 bytes from a region of size 2 [-Wstringop-overread] 1129 | bw = write(fd, &(ptmp->port_min), sizeof(unsigned int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/serv.c:24: src/serv.h:11:19: note: source object 'port_min' of size 2 11 | in_port_t port_min; | ^~~~~~~~ In file included from src/iptraf-ng-compat.h:5, from src/serv.c:10: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ src/serv.c:1130:22: warning: 'write' reading 4 bytes from a region of size 2 [-Wstringop-overread] 1130 | bw = write(fd, &(ptmp->port_max), sizeof(unsigned int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/serv.c:24: src/serv.h:12:19: note: source object 'port_max' of size 2 12 | in_port_t port_max; | ^~~~~~~~ In file included from src/iptraf-ng-compat.h:5, from src/serv.c:10: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ In file included from /usr/include/unistd.h:1200, from src/iptraf-ng-compat.h:5, from src/serv.c:10: In function 'read', inlined from 'loadaddports' at src/serv.c:1206:8: cc -o src/options.o -c -MF src/.depend/options.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/options.c /usr/include/bits/unistd.h:47:10: warning: '*read' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 47 | return __read_alias (__fd, __buf, __nbytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/serv.c:24: /usr/include/bits/unistd.h: In function 'loadaddports': src/serv.h:11:19: note: destination object 'port_min' of size 2 11 | in_port_t port_min; | ^~~~~~~~ In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from src/iptraf-ng-compat.h:4, from src/serv.c:10: /usr/include/bits/unistd.h:26:16: note: in a call to function '*read' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~ In file included from /usr/include/unistd.h:1200, from src/iptraf-ng-compat.h:5, from src/serv.c:10: In function 'read', inlined from 'loadaddports' at src/serv.c:1207:8: /usr/include/bits/unistd.h:47:10: warning: '*read' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 47 | return __read_alias (__fd, __buf, __nbytes); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/serv.c:24: /usr/include/bits/unistd.h: In function 'loadaddports': src/serv.h:12:19: note: destination object 'port_max' of size 2 12 | in_port_t port_max; | ^~~~~~~~ In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from src/iptraf-ng-compat.h:4, from src/serv.c:10: /usr/include/bits/unistd.h:26:16: note: in a call to function '*read' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~ cc -o src/promisc.o -c -MF src/.depend/promisc.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/promisc.c src/options.c: In function 'loadoptions': src/options.c:174:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | read(fd, &options, sizeof(struct OPTIONS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o src/ifaces.o -c -MF src/.depend/ifaces.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/ifaces.c src/ifaces.c: In function 'open_procnetdev': src/ifaces.c:32:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fgets(buf, 160, fd); | ^~~~~~~~~~~~~~~~~~~ src/ifaces.c:33:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fgets(buf, 160, fd); | ^~~~~~~~~~~~~~~~~~~ src/ifaces.c: In function 'get_next_iface': src/ifaces.c:50:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fgets(buf, 160, fd); | ^~~~~~~~~~~~~~~~~~~ cc -o src/usage.o -c -MF src/.depend/usage.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/usage.c cc -o src/iptraf.o -c -MF src/.depend/iptraf.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ -DIPTRAF_VERSION='"1.2.1"' -DIPTRAF_NAME='"iptraf-ng"' src/iptraf.c cc -o src/itrafmon.o -c -MF src/.depend/itrafmon.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/itrafmon.c cc -o src/wrapper.o -c -MF src/.depend/wrapper.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/wrapper.c src/iptraf.c: In function 'main': src/iptraf.c:448:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 448 | freopen("/dev/null", "w", stdout); /* redirect std output */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c:449:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 449 | freopen("/dev/null", "r", stdin); /* redirect std input */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c:450:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 450 | freopen("/dev/null", "w", stderr); /* redirect std error */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c: In function 'create_pidfile': src/iptraf.c:315:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | write(fd, buf, len); | ^~~~~~~~~~~~~~~~~~~ src/iptraf.c:316:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 316 | ftruncate(fd, len); | ^~~~~~~~~~~~~~~~~~ cc -o src/parse-options.o -c -MF src/.depend/parse-options.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/parse-options.c cc -o src/packet.o -c -MF src/.depend/packet.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/packet.c cc -o src/tcptable.o -c -MF src/.depend/tcptable.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tcptable.c cc -o src/othptab.o -c -MF src/.depend/othptab.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/othptab.c cc -o src/ifstats.o -c -MF src/.depend/ifstats.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/ifstats.c src/tcptable.c: In function 'write_timeout_log.part.0': src/tcptable.c:484:140: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 0 and 225 [-Wformat-truncation=] 483 | snprintf(msgstring, MSGSTRING_MAX, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 484 | "TCP; Connection %s:%s to %s:%s timed out, %lu packets, %lu bytes, %s; opposite direction %lu packets, %lu bytes, %s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 485 | tcpnode->s_fqdn, tcpnode->s_sname, tcpnode->d_fqdn, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | tcpnode->d_sname, tcpnode->pcount, tcpnode->bcount, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 487 | tcplog_flowrate_msg(tcpnode, flowrate1, sizeof(flowrate1)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 488 | tcpnode->oth_connection->pcount, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | tcpnode->oth_connection->bcount, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | tcplog_flowrate_msg(tcpnode->oth_connection, flowrate2, sizeof(flowrate2))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:888, from /usr/include/curses.h:204, from src/iptraf-ng-compat.h:15, from src/tcptable.c:10: /usr/include/bits/stdio2.h:71:10: note: '__snprintf_chk' output between 96 and 406 bytes into a destination of size 320 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -o src/detstats.o -c -MF src/.depend/detstats.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/detstats.c cc -o src/deskman.o -c -MF src/.depend/deskman.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ -DIPTRAF_VERSION='"1.2.1"' -DIPTRAF_NAME='"iptraf-ng"' src/deskman.c cc -o src/hostmon.o -c -MF src/.depend/hostmon.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/hostmon.c cc -o src/fltedit.o -c -MF src/.depend/fltedit.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/fltedit.c cc -o src/cidr.o -c -MF src/.depend/cidr.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/cidr.c cc -o src/counters.o -c -MF src/.depend/counters.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/counters.c cc -o src/rate.o -c -MF src/.depend/rate.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/rate.c cc -o src/capture-pkt.o -c -MF src/.depend/capture-pkt.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ -DIPTRAF_VERSION='"1.2.1"' -DIPTRAF_NAME='"iptraf-ng"' src/capture-pkt.c cc -o src/sockaddr.o -c -MF src/.depend/sockaddr.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/sockaddr.c cc -o src/capt.o -c -MF src/.depend/capt.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt.c cc -o src/capt-recvmsg.o -c -MF src/.depend/capt-recvmsg.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt-recvmsg.c cc -o src/capt-recvmmsg.o -c -MF src/.depend/capt-recvmmsg.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt-recvmmsg.c cc -o src/capt-mmap-v2.o -c -MF src/.depend/capt-mmap-v2.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt-mmap-v2.c cc -o src/capt-mmap-v3.o -c -MF src/.depend/capt-mmap-v3.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt-mmap-v3.c cc -o src/rvnamed.o -c -MF src/.depend/rvnamed.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/rvnamed.c cc -g -O2 -Wall -W -std=gnu99 -Werror=format-security -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 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ -o iptraf-ng \ src/tui/input.o src/tui/labels.o src/tui/listbox.o src/tui/menurt.o src/tui/msgboxes.o src/tui/winops.o src/error.o src/log.o src/getpath.o src/parseproto.o src/fltselect.o src/ipfilter.o src/fltmgr.o src/ipfrag.o src/serv.o src/servname.o src/timer.o src/revname.o src/pktsize.o src/landesc.o src/options.o src/promisc.o src/ifaces.o src/usage.o src/iptraf.o src/itrafmon.o src/wrapper.o src/parse-options.o src/packet.o src/tcptable.o src/othptab.o src/ifstats.o src/detstats.o src/deskman.o src/hostmon.o src/fltedit.o src/cidr.o src/counters.o src/rate.o src/capture-pkt.o src/sockaddr.o src/capt.o src/capt-recvmsg.o src/capt-recvmmsg.o src/capt-mmap-v2.o src/capt-mmap-v3.o src/rvnamed.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 -lncursesw -ltinfo -lpanelw src/serv.c: In function 'saveportlist': src/serv.c:1129:22: warning: 'write' reading 4 bytes from a region of size 2 [-Wstringop-overread] 1129 | bw = write(fd, &(ptmp->port_min), sizeof(unsigned int)); | ^ src/serv.h:11:19: note: source object 'port_min' of size 2 11 | in_port_t port_min; | ^ /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ src/serv.c:1130:22: warning: 'write' reading 4 bytes from a region of size 2 [-Wstringop-overread] 1130 | bw = write(fd, &(ptmp->port_max), sizeof(unsigned int)); | ^ src/serv.h:12:19: note: source object 'port_max' of size 2 12 | in_port_t port_max; | ^ /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^ In function 'read', inlined from 'loadaddports' at src/serv.c:1206:8: /usr/include/bits/unistd.h:47:10: warning: '__read_alias' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 47 | return __read_alias (__fd, __buf, __nbytes); | ^ /usr/include/bits/unistd.h: In function 'loadaddports': src/serv.h:11:19: note: destination object 'port_min' of size 2 11 | in_port_t port_min; | ^ /usr/include/bits/unistd.h:26:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, | ^ In function 'read', inlined from 'loadaddports' at src/serv.c:1207:8: /usr/include/bits/unistd.h:47:10: warning: '__read_alias' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 47 | return __read_alias (__fd, __buf, __nbytes); | ^ /usr/include/bits/unistd.h: In function 'loadaddports': src/serv.h:12:19: note: destination object 'port_max' of size 2 12 | in_port_t port_max; | ^ /usr/include/bits/unistd.h:26:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __REDIRECT (__read_alias, (int __fd, void *__buf, | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ETu8sA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64 + cd iptraf-ng-1.2.1 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64 + make install DESTDIR=/builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64 prefix=/usr /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/man/man8 install -d -m 755 '/builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/sbin' install iptraf-ng '/builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/sbin' install -d -m 755 /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/man/man8 install -m 644 src/iptraf-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/man/man8 + find Documentation -type f + grep -v '\.html$\|\.png$\|/stylesheet' + xargs rm -f + install -D -m 0644 -p /builddir/build/SOURCES/iptraf-ng-logrotate.conf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/etc/logrotate.d/iptraf-ng + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/var/log/iptraf-ng /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/var/lib/iptraf-ng + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/lib/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/iptraf-ng-tmpfiles.conf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/lib/tmpfiles.d/iptraf-ng.conf + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/run + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/run/iptraf-ng/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2.1-4.el9 --unique-debug-suffix -1.2.1-4.el9.x86_64 --unique-debug-src-base iptraf-ng-1.2.1-4.el9.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/iptraf-ng-1.2.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/sbin/iptraf-ng extracting debug info from /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/sbin/iptraf-ng original debug info size: 904kB, size after compression: 748kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 765 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: iptraf-ng-1.2.1-4.el9.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OQmiSe + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/doc/iptraf-ng + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/doc/iptraf-ng + cp -pr CHANGES /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/doc/iptraf-ng + cp -pr FAQ /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/doc/iptraf-ng + cp -pr LICENSE /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/doc/iptraf-ng + cp -pr README README.contact README.indent README.interfaces README.resolving /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/doc/iptraf-ng + cp -pr Documentation /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64/usr/share/doc/iptraf-ng + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(iptraf-ng) = 1.2.1-4.el9 iptraf = 3.1 iptraf-ng = 1.2.1-4.el9 iptraf-ng(x86-64) = 1.2.1-4.el9 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.12)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(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) libncursesw.so.6()(64bit) libpanelw.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Obsoletes: iptraf < 3.1 Processing files: iptraf-ng-debugsource-1.2.1-4.el9.x86_64 Provides: iptraf-ng-debugsource = 1.2.1-4.el9 iptraf-ng-debugsource(x86-64) = 1.2.1-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: iptraf-ng-debuginfo-1.2.1-4.el9.x86_64 Provides: debuginfo(build-id) = 9ef2e1ed0c42fe69cea8bb85ccdd7b41d37be9b0 iptraf-ng-debuginfo = 1.2.1-4.el9 iptraf-ng-debuginfo(x86-64) = 1.2.1-4.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iptraf-ng-debugsource(x86-64) = 1.2.1-4.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64 Wrote: /builddir/build/RPMS/iptraf-ng-1.2.1-4.el9.x86_64.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debugsource-1.2.1-4.el9.x86_64.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debuginfo-1.2.1-4.el9.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.yniSrp + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-4.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0