+ 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 -L/usr/pkg/gcc6/lib/gcc/x86_64-redhat-linux/6.5.0 -Wl,-R/usr/pkg/gcc6/lib/gcc/x86_64-redhat-linux/6.5.0 -L/usr/pkg/gcc6/lib64 -Wl,-R/usr/pkg/gcc6/lib64 -Wl,-zrelro -L/usr/lib64 -Wl,-R/usr/lib64 In file included from /usr/include/limits.h:26:0, from /usr/pkg/gcc6/lib/gcc/x86_64-redhat-linux/6.5.0/include-fixed/limits.h:168, from /usr/pkg/gcc6/lib/gcc/x86_64-redhat-linux/6.5.0/include-fixed/syslimits.h:7, from /usr/pkg/gcc6/lib/gcc/x86_64-redhat-linux/6.5.0/include-fixed/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:330:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # 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:0, 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] 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:0, 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 { ^ In file included from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtktoolitem.h:31:0, 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] GTimeVal last_popdown; ^~~~~~~~ In file included from /home/pbulk/build/x11/gromit/work/.buildlink/include/glib-2.0/glib/galloca.h:34:0, 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 struct _GTimeVal ^~~~~~~~~ gromit.c: In function 'gromit_paint_context_new': gromit.c:163:27: warning: implicit declaration of function 'gdk_gc_new' [-Wimplicit-function-declaration] context->paint_gc = gdk_gc_new (data->pixmap); ^~~~~~~~~~ gromit.c:163:25: warning: assignment makes pointer from integer without a cast [-Wint-conversion] context->paint_gc = gdk_gc_new (data->pixmap); ^ gromit.c:164:7: warning: implicit declaration of function 'gdk_gc_set_foreground' [-Wimplicit-function-declaration] gdk_gc_set_foreground (context->paint_gc, fg_color); ^~~~~~~~~~~~~~~~~~~~~ gromit.c:165:7: warning: implicit declaration of function 'gdk_gc_set_line_attributes' [-Wimplicit-function-declaration] gdk_gc_set_line_attributes (context->paint_gc, width, GDK_LINE_SOLID, ^~~~~~~~~~~~~~~~~~~~~~~~~~ gromit.c:176:25: warning: assignment makes pointer from integer without a cast [-Wint-conversion] context->shape_gc = gdk_gc_new (data->shape); ^ gromit.c:177:7: warning: implicit declaration of function 'gdk_gc_get_values' [-Wimplicit-function-declaration] gdk_gc_get_values (context->shape_gc, &shape_gcv); ^~~~~~~~~~~~~~~~~ gromit.c: In function 'gromit_clear_screen': gromit.c:420:3: warning: implicit declaration of function 'gdk_draw_rectangle' [-Wimplicit-function-declaration] gdk_draw_rectangle (data->shape, data->shape_gc, 1, ^~~~~~~~~~~~~~~~~~ gromit.c: In function 'gromit_select_tool': gromit.c:463:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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' [-Wimplicit-function-declaration] gdk_draw_line (data->pixmap, data->cur_context->paint_gc, ^~~~~~~~~~~~~ gromit.c: In function 'gromit_draw_arrow': gromit.c:606:7: warning: implicit declaration of function 'gdk_draw_polygon' [-Wimplicit-function-declaration] gdk_draw_polygon (data->pixmap, data->cur_context->paint_gc, ^~~~~~~~~~~~~~~~ gromit.c: In function 'paintto': gromit.c:720:12: warning: variable 'ret' set but not used [-Wunused-but-set-variable] gboolean ret; ^~~ gromit.c: In function 'event_expose': gromit.c:849:3: warning: implicit declaration of function 'gdk_draw_drawable' [-Wimplicit-function-declaration] gdk_draw_drawable (data->area->window, ^~~~~~~~~~~~~~~~~ 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] 8, uri, strlen (uri)); ^~~ In file included from /home/pbulk/build/x11/gromit/work/.buildlink/include/gtk-2.0/gtk/gtkclipboard.h:29:0, 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:159:10: note: expected 'const guchar * {aka const unsigned char *}' but argument is of type 'gchar * {aka char *}' void gtk_selection_data_set (GtkSelectionData *selection_data, ^~~~~~~~~~~~~~~~~~~~~~ gromit.c: In function 'parse_name': gromit.c:994:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((guint) scanner->value.v_symbol < 11) ^ gromit.c:995:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] 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] if ((guint) scanner->value.v_symbol == 1) ^ gromit.c:1171:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] 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] 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] cursor_src = gdk_bitmap_create_from_data (NULL, paint_cursor_bits, ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gromit.c:1351:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] cursor_src = gdk_bitmap_create_from_data (NULL, paint_cursor_bits, ^ gromit.c:1354:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] cursor_mask = gdk_bitmap_create_from_data (NULL, paint_cursor_mask_bits, ^ gromit.c:1364:14: warning: assignment makes pointer from integer without a cast [-Wint-conversion] cursor_src = gdk_bitmap_create_from_data (NULL, erase_cursor_bits, ^ gromit.c:1367:15: warning: assignment makes pointer from integer without a cast [-Wint-conversion] cursor_mask = gdk_bitmap_create_from_data (NULL, erase_cursor_mask_bits, ^ gromit.c:1381:18: warning: assignment makes pointer from integer without a cast [-Wint-conversion] data->shape_gc = gdk_gc_new (data->shape); ^ /bin/ld: /tmp/cch0hKfs.o: undefined reference to symbol 'sin@@GLIBC_2.2.5' //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-el7-trunk-x86_64/x11/gromit *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/gromit