Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv5tel --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/var/lib/mock/el-8-arm/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv5tel --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': 'en_US.UTF-8'} and shell False Building target platforms: armv5tel Building for target armv5tel Wrote: /builddir/build/SRPMS/iptraf-ng-1.1.4-18.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv5tel --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/var/lib/mock/el-8-arm/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target armv5tel --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': 'en_US.UTF-8'} and shell False Building target platforms: armv5tel Building for target armv5tel Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ESBZhP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iptraf-ng-1.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/v1.1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd iptraf-ng-1.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-BUGFIX-fix-Floating-point-exception-in-tcplog_flowra.patch):' 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). + echo 'Patch #2 (0002-Makefile-add-Werror-format-security.patch):' 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.W4joIy + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + make -j4 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 -march=armv5te -mfloat-abi=soft' 'LDFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' BUILDSTDERR: 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/tui/menurt.c BUILDSTDERR: src/tui/listbox.c: In function 'tx_operate_listbox': BUILDSTDERR: src/tui/listbox.c:155:12: warning: this statement may fall through [-Wimplicit-fallthrough=] BUILDSTDERR: endloop = 1; BUILDSTDERR: ~~~~~~~~^~~ BUILDSTDERR: src/tui/listbox.c:156:3: note: here BUILDSTDERR: case 12: BUILDSTDERR: ^~~~ 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/log.c 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/timer.c BUILDSTDERR: In file included from src/serv.c:22: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/pktsize.c BUILDSTDERR: src/serv.c: In function 'printportent.isra.5': BUILDSTDERR: src/serv.c:298:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~ BUILDSTDERR: src/serv.c:298:18: note: directive argument in the range [-2147483648, 2147483645] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/serv.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/pktsize.c:17: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/promisc.c BUILDSTDERR: src/serv.c: In function 'servmon': BUILDSTDERR: src/serv.c:632:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~ BUILDSTDERR: src/serv.c:632:18: note: directive argument in the range [-2147483648, 2147483645] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/serv.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/serv.c:632:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~ BUILDSTDERR: src/serv.c:632:18: note: directive argument in the range [-2147483648, 2147483645] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/serv.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/promisc.c:13: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ BUILDSTDERR: src/options.c: In function 'loadoptions': BUILDSTDERR: src/options.c:175:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: read(fd, &options, sizeof(struct OPTIONS)); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/ifaces.c 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/usage.c BUILDSTDERR: src/ifaces.c:251:40: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(int fd, const char const *ifname) BUILDSTDERR: ^~~~~ BUILDSTDERR: src/ifaces.c: In function 'open_procnetdev': BUILDSTDERR: src/ifaces.c:32:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buf, 160, fd); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/ifaces.c:33:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buf, 160, fd); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/ifaces.c: In function 'get_next_iface': BUILDSTDERR: src/ifaces.c:50:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fgets(buf, 160, fd); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ -DIPTRAF_VERSION='"1.1.4"' -DIPTRAF_NAME='"iptraf-ng"' src/iptraf.c 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/itrafmon.c 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/wrapper.c BUILDSTDERR: src/iptraf.c: In function 'main': BUILDSTDERR: src/iptraf.c:443:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: freopen("/dev/null", "w", stdout); /* redirect std output */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/iptraf.c:444:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: freopen("/dev/null", "r", stdin); /* redirect std input */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/iptraf.c:445:4: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: freopen("/dev/null", "w", stderr); /* redirect std error */ BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/iptraf.c: In function 'create_pidfile': BUILDSTDERR: src/iptraf.c:308:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: write(fd, buf, len); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/iptraf.c:309:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: ftruncate(fd, len); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/itrafmon.c:20: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/parse-options.c BUILDSTDERR: src/iptraf.c: In function 'clearfiles': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(target_name, 80, "%s/%s", directory, BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/iptraf.c:9: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 80 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/tcptable.c BUILDSTDERR: In file included from src/packet.c:19: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ BUILDSTDERR: src/itrafmon.c: In function 'ipmon': BUILDSTDERR: src/itrafmon.c:122:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~ BUILDSTDERR: src/itrafmon.c:122:18: note: directive argument in the range [-2147483648, 2147483645] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/itrafmon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/itrafmon.c:122:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~ BUILDSTDERR: src/itrafmon.c:122:18: note: directive argument in the range [-2147483648, 2147483645] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/itrafmon.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/othptab.c BUILDSTDERR: src/tcptable.c: In function 'tcplog_flowrate_msg.isra.2.constprop': BUILDSTDERR: 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=] BUILDSTDERR: snprintf(buf, bufsize - 1, "avg flow rate %s", rbuf); BUILDSTDERR: ^~ ~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/tcptable.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 15 and 78 bytes into a destination of size 63 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/ifstats.c BUILDSTDERR: src/othptab.c: In function 'printothpentry': BUILDSTDERR: src/othptab.c:698:27: warning: ') ' directive writing 2 bytes into a region of size between 0 and 239 [-Wformat-overflow=] BUILDSTDERR: sprintf(scratchpad, "(%s) ", additional); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/othptab.c:10: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 243 bytes into a destination of size 240 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from src/ifstats.c:17: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ -DIPTRAF_VERSION='"1.1.4"' -DIPTRAF_NAME='"iptraf-ng"' src/deskman.c 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/hostmon.c BUILDSTDERR: In file included from src/hostmon.c:20: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from src/detstats.c:15: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/fltedit.c BUILDSTDERR: src/hostmon.c: In function 'hostmon': BUILDSTDERR: src/hostmon.c:474:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~ BUILDSTDERR: src/hostmon.c:474:18: note: directive argument in the range [-2147483648, 2147483645] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/hostmon.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/hostmon.c:474:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 9 [-Wformat-overflow=] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~ BUILDSTDERR: src/hostmon.c:474:18: note: directive argument in the range [-2147483648, 2147483645] BUILDSTDERR: sprintf(sp_buf, "%%%dc", COLS - 2); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from /usr/include/curses.h:183, BUILDSTDERR: from src/iptraf-ng-compat.h:15, BUILDSTDERR: from src/hostmon.c:11: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 14 bytes into a destination of size 10 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/cidr.c 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/sockaddr.c BUILDSTDERR: In file included from src/capture-pkt.c:8: BUILDSTDERR: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] BUILDSTDERR: int dev_bind_ifname(const int fd, const char const *ifname); BUILDSTDERR: ^~~~~ 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 -march=armv5te -mfloat-abi=soft -I. -Isrc/ src/rvnamed.c 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 -march=armv5te -mfloat-abi=soft -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 -march=armv5te -mfloat-abi=soft -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.qNhxJh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm + cd iptraf-ng-1.1.4 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm + make install DESTDIR=/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm prefix=/usr /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/share/man/man8 install -d -m 755 '/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/sbin' install iptraf-ng rvnamed-ng '/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/sbin' install -d -m 755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/share/man/man8 install -m 644 src/iptraf-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/share/man/man8 install -m 644 src/rvnamed-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/share/man/man8 + find Documentation -type f + xargs rm -f + grep -v '\.html$\|\.png$\|/stylesheet' + install -D -m 0644 -p /builddir/build/SOURCES/iptraf-ng-logrotate.conf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/etc/logrotate.d/iptraf-ng + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/var/log/iptraf-ng /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/var/lib/iptraf-ng + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/lib/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/iptraf-ng-tmpfiles.conf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/lib/tmpfiles.d/iptraf-ng.conf + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/run + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/run/iptraf-ng/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.4-18.el8 --unique-debug-suffix -1.1.4-18.el8.arm --unique-debug-src-base iptraf-ng-1.1.4-18.el8.arm --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.arm/usr/sbin/iptraf-ng extracting debug info from /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/sbin/rvnamed-ng /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 716 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/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.armv5tel Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.TlFTVo + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/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.arm/usr/share/doc/iptraf-ng + cp -pr CHANGES /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/share/doc/iptraf-ng + cp -pr FAQ /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/share/doc/iptraf-ng + cp -pr LICENSE /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/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.arm/usr/share/doc/iptraf-ng + cp -pr RELEASE-NOTES /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/share/doc/iptraf-ng + cp -pr Documentation /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm/usr/share/doc/iptraf-ng + exit 0 Provides: config(iptraf-ng) = 1.1.4-18.el8 iptraf = 3.1 iptraf-ng = 1.1.4-18.el8 iptraf-ng(armv5tel-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: ld-linux.so.3 ld-linux.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.16) libc.so.6(GLIBC_2.28) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) 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.armv5tel Provides: iptraf-ng-debugsource = 1.1.4-18.el8 iptraf-ng-debugsource(armv5tel-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.armv5tel Provides: debuginfo(build-id) = 0637b75a3ef9b1e77c1a351330ecf8c4ac06e5be debuginfo(build-id) = fa0df0dd47f3be0ba24d6f1a44ed0e12c93fab60 iptraf-ng-debuginfo = 1.1.4-18.el8 iptraf-ng-debuginfo(armv5tel-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(armv5tel-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.arm Wrote: /builddir/build/RPMS/iptraf-ng-1.1.4-18.el8.armv5tel.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debugsource-1.1.4-18.el8.armv5tel.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debuginfo-1.1.4-18.el8.armv5tel.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.h3aZ6v + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.el8.arm + exit 0 Child return code was: 0