+ 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/xdialog-2.3.1nb43/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xdialog-2.3.1nb43/work.log ===> Building for xdialog-2.3.1nb43 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in m4 Making all in lib --- getopt.o --- --- getopt1.o --- --- getopt.o --- gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wall -s -c getopt.c --- getopt1.o --- gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I. -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wall -s -c getopt1.c --- libgetopt.a --- rm -f libgetopt.a ar cru libgetopt.a getopt.o getopt1.o ranlib libgetopt.a Making all in src --- main.o --- --- interface.o --- --- callbacks.o --- --- support.o --- --- main.o --- gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I. -I../intl -I../lib -DPACKAGE_LOCALE_DIR=\""/opt/pkg//locale"\" -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wall -s -c main.c --- interface.o --- gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I. -I../intl -I../lib -DPACKAGE_LOCALE_DIR=\""/opt/pkg//locale"\" -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wall -s -c interface.c --- callbacks.o --- gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I. -I../intl -I../lib -DPACKAGE_LOCALE_DIR=\""/opt/pkg//locale"\" -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wall -s -c callbacks.c --- support.o --- gcc -DHAVE_CONFIG_H -I. -I. -I.. -DLOCALEDIR=\"/opt/pkg/lib/locale\" -I. -I../intl -I../lib -DPACKAGE_LOCALE_DIR=\""/opt/pkg//locale"\" -I/opt/pkg/include/gtk-1.2 -I/opt/pkg/include/glib/glib-1.2 -I/opt/pkg/lib/glib/include -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include -Wall -s -c support.c --- interface.o --- interface.c: In function 'parse_rc_file': interface.c:51:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 51 | if (strlen(Xdialog.rc_file) != 0) | ^~~~~~ interface.c:33:1: note: include '' or provide a declaration of 'strlen' 32 | #include "previous.xpm" +++ |+#include 33 | #endif interface.c:51:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 51 | if (strlen(Xdialog.rc_file) != 0) | ^~~~~~ interface.c:51:13: note: include '' or provide a declaration of 'strlen' interface.c: In function 'wrap_text': interface.c:144:30: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 144 | } while (++p < str + strlen(str)); | ^~~~~~ interface.c:144:30: note: include '' or provide a declaration of 'strlen' interface.c: In function 'set_backtitle': interface.c:251:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 251 | if (strlen(Xdialog.backtitle) == 0) | ^~~~~~ interface.c:251:13: note: include '' or provide a declaration of 'strlen' interface.c: In function 'set_button': interface.c:399:22: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 399 | if (!strcmp(text, OK) || !strcmp(text, YES)) | ^~~~~~ interface.c:399:22: note: include '' or provide a declaration of 'strcmp' interface.c:414:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 414 | if (strlen(Xdialog.ok_label) != 0 && (!strcmp(text, OK) || !strcmp(text, YES))) | ^~~~~~ interface.c:414:13: note: include '' or provide a declaration of 'strlen' --- callbacks.o --- callbacks.c: In function 'infobox_timeout': callbacks.c:174:53: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 174 | if ((ret == EOF && !Xdialog.ignore_eof) || (strcmp(temp, "XXXX") == 0)) | ^~~~~~ callbacks.c:25:1: note: include '' or provide a declaration of 'strcmp' 24 | #include "support.h" +++ |+#include 25 | callbacks.c:192:21: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 192 | if (strlen(Xdialog.label_text)+strlen(temp)+2 < MAX_LABEL_LENGTH) { | ^~~~~~ callbacks.c:192:21: note: include '' or provide a declaration of 'strlen' callbacks.c:192:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] callbacks.c:192:21: note: include '' or provide a declaration of 'strlen' callbacks.c:194:33: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 194 | strcat(Xdialog.label_text, "\n"); | ^~~~~~ callbacks.c:194:33: note: include '' or provide a declaration of 'strcat' callbacks.c:194:33: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] callbacks.c:194:33: note: include '' or provide a declaration of 'strcat' callbacks.c:196:33: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 196 | strcat(Xdialog.label_text, " "); | ^~~~~~ callbacks.c:196:33: note: include '' or provide a declaration of 'strcat' callbacks.c: In function 'gauge_timeout': callbacks.c:233:36: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 233 | new_val = (gfloat) atoi(temp); | ^~~~ --- interface.o --- interface.c: In function 'set_spin_button': interface.c:704:34: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 704 | if (separator != NULL && strlen(separator) != 0) { | ^~~~~~ interface.c:704:34: note: include '' or provide a declaration of 'strlen' --- callbacks.o --- callbacks.c:253:29: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 253 | if (strlen(Xdialog.label_text)+strlen(temp)+2 < MAX_LABEL_LENGTH) { | ^~~~~~ callbacks.c:253:29: note: include '' or provide a declaration of 'strlen' --- interface.o --- interface.c: In function 'item_status': --- callbacks.o --- callbacks.c:255:41: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 255 | strcat(Xdialog.label_text, "\n"); | ^~~~~~ callbacks.c:255:41: note: include '' or provide a declaration of 'strcat' callbacks.c:257:41: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 257 | strcat(Xdialog.label_text, " "); | ^~~~~~ callbacks.c:257:41: note: include '' or provide a declaration of 'strcat' --- interface.o --- interface.c:720:22: error: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 720 | if (!strcasecmp(status, "on") && strlen(tag) != 0) | ^~~~~~~~~~ interface.c:720:50: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 720 | if (!strcasecmp(status, "on") && strlen(tag) != 0) | ^~~~~~ interface.c:720:50: note: include '' or provide a declaration of 'strlen' interface.c:723:59: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 723 | if (!strcasecmp(status, "unavailable") || strlen(tag) == 0) { | ^~~~~~ interface.c:723:59: note: include '' or provide a declaration of 'strlen' --- callbacks.o --- callbacks.c: In function 'remove_vt_sequences': callbacks.c:495:21: error: implicit declaration of function 'strstr' [-Wimplicit-function-declaration] 495 | while ((p = strstr(str, "\033[")) != NULL) { | ^~~~~~ callbacks.c:495:21: note: include '' or provide a declaration of 'strstr' callbacks.c:495:21: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] callbacks.c:495:21: note: include '' or provide a declaration of 'strstr' callbacks.c:497:36: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 497 | while (++p < str + strlen(str)) { | ^~~~~~ callbacks.c:497:36: note: include '' or provide a declaration of 'strlen' callbacks.c:501:17: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 501 | strcpy(q, ++p); | ^~~~~~ callbacks.c:501:17: note: include '' or provide a declaration of 'strcpy' callbacks.c:501:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] callbacks.c:501:17: note: include '' or provide a declaration of 'strcpy' --- interface.o --- interface.c: In function 'create_progress': --- callbacks.o --- callbacks.c: In function 'logbox_timeout': --- interface.o --- interface.c:913:64: warning: pointer targets in passing argument 2 of 'strcatsafe' differ in signedness [-Wpointer-sign] 913 | strcatsafe(Xdialog.label_text, temp, MAX_LABEL_LENGTH); | ^~~~ | | | unsigned char * In file included from interface.c:24: support.h:6:42: note: expected 'char *' but argument is of type 'unsigned char *' 6 | extern void strcatsafe(char *dest, char *source, int maxchars); | ~~~~~~^~~~~~ --- callbacks.o --- callbacks.c:530:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 530 | len = strlen(buffer); | ^~~~~~ callbacks.c:530:23: note: include '' or provide a declaration of 'strlen' callbacks.c:552:26: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] 552 | if ((p = strstr(buffer, "\033[1;")) != NULL) { | ^~~~~~ callbacks.c:552:26: note: include '' or provide a declaration of 'strstr' --- interface.o --- interface.c: In function 'create_tailbox': interface.c:944:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 944 | exit(255); | ^~~~ interface.c:33:1: note: include '' or provide a declaration of 'exit' 32 | #include "previous.xpm" +++ |+#include 33 | #endif interface.c:944:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 944 | exit(255); | ^~~~ interface.c:944:17: note: include '' or provide a declaration of 'exit' interface.c:957:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 957 | exit(255); | ^~~~ interface.c:957:17: note: include '' or provide a declaration of 'exit' --- callbacks.o --- callbacks.c: In function 'print_text': --- interface.o --- interface.c: In function 'create_logbox': --- callbacks.o --- callbacks.c:755:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 755 | if (strlen(Xdialog.printer) != 0) { | ^~~~~~ callbacks.c:755:13: note: include '' or provide a declaration of 'strlen' --- interface.o --- interface.c:1014:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1014 | exit(255); | ^~~~ interface.c:1014:17: note: include '' or provide a declaration of 'exit' --- callbacks.o --- callbacks.c: In function 'item_select': callbacks.c:884:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 884 | if (strlen(Xdialog.array[row].tag) == 0) { | ^~~~~~ callbacks.c:884:13: note: include '' or provide a declaration of 'strlen' callbacks.c: In function 'calendar_exit': callbacks.c:1208:62: warning: pointer targets in passing argument 2 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] 1208 | gtk_calendar_get_date(GTK_CALENDAR(Xdialog.widget1), &year, &month, &day); | ^~~~~ | | | gint * {aka int *} In file included from /home/pbulk/build/x11/xdialog/work/.buildlink/include/gtk-1.2/gtk/gtk.h:44, from callbacks.c:19: /home/pbulk/build/x11/xdialog/work/.buildlink/include/gtk-1.2/gtk/gtkcalendar.h:129:55: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'gint *' {aka 'int *'} 129 | guint *year, | ~~~~~~~~~~~~~^~~~ callbacks.c:1208:69: warning: pointer targets in passing argument 3 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] 1208 | gtk_calendar_get_date(GTK_CALENDAR(Xdialog.widget1), &year, &month, &day); | ^~~~~~ | | | gint * {aka int *} /home/pbulk/build/x11/xdialog/work/.buildlink/include/gtk-1.2/gtk/gtkcalendar.h:130:55: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'gint *' {aka 'int *'} 130 | guint *month, | ~~~~~~~~~~~~~^~~~~ callbacks.c:1208:77: warning: pointer targets in passing argument 4 of 'gtk_calendar_get_date' differ in signedness [-Wpointer-sign] 1208 | gtk_calendar_get_date(GTK_CALENDAR(Xdialog.widget1), &year, &month, &day); | ^~~~ | | | gint * {aka int *} /home/pbulk/build/x11/xdialog/work/.buildlink/include/gtk-1.2/gtk/gtkcalendar.h:131:55: note: expected 'guint *' {aka 'unsigned int *'} but argument is of type 'gint *' {aka 'int *'} 131 | guint *day); | ~~~~~~~~~~~~~^~~ --- interface.o --- interface.c: In function 'create_rangebox': interface.c:1272:23: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 1272 | min = atoi(options[1]); | ^~~~ --- main.o --- main.c: In function 'print_help_info': --- interface.o --- interface.c: In function 'create_spinbox': --- main.o --- main.c:261:9: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 261 | strcpy(cmd, strlen(name) < 32 ? name : XDIALOG); | ^~~~~~ main.c:32:1: note: include '' or provide a declaration of 'strcpy' 31 | #include "support.h" +++ |+#include 32 | #include "time.h" --- interface.o --- interface.c:1340:43: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1340 | strlen(options[1]), options[3], TRUE); | ^~~~~~ --- main.o --- main.c:261:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 261 | strcpy(cmd, strlen(name) < 32 ? name : XDIALOG); | ^~~~~~ --- interface.o --- interface.c:1340:43: note: include '' or provide a declaration of 'strlen' --- main.o --- main.c:261:9: note: include '' or provide a declaration of 'strcpy' main.c:261:21: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 261 | strcpy(cmd, strlen(name) < 32 ? name : XDIALOG); | ^~~~~~ main.c:261:21: note: include '' or provide a declaration of 'strlen' main.c:261:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] main.c:261:21: note: include '' or provide a declaration of 'strlen' main.c:301:9: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 301 | exit(255); | ^~~~ main.c:32:1: note: include '' or provide a declaration of 'exit' 31 | #include "support.h" +++ |+#include 32 | #include "time.h" main.c:301:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 301 | exit(255); | ^~~~ main.c:301:9: note: include '' or provide a declaration of 'exit' main.c: In function 'is_true': main.c:311:24: error: implicit declaration of function 'getenv' [-Wimplicit-function-declaration] 311 | if ((env_var = getenv(var_name)) == NULL) | ^~~~~~ main.c:311:24: note: 'getenv' is defined in header ''; this is probably fixable by adding '#include ' --- interface.o --- interface.c: In function 'create_itemlist': --- main.o --- main.c:311:22: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 311 | if ((env_var = getenv(var_name)) == NULL) | ^ main.c:315:18: error: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 315 | return (!strcasecmp(env_var, "true") || !strcmp(env_var, "1")); | ^~~~~~~~~~ main.c:315:50: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 315 | return (!strcasecmp(env_var, "true") || !strcmp(env_var, "1")); | ^~~~~~ main.c:315:50: note: include '' or provide a declaration of 'strcmp' --- interface.o --- interface.c:1399:37: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1399 | if (Xdialog.tags && strlen(options[params*i]) != 0) { | ^~~~~~ interface.c:1399:37: note: include '' or provide a declaration of 'strlen' --- main.o --- main.c: In function 'g_log_xdialog_handler': main.c:345:25: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 345 | strcpy(type, "ERROR"); | ^~~~~~ main.c:345:25: note: include '' or provide a declaration of 'strcpy' main.c: In function 'get_box_size': main.c:384:22: error: implicit declaration of function 'strstr' [-Wimplicit-function-declaration] 384 | if ((index = strstr(argv[*optind], "x")) == NULL && | ^~~~~~ main.c:384:22: note: include '' or provide a declaration of 'strstr' main.c:384:22: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] main.c:384:22: note: include '' or provide a declaration of 'strstr' --- interface.o --- interface.c:1418:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1418 | GTK_SIGNAL_FUNC(item_toggle), (gpointer)i); | ^ interface.c:1423:42: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1423 | if (Xdialog.tips == 1 && strlen(options[params*i+3]) > 0) | ^~~~~~ interface.c:1423:42: note: include '' or provide a declaration of 'strlen' --- main.o --- main.c:401:33: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 401 | Xdialog.ysize = atoi(argv[(*optind)++]); | ^~~~ main.c:408:26: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] 408 | index = strstr(argv[*optind], "+"); | ^~~~~~ main.c:408:26: note: include '' or provide a declaration of 'strstr' --- interface.o --- interface.c: In function 'create_buildlist': --- support.o --- support.c: In function 'strcpysafe': support.c:38:13: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 38 | if (strlen(source) < destsize) | ^~~~~~ support.c:29:1: note: include '' or provide a declaration of 'strlen' 28 | #include "interface.h" +++ |+#include 29 | support.c:38:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 38 | if (strlen(source) < destsize) | ^~~~~~ support.c:38:13: note: include '' or provide a declaration of 'strlen' --- interface.o --- interface.c:1474:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1474 | if (strlen(Xdialog.array[i].name) > n) | ^~~~~~ --- main.o --- main.c: In function 'get_list_size': --- interface.o --- interface.c:1474:21: note: include '' or provide a declaration of 'strlen' --- support.o --- support.c:39:17: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 39 | strcpy(dest, source); | ^~~~~~ support.c:39:17: note: include '' or provide a declaration of 'strcpy' support.c:39:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] support.c:39:17: note: include '' or provide a declaration of 'strcpy' --- main.o --- main.c:479:21: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] 479 | if (strstr(argv[i], "--") == argv[i]) { | ^~~~~~ --- support.o --- support.c:41:17: error: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] 41 | strncpy(dest, source, destsize-1); | ^~~~~~~ support.c:41:17: note: include '' or provide a declaration of 'strncpy' support.c:41:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] --- main.o --- main.c:479:21: note: include '' or provide a declaration of 'strstr' --- support.o --- support.c:41:17: note: include '' or provide a declaration of 'strncpy' support.c: In function 'strcatsafe': support.c:48:13: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 48 | if (strlen(source)+strlen(dest) < destsize) | ^~~~~~ support.c:48:13: note: include '' or provide a declaration of 'strlen' support.c:49:17: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 49 | strcat(dest, source); | ^~~~~~ support.c:49:17: note: include '' or provide a declaration of 'strcat' support.c:49:17: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] support.c:49:17: note: include '' or provide a declaration of 'strcat' support.c:51:17: error: implicit declaration of function 'strncat' [-Wimplicit-function-declaration] 51 | strncat(dest, source, destsize-strlen(dest)-1); | ^~~~~~~ support.c:51:17: note: include '' or provide a declaration of 'strncat' support.c:51:17: warning: incompatible implicit declaration of built-in function 'strncat' [-Wbuiltin-declaration-mismatch] support.c:51:17: note: include '' or provide a declaration of 'strncat' --- main.o --- main.c: In function 'param_number': main.c:503:21: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] 503 | if (strstr(argv[i], "--") == argv[i]) { | ^~~~~~ main.c:503:21: note: include '' or provide a declaration of 'strstr' --- support.o --- support.c: In function 'my_scanf': support.c:75:18: error: implicit declaration of function 'memchr' [-Wimplicit-function-declaration] 75 | if ((p = memchr(input_buffer, '\n', input_buffer_pos)) != NULL) { | ^~~~~~ support.c:75:18: note: include '' or provide a declaration of 'memchr' support.c:75:18: warning: incompatible implicit declaration of built-in function 'memchr' [-Wbuiltin-declaration-mismatch] support.c:75:18: note: include '' or provide a declaration of 'memchr' support.c:76:17: warning: incompatible implicit declaration of built-in function 'strncpy' [-Wbuiltin-declaration-mismatch] 76 | strncpy(buffer, input_buffer, p - input_buffer); | ^~~~~~~ support.c:76:17: note: include '' or provide a declaration of 'strncpy' support.c:78:17: error: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 78 | memmove(input_buffer, p+1, input_buffer_pos - (p - input_buffer)); | ^~~~~~~ support.c:78:17: note: include '' or provide a declaration of 'memmove' support.c:78:17: warning: incompatible implicit declaration of built-in function 'memmove' [-Wbuiltin-declaration-mismatch] support.c:78:17: note: include '' or provide a declaration of 'memmove' --- interface.o --- interface.c:1490:42: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1490 | if (Xdialog.tips == 1 && strlen(options[params*i+3]) > 0) | ^~~~~~ interface.c:1490:42: note: include '' or provide a declaration of 'strlen' --- support.o --- support.c: In function 'backslash_n_to_linefeed': support.c:109:16: error: implicit declaration of function 'strstr' [-Wimplicit-function-declaration] 109 | while (strstr(s, "\\n") != NULL) { | ^~~~~~ support.c:109:16: note: include '' or provide a declaration of 'strstr' support.c:109:16: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] support.c:109:16: note: include '' or provide a declaration of 'strstr' support.c:111:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 111 | strcpy(tmp, tmp+1); | ^~~~~~ support.c:111:17: note: include '' or provide a declaration of 'strcpy' support.c: In function 'trim_string': support.c:133:13: warning: incompatible implicit declaration of built-in function 'strstr' [-Wbuiltin-declaration-mismatch] 133 | if (strstr(s, "\\n")) | ^~~~~~ support.c:133:13: note: include '' or provide a declaration of 'strstr' --- main.o --- main.c: In function 'main': main.c:649:9: error: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 649 | memset(&Xdialog, 0, sizeof(Xdialog_data)); /* Set all parameters to zero/NULL */ | ^~~~~~ main.c:649:9: note: include '' or provide a declaration of 'memset' main.c:649:9: warning: incompatible implicit declaration of built-in function 'memset' [-Wbuiltin-declaration-mismatch] main.c:649:9: note: include '' or provide a declaration of 'memset' main.c:697:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 697 | strcpy(Xdialog.title, XDIALOG); /* Default widget title */ | ^~~~~~ main.c:697:9: note: include '' or provide a declaration of 'strcpy' main.c:762:54: error: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 762 | if ((env_var = getenv(INFOBOX_TIMEOUT)) != NULL) | ^ main.c:1242:45: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1242 | if (strlen(help_text) == 0) | ^~~~~~ main.c:1242:45: note: include '' or provide a declaration of 'strlen' --- interface.o --- interface.c: In function 'create_menubox': interface.c:1589:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1589 | if (strlen(Xdialog.array[i].tag) == 0) { | ^~~~~~ interface.c:1589:21: note: include '' or provide a declaration of 'strlen' interface.c:1618:21: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1618 | if (strlen(Xdialog.default_item) != 0 && !strcmp(Xdialog.default_item, Xdialog.array[i].tag)) { | ^~~~~~ interface.c:1618:21: note: include '' or provide a declaration of 'strlen' interface.c: In function 'create_treeview': interface.c:1819:49: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1819 | exit(255); | ^~~~ --- support.o --- support.c: In function 'Xdialog_array': support.c:202:25: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 202 | exit(255); | ^~~~ support.c:29:1: note: include '' or provide a declaration of 'exit' 28 | #include "interface.h" +++ |+#include 29 | support.c:202:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 202 | exit(255); | ^~~~ support.c:202:25: note: include '' or provide a declaration of 'exit' --- interface.o --- interface.c:1819:49: note: include '' or provide a declaration of 'exit' interface.c:1832:49: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 1832 | exit(255); | ^~~~ interface.c:1832:49: note: include '' or provide a declaration of 'exit' interface.c:1847:42: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1847 | if (Xdialog.tips == 1 && strlen(options[params*i+4]) > 0) | ^~~~~~ interface.c:1847:42: note: include '' or provide a declaration of 'strlen' --- callbacks.o --- *** [callbacks.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1/src --- support.o --- *** [support.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1/src --- main.o --- *** [main.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1/src --- interface.o --- *** [interface.o] Error code 1 bmake[2]: stopped making "all" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1/src bmake[2]: 4 errors bmake[2]: stopped making "all" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1 *** [all] Error code 2 bmake: stopped making "all" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1 bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/x11/xdialog/work/Xdialog-2.3.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xdialog *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xdialog