+ 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.8nb61/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gkrellm-multiping-2.0.8nb61/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gkrellm-multiping-2.0.8nb61 --- 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:14: error: 'ICMP_UNREACH_ADMIN_PROHIBIT' undeclared (first use in this function); did you mean 'ICMP_UNREACH_HOST_PROHIB'? 282 | case ICMP_UNREACH_ADMIN_PROHIBIT: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | ICMP_UNREACH_HOST_PROHIB pinger.c:282:14: note: each undeclared identifier is reported only once for each function it appears in pinger.c:301:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 301 | g_string_sprintf(s, "Dest Unreachable, Unknown Code: %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:324:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 324 | g_string_sprintf(s, "Redirect, Bad Code: %d", icp->icmp_code); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:327:20: warning: Deprecated pre-processor symbol: replace with "g_string_append_printf" 327 | g_string_sprintfa(s, " (New addr: %s)", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:343:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 343 | g_string_sprintf(s, "Time exceeded, Bad Code: %d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:349:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 349 | g_string_sprintf(s, "Parameter problem: IP address = %s", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:379:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 379 | g_string_sprintf(s, "Bad ICMP type: %d", icp->icmp_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c: In function 'pr_pack': pinger.c:468:21: warning: variable 'error_pkt' set but not used [-Wunused-but-set-variable] 468 | int error_pkt; | ^~~~~~~~~ pinger.c: In function 'receiver': pinger.c:637:59: warning: passing argument 6 of 'recvfrom' from incompatible pointer type [-Wincompatible-pointer-types] 637 | (struct sockaddr *) &from, &fromlen)) < 0) { | ^~~~~~~~ | | | size_t * {aka long unsigned int *} In file included from /usr/include/sys/socket.h:343, from pinger.c:23: /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'size_t *' {aka 'long unsigned int *'} 62 | __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" 654 | g_string_sprintf(h->sent_str, "%d", h->sent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:655:13: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 655 | g_string_sprintf(h->recv_str, "%d", h->recv); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c: In function 'update_host_stats': pinger.c:665:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 665 | g_string_sprintf(s, "%d", h->tmp_recv * 100 / h->tmp_sent); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:674:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 674 | g_string_sprintf(s, "%ld.%03ld s", trip / 1000000, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:676:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 676 | g_string_sprintf(s2, ">s"); | ^~~~~~~~~~~~~~~~~~~~ pinger.c:678:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 678 | g_string_sprintf(s, "%ld.%03ld ms", trip / 1000, trip % 1000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:679:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 679 | g_string_sprintf(s2, "%ld", trip / 1000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:681:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 681 | g_string_sprintf(s, "%ld.%03ld ms", trip / 1000, trip % 1000); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:682:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 682 | g_string_sprintf(s2, "%ld.%01ld", trip / 1000, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:685:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 685 | g_string_sprintf(s, "0.%01ld ms", trip / 100); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:686:20: warning: Deprecated pre-processor symbol: replace with "g_string_printf" 686 | 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:76:5: warning: ignoring return value of 'g_string_free_and_steal' declared with attribute 'warn_unused_result' [-Wunused-result] 72 | (__builtin_constant_p (free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | ((free_segment) ? \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 74 | (g_string_free) ((str), (free_segment)) : \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 75 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 76 | : \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 77 | (g_string_free) ((str), (free_segment))) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pinger.c:383:5: note: in expansion of macro 'g_string_free' 383 | 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] 797 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ *** [pinger] Error code 1 bmake: stopped making "all" 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] 236 | 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:725:1: note: declared here 725 | { | ^ 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] 73 | 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 580 | 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] 129 | fgets(buf, 512, pinger_pipe); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiping.c:132:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 132 | fgets(buf, 512, pinger_pipe); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiping.c:135:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 135 | fgets(buf, 512, pinger_pipe); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiping.c:138:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | fgets(buf, 512, pinger_pipe); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ multiping.c: In function 'create_plugin_config': multiping.c:649:12: warning: array subscript 2 is above array bounds of 'gchar *[2]' {aka 'char *[2]'} [-Warray-bounds] 649 | buf[2] = nt->show_trip ? "yes" : "no"; | ~~~^~~ multiping.c:536:12: note: while referencing 'buf' 536 | gchar *buf[2]; | ^~~ multiping.c:650:12: warning: array subscript 3 is above array bounds of 'gchar *[2]' {aka 'char *[2]'} [-Warray-bounds] 650 | buf[3] = nt->updatefreq->str; | ~~~^~~ multiping.c:536:12: note: while referencing 'buf' 536 | gchar *buf[2]; | ^~~ bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/net/gkrellm-multiping/work/gkrellm-multiping-2.0.8 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/gkrellm-multiping *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/gkrellm-multiping