+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/packETH.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.QqeLlF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf packETH-1.7.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/packETH-1.7.2.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd packETH-1.7.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.urNt1G + umask 022 + cd /builddir/build/BUILD + cd packETH-1.7.2 + sed -i 's/^LIBS=/LIBS+=/' Makefile.am + autoreconf + 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 + '[' 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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/packETH-1.7.2/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/packETH-1.7.2/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for pow in -lm... yes checking for pthread_create in -lpthread... yes 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 libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking for unistd.h... (cached) yes checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for DEPS... yes checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working strtod... yes checking for bzero... yes checking for ftime... yes checking for gettimeofday... yes checking for isascii... yes checking for memset... yes checking for socket... yes checking for strchr... yes checking for strtol... yes checking for strtoul... yes checking for strtoull... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/packETH-1.7.2' gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 -c -o src/main.o src/main.c gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 -c -o src/support.o src/support.c gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 -c -o src/interface.o src/interface.c gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 -c -o src/callbacks.o src/callbacks.c src/main.c: In function 'main': src/main.c:70:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] g_thread_init(NULL); ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from src/main.c:10: /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^~~~~~~~~~~~~ gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 -c -o src/function.o src/function.c src/callbacks.c: In function 'IP_packet_toggled': src/callbacks.c:105:31: warning: variable 'rb4' set but not used [-Wunused-but-set-variable] GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5; ^~~ gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 -c -o src/function_send.o src/function_send.c src/callbacks.c: In function 'on_IPv6_rdbt_toggled': src/callbacks.c:1381:31: warning: variable 'rb4' set but not used [-Wunused-but-set-variable] GtkWidget *rb1, *rb2, *rb3, *rb4; ^~~ src/callbacks.c: In function 'on_Gen_button_clicked': src/callbacks.c:1448:13: warning: variable 'ntbk2' set but not used [-Wunused-but-set-variable] GtkWidget *ntbk2, *ntbk4, *ntbk7; ^~~~~ src/callbacks.c: In function 'on_rtp_apply_button_clicked': src/callbacks.c:2326:61: warning: variable 'apply_bt' set but not used [-Wunused-but-set-variable] GtkWidget *freq_entry, *alaw_bt, *ulaw_bt, *length_entry, *apply_bt, *payload_entry; ^~~~~~~~ src/callbacks.c:2326:36: warning: variable 'ulaw_bt' set but not used [-Wunused-but-set-variable] GtkWidget *freq_entry, *alaw_bt, *ulaw_bt, *length_entry, *apply_bt, *payload_entry; ^~~~~~~ src/callbacks.c: In function 'on_rtp_ok_bt_clicked': src/callbacks.c:2418:42: warning: variable 'menu1' set but not used [-Wunused-but-set-variable] GtkWidget *marker_true, *marker_false, *menu1, *rtp_payload; ^~~~~ src/callbacks.c:2418:27: warning: variable 'marker_false' set but not used [-Wunused-but-set-variable] GtkWidget *marker_true, *marker_false, *menu1, *rtp_payload; ^~~~~~~~~~~~ src/callbacks.c:2417:61: warning: variable 'extension_false' set but not used [-Wunused-but-set-variable] GtkWidget *padding_true, *padding_false, *extension_true, *extension_false; ^~~~~~~~~~~~~~~ src/callbacks.c:2417:28: warning: variable 'padding_false' set but not used [-Wunused-but-set-variable] GtkWidget *padding_true, *padding_false, *extension_true, *extension_false; ^~~~~~~~~~~~~ src/callbacks.c: In function 'on_button87_clicked': src/callbacks.c:3887:37: warning: variable 'rb5' set but not used [-Wunused-but-set-variable] GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5; ^~~ In file included from src/loadpacket.h:23:0, from src/callbacks.c:36: At top level: src/headers.h:50:22: warning: 'pcap_link_type' defined but not used [-Wunused-variable] static unsigned long pcap_link_type = 1; /* Default is DLT-EN10MB */ ^~~~~~~~~~~~~~ src/interface.c: In function 'create_window1': src/interface.c:43:15: warning: variable 'tmp_toolbar_icon_size' set but not used [-Wunused-but-set-variable] GtkIconSize tmp_toolbar_icon_size; ^~~~~~~~~~~~~~~~~~~~~ src/interface.c: In function 'create_fileselection1': src/interface.c:9501:3: warning: not enough variable arguments to fit a sentinel [-Wformat=] fileselection1 = gtk_file_chooser_dialog_new (_("Load Dialog"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL); ^~~~~~~~~~~~~~ src/interface.c: In function 'create_fileselection2': src/interface.c:9552:3: warning: not enough variable arguments to fit a sentinel [-Wformat=] fileselection2 = gtk_file_chooser_dialog_new (_("Save Dialog"), NULL, GTK_FILE_CHOOSER_ACTION_SAVE, NULL); ^~~~~~~~~~~~~~ src/interface.c: In function 'create_fileselection3': src/interface.c:9603:3: warning: not enough variable arguments to fit a sentinel [-Wformat=] fileselection3 = gtk_file_chooser_dialog_new (_("Select Database"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL); ^~~~~~~~~~~~~~ src/callbacks.c: In function 'on_Gen_button_clicked': src/callbacks.c:1518:5: warning: 'page1' is used uninitialized in this function [-Wuninitialized] if (page1 == 3) ^ src/function_send.c: In function 'sendbuilt': src/function_send.c:260:38: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] for(li = 0; p->count == -3 ? : li < p->count; li++) { ^ src/function_send.c: In function 'sendsequence': src/function_send.c:804:32: warning: the omitted middle operand in ?: will always be 'true', suggest explicit middle operand [-Wparentheses] for (li = 1; p->count == -3 ? : li < p->count; li++) { ^ src/function_send.c:1030:13: warning: right-hand operand of comma expression has no effect [-Wunused-value] for (in=0, out; in<=pktnr[j]; in++, out++) ^ src/function.c: In function 'send_packet': src/function.c:565:23: warning: variable 'optm111' set but not used [-Wunused-but-set-variable] GtkWidget *optm11, *optm111, *optm22; ^~~~~~~ src/function.c:113:77: warning: variable 'ckbt6' set but not used [-Wunused-but-set-variable] GtkWidget *en1, *en2, *en3, *en4, *ckbt1, *ckbt2, *ckbt3, *ckbt4, *ckbt5, *ckbt6, *xoptm, *yoptm, *xmenu_item, *ymenu_item; ^~~~~ src/function.c:113:61: warning: variable 'ckbt4' set but not used [-Wunused-but-set-variable] GtkWidget *en1, *en2, *en3, *en4, *ckbt1, *ckbt2, *ckbt3, *ckbt4, *ckbt5, *ckbt6, *xoptm, *yoptm, *xmenu_item, *ymenu_item; ^~~~~ src/function.c:112:34: warning: variable 'abstime' set but not used [-Wunused-but-set-variable] GtkWidget *statusbar, *notebk, *abstime, *reltime, *en5, *en6, *ntbk7; ^~~~~~~ src/function.c: In function 'make_packet': src/function.c:822:13: warning: variable 'auto_bt' set but not used [-Wunused-but-set-variable] GtkWidget *auto_bt, *text_e; ^~~~~~~ src/function.c: In function 'ipv6_get': src/function.c:946:28: warning: variable 'exthdrbto' set but not used [-Wunused-but-set-variable] GtkWidget *extensionhdr, *exthdrbto; ^~~~~~~~~ src/function.c:945:40: warning: variable 'dst6bt' set but not used [-Wunused-but-set-variable] GtkWidget *src6ip, *dst6ip, *src6bt, *dst6bt, *payloadlength_bt, *pay_text_e; ^~~~~~ src/function.c:945:31: warning: variable 'src6bt' set but not used [-Wunused-but-set-variable] GtkWidget *src6ip, *dst6ip, *src6bt, *dst6bt, *payloadlength_bt, *pay_text_e; ^~~~~~ src/function.c: In function 'get_8023': src/function.c:3178:27: warning: variable 'L8023llc_tbt' set but not used [-Wunused-but-set-variable] GtkWidget *ethlength_e, *L8023llc_tbt, *L8023llcsnap_tbt, *Ldsap_e, *Lssap_e; ^~~~~~~~~~~~ src/function.c: In function 'icmpv6_get': src/function.c:4031:25: warning: variable 'icmp_stop' set but not used [-Wunused-but-set-variable] int icmp_start, icmp_stop, checksum_start, payload_length, i, j; ^~~~~~~~~ src/function.c:4031:13: warning: variable 'icmp_start' set but not used [-Wunused-but-set-variable] int icmp_start, icmp_stop, checksum_start, payload_length, i, j; ^~~~~~~~~~ In file included from src/function.c:48:0: At top level: src/headers.h:50:22: warning: 'pcap_link_type' defined but not used [-Wunused-variable] static unsigned long pcap_link_type = 1; /* Default is DLT-EN10MB */ ^~~~~~~~~~~~~~ src/function_send.c: In function 'sendbuilt': src/function_send.c:315:88: warning: ' kbit/s link utilization)' directive output may be truncated writing 25 bytes into a region of size between 12 and 44 [-Wformat-truncation=] snprintf(buff, 100, " Sent %ld packets on %s (%d packets/s, %d kbit/s data rate, %d kbit/s link utilization)", sentnumber, iftext, pkts, mbps, link); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from src/function_send.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 82 or more bytes (assuming 114) into a destination of size 100 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 -c -o src/loadpacket.o src/loadpacket.c src/function.c: In function 'get_8021q': src/function.c:3400:28: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] snprintf(&(tmp[0]), 2, "%x", tmp[0]); ^ In file included from /usr/include/stdio.h:861:0, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:46, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from src/function.c:26: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 3 bytes into a destination of size 2 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -g -O2 -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -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 -c -o src/savepacket.o src/savepacket.c In file included from src/loadpacket.h:23:0, from src/loadpacket.c:27: src/headers.h:50:22: warning: 'pcap_link_type' defined but not used [-Wunused-variable] static unsigned long pcap_link_type = 1; /* Default is DLT-EN10MB */ ^~~~~~~~~~~~~~ src/loadpacket.c: In function 'load_gen_s_data': src/loadpacket.c:271:29: warning: '%d' directive output may be truncated writing between 3 and 10 bytes into a region of size 5 [-Wformat-truncation=] snprintf(buff, 10, "entry%d", 110+j); ^~ src/loadpacket.c:271:23: note: directive argument in the range [111, 2147483647] snprintf(buff, 10, "entry%d", 110+j); ^~~~~~~~~ In file included from /usr/include/stdio.h:861:0, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:46, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from src/loadpacket.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 9 and 16 bytes into a destination of size 10 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/savepacket.c: In function 'save_gen_b': src/savepacket.c:71:27: warning: variable 'index' set but not used [-Wunused-but-set-variable] int timeflag = 0, index = 0; ^~~~~ src/savepacket.c: In function 'save_gen_s': src/savepacket.c:202:11: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(&pkttable[i][0], bt1_t, 70); ^ In file included from /usr/include/features.h:428:0, from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/riscv64-redhat-linux/7/include/limits.h:194, from /usr/lib/gcc/riscv64-redhat-linux/7/include/syslimits.h:7, from /usr/lib/gcc/riscv64-redhat-linux/7/include/limits.h:34, from /usr/lib64/glib-2.0/include/glibconfig.h:11, from /usr/include/glib-2.0/glib/gtypes.h:32, from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from src/savepacket.c:23: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ src/loadpacket.c: In function 'ipv4_header': src/loadpacket.c:1572:28: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] snprintf(tmp, 4, "%d", x); ^~ src/loadpacket.c:1572:27: note: directive argument in the range [-1073741824, 1073741823] snprintf(tmp, 4, "%d", x); ^~~~ In file included from /usr/include/stdio.h:861:0, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:46, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from src/loadpacket.c:22: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 12 bytes into a destination of size 4 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o packETH src/main.o src/support.o src/interface.o src/callbacks.o src/function.o src/function_send.o src/loadpacket.o src/savepacket.o -lpthread -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 make[1]: Leaving directory '/builddir/build/BUILD/packETH-1.7.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5UiXMx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64 + cd packETH-1.7.2 + rm -rf /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/packETH-1.7.2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/bin' /usr/bin/install -c packETH '/builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/packeth/pixmaps' /usr/bin/install -c -m 644 src/pixmaps/Build.xpm src/pixmaps/donate.xpm src/pixmaps/future.xpm src/pixmaps/Gen.xpm src/pixmaps/interface.xpm src/pixmaps/load.xpm src/pixmaps/preference.xpm src/pixmaps/reset.xpm src/pixmaps/save.xpm src/pixmaps/save16.xpm src/pixmaps/send.xpm src/pixmaps/X.xpm '/builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/packeth/pixmaps' make[1]: Leaving directory '/builddir/build/BUILD/packETH-1.7.2' + mkdir -p /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/applications/ + desktop-file-install --dir=/builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/applications /builddir/build/SOURCES/packETH.desktop /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/applications/packETH.desktop: warning: value "GUI packet generator tool" for key "Comment" in group "Desktop Entry" looks redundant with value "GUI packet generator tool" of key "GenericName" + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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: packETH-1.7.2-9.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fznhcw + umask 022 + cd /builddir/build/BUILD + cd packETH-1.7.2 + DOCDIR=/builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/doc/packETH + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/doc/packETH + cp -pr AUTHORS /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/doc/packETH + cp -pr COPYING /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/doc/packETH + cp -pr README /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64/usr/share/doc/packETH + exit 0 Provides: application() application(packETH.desktop) packETH = 1.7.2-9.fc28 packETH(riscv-64) = 1.7.2-9.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) libatk-1.0.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libcairo.so.2()(64bit) libfontconfig.so.1()(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libpango-1.0.so.0()(64bit) libpangocairo-1.0.so.0()(64bit) libpangoft2-1.0.so.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64 Wrote: /builddir/build/SRPMS/packETH-1.7.2-9.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/packETH-1.7.2-9.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Td5fuu + umask 022 + cd /builddir/build/BUILD + cd packETH-1.7.2 + rm -rf /builddir/build/BUILDROOT/packETH-1.7.2-9.fc28.riscv64 + 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