Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-233909-20115/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iptraf-ng.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/iptraf-ng-1.2.1-5.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iptraf-ng.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-233909-20115/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=983gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/iptraf-ng.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.UoXp9K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf iptraf-ng-1.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v1.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd iptraf-ng-1.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.MhScdh + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd iptraf-ng-1.2.1 + make -j32 V=1 'CFLAGS=-W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' IPTRAF_VERSION = 1.2.1 cc -o src/tui/input.o -c -MF src/tui/.depend/input.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/input.c cc -o src/tui/labels.o -c -MF src/tui/.depend/labels.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/labels.c cc -o src/tui/listbox.o -c -MF src/tui/.depend/listbox.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/listbox.c cc -o src/tui/menurt.o -c -MF src/tui/.depend/menurt.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/menurt.c cc -o src/tui/msgboxes.o -c -MF src/tui/.depend/msgboxes.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/msgboxes.c cc -o src/tui/winops.o -c -MF src/tui/.depend/winops.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tui/winops.c cc -o src/error.o -c -MF src/.depend/error.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/error.c cc -o src/log.o -c -MF src/.depend/log.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/log.c cc -o src/getpath.o -c -MF src/.depend/getpath.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/getpath.c cc -o src/parseproto.o -c -MF src/.depend/parseproto.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/parseproto.c cc -o src/fltselect.o -c -MF src/.depend/fltselect.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/fltselect.c cc -o src/ipfilter.o -c -MF src/.depend/ipfilter.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/ipfilter.c cc -o src/fltmgr.o -c -MF src/.depend/fltmgr.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/fltmgr.c cc -o src/ipfrag.o -c -MF src/.depend/ipfrag.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/ipfrag.c cc -o src/serv.o -c -MF src/.depend/serv.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/serv.c cc -o src/servname.o -c -MF src/.depend/servname.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/servname.c cc -o src/timer.o -c -MF src/.depend/timer.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/timer.c cc -o src/revname.o -c -MF src/.depend/revname.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/revname.c cc -o src/pktsize.o -c -MF src/.depend/pktsize.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/pktsize.c cc -o src/landesc.o -c -MF src/.depend/landesc.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/landesc.c cc -o src/options.o -c -MF src/.depend/options.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/options.c cc -o src/promisc.o -c -MF src/.depend/promisc.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/promisc.c cc -o src/ifaces.o -c -MF src/.depend/ifaces.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/ifaces.c cc -o src/usage.o -c -MF src/.depend/usage.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/usage.c cc -o src/iptraf.o -c -MF src/.depend/iptraf.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ -DIPTRAF_VERSION='"1.2.1"' -DIPTRAF_NAME='"iptraf-ng"' src/iptraf.c cc -o src/itrafmon.o -c -MF src/.depend/itrafmon.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/itrafmon.c cc -o src/wrapper.o -c -MF src/.depend/wrapper.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/wrapper.c cc -o src/parse-options.o -c -MF src/.depend/parse-options.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/parse-options.c cc -o src/packet.o -c -MF src/.depend/packet.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/packet.c cc -o src/tcptable.o -c -MF src/.depend/tcptable.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/tcptable.c cc -o src/othptab.o -c -MF src/.depend/othptab.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/othptab.c cc -o src/ifstats.o -c -MF src/.depend/ifstats.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/ifstats.c src/ifaces.c: In function 'open_procnetdev': src/ifaces.c:32:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 32 | fgets(buf, 160, fd); | ^~~~~~~~~~~~~~~~~~~ src/ifaces.c:33:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 33 | fgets(buf, 160, fd); | ^~~~~~~~~~~~~~~~~~~ src/ifaces.c: In function 'get_next_iface': src/ifaces.c:50:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 50 | fgets(buf, 160, fd); | ^~~~~~~~~~~~~~~~~~~ src/options.c: In function 'updatetimes': src/options.c:182:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] 182 | mvwprintw(win, 10, 25, "%3u mins", options.timeout); | ~~^ ~~~~~~~~~~~~~~~ | | | | unsigned int time_t {aka long int} | %3lu src/options.c:183:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] 183 | mvwprintw(win, 11, 25, "%3u mins", options.logspan / 60); | ~~^ ~~~~~~~~~~~~~~~~~~~~ | | | | unsigned int time_t {aka long int} | %3lu src/options.c:184:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] 184 | mvwprintw(win, 12, 25, "%3u secs", options.updrate); | ~~^ ~~~~~~~~~~~~~~~ | | | | unsigned int time_t {aka long int} | %3lu src/options.c:185:35: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'time_t' {aka 'long int'} [-Wformat=] 185 | mvwprintw(win, 13, 25, "%3u mins", options.closedint); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | unsigned int time_t {aka long int} | %3lu src/iptraf.c: In function 'main': src/iptraf.c:448:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 448 | freopen("/dev/null", "w", stdout); /* redirect std output */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c:449:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 449 | freopen("/dev/null", "r", stdin); /* redirect std input */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c:450:25: warning: ignoring return value of 'freopen' declared with attribute 'warn_unused_result' [-Wunused-result] 450 | freopen("/dev/null", "w", stderr); /* redirect std error */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/iptraf.c: In function 'create_pidfile': src/iptraf.c:315:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 315 | write(fd, buf, len); | ^~~~~~~~~~~~~~~~~~~ src/iptraf.c:316:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 316 | ftruncate(fd, len); | ^~~~~~~~~~~~~~~~~~ src/options.c: In function 'loadoptions': src/options.c:174:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 174 | read(fd, &options, sizeof(struct OPTIONS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -o src/detstats.o -c -MF src/.depend/detstats.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/detstats.c cc -o src/deskman.o -c -MF src/.depend/deskman.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ -DIPTRAF_VERSION='"1.2.1"' -DIPTRAF_NAME='"iptraf-ng"' src/deskman.c cc -o src/hostmon.o -c -MF src/.depend/hostmon.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/hostmon.c src/serv.c: In function 'saveportlist': src/serv.c:1129:22: warning: 'write' reading 4 bytes from a region of size 2 [-Wstringop-overread] 1129 | bw = write(fd, &(ptmp->port_min), sizeof(unsigned int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/serv.c:24: src/serv.h:11:19: note: source object 'port_min' of size 2 11 | in_port_t port_min; | ^~~~~~~~ In file included from src/iptraf-ng-compat.h:5, from src/serv.c:10: /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ src/serv.c:1130:22: warning: 'write' reading 4 bytes from a region of size 2 [-Wstringop-overread] 1130 | bw = write(fd, &(ptmp->port_max), sizeof(unsigned int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/serv.h:12:19: note: source object 'port_max' of size 2 12 | in_port_t port_max; | ^~~~~~~~ /usr/include/unistd.h:378:16: note: in a call to function 'write' declared with attribute 'access (read_only, 2, 3)' 378 | extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur | ^~~~~ src/serv.c: In function 'loadaddports': src/serv.c:1206:22: warning: 'read' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 1206 | br = read(fd, &(ptemp->port_min), sizeof(unsigned int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/serv.h:11:19: note: destination object 'port_min' of size 2 11 | in_port_t port_min; | ^~~~~~~~ In file included from /usr/include/unistd.h:1214: /usr/include/bits/unistd.h:26:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)' 26 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ src/serv.c:1207:22: warning: 'read' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 1207 | br = read(fd, &(ptemp->port_max), sizeof(unsigned int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/serv.h:12:19: note: destination object 'port_max' of size 2 12 | in_port_t port_max; | ^~~~~~~~ /usr/include/bits/unistd.h:26:1: note: in a call to function 'read' declared with attribute 'access (write_only, 2, 3)' 26 | read (int __fd, void *__buf, size_t __nbytes) | ^~~~ cc -o src/fltedit.o -c -MF src/.depend/fltedit.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/fltedit.c cc -o src/cidr.o -c -MF src/.depend/cidr.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/cidr.c cc -o src/counters.o -c -MF src/.depend/counters.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/counters.c cc -o src/rate.o -c -MF src/.depend/rate.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/rate.c cc -o src/capture-pkt.o -c -MF src/.depend/capture-pkt.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ -DIPTRAF_VERSION='"1.2.1"' -DIPTRAF_NAME='"iptraf-ng"' src/capture-pkt.c cc -o src/sockaddr.o -c -MF src/.depend/sockaddr.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/sockaddr.c cc -o src/capt.o -c -MF src/.depend/capt.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt.c cc -o src/capt-recvmsg.o -c -MF src/.depend/capt-recvmsg.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt-recvmsg.c cc -o src/capt-recvmmsg.o -c -MF src/.depend/capt-recvmmsg.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt-recvmmsg.c cc -o src/capt-mmap-v2.o -c -MF src/.depend/capt-mmap-v2.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt-mmap-v2.c cc -o src/capt-mmap-v3.o -c -MF src/.depend/capt-mmap-v3.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/capt-mmap-v3.c cc -o src/rvnamed.o -c -MF src/.depend/rvnamed.o.d -MMD -MP -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ src/rvnamed.c src/detstats.c: In function 'printdetails': src/detstats.c:409:36: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'long long unsigned int' [-Wformat=] 409 | mvwprintw(win, 19, 65, "%8lu", ifcounts->bad.pc_packets); | ~~~^ ~~~~~~~~~~~~~~~~~~~~~~~~ | | | | | long long unsigned int | long unsigned int | %8llu src/tcptable.c: In function 'write_timeout_log.part.0': src/tcptable.c:484:140: warning: '%s' directive output may be truncated writing up to 63 bytes into a region of size between 0 and 225 [-Wformat-truncation=] 483 | snprintf(msgstring, MSGSTRING_MAX, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 484 | "TCP; Connection %s:%s to %s:%s timed out, %lu packets, %lu bytes, %s; opposite direction %lu packets, %lu bytes, %s", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ 485 | tcpnode->s_fqdn, tcpnode->s_sname, tcpnode->d_fqdn, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 486 | tcpnode->d_sname, tcpnode->pcount, tcpnode->bcount, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 487 | tcplog_flowrate_msg(tcpnode, flowrate1, sizeof(flowrate1)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 488 | tcpnode->oth_connection->pcount, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 489 | tcpnode->oth_connection->bcount, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 490 | tcplog_flowrate_msg(tcpnode->oth_connection, flowrate2, sizeof(flowrate2))); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from /usr/include/curses.h:232, from src/iptraf-ng-compat.h:15, from src/tcptable.c:10: In function 'snprintf', inlined from 'write_timeout_log.part.0' at src/tcptable.c:483:3: /usr/include/bits/stdio2.h:54:10: note: '__snprintf_chk' output between 96 and 406 bytes into a destination of size 320 54 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 55 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 56 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/hostmon.c: In function 'addethentry': src/hostmon.c:293:54: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'long unsigned int' [-Wformat=] 293 | mvwprintw(table->borderwin, LINES - 3, 1, " %u entries ", | ~^ | | | unsigned int | %lu 294 | table->entcount); | ~~~~~~~~~~~~~~~ | | | long unsigned int In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from src/iptraf-ng-compat.h:4: In function 'read', inlined from 'loadaddports' at src/serv.c:1206:8: /usr/include/bits/unistd.h:28:10: warning: '*read' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ src/serv.h: In function 'loadaddports': src/serv.h:11:19: note: destination object 'port_min' of size 2 11 | in_port_t port_min; | ^~~~~~~~ /usr/include/bits/unistd-decl.h:29:16: note: in a call to function '*read' declared with attribute 'access (write_only, 2, 3)' 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function 'read', inlined from 'loadaddports' at src/serv.c:1206:8: /usr/include/bits/unistd.h:28:10: warning: '__read_chk' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ src/serv.h: In function 'loadaddports': src/serv.h:11:19: note: destination object 'port_min' of size 2 11 | in_port_t port_min; | ^~~~~~~~ In file included from /usr/include/bits/unistd.h:23: /usr/include/bits/unistd-decl.h:26:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, | ^~~~~~~~~~ In function 'read', inlined from 'loadaddports' at src/serv.c:1207:8: /usr/include/bits/unistd.h:28:10: warning: '*read' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ src/serv.h: In function 'loadaddports': src/serv.h:12:19: note: destination object 'port_max' of size 2 12 | in_port_t port_max; | ^~~~~~~~ /usr/include/bits/unistd-decl.h:29:16: note: in a call to function '*read' declared with attribute 'access (write_only, 2, 3)' 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^~~~~~~~~~~~~~~~~~ In function 'read', inlined from 'loadaddports' at src/serv.c:1207:8: /usr/include/bits/unistd.h:28:10: warning: '__read_chk' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^~~~~~~~~~~~~~~ src/serv.h: In function 'loadaddports': src/serv.h:12:19: note: destination object 'port_max' of size 2 12 | in_port_t port_max; | ^~~~~~~~ /usr/include/bits/unistd-decl.h:26:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, | ^~~~~~~~~~ cc -W -std=gnu99 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -std=gnu99 -D_GNU_SOURCE -I. -Isrc/ -o iptraf-ng \ src/tui/input.o src/tui/labels.o src/tui/listbox.o src/tui/menurt.o src/tui/msgboxes.o src/tui/winops.o src/error.o src/log.o src/getpath.o src/parseproto.o src/fltselect.o src/ipfilter.o src/fltmgr.o src/ipfrag.o src/serv.o src/servname.o src/timer.o src/revname.o src/pktsize.o src/landesc.o src/options.o src/promisc.o src/ifaces.o src/usage.o src/iptraf.o src/itrafmon.o src/wrapper.o src/parse-options.o src/packet.o src/tcptable.o src/othptab.o src/ifstats.o src/detstats.o src/deskman.o src/hostmon.o src/fltedit.o src/cidr.o src/counters.o src/rate.o src/capture-pkt.o src/sockaddr.o src/capt.o src/capt-recvmsg.o src/capt-recvmmsg.o src/capt-mmap-v2.o src/capt-mmap-v3.o src/rvnamed.o -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -lncursesw -ltinfo -lpanelw In function 'read', inlined from 'loadaddports' at src/serv.c:1206:8: /usr/include/bits/unistd.h:28:10: warning: '__read_alias' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ src/serv.h: In function 'loadaddports': src/serv.h:11:19: note: destination object 'port_min' of size 2 11 | in_port_t port_min; | ^ /usr/include/bits/unistd-decl.h:29:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)' 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function 'read', inlined from 'loadaddports' at src/serv.c:1206:8: /usr/include/bits/unistd.h:28:10: warning: '__read_chk' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ src/serv.h: In function 'loadaddports': src/serv.h:11:19: note: destination object 'port_min' of size 2 11 | in_port_t port_min; | ^ /usr/include/bits/unistd-decl.h:26:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, | ^ In function 'read', inlined from 'loadaddports' at src/serv.c:1207:8: /usr/include/bits/unistd.h:28:10: warning: '__read_alias' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ src/serv.h: In function 'loadaddports': src/serv.h:12:19: note: destination object 'port_max' of size 2 12 | in_port_t port_max; | ^ /usr/include/bits/unistd-decl.h:29:16: note: in a call to function '__read_alias' declared with attribute 'access (write_only, 2, 3)' 29 | extern ssize_t __REDIRECT_FORTIFY (__read_alias, (int __fd, void *__buf, | ^ In function 'read', inlined from 'loadaddports' at src/serv.c:1207:8: /usr/include/bits/unistd.h:28:10: warning: '__read_chk' writing 4 bytes into a region of size 2 overflows the destination [-Wstringop-overflow=] 28 | return __glibc_fortify (read, __nbytes, sizeof (char), | ^ src/serv.h: In function 'loadaddports': src/serv.h:12:19: note: destination object 'port_max' of size 2 12 | in_port_t port_max; | ^ /usr/include/bits/unistd-decl.h:26:16: note: in a call to function '__read_chk' declared with attribute 'access (write_only, 2, 3)' 26 | extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes, | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1CN3Ja + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64 + cd iptraf-ng-1.2.1 + rm -rf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64 + make install DESTDIR=/builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64 prefix=/usr /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/man/man8 install -d -m 755 '/builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/sbin' install iptraf-ng '/builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/sbin' install -d -m 755 /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/man/man8 install -m 644 src/iptraf-ng.8 /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/man/man8 + find Documentation -type f + grep -v '\.html$\|\.png$\|/stylesheet' + xargs rm -f + install -D -m 0644 -p /builddir/build/SOURCES/iptraf-ng-logrotate.conf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/etc/logrotate.d/iptraf-ng + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/var/log/iptraf-ng /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/var/lib/iptraf-ng + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/lib/tmpfiles.d + install -m 0644 /builddir/build/SOURCES/iptraf-ng-tmpfiles.conf /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/lib/tmpfiles.d/iptraf-ng.conf + mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/run + install -d -m 0755 /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/run/iptraf-ng/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.2.1-5.ocs23 --unique-debug-suffix -1.2.1-5.ocs23.loongarch64 --unique-debug-src-base iptraf-ng-1.2.1-5.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/iptraf-ng-1.2.1 extracting debug info from /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/sbin/iptraf-ng 765 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: iptraf-ng-1.2.1-5.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GLdBJ2 + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.2.1 + DOCDIR=/builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/doc/iptraf-ng + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/doc/iptraf-ng + cp -pr AUTHORS /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/doc/iptraf-ng + cp -pr CHANGES /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/doc/iptraf-ng + cp -pr FAQ /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/doc/iptraf-ng + cp -pr README README.contact README.indent README.interfaces README.resolving /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/doc/iptraf-ng + cp -pr Documentation /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/doc/iptraf-ng + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZaFWat + umask 022 + cd /builddir/build/BUILD + cd iptraf-ng-1.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/licenses/iptraf-ng + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/licenses/iptraf-ng + cp -pr LICENSE /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64/usr/share/licenses/iptraf-ng + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(iptraf-ng) = 1.2.1-5.ocs23 iptraf = 3.1 iptraf-ng = 1.2.1-5.ocs23 iptraf-ng(loongarch-64) = 1.2.1-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libncursesw.so.6()(64bit) libpanelw.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Obsoletes: iptraf < 3.1 Processing files: iptraf-ng-debugsource-1.2.1-5.ocs23.loongarch64 Provides: iptraf-ng-debugsource = 1.2.1-5.ocs23 iptraf-ng-debugsource(loongarch-64) = 1.2.1-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: iptraf-ng-debuginfo-1.2.1-5.ocs23.loongarch64 Provides: debuginfo(build-id) = c06aae95ba027e012305a0751a65492b8751f39d iptraf-ng-debuginfo = 1.2.1-5.ocs23 iptraf-ng-debuginfo(loongarch-64) = 1.2.1-5.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: iptraf-ng-debugsource(loongarch-64) = 1.2.1-5.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/iptraf-ng-1.2.1-5.ocs23.loongarch64 Wrote: /builddir/build/RPMS/iptraf-ng-debugsource-1.2.1-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iptraf-ng-1.2.1-5.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/iptraf-ng-debuginfo-1.2.1-5.ocs23.loongarch64.rpm Child return code was: 0