+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/trafshow.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 warning: Macro expanded in comment on line 12: %{name}-%{version}.tgz Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BbIWpi + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf trafshow-5.2.3 + /usr/bin/gzip -dc /builddir/build/SOURCES/trafshow-5.2.3.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd trafshow-5.2.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (trafshow-5.2.3-machinetype_hack_nonfatal.patch):' Patch #0 (trafshow-5.2.3-machinetype_hack_nonfatal.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .machinetype --fuzz=0 patching file config.sub + echo 'Patch #1 (trafshow-5.2.3-elif-without_expression.patch):' Patch #1 (trafshow-5.2.3-elif-without_expression.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .elif --fuzz=0 patching file session.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Lu12Xm + umask 022 + cd /builddir/build/BUILD + cd trafshow-5.2.3 + autoconf + CFLAGS='-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 ' + export CFLAGS + CXXFLAGS='-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 ' + export CXXFLAGS + FFLAGS='-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/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for bison... no checking for byacc... no checking for flex... no checking for lex... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... gcc checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking net/if_dl.h usability... no checking net/if_dl.h presence... no checking for net/if_dl.h... no checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking resolv.h usability... yes checking resolv.h presence... yes checking for resolv.h... yes checking for an ANSI C-conforming const... yes checking for u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... yes checking for socklen_t... yes checking for struct sockaddr_storage... yes checking for struct ether_addr... yes checking for main in -lresolv... yes checking for main in -linet... no checking for gethostbyname in -lnsl... no checking for connect in -lsocket... no checking for siginterrupt... yes checking for snprintf... yes checking for strftime... yes checking for strcasecmp... yes checking for pcap_findalldevs in -lpcap... yes checking for pcap_dump_flush... yes checking for pcap_get_selectable_fd... yes checking for tgetent in -ltermcap... yes checking for curses library... ncurses checking for has_colors... yes checking for bkgd... yes checking for wbkgd... yes checking for wredrawln... yes checking for resizeterm... yes checking for use_default_colors... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make 'CCOPT=-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 ' -j4 gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c trafshow.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c screen.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c colormask.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c getkey.c trafshow.c: In function 'main': trafshow.c:98:12: warning: variable 'show_thr' set but not used [-Wunused-but-set-variable] pthread_t show_thr, sig_thr, pcap_thr; ^~~~~~~~ trafshow.c:194:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c selector.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c events.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c session.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c show_if.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c show_stat.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c show_dump.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c parse_dl.c show_dump.c: In function 'show_dump_print': show_dump.c:336:36: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((cp = strpbrk(buf, "\r\n")) != '\0') ^~ show_dump.c:336:8: note: did you mean to dereference the pointer? if ((cp = strpbrk(buf, "\r\n")) != '\0') ^ gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c parse_ip.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c netstat.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c cisco_netflow.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c addrtoname.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c hashtab.c cisco_netflow.c: In function 'parse_netflow': cisco_netflow.c:242:14: warning: variable 'v7h' set but not used [-Wunused-but-set-variable] CNF_HDR_V7 *v7h; ^~~ cisco_netflow.c:241:14: warning: variable 'v5h' set but not used [-Wunused-but-set-variable] CNF_HDR_V5 *v5h; ^~~ gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c lookupa.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c recycle.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c util.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c help_page.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c domain_resolver.c gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -c version.c domain_resolver.c: In function 'domain_data_add': domain_resolver.c:381:7: warning: variable 'save_errno' set but not used [-Wunused-but-set-variable] int save_errno = errno; ^~~~~~~~~~ gcc -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 -Wall -I. -DHAVE_CONFIG_H -pthread -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o trafshow trafshow.o screen.o colormask.o getkey.o selector.o events.o session.o show_if.o show_stat.o show_dump.o parse_dl.o parse_ip.o netstat.o cisco_netflow.o addrtoname.o hashtab.o lookupa.o recycle.o util.o help_page.o domain_resolver.o version.o -lncurses -ltermcap -lpcap -lresolv + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fPEzCx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64 + cd trafshow-5.2.3 + install -d /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/usr/bin + install trafshow /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/usr/bin/ + install -d /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/etc + install -m 0644 .trafshow /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/etc/trafshow + install -D -m 0644 trafshow.1 /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/usr/share/man/man1/trafshow.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/trafshow-5.2.3-19.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: trafshow-5.2.3-19.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.yj0pyK + umask 022 + cd /builddir/build/BUILD + cd trafshow-5.2.3 + DOCDIR=/builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/usr/share/doc/trafshow + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/usr/share/doc/trafshow + cp -pr README /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/usr/share/doc/trafshow + cp -pr CHANGES /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64/usr/share/doc/trafshow + exit 0 Provides: config(trafshow) = 5.2.3-19.fc28 trafshow = 5.2.3-19.fc28 trafshow(riscv-64) = 5.2.3-19.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) libncurses.so.6()(64bit) libpcap.so.1()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.27)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/trafshow-5.2.3-19.fc28.riscv64 Wrote: /builddir/build/SRPMS/trafshow-5.2.3-19.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/trafshow-5.2.3-19.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.svhhFQ + umask 022 + cd /builddir/build/BUILD + cd trafshow-5.2.3 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff