=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/x11/wterm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for wterm-6.2.9nb41 /opt/pkg/bin/nbsed -n -f ./makeprotos-sed command.c > command.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed graphics.c > graphics.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed grkelot.c > grkelot.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed main.c > main.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed menubar.c > menubar.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed misc.c > misc.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed netdisp.c > netdisp.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed rmemset.c > rmemset.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed screen.c > screen.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed scrollbar2.c > scrollbar2.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed utmp.c > utmp.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed xdefaults.c > xdefaults.pro /opt/pkg/bin/nbsed -n -f ./makeprotos-sed xpm.c > xpm.pro clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz command.c command.c:1334:54: warning: passing 'unsigned char[8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1334 | len = XmbLookupString(Input_Context, &ev->xkey, kbuf, | ^~~~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:3911:31: note: passing argument to parameter here 3911 | char* /* buffer_return */, | ^ command.c:1338:37: warning: passing 'unsigned char[8]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 1338 | len = XLookupString(&ev->xkey, kbuf, | ^~~~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xutil.h:536:31: note: passing argument to parameter here 536 | char* /* buffer_return */, | ^ command.c:1533:21: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] 1533 | if ((PrivateModes && PrivMode_aplKP) ? !shft : shft) { | ^ ~~~~~~~~~~~~~~ command.c:1533:21: note: use '&' for a bitwise operation 1533 | if ((PrivateModes && PrivMode_aplKP) ? !shft : shft) { | ^~ | & command.c:1533:21: note: remove constant to silence this warning 1533 | if ((PrivateModes && PrivMode_aplKP) ? !shft : shft) { | ^~~~~~~~~~~~~~~~~ command.c:1533:24: warning: converting the result of '<<' to a boolean always evaluates to true [-Wtautological-constant-compare] 1533 | if ((PrivateModes && PrivMode_aplKP) ? !shft : shft) { | ^ command.c:254:29: note: expanded from macro 'PrivMode_aplKP' 254 | #define PrivMode_aplKP (1LU<<7) | ^ command.c:2242:67: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 2242 | XQueryTree(Xdisplay, TermWin.parent, &root, &parent, &list, &n); | ^~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:3034:1: note: passing argument to parameter here 3034 | ); | ^ command.c:2252:63: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 2252 | XQueryTree(Xdisplay, ParentWin1, &root, &parent, &list, &n); | ^~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:3034:1: note: passing argument to parameter here 3034 | ); | ^ command.c:2224:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 2224 | else if (Options & Opt_transparent) { | ^ command.c:2285:66: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 2285 | XQueryTree(Xdisplay, TermWin.parent, &root, &parent, &list, &n); | ^~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:3034:1: note: passing argument to parameter here 3034 | ); | ^ command.c:2295:62: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 2295 | XQueryTree(Xdisplay, ParentWin1, &root, &parent, &list, &n); | ^~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:3034:1: note: passing argument to parameter here 3034 | ); | ^ command.c:2667:26: warning: passing 'unsigned char[256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 2667 | tt_write(buf, strlen(buf)); | ^~~ /Applications/Xcode-16.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.5.sdk/usr/include/_string.h:96:28: note: passing argument to parameter '__s' here 96 | size_t strlen(const char *__s); | ^ command.c:3204:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] 3204 | PrivCases(PrivMode_BackSpace); | ^ command.c:3113:5: note: expanded from macro 'PrivCases' 3113 | else \ | ^ 11 warnings generated. clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz graphics.c graphics.c:104:15: warning: passing 'char[7]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 104 | tt_printf("\033W%ld\n", (long)grwin->win); | ^~~~~~~~~~~~ ./command.pro:22:46: note: passing argument to parameter 'fmt' here 22 | void tt_printf __PROTO((const unsigned char *fmt,...)); | ^ graphics.c:150:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 150 | x -= XTextWidth(TermWin.font, data->text, data->coords[3]); | ^~~~~~~~~~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:3446:31: note: passing argument to parameter here 3446 | _Xconst char* /* string */, | ^ graphics.c:152:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 152 | x -= (XTextWidth(TermWin.font, data->text, data->coords[3]) >> 1); | ^~~~~~~~~~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:3446:31: note: passing argument to parameter here 3446 | _Xconst char* /* string */, | ^ graphics.c:168:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 168 | data->text, data->coords[3]); | ^~~~~~~~~~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:2420:31: note: passing argument to parameter here 2420 | _Xconst char* /* string */, | ^ graphics.c:179:12: warning: passing 'char[36]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 179 | tt_printf("\033G%ld %d %d %u %u %d %d %ld %ld %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./command.pro:22:46: note: passing argument to parameter 'fmt' here 22 | void tt_printf __PROTO((const unsigned char *fmt,...)); | ^ graphics.c:188:12: warning: passing 'char[32]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 188 | tt_printf("\033G0 0 0 %d %d %d %d %ld %ld %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./command.pro:22:46: note: passing argument to parameter 'fmt' here 22 | void tt_printf __PROTO((const unsigned char *fmt,...)); | ^ graphics.c:348:15: warning: passing 'char[15]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 348 | tt_printf("\033%c%ld;%d;%d;\n", but, (long)grwin->win, x, y); | ^~~~~~~~~~~~~~~~~~~~ ./command.pro:22:46: note: passing argument to parameter 'fmt' here 22 | void tt_printf __PROTO((const unsigned char *fmt,...)); | ^ 7 warnings generated. clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz grkelot.c clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz main.c main.c:218:40: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 218 | gcvalue.foreground = PixColors[(int)foo]; | ^~~~~~~~ main.c:225:34: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 225 | PixColors[Color_fg] = PixColors[(int)foo]; | ^~~~~~~~ main.c:237:34: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 237 | PixColors[Color_bg] = PixColors[(int)foo]; | ^~~~~~~~ main.c:248:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 248 | switch((int)foo){ | ^~~~~~~~ main.c:270:28: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 270 | gcvalue.function = (int)foo; | ^~~~~~~~ main.c:286:40: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 286 | gcvalue.foreground = PixColors[(int)foo]; | ^~~~~~~~ main.c:292:34: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 292 | PixColors[Color_bg] = PixColors[(int)foo]; | ^~~~~~~~ 7 warnings generated. clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz menubar.c menubar.c:2285:18: warning: comparison of array 'Arrows[i].str' not equal to a null pointer is always true [-Wtautological-pointer-compare] 2285 | if (Arrows[i].str != NULL && | ~~~~~~~~~~^~~ ~~~~ 1 warning generated. clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz misc.c clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz netdisp.c clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz rmemset.c rmemset.c:61:9: warning: assigning to 'R_u_int_p_t *' (aka 'unsigned long *') from 'R_int_p_t *' (aka 'long *') converts between pointers to integer types with different sign [-Wpointer-sign] 61 | rp = (R_int_p_t *)lp; | ^ ~~~~~~~~~~~~~~~ 1 warning generated. clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz screen.c screen.c:2415:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2415 | DRAW_STRING(draw_string, xpixel, ypixel, buffer, 1); | ^ screen.c:1988:9: note: expanded from macro 'DRAW_STRING' 1988 | Func(Xdisplay, drawBuffer, TermWin.gc, (x), (y), (str), (len)) | ^ screen.c:2418:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2418 | DRAW_STRING(draw_string, xpixel + 1, ypixel, buffer, 1); | ^ screen.c:1988:9: note: expanded from macro 'DRAW_STRING' 1988 | Func(Xdisplay, drawBuffer, TermWin.gc, (x), (y), (str), (len)) | ^ screen.c:2424:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2424 | DRAW_STRING(draw_string, xpixel, ypixel, buffer, wlen); | ^ screen.c:1988:9: note: expanded from macro 'DRAW_STRING' 1988 | Func(Xdisplay, drawBuffer, TermWin.gc, (x), (y), (str), (len)) | ^ screen.c:2430:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2430 | DRAW_STRING(draw_string, xpixel, ypixel, buffer, wlen); | ^ screen.c:1988:9: note: expanded from macro 'DRAW_STRING' 1988 | Func(Xdisplay, drawBuffer, TermWin.gc, (x), (y), (str), (len)) | ^ screen.c:2433:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2433 | DRAW_STRING(draw_image_string, xpixel, ypixel, buffer, wlen); | ^ screen.c:1988:9: note: expanded from macro 'DRAW_STRING' 1988 | Func(Xdisplay, drawBuffer, TermWin.gc, (x), (y), (str), (len)) | ^ screen.c:2440:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2440 | DRAW_STRING(draw_string, xpixel + 1, ypixel, buffer, wlen); | ^ screen.c:1988:9: note: expanded from macro 'DRAW_STRING' 1988 | Func(Xdisplay, drawBuffer, TermWin.gc, (x), (y), (str), (len)) | ^ 6 warnings generated. clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz scrollbar2.c scrollbar2.c:234:9: warning: passing 'unsigned char[8]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 234 | stp_bits, stp_width, stp_height); | ^~~~~~~~ /var/tmp/work/x11/wterm/work/.buildlink/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ 1 warning generated. clang -DHAVE_CONFIG_H -DDEBUG_STRICT -c -DPNG_NO_ASSEMBLER_CODE -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz -I. -I.. -I. -Wno-implicit-function-declaration -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/harfbuzz utmp.c utmp.c:205:10: error: no member named 'ut_exit' in 'struct utmpx' 205 | utmp.ut_exit.e_exit = 2; | ~~~~ ^ utmp.c:232:10: error: no member named 'ut_session' in 'struct utmpx' 232 | utmp.ut_session = getsid(0); | ~~~~ ^ utmp.c:242:17: error: use of undeclared identifier 'WTMPX_FILE' 242 | update_wtmp(WTMP_FILENAME, &utmp); | ^ ./wterm.h:480:26: note: expanded from macro 'WTMP_FILENAME' 480 | # define WTMP_FILENAME WTMPX_FILE | ^ utmp.c:292:12: error: no member named 'ut_session' in 'struct utmpx' 292 | putmp->ut_session = getsid(0); | ~~~~~ ^ utmp.c:301:17: error: use of undeclared identifier 'WTMPX_FILE' 301 | update_wtmp(WTMP_FILENAME, putmp); | ^ ./wterm.h:480:26: note: expanded from macro 'WTMP_FILENAME' 480 | # define WTMP_FILENAME WTMPX_FILE | ^ 5 errors generated. *** Error code 1 Stop. bmake[1]: stopped making "all" in /var/tmp/work/x11/wterm/work/wterm-6.2.9/src