Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/var/lib/mock/dist-circle8-build-33243-5735/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=86400uid=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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: i686 Building for target i686 Wrote: /builddir/build/SRPMS/iptraf-ng-1.1.4-18.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/var/lib/mock/dist-circle8-build-33243-5735/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=86400uid=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XOlpEF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iptraf-ng-1.1.4 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.1.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd iptraf-ng-1.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (0001-BUGFIX-fix-Floating-point-exception-in-tcplog_flowra.patch): + echo 'Patch #1 (0001-BUGFIX-fix-Floating-point-exception-in-tcplog_flowra.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/tcptable.c Hunk #1 succeeded at 444 (offset 7 lines). Patch #2 (0002-Makefile-add-Werror-format-security.patch): + echo 'Patch #2 (0002-Makefile-add-Werror-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Makefile patching file src/ipfilter.c patching file src/othptab.c Hunk #1 succeeded at 410 (offset 3 lines). Hunk #2 succeeded at 485 (offset 3 lines). + echo 'Patch #3 (0003-fix-segfault-in-adding-interface.patch):' Patch #3 (0003-fix-segfault-in-adding-interface.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/ifstats.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gRWPPy + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + make -j8 V=1 'CFLAGS=-g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' IPTRAF_VERSION = 1.1.4 cc -o src/tui/input.o -c -MF src/tui/.depend/input.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/tui/input.c cc -o src/tui/labels.o -c -MF src/tui/.depend/labels.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/tui/labels.c cc -o src/tui/listbox.o -c -MF src/tui/.depend/listbox.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/tui/listbox.c cc -o src/tui/menurt.o -c -MF src/tui/.depend/menurt.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/tui/menurt.c cc -o src/tui/msgboxes.o -c -MF src/tui/.depend/msgboxes.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/tui/msgboxes.c cc -o src/tui/winops.o -c -MF src/tui/.depend/winops.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/tui/winops.c cc -o src/error.o -c -MF src/.depend/error.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/error.c cc -o src/log.o -c -MF src/.depend/log.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/log.c src/tui/listbox.c: In function 'tx_operate_listbox': src/tui/listbox.c:155:12: warning: this statement may fall through [-Wimplicit-fallthrough=] endloop = 1; ~~~~~~~~^~~ src/tui/listbox.c:156:3: note: here case 12: ^~~~ cc -o src/getpath.o -c -MF src/.depend/getpath.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/getpath.c cc -o src/parseproto.o -c -MF src/.depend/parseproto.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/parseproto.c cc -o src/fltselect.o -c -MF src/.depend/fltselect.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/fltselect.c cc -o src/ipfilter.o -c -MF src/.depend/ipfilter.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/ipfilter.c cc -o src/fltmgr.o -c -MF src/.depend/fltmgr.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/fltmgr.c cc -o src/ipfrag.o -c -MF src/.depend/ipfrag.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/ipfrag.c cc -o src/serv.o -c -MF src/.depend/serv.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/serv.c cc -o src/servname.o -c -MF src/.depend/servname.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/servname.c cc -o src/timer.o -c -MF src/.depend/timer.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/timer.c cc -o src/revname.o -c -MF src/.depend/revname.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/revname.c cc -o src/pktsize.o -c -MF src/.depend/pktsize.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/pktsize.c In file included from src/serv.c:22: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ cc -o src/landesc.o -c -MF src/.depend/landesc.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/landesc.c cc -o src/options.o -c -MF src/.depend/options.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/options.c cc -o src/promisc.o -c -MF src/.depend/promisc.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/promisc.c cc -o src/ifaces.o -c -MF src/.depend/ifaces.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/ifaces.c src/serv.c: In function 'printportent.isra.4': src/serv.c:298:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(sp_buf, "%%%dc", COLS - 2); ^~ src/serv.c:298:18: note: directive argument in the range [-2147483648, 2147483645] sprintf(sp_buf, "%%%dc", COLS - 2); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/serv.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/pktsize.c:17: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ cc -o src/usage.o -c -MF src/.depend/usage.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/usage.c cc -o src/iptraf.o -c -MF src/.depend/iptraf.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ -DIPTRAF_VERSION='"1.1.4"' -DIPTRAF_NAME='"iptraf-ng"' src/iptraf.c In file included from src/promisc.c:13: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ src/iptraf.c: In function 'main': src/iptraf.c:443:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stdout); /* redirect std output */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c:444:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "r", stdin); /* redirect std input */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c:445:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] freopen("/dev/null", "w", stderr); /* redirect std error */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c: In function 'create_pidfile': src/iptraf.c:308:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, buf, len); ^~~~~~~~~~~~~~~~~~~ src/iptraf.c:309:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate(fd, len); ^~~~~~~~~~~~~~~~~~ src/options.c: In function 'loadoptions': src/options.c:175:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &options, sizeof(struct OPTIONS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o src/itrafmon.o -c -MF src/.depend/itrafmon.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/itrafmon.c src/iptraf.c: In function 'clearfiles': src/iptraf.c:86:35: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 79 [-Wformat-truncation=] snprintf(target_name, 80, "%s/%s", directory, ^~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/iptraf.c:9: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 80 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/ifaces.c:251:40: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(int fd, const char const *ifname) ^~~~~ src/ifaces.c: In function 'open_procnetdev': src/ifaces.c:32:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 160, fd); ^~~~~~~~~~~~~~~~~~~ src/ifaces.c:33:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 160, fd); ^~~~~~~~~~~~~~~~~~~ src/ifaces.c: In function 'get_next_iface': src/ifaces.c:50:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 160, fd); ^~~~~~~~~~~~~~~~~~~ cc -o src/wrapper.o -c -MF src/.depend/wrapper.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/wrapper.c cc -o src/parse-options.o -c -MF src/.depend/parse-options.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/parse-options.c cc -o src/packet.o -c -MF src/.depend/packet.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/packet.c cc -o src/tcptable.o -c -MF src/.depend/tcptable.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/tcptable.c In file included from src/itrafmon.c:20: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ cc -o src/othptab.o -c -MF src/.depend/othptab.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/othptab.c cc -o src/ifstats.o -c -MF src/.depend/ifstats.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/ifstats.c src/serv.c: In function 'servmon': src/serv.c:632:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(sp_buf, "%%%dc", COLS - 2); ^~ src/serv.c:632:18: note: directive argument in the range [-2147483648, 2147483645] sprintf(sp_buf, "%%%dc", COLS - 2); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/serv.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/serv.c:632:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(sp_buf, "%%%dc", COLS - 2); ^~ src/serv.c:632:18: note: directive argument in the range [-2147483648, 2147483645] sprintf(sp_buf, "%%%dc", COLS - 2); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/serv.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/packet.c:19: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ cc -o src/detstats.o -c -MF src/.depend/detstats.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/detstats.c cc -o src/deskman.o -c -MF src/.depend/deskman.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ -DIPTRAF_VERSION='"1.1.4"' -DIPTRAF_NAME='"iptraf-ng"' src/deskman.c In file included from src/ifstats.c:17: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ src/itrafmon.c: In function 'ipmon': src/itrafmon.c:122:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(sp_buf, "%%%dc", COLS - 2); ^~ src/itrafmon.c:122:18: note: directive argument in the range [-2147483648, 2147483645] sprintf(sp_buf, "%%%dc", COLS - 2); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/itrafmon.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/itrafmon.c:122:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(sp_buf, "%%%dc", COLS - 2); ^~ src/itrafmon.c:122:18: note: directive argument in the range [-2147483648, 2147483645] sprintf(sp_buf, "%%%dc", COLS - 2); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/itrafmon.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/detstats.c:15: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ cc -o src/hostmon.o -c -MF src/.depend/hostmon.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/hostmon.c cc -o src/fltedit.o -c -MF src/.depend/fltedit.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/fltedit.c In file included from src/hostmon.c:20: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ src/tcptable.c: In function 'tcplog_flowrate_msg.isra.2.constprop': src/tcptable.c:453:44: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size 49 [-Wformat-truncation=] snprintf(buf, bufsize - 1, "avg flow rate %s", rbuf); ^~ ~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/tcptable.c:10: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 78 bytes into a destination of size 63 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/othptab.c: In function 'printothpentry': src/othptab.c:698:27: warning: ') ' directive writing 2 bytes into a region of size between 0 and 239 [-Wformat-overflow=] sprintf(scratchpad, "(%s) ", additional); ^~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/othptab.c:10: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 243 bytes into a destination of size 240 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o src/cidr.o -c -MF src/.depend/cidr.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/cidr.c src/hostmon.c: In function 'hostmon': src/hostmon.c:474:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(sp_buf, "%%%dc", COLS - 2); ^~ src/hostmon.c:474:18: note: directive argument in the range [-2147483648, 2147483645] sprintf(sp_buf, "%%%dc", COLS - 2); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/hostmon.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/hostmon.c:474:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(sp_buf, "%%%dc", COLS - 2); ^~ src/hostmon.c:474:18: note: directive argument in the range [-2147483648, 2147483645] sprintf(sp_buf, "%%%dc", COLS - 2); ^~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from src/iptraf-ng-compat.h:15, from src/hostmon.c:11: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o src/counters.o -c -MF src/.depend/counters.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/counters.c cc -o src/rate.o -c -MF src/.depend/rate.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/rate.c cc -o src/capture-pkt.o -c -MF src/.depend/capture-pkt.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ -DIPTRAF_VERSION='"1.1.4"' -DIPTRAF_NAME='"iptraf-ng"' src/capture-pkt.c cc -o src/sockaddr.o -c -MF src/.depend/sockaddr.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/sockaddr.c cc -o src/rvnamed.o -c -MF src/.depend/rvnamed.o.d -MMD -MP -D_GNU_SOURCE -D_DEFAULT_SOURCE -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ src/rvnamed.c In file included from src/capture-pkt.c:8: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ cc -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lncursesw -ltinfo -lpanel cc -g -O2 -Wall -W -std=gnu99 -Werror=format-security -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I. -Isrc/ -o rvnamed-ng \ src/rvnamed.o src/getpath.o src/sockaddr.o src/usage.o -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1CxmGy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386 ++ dirname /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386 + cd iptraf-ng-1.1.4 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386 + make install DESTDIR=/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386 prefix=/usr /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/man/man8 install -d -m 755 '/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/sbin' install iptraf-ng rvnamed-ng '/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/sbin' install -d -m 755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/man/man8 install -m 644 src/iptraf-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/man/man8 install -m 644 src/rvnamed-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/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.1.4-18.el8.i386/etc/logrotate.d/iptraf-ng + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/var/log/iptraf-ng /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/var/lib/iptraf-ng + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/lib/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/iptraf-ng-tmpfiles.conf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/lib/tmpfiles.d/iptraf-ng.conf + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/run + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/run/iptraf-ng/ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.1.4-18.el8 --unique-debug-suffix -1.1.4-18.el8.i386 --unique-debug-src-base iptraf-ng-1.1.4-18.el8.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/iptraf-ng-1.1.4 extracting debug info from /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/sbin/iptraf-ng extracting debug info from /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/sbin/rvnamed-ng /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 716 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: iptraf-ng-1.1.4-18.el8.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MpMiHA + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/doc/iptraf-ng + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/doc/iptraf-ng + cp -pr CHANGES /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/doc/iptraf-ng + cp -pr FAQ /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/doc/iptraf-ng + cp -pr LICENSE /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/doc/iptraf-ng + cp -pr README README.contact README.indent README.interfaces README.platforms README.rvnamed /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/doc/iptraf-ng + cp -pr RELEASE-NOTES /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/doc/iptraf-ng + cp -pr Documentation /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386/usr/share/doc/iptraf-ng + exit 0 warning: Ignoring invalid regex ^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ warning: Ignoring invalid regex ^%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ Provides: config(iptraf-ng) = 1.1.4-18.el8 iptraf = 3.1 iptraf-ng = 1.1.4-18.el8 iptraf-ng(x86-32) = 1.1.4-18.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.16) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libncursesw.so.6 libpanel.so.6 libtinfo.so.6 rtld(GNU_HASH) Obsoletes: iptraf < 3.1 Processing files: iptraf-ng-debugsource-1.1.4-18.el8.i686 warning: Ignoring invalid regex ^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ warning: Ignoring invalid regex ^%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ Provides: iptraf-ng-debugsource = 1.1.4-18.el8 iptraf-ng-debugsource(x86-32) = 1.1.4-18.el8 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.1.4-18.el8.i686 warning: Ignoring invalid regex ^%{_scl_prefix}/.*|%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ warning: Ignoring invalid regex ^%{_root_sysconfdir}/rpm/macros.gcc-toolset-10-config$ Provides: debuginfo(build-id) = eccc3e4664b61c18d4afcbfa1f6933fda92ea1a0 debuginfo(build-id) = f2b9b6a7a2237e948d507db29d4544a8567a836f iptraf-ng-debuginfo = 1.1.4-18.el8 iptraf-ng-debuginfo(x86-32) = 1.1.4-18.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iptraf-ng-debugsource(x86-32) = 1.1.4-18.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386 Wrote: /builddir/build/RPMS/iptraf-ng-1.1.4-18.el8.i686.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debugsource-1.1.4-18.el8.i686.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debuginfo-1.1.4-18.el8.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.v8MmQE + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.i386 + exit 0 Child return code was: 0