Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/var/lib/mock/f29-build-9185-4101/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/iptraf-ng-1.1.4-18.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/var/lib/mock/f29-build-9185-4101/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.E24G5O + 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 . 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). Patch #3 (0003-fix-segfault-in-adding-interface.patch): + echo '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.0yUZYI + 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 -fasynchronous-unwind-tables -fstack-clash-protection' '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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/tui/msgboxes.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/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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -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:861, 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: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/landesc.c 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/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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/options.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:861, 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:861, 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: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/ifaces.c 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: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: ^~~~~~~~~~~~~~~~~~~ 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: ^~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/parse-options.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: 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:861, 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: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/packet.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: ^~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/tcptable.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/othptab.c 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:861, 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:861, 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/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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/ifstats.c 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: ^~~~~ 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:861, 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: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:861, 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: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/hostmon.c 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: ^~~~~ 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: ^~~~~ 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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/fltedit.c 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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -I. -Isrc/ src/rate.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:861, 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:861, 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/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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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.tVrXty + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64 + cd iptraf-ng-1.1.4 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64 prefix=/usr /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/share/man/man8 install -d -m 755 '/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/sbin' install iptraf-ng rvnamed-ng '/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/sbin' install -d -m 755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/share/man/man8 install -m 644 src/iptraf-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/share/man/man8 install -m 644 src/rvnamed-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/share/man/man8 + grep -v '\.html$\|\.png$\|/stylesheet' + find Documentation -type f + xargs rm -f + install -D -m 0644 -p /builddir/build/SOURCES/iptraf-ng-logrotate.conf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/etc/logrotate.d/iptraf-ng + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/var/log/iptraf-ng /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/var/lib/iptraf-ng + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/lib/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/iptraf-ng-tmpfiles.conf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/lib/tmpfiles.d/iptraf-ng.conf + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/run + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/run/iptraf-ng/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.1.4-18.fc29 --unique-debug-suffix -1.1.4-18.fc29.riscv64 --unique-debug-src-base iptraf-ng-1.1.4-18.fc29.riscv64 --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.fc29.riscv64/usr/sbin/rvnamed-ng extracting debug info from /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/sbin/iptraf-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.fc29.riscv64/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 /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: iptraf-ng-1.1.4-18.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PXeOF3 + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/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.fc29.riscv64/usr/share/doc/iptraf-ng + cp -pr CHANGES /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/share/doc/iptraf-ng + cp -pr FAQ /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/share/doc/iptraf-ng + cp -pr LICENSE /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/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.fc29.riscv64/usr/share/doc/iptraf-ng + cp -pr RELEASE-NOTES /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/share/doc/iptraf-ng + cp -pr Documentation /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64/usr/share/doc/iptraf-ng + exit 0 Provides: config(iptraf-ng) = 1.1.4-18.fc29 iptraf = 3.1 iptraf-ng = 1.1.4-18.fc29 iptraf-ng(riscv-64) = 1.1.4-18.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncursesw.so.6()(64bit) libpanel.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Obsoletes: iptraf < 3.1 Processing files: iptraf-ng-debugsource-1.1.4-18.fc29.riscv64 Provides: iptraf-ng-debugsource = 1.1.4-18.fc29 iptraf-ng-debugsource(riscv-64) = 1.1.4-18.fc29 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.fc29.riscv64 Provides: debuginfo(build-id) = 3a607e8b97d4289d071e03e9804fc0bff388b69a debuginfo(build-id) = dcb506f38d4d9cff6a276a6b17550c13d34b3007 iptraf-ng-debuginfo = 1.1.4-18.fc29 iptraf-ng-debuginfo(riscv-64) = 1.1.4-18.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iptraf-ng-debugsource(riscv-64) = 1.1.4-18.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64 Wrote: /builddir/build/RPMS/iptraf-ng-1.1.4-18.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debugsource-1.1.4-18.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debuginfo-1.1.4-18.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.GxCJO7 + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-18.fc29.riscv64 + exit 0 Child return code was: 0