+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bkedit-0.6.23nb17/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/bkedit-0.6.23nb17/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for bkedit-0.6.23nb17 cd src && make gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_menu.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_tree.c bk_edit_tree.c: In function 'bk_edit_tree_add_root_node': bk_edit_tree.c:94:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 94 | if (g_stack_push (tree.order_stack, (void *) tree.order) == G_STACK_FULL) | ^ bk_edit_tree.c: In function 'bk_edit_tree_add_folder_node': bk_edit_tree.c:196:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 196 | if (g_stack_push (tree.order_stack, (void *) tree.order) == G_STACK_FULL) | ^ bk_edit_tree.c: In function 'bk_edit_tree_leave_folder': bk_edit_tree.c:283:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 283 | tree.order = (int) order; | ^ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_edit.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_file.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_ccp.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_data.c gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_undo.c bk_edit_undo.c: In function 'save_folder_order': bk_edit_undo.c:552:51: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 552 | g_hash_table_insert (order_table, (gpointer) child_data->id, (gpointer) child_data->order); | ^ bk_edit_undo.c:552:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 552 | g_hash_table_insert (order_table, (gpointer) child_data->id, (gpointer) child_data->order); | ^ bk_edit_undo.c: In function 'restore_folder_order': bk_edit_undo.c:568:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 568 | if (g_hash_table_lookup_extended (order_table, (gpointer) child_data->id, &orig_key, &value)) | ^ bk_edit_undo.c:570:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 570 | child_data->order = (int) value; | ^ bk_edit_undo.c: In function 'folder_order_cmp': bk_edit_undo.c:584:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 584 | if ((int) a == (int) b) | ^ bk_edit_undo.c:584:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 584 | if ((int) a == (int) b) | ^ bk_edit_undo.c: In function 'bk_edit_undo_undo': bk_edit_undo.c:237:67: warning: pointer 'undo_item' used after 'free' [-Wuse-after-free] 237 | g_hash_table_destroy (undo_item->undo_data.undo_new->order_table); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ bk_edit_undo.c:234:25: note: call to 'free' here 234 | free (undo_item); | ^~~~~~~~~~~~~~~~ bk_edit_undo.c:236:97: warning: pointer 'undo_item' used after 'free' [-Wuse-after-free] 236 | restore_folder_order (GTK_CTREE_ROW (node)->parent, undo_item->undo_data.undo_new->order_table); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ bk_edit_undo.c:234:25: note: call to 'free' here 234 | free (undo_item); | ^~~~~~~~~~~~~~~~ bk_edit_undo.c: In function 'bk_edit_undo_new': bk_edit_undo.c:53:28: warning: '*undo.undo_stack' may be used uninitialized [-Wmaybe-uninitialized] 53 | undo->undo_stack = g_stack_new (undo->undo_stack); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_dnd.c bk_edit_dnd.c: In function 'bk_edit_dnd_drag_data_received': bk_edit_dnd.c:109:59: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 109 | if ((name = strstr (selection_data->data, ""))) | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/string.h:35, from bk_edit_dnd.c:28: /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ bk_edit_dnd.c:115:58: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 115 | if ((url = strstr (selection_data->data, "href=\""))) | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ bk_edit_dnd.c:181:59: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 181 | if ((name = strstr (selection_data->data, "NAME="))) | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ bk_edit_dnd.c:187:58: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 187 | if ((url = strstr (selection_data->data, "URL="))) | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} /usr/include/iso/string_iso.h:143:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 143 | extern char *strstr(const char *, const char *); | ^~~~~~~~~~~~ bk_edit_dnd.c:271:29: warning: pointer targets in assignment from 'guchar *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 271 | url = selection_data->data; | ^ bk_edit_dnd.c:273:59: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 273 | if ((name = strchr (selection_data->data, '\n')) != NULL) | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} /usr/include/iso/string_iso.h:140:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 140 | extern char *strchr(const char *, int); | ^~~~~~~~~~~~ bk_edit_dnd.c:321:75: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 321 | node_data->elements[NAME] = strdup (selection_data->data); | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ bk_edit_dnd.c:324:78: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] 324 | node_data->elements[COMMENT] = strdup (selection_data->data); | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} /usr/include/string.h:142:21: note: expected 'const char *' but argument is of type 'guchar *' {aka 'unsigned char *'} 142 | extern char *strdup(const char *); | ^~~~~~~~~~~~ bk_edit_dnd.c:343:76: warning: pointer targets in passing argument 1 of 'uri_list_extract_uris' differ in signedness [-Wpointer-sign] 343 | GList *uris = uri_list_extract_uris (selection_data->data); | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} bk_edit_dnd.c:58:51: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 58 | static GList *uri_list_extract_uris (const gchar* uri_list); | ~~~~~~~~~~~~~^~~~~~~~ In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gtk/gtk.h:52, from bk_edit.h:4, from bk_edit_dnd.c:30: bk_edit_dnd.c: In function 'uri_list_add': /home/pbulk/build/www/bkedit/work/.buildlink/include/gtk-1.2/gtk/gtkctree.h:46:67: warning: 'node' may be used uninitialized [-Wmaybe-uninitialized] 46 | #define GTK_CTREE_ROW(_node_) ((GtkCTreeRow *)(((GList *)(_node_))->data)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ bk_edit_dnd.c:546:94: note: in expansion of macro 'GTK_CTREE_ROW' 546 | bk_edit_sort_sort (bk_edit_sort_menu_get_menu_state (), gtk_ctree_sort_node, GTK_CTREE_ROW (node)->parent); | ^~~~~~~~~~~~~ bk_edit_dnd.c:496:23: note: 'node' was declared here 496 | GtkCTreeNode *node; | ^~~~ bk_edit_dnd.c:551:9: warning: 'node_data' may be used uninitialized [-Wmaybe-uninitialized] 551 | gtk_clist_select_row (GTK_CLIST (tree.tree), gtk_clist_find_row_from_data (GTK_CLIST (tree.tree), node_data), 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bk_edit_dnd.c:497:28: note: 'node_data' was declared here 497 | bk_edit_tree_data *node_data; | ^~~~~~~~~ gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -Wall `/opt/pkg/bin/gtk-config --cflags` `/home/pbulk/build/www/bkedit/work/.buildlink/bin/xml2-config --cflags` -I/opt/pkg/include/libxml2 -I/opt/pkg/include -I/usr/include -c bk_edit_misc.c bk_edit_misc.c: In function 'bk_edit_misc_get_selection': bk_edit_misc.c:170:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 170 | return (int) list->selection->data; | ^ bk_edit_misc.c: In function 'bk_edit_misc_mixed_utf8_to_latin1': bk_edit_misc.c:196:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 196 | in_size = strlen (in_index); | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:35, from bk_edit_misc.c:47: /usr/include/iso/string_iso.h:79:22: note: expected 'const char *' but argument is of type 'unsigned char *' 79 | extern size_t strlen(const char *); | ^~~~~~~~~~~~ bk_edit_misc.c: In function 'bk_edit_misc_utf8_to_latin1_in_place': bk_edit_misc.c:221:36: warning: pointer targets in passing argument 1 of 'xmlUTF8ToIsolat1' differ in signedness [-Wpointer-sign] 221 | if (UTF8Toisolat1 (out, &out_len, in, &in_len) < 0) | ^~~ | | | char * In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:25, from bk_edit_misc.c:57: /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:293:57: note: expected 'unsigned char *' but argument is of type 'char *' 293 | xmlUTF8ToIsolat1 (unsigned char *out, | ~~~~~~~~~~~~~~~^~~ bk_edit_misc.c:221:51: warning: pointer targets in passing argument 3 of 'xmlUTF8ToIsolat1' differ in signedness [-Wpointer-sign] 221 | if (UTF8Toisolat1 (out, &out_len, in, &in_len) < 0) | ^~ | | | char * /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:295:63: note: expected 'const unsigned char *' but argument is of type 'char *' 295 | const unsigned char *in, | ~~~~~~~~~~~~~~~~~~~~~^~ bk_edit_misc.c: In function 'bk_edit_misc_utf8_to_latin1': bk_edit_misc.c:250:71: warning: pointer targets in passing argument 3 of 'bk_edit_misc_mixed_utf8_to_latin1' differ in signedness [-Wpointer-sign] 250 | if (bk_edit_misc_mixed_utf8_to_latin1 (out, &out_len, in, &in_len) != OK) | ^~ | | | char * bk_edit_misc.c:174:89: note: expected 'unsigned char *' but argument is of type 'char *' 174 | int bk_edit_misc_mixed_utf8_to_latin1 (unsigned char *out, int *out_len, unsigned char *in, int *in_len) | ~~~~~~~~~~~~~~~^~ bk_edit_misc.c:258:24: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 258 | return out; | ^~~ bk_edit_misc.c: In function 'bk_edit_misc_latin1_to_utf8': bk_edit_misc.c:279:51: warning: pointer targets in passing argument 3 of 'xmlIsolat1ToUTF8' differ in signedness [-Wpointer-sign] 279 | if (isolat1ToUTF8 (out, &out_len, in, &in_len) < 0) | ^~ | | | char * /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/encoding.h:301:63: note: expected 'const unsigned char *' but argument is of type 'char *' 301 | const unsigned char *in, | ~~~~~~~~~~~~~~~~~~~~~^~ bk_edit_misc.c:285:24: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 285 | return out; | ^~~ bk_edit_misc.c: In function 'bk_edit_misc_html_entities_decode': bk_edit_misc.c:418:52: error: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 418 | char *e = (char *) alloca (end - ii + 1); | ^~~~~~ bk_edit_misc.c:418:52: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] bk_edit_misc.c: In function 'bk_edit_misc_xml_entities_encode': bk_edit_misc.c:463:55: warning: pointer targets in passing argument 2 of 'xmlEncodeEntitiesReentrant' differ in signedness [-Wpointer-sign] 463 | char *out = xmlEncodeEntitiesReentrant (NULL, inn); | ^~~ | | | char * In file included from /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parser.h:21: /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/entities.h:124:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 124 | const xmlChar *input); | ~~~~~~~~~~~~~~~^~~~~ bk_edit_misc.c:463:21: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 463 | char *out = xmlEncodeEntitiesReentrant (NULL, inn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bk_edit_misc.c: In function 'bk_edit_misc_xml_entities_decode': bk_edit_misc.c:475:9: warning: 'xmlStringDecodeEntities' is deprecated [-Wdeprecated-declarations] 475 | char *out = xmlStringDecodeEntities (ctx, in, XML_SUBSTITUTE_REF, 0, 0, 0); | ^~~~ In file included from bk_edit_misc.c:58: /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parserInternals.h:540:17: note: declared here 540 | xmlStringDecodeEntities (xmlParserCtxtPtr ctxt, | ^~~~~~~~~~~~~~~~~~~~~~~ bk_edit_misc.c:475:51: warning: pointer targets in passing argument 2 of 'xmlStringDecodeEntities' differ in signedness [-Wpointer-sign] 475 | char *out = xmlStringDecodeEntities (ctx, in, XML_SUBSTITUTE_REF, 0, 0, 0); | ^~ | | | char * /home/pbulk/build/www/bkedit/work/.buildlink/include/libxml2/libxml/parserInternals.h:541:65: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' 541 | const xmlChar *str, | ~~~~~~~~~~~~~~~^~~ bk_edit_misc.c:475:21: warning: pointer targets in initialization of 'char *' from 'xmlChar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 475 | char *out = xmlStringDecodeEntities (ctx, in, XML_SUBSTITUTE_REF, 0, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~ *** Error code 1 Stop. make[1]: stopped making "all" in /home/pbulk/build/www/bkedit/work/bk_edit-0.6.23/src *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/www/bkedit/work/bk_edit-0.6.23 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/bkedit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/bkedit