=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for asnap-1.0nb2 cc -O -I/usr/pkg/include -I /usr/X11R7/include -I/usr/X11R7/include -c asnap.c asnap.c:129:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_region(a_display, a_window, x, y, width, height) ^~~~~~~~~~ asnap.c:176:6: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit(1); ^ asnap.c:176:6: note: please include the header or explicitly provide a declaration for 'exit' asnap.c:188:28: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XMappingEvent *' [-Wincompatible-pointer-types] XRefreshKeyboardMapping(&event); ^~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:3081:1: note: passing argument to parameter here ); ^ asnap.c:220:28: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XMappingEvent *' [-Wincompatible-pointer-types] XRefreshKeyboardMapping(&event); ^~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:3081:1: note: passing argument to parameter here ); ^ asnap.c:281:25: warning: implicitly declaring library function 'abs' with type 'int (int)' *width = (unsigned int)abs(last_x - init_x); ^ asnap.c:281:25: note: please include the header or explicitly provide a declaration for 'abs' asnap.c:290:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ asnap.c:332:37: warning: incompatible pointer types passing 'int *' to parameter of type 'Window *' (aka 'unsigned long *') [-Wincompatible-pointer-types] XGetGeometry (a_display, a_window, &junk_root, &junk_left, &junk_top, ^~~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:2635:31: note: passing argument to parameter here Window* /* root_return */, ^ asnap.c:333:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &junk_width, &junk_height, &junk_border_width, depth); ^~~~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:2638:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ asnap.c:333:22: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &junk_width, &junk_height, &junk_border_width, depth); ^~~~~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:2639:38: note: passing argument to parameter here unsigned int* /* height_return */, ^ asnap.c:333:36: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &junk_width, &junk_height, &junk_border_width, depth); ^~~~~~~~~~~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:2640:44: note: passing argument to parameter here unsigned int* /* border_width_return */, ^ asnap.c:381:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage() ^~~~~ asnap.c:406:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] process_args(argc, argv) ^~~~~~~~~~~~ asnap.c:426:19: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] border_width = atoi(argv[++i]); ^ asnap.c:491:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ asnap.c:511:32: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' if (!(*colors = (XColor *) malloc (sizeof(XColor) * ncolors))) ^ asnap.c:511:32: note: please include the header or explicitly provide a declaration for 'malloc' asnap.c:536:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _swapshort (bp, n) ^~~~~~~~~~ asnap.c:549:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ asnap.c:551:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] _swaplong (bp, n) ^~~~~~~~~ asnap.c:570:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ asnap.c:572:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_atk_bytes (file, curbyte, curcount) ^~~~~~~~~~~~~~~ asnap.c:619:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ asnap.c:622:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] process_atk_byte (pcurcount, pcurbyte, file, newbyte, eolflag) ^~~~~~~~~~~~~~~~ asnap.c:655:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ asnap.c:657:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] save_as_atk_file (display, screen, win_info, pixmap, width, height, depth) ^~~~~~~~~~~~~~~~ asnap.c:690:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (crunch_to_bw = (image->depth > 1)) ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ asnap.c:690:22: note: place parentheses around the assignment to silence this warning if (crunch_to_bw = (image->depth > 1)) ^ ( ) asnap.c:690:22: note: use '==' to turn this assignment into an equality comparison if (crunch_to_bw = (image->depth > 1)) ^ == asnap.c:703:41: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] fprintf(output, "%ld %ld %ld %ld ", RASTERVERSION, ~~~ ^~~~~~~~~~~~~ %d asnap.c:700:23: note: expanded from macro 'RASTERVERSION' #define RASTERVERSION 2 ^ asnap.c:704:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 0, DEFAULTSCALE, DEFAULTSCALE); ^ asnap.c:704:10: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 0, DEFAULTSCALE, DEFAULTSCALE); ^~~~~~~~~~~~ asnap.c:699:22: note: expanded from macro 'DEFAULTSCALE' #define DEFAULTSCALE (1<<16) ^~~~~~~ asnap.c:704:24: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 0, DEFAULTSCALE, DEFAULTSCALE); ^~~~~~~~~~~~ asnap.c:699:22: note: expanded from macro 'DEFAULTSCALE' #define DEFAULTSCALE (1<<16) ^~~~~~~ asnap.c:706:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 0, 0, width, height); /* subraster */ ^ asnap.c:706:10: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 0, 0, width, height); /* subraster */ ^ asnap.c:706:13: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat] 0, 0, width, height); /* subraster */ ^~~~~ asnap.c:706:20: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat] 0, 0, width, height); /* subraster */ ^~~~~~ asnap.c:707:43: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] fprintf(output, "bits %ld %ld %ld\n", 1, width, height); ~~~ ^ %d asnap.c:707:46: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat] fprintf(output, "bits %ld %ld %ld\n", 1, width, height); ~~~ ^~~~~ %u asnap.c:707:53: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat] fprintf(output, "bits %ld %ld %ld\n", 1, width, height); ~~~ ^~~~~~ %u asnap.c:740:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ asnap.c:744:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] save_as_xwd_file (display, screen, win_info, pixmap, width, height, depth) ^~~~~~~~~~~~~~~~ asnap.c:854:21: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] if(ncolors > 0) free(colors); ^ asnap.c:860:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ asnap.c:862:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] save_in_cut_buffer (display, screen, pixmap, width, height, depth) ^~~~~~~~~~~~~~~~~~ asnap.c:868:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ asnap.c:870:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] exitXsnap(the_display, snapshot, snap_pixmap, copy_gc) ^~~~~~~~~ asnap.c:884:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ asnap.c:957:26: warning: too few arguments in call to 'get_pixmap_region' ®_height, FALSE); ^ asnap.c:1002:20: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &y_return, &width_return, ^~~~~~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:2873:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ asnap.c:1003:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &height_return); ^~~~~~~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:2875:1: note: passing argument to parameter here ); ^ asnap.c:1065:20: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &y_return, &width_return, ^~~~~~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:2873:37: note: passing argument to parameter here unsigned int* /* width_return */, ^ asnap.c:1066:9: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] &height_return); ^~~~~~~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:2875:1: note: passing argument to parameter here ); ^ asnap.c:1134:28: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'Window' (aka 'unsigned long') [-Wint-conversion] exitXsnap (the_display, NULL, snap_pixmap, copy_gc); ^~~~ /usr/include/sys/null.h:13:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ asnap.c:1145:28: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XMappingEvent *' [-Wincompatible-pointer-types] XRefreshKeyboardMapping(&an_event); ^~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xlib.h:3081:1: note: passing argument to parameter here ); ^ asnap.c:1148:34: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] string_length = XLookupString(&an_event, buffer, ^~~~~~~~~ /usr/pkgsrc/work/x11/asnap/work/.buildlink/include/X11/Xutil.h:535:35: note: passing argument to parameter here XKeyEvent* /* event_struct */, ^ 52 warnings generated. bmake: don't know how to make /usr/pkg/lib/libXaw.a. Stop bmake: stopped in /usr/pkgsrc/work/x11/asnap/work *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/x11/asnap *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/x11/asnap