* Package: net-misc/packETH-2.1 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 cli elibc_musl gtk kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking packETH-2.1.tar.gz to /var/tmp/portage/net-misc/packETH-2.1/work >>> Source unpacked in /var/tmp/portage/net-misc/packETH-2.1/work >>> Preparing source in /var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1 ... * Applying packETH-1.8.1-libs-and-flags.patch ... [ ok ] * Applying packETH-2.1-fno-common.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1' ... * Running 'aclocal --system-acdir=/var/tmp/portage/net-misc/packETH-2.1/temp/aclocal' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running elibtoolize in: packETH-2.1/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1 ... * econf: updating packETH-2.1/config.sub with /usr/share/gnuconfig/config.sub * econf: updating packETH-2.1/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/packETH-2.1 --htmldir=/usr/share/doc/packETH-2.1/html --libdir=/usr/lib configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-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 the compiler supports GNU C... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to enable C11 features... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for pow in -lm... yes checking for pthread_create in -lpthread... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for libintl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for sys/timeb.h... yes checking for unistd.h... (cached) yes checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking for DEPS... yes checking for error_at_line... no checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl 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 >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1 ... make -j4 make all-am make[1]: Entering directory '/var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1' x86_64-gentoo-linux-musl-gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -pipe -march=native -fno-diagnostics-color -O2 -c -o src/main.o src/main.c x86_64-gentoo-linux-musl-gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -pipe -march=native -fno-diagnostics-color -O2 -c -o src/support.o src/support.c x86_64-gentoo-linux-musl-gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -pipe -march=native -fno-diagnostics-color -O2 -c -o src/interface.o src/interface.c x86_64-gentoo-linux-musl-gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -pipe -march=native -fno-diagnostics-color -O2 -c -o src/callbacks.o src/callbacks.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/callbacks.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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/callbacks.c:25: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/support.c:15: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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/support.c:15: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/main.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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:25: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from src/callbacks.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included 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:22, 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/callbacks.c:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/interface.c:16: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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/interface.c:16: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from src/support.c:15: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included 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:22, 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/support.c:15: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from src/main.c:25: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included 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:22, 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:25: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from src/interface.c:16: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included 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:22, 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/interface.c:16: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ x86_64-gentoo-linux-musl-gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -pipe -march=native -fno-diagnostics-color -O2 -c -o src/function.o src/function.c x86_64-gentoo-linux-musl-gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -pipe -march=native -fno-diagnostics-color -O2 -c -o src/function_send.o src/function_send.c src/callbacks.c: In function 'on_radiobutton80_activate': src/callbacks.c:4735:68: warning: variable 'rb9' set but not used [-Wunused-but-set-variable] 4735 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4735:62: warning: variable 'rb8' set but not used [-Wunused-but-set-variable] 4735 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4735:56: warning: variable 'rb7' set but not used [-Wunused-but-set-variable] 4735 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4735:38: warning: variable 'rb4' set but not used [-Wunused-but-set-variable] 4735 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4735:20: warning: variable 'rb1' set but not used [-Wunused-but-set-variable] 4735 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c: In function 'on_radiobutton81_activate': src/callbacks.c:4772:68: warning: variable 'rb9' set but not used [-Wunused-but-set-variable] 4772 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4772:62: warning: variable 'rb8' set but not used [-Wunused-but-set-variable] 4772 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4772:56: warning: variable 'rb7' set but not used [-Wunused-but-set-variable] 4772 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4772:38: warning: variable 'rb4' set but not used [-Wunused-but-set-variable] 4772 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4772:20: warning: variable 'rb1' set but not used [-Wunused-but-set-variable] 4772 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c: In function 'on_radiobutton82_activate': src/callbacks.c:4807:68: warning: variable 'rb9' set but not used [-Wunused-but-set-variable] 4807 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4807:62: warning: variable 'rb8' set but not used [-Wunused-but-set-variable] 4807 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4807:56: warning: variable 'rb7' set but not used [-Wunused-but-set-variable] 4807 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4807:38: warning: variable 'rb4' set but not used [-Wunused-but-set-variable] 4807 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4807:20: warning: variable 'rb1' set but not used [-Wunused-but-set-variable] 4807 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c: In function 'on_radiobutton87_clicked': src/callbacks.c:4842:68: warning: variable 'rb9' set but not used [-Wunused-but-set-variable] 4842 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4842:62: warning: variable 'rb8' set but not used [-Wunused-but-set-variable] 4842 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4842:56: warning: variable 'rb7' set but not used [-Wunused-but-set-variable] 4842 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4842:38: warning: variable 'rb4' set but not used [-Wunused-but-set-variable] 4842 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:4842:20: warning: variable 'rb1' set but not used [-Wunused-but-set-variable] 4842 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c: In function 'on_radiobutton95_clicked': src/callbacks.c:5166:68: warning: variable 'rb9' set but not used [-Wunused-but-set-variable] 5166 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:5166:62: warning: variable 'rb8' set but not used [-Wunused-but-set-variable] 5166 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:5166:56: warning: variable 'rb7' set but not used [-Wunused-but-set-variable] 5166 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:5166:38: warning: variable 'rb4' set but not used [-Wunused-but-set-variable] 5166 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ src/callbacks.c:5166:20: warning: variable 'rb1' set but not used [-Wunused-but-set-variable] 5166 | GtkWidget *rb1, *rb2, *rb3, *rb4, *rb5, *rb6, *rb7, *rb8, *rb9; | ^~~ In file included from src/loadpacket.h:21, from src/callbacks.c:34: At top level: src/headers.h:50:22: warning: 'pcap_link_type' defined but not used [-Wunused-variable] 50 | static unsigned long pcap_link_type = 1; /* Default is DLT-EN10MB */ | ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/function_send.c:27: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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/function_send.c:27: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from src/function_send.c:27: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included 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:22, 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/function_send.c:27: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/function.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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/function.c:23: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ src/function_send.c: In function 'sendbuilt': src/function_send.c:271:41: warning: the omitted middle operand in '?:' will always be 'true', suggest explicit middle operand [-Wparentheses] 271 | for(li = 0; ((p->count == -3) ? : li < p->count); ) { | ^ src/function_send.c:182:77: warning: unused variable 'last_correction' [-Wunused-variable] 182 | g gap = 0, gap1s = 0, gap2s = 0, gap3s = 0, correction = 0, last_correction = 0; | ^~~~~~~~~~~~~~~ src/function_send.c:181:34: warning: unused variable 'test' [-Wunused-variable] 181 | long li, sentnumber = 0, test = 0, shouldbesent = 0, li_packets_sent_interval = 0; | ^~~~ 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] 43 | GtkIconSize tmp_toolbar_icon_size; | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from src/function.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included 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:22, 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/function.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ src/callbacks.c: In function 'on_sel1_ok_bt_clicked': src/callbacks.c:832:43: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size 95 [-Wformat-truncation=] 832 | snprintf(temp, 100, "file %s with database can't be opened", address_filename); | ^~ ~~~~~~~~~~~~~~~~ src/callbacks.c:832:17: note: 'snprintf' output between 36 and 135 bytes into a destination of size 100 832 | snprintf(temp, 100, "file %s with database can't be opened", address_filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/function_send.c: In function 'packet_go_on_the_link': src/function_send.c:129:9: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 19 [-Wstringop-truncation] 129 | strncpy (ifr.ifr_name, iftext, sizeof(ifr.ifr_name) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/interface.c: In function 'create_fileselection1': src/interface.c:9732:3: warning: not enough variable arguments to fit a sentinel [-Wformat=] 9732 | 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:9783:3: warning: not enough variable arguments to fit a sentinel [-Wformat=] 9783 | 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:9834:3: warning: not enough variable arguments to fit a sentinel [-Wformat=] 9834 | fileselection3 = gtk_file_chooser_dialog_new (_("Select Database"), NULL, GTK_FILE_CHOOSER_ACTION_OPEN, NULL); | ^~~~~~~~~~~~~~ src/callbacks.c: In function 'selection_dialog_show': src/callbacks.c:1000:17: warning: 'strncpy' output may be truncated copying between 0 and 16 bytes from a string of length 129 [-Wstringop-truncation] 1000 | strncpy(row[0], tmp, first ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/function.c: In function 'send_packet': src/function.c:246:80: warning: variable 'rdbt90' set but not used [-Wunused-but-set-variable] 246 | en219, *en220, *en221, *rdbt85, *rdbt82, *rdbt95, *rdbt89, *rdbt90, *rdbt91; | ^~~~~~ src/function.c:246:53: warning: variable 'rdbt82' set but not used [-Wunused-but-set-variable] 246 | GtkWidget *en219, *en220, *en221, *rdbt85, *rdbt82, *rdbt95, *rdbt89, *rdbt90, *rdbt91; | ^~~~~~ src/callbacks.c: In function 'on_auto_get_mac_cbt_clicked': src/callbacks.c:1171:9: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 19 [-Wstringop-truncation] 1171 | strncpy(areq.arp_dev, iftext, 15); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/callbacks.c:1181:29: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 19 [-Wformat-truncation=] 92 | return (buff); | ~ ...... 1181 | snprintf(tmp8, 19, "%s", ethernet_mactoa(&areq.arp_ha)); | ^~ src/callbacks.c:1181:9: note: 'snprintf' output between 1 and 256 bytes into a destination of size 19 1181 | snprintf(tmp8, 19, "%s", ethernet_mactoa(&areq.arp_ha)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/function.c:48: At top level: src/headers.h:50:22: warning: 'pcap_link_type' defined but not used [-Wunused-variable] 50 | static unsigned long pcap_link_type = 1; /* Default is DLT-EN10MB */ | ^~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -pipe -march=native -fno-diagnostics-color -O2 -c -o src/loadpacket.o src/loadpacket.c src/callbacks.c: In function 'on_rtp_ok_bt_clicked': src/callbacks.c:2637:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2637 | strncpy(&tmp[ij], csrc_t, strlen(csrc_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/callbacks.c:2653:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2653 | strncpy(&tmp[ij], extension_t, strlen(extension_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/callbacks.c:2661:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 2661 | strncpy(&tmp[ij], rtp_payload_t, strlen(rtp_payload_t)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/callbacks.c:2656:15: note: length computed here 2656 | if ( (strlen(rtp_payload_t)> 2920) || (strlen(rtp_payload_t)%2 != 0) ) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/loadpacket.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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/loadpacket.c:21: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ src/callbacks.c: In function 'on_ok_button3_clicked': src/callbacks.c:3013:9: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 3013 | strncpy(address_filename, fname, strlen(fname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/callbacks.c:3008:13: note: length computed here 3008 | if (strlen(fname) > 99) { | ^~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from src/loadpacket.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included 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:22, 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/loadpacket.c:21: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from src/loadpacket.h:21, from src/loadpacket.c:26: src/headers.h:50:22: warning: 'pcap_link_type' defined but not used [-Wunused-variable] 50 | static unsigned long pcap_link_type = 1; /* Default is DLT-EN10MB */ | ^~~~~~~~~~~~~~ src/loadpacket.c: In function 'load_gen_b_data': src/loadpacket.c:93:25: warning: 'strncpy' output may be truncated copying 9 bytes from a string of length 9 [-Wstringop-truncation] 93 | strncpy(&buffc[k][j], buff, 9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/loadpacket.c: In function 'load_gen_s_data': src/loadpacket.c:270:50: warning: '%d' directive output may be truncated writing between 3 and 10 bytes into a region of size 5 [-Wformat-truncation=] 270 | snprintf(buff, 10, "entry%d", 110+j); | ^~ src/loadpacket.c:270:44: note: directive argument in the range [111, 2147483647] 270 | snprintf(buff, 10, "entry%d", 110+j); | ^~~~~~~~~ src/loadpacket.c:270:25: note: 'snprintf' output between 9 and 16 bytes into a destination of size 10 270 | snprintf(buff, 10, "entry%d", 110+j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/callbacks.c: In function 'on_button87_clicked': src/callbacks.c:4032:28: warning: '%lld' directive output may be truncated writing between 1 and 20 bytes into a region of size 11 [-Wformat-truncation=] 4032 | snprintf(ime, 11, "%lld", nsdelta); | ^~~~ src/callbacks.c:4032:27: note: directive argument in the range [-9223372035854775807, 9223372036854775807] 4032 | snprintf(ime, 11, "%lld", nsdelta); | ^~~~~~ src/callbacks.c:4032:9: note: 'snprintf' output between 2 and 21 bytes into a destination of size 11 4032 | snprintf(ime, 11, "%lld", nsdelta); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/loadpacket.c: In function 'ipv4_header': src/loadpacket.c:1571:35: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size 4 [-Wformat-truncation=] 1571 | snprintf(tmp, 4, "%d", x); | ^~ src/loadpacket.c:1571:34: note: directive argument in the range [-1073741824, 1073741823] 1571 | snprintf(tmp, 4, "%d", x); | ^~~~ src/loadpacket.c:1571:17: note: 'snprintf' output between 2 and 12 bytes into a destination of size 4 1571 | snprintf(tmp, 4, "%d", x); | ^~~~~~~~~~~~~~~~~~~~~~~~~ src/function.c: In function 'ipv6_get': src/function.c:1446:9: warning: 'strncpy' specified bound 5 equals destination size [-Wstringop-truncation] 1446 | strncpy(&tmp2[1], flowlabel_t, 5); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-gentoo-linux-musl-gcc -DPKGDATADIR=\"/usr/share/packeth/\" -I. -Wall -Wmissing-prototypes -Wmissing-declarations -Wunused -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/lib/libffi/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/uuid -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -pipe -march=native -fno-diagnostics-color -O2 -c -o src/savepacket.o src/savepacket.c src/function.c: In function 'send_packet': src/function.c:1205:17: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 19 [-Wstringop-truncation] 1205 | strncpy (params1.ifr.ifr_name, iftext, sizeof(params1.ifr.ifr_name) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/function.c:344:17: warning: 'strncpy' output may be truncated copying 15 bytes from a string of length 19 [-Wstringop-truncation] 344 | strncpy (params1.ifr.ifr_name, iftext, sizeof(params1.ifr.ifr_name) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/function.c:315:60: warning: ' bytes sent on ' directive output may be truncated writing 15 bytes into a region of size between 0 and 89 [-Wformat-truncation=] 315 | snprintf(buff, 100, " %s -----> %d bytes sent on %s", buf2, c, iftext); | ^~~~~~~~~~~~~~~ src/function.c:315:25: note: 'snprintf' output between 27 and 135 bytes into a destination of size 100 315 | snprintf(buff, 100, " %s -----> %d bytes sent on %s", buf2, c, iftext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from src/savepacket.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, 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:21: /usr/include/glib-2.0/gobject/gtype.h:698:1: note: declared here 698 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from src/savepacket.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included 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:22, 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:21: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -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 -lharfbuzz -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lm make[1]: Leaving directory '/var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1' make -j4 CC=x86_64-gentoo-linux-musl-gcc 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' -C cli make: Entering directory '/var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1/cli' x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c cli_send.c x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2 -c parse_snort_rules.c cli_send.c:143:1: error: unknown type name '__sum16' 143 | __sum16 ip_fast_csum(const void *iph, unsigned int ihl); | ^~~~~~~ cli_send.c:1732:8: error: unknown type name '__sum16' 1732 | inline __sum16 | ^~~~~~~ cli_send.c: In function 'ip_fast_csum': cli_send.c:1760:13: error: '__sum16' undeclared (first use in this function) 1760 | return (__sum16)sum; | ^~~~~~~ cli_send.c:1760:13: note: each undeclared identifier is reported only once for each function it appears in cli_send.c:1760:21: error: expected ';' before 'sum' 1760 | return (__sum16)sum; | ^~~ | ; cli_send.c: In function 'build_packet': cli_send.c:1825:32: error: '__WORDSIZE' undeclared (first use in this function) 1825 | } __attribute__ ((aligned (__WORDSIZE))) pseudo_header = { | ^~~~~~~~~~ cli_send.c:1859:9: error: 'struct tcphdr' has no member named 'source' 1859 | tcph->source = TCP_SRC_PORT; | ^~ cli_send.c:1860:9: error: 'struct tcphdr' has no member named 'dest' 1860 | tcph->dest = TCP_DST_PORT; | ^~ cli_send.c:1861:9: error: 'struct tcphdr' has no member named 'seq' 1861 | tcph->seq = MyRandom(seed); | ^~ cli_send.c:1862:9: error: 'struct tcphdr' has no member named 'ack_seq' 1862 | tcph->ack_seq = MyRandom(seed); | ^~ cli_send.c:1863:9: error: 'struct tcphdr' has no member named 'doff' 1863 | tcph->doff = (sizeof(struct tcphdr)>>2); | ^~ cli_send.c:1864:9: error: 'struct tcphdr' has no member named 'res1' 1864 | tcph->res1 = 0; | ^~ cli_send.c:1865:9: error: 'struct tcphdr' has no member named 'res2' 1865 | tcph->res2 = 0; | ^~ cli_send.c:1866:9: error: 'struct tcphdr' has no member named 'urg' 1866 | tcph->urg = 0; | ^~ cli_send.c:1867:9: error: 'struct tcphdr' has no member named 'ack' 1867 | tcph->ack = 1; | ^~ cli_send.c:1868:9: error: 'struct tcphdr' has no member named 'psh' 1868 | tcph->psh = 0; | ^~ cli_send.c:1869:9: error: 'struct tcphdr' has no member named 'rst' 1869 | tcph->rst = 0; | ^~ cli_send.c:1870:9: error: 'struct tcphdr' has no member named 'syn' 1870 | tcph->syn = 0; | ^~ cli_send.c:1871:9: error: 'struct tcphdr' has no member named 'fin' 1871 | tcph->fin = 0; | ^~ cli_send.c:1872:9: error: 'struct tcphdr' has no member named 'window' 1872 | tcph->window = htons(5840); | ^~ cli_send.c:1936:9: error: 'struct tcphdr' has no member named 'check' 1936 | tcph->check = TCPChecksum((uint16_t *) &pseudo_header, | ^~ make: *** [Makefile:51: cli_send.o] Error 1 make: Leaving directory '/var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1/cli' * ERROR: net-misc/packETH-2.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/packETH-2.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/packETH-2.1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:packETH-2.1:20220210-054116.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/packETH-2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/packETH-2.1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1' * S: '/var/tmp/portage/net-misc/packETH-2.1/work/packETH-2.1'