+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gkrellm-multiping-2.0.8nb53/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gkrellm-multiping-2.0.8nb53/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gkrellm-multiping-2.0.8nb53 --- pinger --- --- multiping.o --- --- pinger --- cc -pipe -O2 -pthread -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/include `pkg-config glib-2.0 --cflags` -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -pthread `pkg-config glib-2.0 --libs` -Wall -o pinger pinger.c --- multiping.o --- cc -pipe -O2 -pthread -I/usr/pkg/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz -I/include -Wall -fPIC -Wall `pkg-config gtk+-2.0 --cflags` -DVERSION=\"2.0.8\" -c multiping.c --- pinger --- pinger.c: In function 'pr_icmph': pinger.c:282:7: error: 'ICMP_UNREACH_ADMIN_PROHIBIT' undeclared (first use in this function); did you mean 'ICMP_UNREACH_HOST_PROHIB'? case ICMP_UNREACH_ADMIN_PROHIBIT: ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ICMP_UNREACH_HOST_PROHIB pinger.c:282:7: note: each undeclared identifier is reported only once for each function it appears in pinger.c:301:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "Dest Unreachable, Unknown Code: %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:324:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "Redirect, Bad Code: %d", icp->icmp_code); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:327:13: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" g_string_sprintfa(s, " (New addr: %s)", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:343:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "Time exceeded, Bad Code: %d", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:349:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "Parameter problem: IP address = %s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:379:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "Bad ICMP type: %d", icp->icmp_type); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c: In function 'pr_pack': pinger.c:468:7: warning: variable 'error_pkt' set but not used [-Wunused-but-set-variable] int error_pkt; ^~~~~~~~~ pinger.c: In function 'receiver': pinger.c:637:38: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] (struct sockaddr *) &from, &fromlen)) < 0) { ^~~~~~~~ In file included from /usr/include/sys/socket.h:269, from pinger.c:23: /usr/include/bits/socket2.h:62:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ pinger.c: In function 'update_host_packinfo': pinger.c:654:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(h->sent_str, "%d", h->sent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:655:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(h->recv_str, "%d", h->recv); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c: In function 'update_host_stats': pinger.c:665:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "%d", h->tmp_recv * 100 / h->tmp_sent); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:674:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "%ld.%03ld s", trip / 1000000, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:676:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s2, ">s"); ^~~~~~~~~~~~~~~~~~~~ pinger.c:678:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "%ld.%03ld ms", trip / 1000, trip % 1000); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:679:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s2, "%ld", trip / 1000); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:681:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "%ld.%03ld ms", trip / 1000, trip % 1000); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:682:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s2, "%ld.%01ld", trip / 1000, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:685:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s, "0.%01ld ms", trip / 100); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:686:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" g_string_sprintf(s2, "0.%01ld", trip / 100); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/glib/giochannel.h:36, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/glib.h:56, from pinger.c:44: pinger.c: In function 'pr_icmph': /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of 'g_string_free_and_steal', declared with attribute warn_unused_result [-Wunused-result] (__builtin_constant_p (free_segment) ? \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ((free_segment) ? \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (g_string_free) ((str), (free_segment)) : \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g_string_free_and_steal (str)) \ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : \ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (g_string_free) ((str), (free_segment))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:383:5: note: in expansion of macro 'g_string_free' g_string_free(s, FALSE); ^~~~~~~~~~~~~ pinger.c: In function 'main': pinger.c:797:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ *** [pinger] Error code 1 bmake: stopped in /home/pbulk/build/net/gkrellm-multiping/work/gkrellm-multiping-2.0.8 --- multiping.o --- In file included from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gkrellm2/gkrellm.h:30, from multiping.c:24: /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gobject/gobject.h:26, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/glib-object.h:24, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gkrellm2/gkrellm.h:30, from multiping.c:24: /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here { ^ In file included from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gkrellm2/gkrellm.h:30, from multiping.c:24: /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/glib/galloca.h:34, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/glib.h:32, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gobject/gbinding.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/glib-object.h:24, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gtk-2.0/gtk/gtk.h:32, from /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/gkrellm2/gkrellm.h:30, from multiping.c:24: /home/pbulk/build/net/gkrellm-multiping/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here struct _GTimeVal ^~~~~~~~~ multiping.c: In function 'host_read_pipe': multiping.c:129:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 512, pinger_pipe); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiping.c:132:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 512, pinger_pipe); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiping.c:135:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 512, pinger_pipe); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiping.c:138:5: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, 512, pinger_pipe); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiping.c: In function 'create_plugin_config': multiping.c:649:5: warning: array subscript 2 is above array bounds of 'gchar *[2]' {aka 'char *[2]'} [-Warray-bounds] buf[2] = nt->show_trip ? "yes" : "no"; ~~~^~~ multiping.c:650:5: warning: array subscript 3 is above array bounds of 'gchar *[2]' {aka 'char *[2]'} [-Warray-bounds] buf[3] = nt->updatefreq->str; ~~~^~~ 1 error bmake: stopped in /home/pbulk/build/net/gkrellm-multiping/work/gkrellm-multiping-2.0.8 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/gkrellm-multiping *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/gkrellm-multiping