+ 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/gromit-20041213nb41/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/gromit-20041213nb41/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gromit-20041213nb41 --- gromit --- gcc -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE -o gromit gromit.c -Wall `pkg-config --libs --cflags gtk+-2.0` -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lX11 -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/limits.h:26, from /usr/lib/gcc/x86_64-redhat-linux/11/include/limits.h:203, from /usr/lib/gcc/x86_64-redhat-linux/11/include/syslimits.h:7, from /usr/lib/gcc/x86_64-redhat-linux/11/include/limits.h:34, from /home/pbulk/build/x11/gromit/work/.buildlink/lib/glib-2.0/include/glibconfig.h:11, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/glib/gtypes.h:34, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/glib/galloca.h:34, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/glib.h:32, from gromit.c:19: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkobject.h:37, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkwidget.h:36, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkcontainer.h:35, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkbin.h:35, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkwindow.h:36, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkdialog.h:35, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtk.h:33, from gromit.c:23: /home/pbulk/build/x11/gromit/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/x11/gromit/work/.buildlink/include/glib-2.0/gobject/gobject.h:26, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/gobject/gbinding.h:31, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/glib-object.h:24, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/gio/gioenums.h:30, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/gio/giotypes.h:30, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/gio/gio.h:28, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gdk/gdk.h:32, from gromit.c:20: /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtk.h:126, from gromit.c:23: /home/pbulk/build/x11/gromit/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/x11/gromit/work/.buildlink/include/glib-2.0/glib/galloca.h:34, from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/glib.h:32, from gromit.c:19: /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ gromit.c: In function 'gromit_paint_context_new': gromit.c:163:27: warning: implicit declaration of function 'gdk_gc_new'; did you mean 'gtk_gc_get'? [-Wimplicit-function-declaration] 163 | context->paint_gc = gdk_gc_new (data->pixmap); | ^~~~~~~~~~ | gtk_gc_get gromit.c:163:25: warning: assignment to 'GdkGC *' {aka 'struct _GdkGC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 163 | context->paint_gc = gdk_gc_new (data->pixmap); | ^ gromit.c:164:7: warning: implicit declaration of function 'gdk_gc_set_foreground'; did you mean 'gtk_clist_set_foreground'? [-Wimplicit-function-declaration] 164 | gdk_gc_set_foreground (context->paint_gc, fg_color); | ^~~~~~~~~~~~~~~~~~~~~ | gtk_clist_set_foreground gromit.c:165:7: warning: implicit declaration of function 'gdk_gc_set_line_attributes' [-Wimplicit-function-declaration] 165 | gdk_gc_set_line_attributes (context->paint_gc, width, GDK_LINE_SOLID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gromit.c:176:25: warning: assignment to 'GdkGC *' {aka 'struct _GdkGC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 176 | context->shape_gc = gdk_gc_new (data->shape); | ^ gromit.c:177:7: warning: implicit declaration of function 'gdk_gc_get_values'; did you mean 'gtk_range_get_value'? [-Wimplicit-function-declaration] 177 | gdk_gc_get_values (context->shape_gc, &shape_gcv); | ^~~~~~~~~~~~~~~~~ | gtk_range_get_value gromit.c: In function 'gromit_clear_screen': gromit.c:420:3: warning: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 420 | gdk_draw_rectangle (data->shape, data->shape_gc, 1, | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle gromit.c: In function 'gromit_select_tool': gromit.c:463:12: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 463 | name = g_strndup (device->name, len + 3); | ^ gromit.c: In function 'gromit_draw_line': gromit.c:546:5: warning: implicit declaration of function 'gdk_draw_line'; did you mean 'gtk_draw_vline'? [-Wimplicit-function-declaration] 546 | gdk_draw_line (data->pixmap, data->cur_context->paint_gc, | ^~~~~~~~~~~~~ | gtk_draw_vline gromit.c: In function 'gromit_draw_arrow': gromit.c:606:7: warning: implicit declaration of function 'gdk_draw_polygon'; did you mean 'gtk_draw_polygon'? [-Wimplicit-function-declaration] 606 | gdk_draw_polygon (data->pixmap, data->cur_context->paint_gc, | ^~~~~~~~~~~~~~~~ | gtk_draw_polygon gromit.c: In function 'paintto': gromit.c:720:12: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 720 | gboolean ret; | ^~~ gromit.c: In function 'event_expose': gromit.c:849:3: warning: implicit declaration of function 'gdk_draw_drawable'; did you mean 'gtk_draw_handle'? [-Wimplicit-function-declaration] 849 | gdk_draw_drawable (data->area->window, | ^~~~~~~~~~~~~~~~~ | gtk_draw_handle gromit.c: In function 'event_selection_get': gromit.c:929:30: warning: pointer targets in passing argument 4 of 'gtk_selection_data_set' differ in signedness [-Wpointer-sign] 929 | 8, uri, strlen (uri)); | ^~~ | | | gchar * {aka char *} In file included from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkclipboard.h:29, from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtk.h:68, from gromit.c:23: /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkselection.h:162:61: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 162 | const guchar *data, | ~~~~~~~~~~~~~~~~~~~~~~^~~~ gromit.c: In function 'parse_name': gromit.c:994:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 994 | if ((guint) scanner->value.v_symbol < 11) | ^ gromit.c:995:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 995 | buttons |= 1 << ((guint) scanner->value.v_symbol - 1); | ^ gromit.c:997:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 997 | modifier |= 1 << ((guint) scanner->value.v_symbol - 11); | ^ gromit.c: In function 'parse_config': gromit.c:1155:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1155 | if ((guint) scanner->value.v_symbol == 1) | ^ gromit.c:1171:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1171 | else if ((guint) scanner->value.v_symbol == 2) | ^ gromit.c:1210:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1210 | else if ((guint) scanner->value.v_symbol == 3) | ^ gromit.c: In function 'setup_input_devices': gromit.c:1277:14: warning: variable 'core_pointer' set but not used [-Wunused-but-set-variable] 1277 | GdkDevice *core_pointer; | ^~~~~~~~~~~~ gromit.c: In function 'setup_main_app': gromit.c:1351:16: warning: implicit declaration of function 'gdk_bitmap_create_from_data' [-Wimplicit-function-declaration] 1351 | cursor_src = gdk_bitmap_create_from_data (NULL, paint_cursor_bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gromit.c:1351:14: warning: assignment to 'GdkPixmap *' {aka 'struct _GdkDrawable *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1351 | cursor_src = gdk_bitmap_create_from_data (NULL, paint_cursor_bits, | ^ gromit.c:1354:15: warning: assignment to 'GdkPixmap *' {aka 'struct _GdkDrawable *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1354 | cursor_mask = gdk_bitmap_create_from_data (NULL, paint_cursor_mask_bits, | ^ gromit.c:1364:14: warning: assignment to 'GdkPixmap *' {aka 'struct _GdkDrawable *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1364 | cursor_src = gdk_bitmap_create_from_data (NULL, erase_cursor_bits, | ^ gromit.c:1367:15: warning: assignment to 'GdkPixmap *' {aka 'struct _GdkDrawable *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1367 | cursor_mask = gdk_bitmap_create_from_data (NULL, erase_cursor_mask_bits, | ^ gromit.c:1381:18: warning: assignment to 'GdkGC *' {aka 'struct _GdkGC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 1381 | data->shape_gc = gdk_gc_new (data->shape); | ^ /bin/ld: /tmp/ccxNahsI.o: undefined reference to symbol 'sin@@GLIBC_2.2.5' /bin/ld: /usr/lib64/libm.so.6: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status *** [gromit] Error code 1 bmake: stopped in /home/pbulk/build/x11/gromit/work/gromit-20041213 1 error bmake: stopped in /home/pbulk/build/x11/gromit/work/gromit-20041213 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/gromit *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/x11/gromit