+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/iptraf-ng.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CLvIZ2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iptraf-ng-1.1.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/iptraf-ng-1.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 (0001-fix-segfault-in-adding-interface.patch):' Patch #3 (0001-fix-segfault-in-adding-interface.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file 0003-bugfix-positionptr-properly-allocate-newly-created-i.patch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TLpGvB + 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 ' 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 -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 -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 -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 -I. -Isrc/ src/tui/menurt.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/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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -I. -Isrc/ src/servname.c In file included from src/serv.c:22:0: 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/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 -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 -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 -I. -Isrc/ src/pktsize.c 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 -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 -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 -I. -Isrc/ src/promisc.c In file included from src/pktsize.c:17:0: 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/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 -I. -Isrc/ src/ifaces.c 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/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 -I. -Isrc/ src/usage.c In file included from src/promisc.c:13:0: 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/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 -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 -I. -Isrc/ src/itrafmon.c 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 -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 -I. -Isrc/ src/parse-options.c 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); ^~~~~~~~~~~~~~~~~~ In file included from src/itrafmon.c:20:0: 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 '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:861:0, 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 ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -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 -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 -I. -Isrc/ src/othptab.c In file included from src/packet.c:19:0: 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/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 -I. -Isrc/ src/ifstats.c 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 -I. -Isrc/ src/detstats.c In file included from src/ifstats.c:17:0: src/ifaces.h:18:46: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier] int dev_bind_ifname(const int fd, const char const *ifname); ^~~~~ In file included from src/detstats.c:15:0: 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/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 -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 -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 -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 -I. -Isrc/ src/cidr.c In file included from src/hostmon.c:20:0: 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/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 -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 -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 -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 -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 -I. -Isrc/ src/rvnamed.c In file included from src/capture-pkt.c:8:0: 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 -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 -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 -I. -Isrc/ -o rvnamed-ng \ src/rvnamed.o src/getpath.o src/sockaddr.o src/usage.o + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ao2CoL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64 + cd iptraf-ng-1.1.4 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64 prefix=/usr /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/share/man/man8 install -d -m 755 '/builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/sbin' install iptraf-ng rvnamed-ng '/builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/sbin' install -d -m 755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/share/man/man8 install -m 644 src/iptraf-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/share/man/man8 install -m 644 src/rvnamed-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/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-12.fc28.riscv64/etc/logrotate.d/iptraf-ng + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/var/log/iptraf-ng /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/var/lib/iptraf-ng + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/lib/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/iptraf-ng-tmpfiles.conf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/lib/tmpfiles.d/iptraf-ng.conf + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/run + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/run/iptraf-ng/ + /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-12.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.w7uvXb + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + DOCDIR=/builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.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-12.fc28.riscv64/usr/share/doc/iptraf-ng + cp -pr CHANGES /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/share/doc/iptraf-ng + cp -pr FAQ /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/share/doc/iptraf-ng + cp -pr LICENSE /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.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-12.fc28.riscv64/usr/share/doc/iptraf-ng + cp -pr RELEASE-NOTES /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/share/doc/iptraf-ng + cp -pr Documentation /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64/usr/share/doc/iptraf-ng + exit 0 Provides: config(iptraf-ng) = 1.1.4-12.fc28 iptraf = 3.1 iptraf-ng = 1.1.4-12.fc28 iptraf-ng(riscv-64) = 1.1.4-12.fc28 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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/iptraf-ng-1.1.4-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/iptraf-ng-1.1.4-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.shNdOJ + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.1.4 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.1.4-12.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync ++ sleep 5 Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff