WARNING: [license.mk] Every package should define a LICENSE.
===> Building for wterm-6.2.9nb33
/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.  -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:515:9: warning: implicit declaration of function 'openpty' is invalid in C99 [-Wimplicit-function-declaration]
    if (openpty(&fd, &s, ttydev, NULL, NULL))
        ^
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]
            len = XmbLookupString(Input_Context, &ev->xkey, kbuf,
                                                            ^~~~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:3911:31: note: passing argument to parameter here
    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]
            len = XLookupString(&ev->xkey, kbuf,
                                           ^~~~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xutil.h:536:31: note: passing argument to parameter here
    char*               /* buffer_return */,
                                           ^
command.c:1533:21: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand]
                if ((PrivateModes && PrivMode_aplKP) ? !shft : shft) {
                                  ^  ~~~~~~~~~~~~~~
command.c:1533:21: note: use '&' for a bitwise operation
                if ((PrivateModes && PrivMode_aplKP) ? !shft : shft) {
                                  ^~
                                  &
command.c:1533:21: note: remove constant to silence this warning
                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]
                if ((PrivateModes && PrivMode_aplKP) ? !shft : shft) {
                                     ^
command.c:254:29: note: expanded from macro 'PrivMode_aplKP'
#define PrivMode_aplKP          (1LU<<7)
                                    ^
command.c:1985:3: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
                scrollbar_show(1);
                ^
command.c:2242:67: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    XQueryTree(Xdisplay, TermWin.parent, &root, &parent, &list, &n);
                                                                                ^~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:3034:1: note: passing argument to parameter here
);
^
command.c:2252:63: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    XQueryTree(Xdisplay, ParentWin1, &root, &parent, &list, &n);
                                                                            ^~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:3034:1: note: passing argument to parameter here
);
^
command.c:2257:8: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
                            scrollbar_show(2);
                            ^
command.c:2224:3: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                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]
            XQueryTree(Xdisplay, TermWin.parent, &root, &parent, &list, &n);
                                                                        ^~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:3034:1: note: passing argument to parameter here
);
^
command.c:2295:62: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
            XQueryTree(Xdisplay, ParentWin1, &root, &parent, &list, &n);
                                                                    ^~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:3034:1: note: passing argument to parameter here
);
^
command.c:2305:7: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
                    scrollbar_show(2);
                    ^
command.c:2329:3: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
                scrollbar_show(0);
                ^
command.c:2518:6: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
            scrollbar_show(0);
            ^
command.c:2624:6: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
            scrollbar_show(1);
            ^
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]
    tt_write(buf, strlen(buf));
                         ^~~
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here
size_t   strlen(const char *__s);
                            ^
command.c:3204:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
                    PrivCases(PrivMode_BackSpace);
                    ^
command.c:3113:5: note: expanded from macro 'PrivCases'
    else                                                                \
    ^
18 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.  -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]
    tt_printf("\033W%ld\n", (long)grwin->win);
              ^~~~~~~~~~~~
./command.pro:22:46: note: passing argument to parameter 'fmt' here
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]
        x -= XTextWidth(TermWin.font, data->text, data->coords[3]);
                                      ^~~~~~~~~~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:3446:31: note: passing argument to parameter here
    _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]
        x -= (XTextWidth(TermWin.font, data->text, data->coords[3]) >> 1);
                                       ^~~~~~~~~~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:3446:31: note: passing argument to parameter here
    _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]
                data->text, data->coords[3]);
                ^~~~~~~~~~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:2420:31: note: passing argument to parameter here
    _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]
        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
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]
        tt_printf("\033G0 0 0 %d %d %d %d %ld %ld %d\n",
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./command.pro:22:46: note: passing argument to parameter 'fmt' here
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]
    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
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.  -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.  -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]
        gcvalue.foreground = PixColors[(int)foo];
                                       ^~~~~~~~
main.c:225:34: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        PixColors[Color_fg] = PixColors[(int)foo];
                                        ^~~~~~~~
main.c:228:2: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
        scrollbar_show(2);
        ^
main.c:237:34: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        PixColors[Color_bg] = PixColors[(int)foo];
                                        ^~~~~~~~
main.c:248:9: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        switch((int)foo){
               ^~~~~~~~
main.c:270:28: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        gcvalue.function = (int)foo;
                           ^~~~~~~~
main.c:274:2: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
        scrollbar_show(2);
        ^
main.c:286:40: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        gcvalue.foreground = PixColors[(int)foo];
                                       ^~~~~~~~
main.c:292:34: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
        PixColors[Color_bg] = PixColors[(int)foo];
                                        ^~~~~~~~
main.c:294:2: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
        scrollbar_show(2);
        ^
main.c:949:9: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
        scrollbar_show(2);
        ^
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.  -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]
                        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.  -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.  -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.  -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]
            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.  -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
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.  -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]
                                    stp_bits, stp_width, stp_height);
                                    ^~~~~~~~
/Users/pbulk/build/x11/wterm/work/.buildlink/include/X11/Xlib.h:1603:29: note: passing argument to parameter here
    _Xconst char*       /* data */,
                                  ^
scrollbar2.c:260:5: warning: implicit declaration of function 'scrollbar_show' is invalid in C99 [-Wimplicit-function-declaration]
    scrollbar_show(1);
    ^
2 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.  -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'
    utmp.ut_exit.e_exit = 2;
    ~~~~ ^
utmp.c:232:10: error: no member named 'ut_session' in 'struct utmpx'
    utmp.ut_session = getsid(0);
    ~~~~ ^
utmp.c:242:5: warning: implicit declaration of function 'updwtmpx' is invalid in C99 [-Wimplicit-function-declaration]
    update_wtmp(WTMP_FILENAME, &utmp);
    ^
./wterm.h:482:24: note: expanded from macro 'update_wtmp'
#  define update_wtmp           updwtmpx
                                ^
utmp.c:242:17: error: use of undeclared identifier 'WTMPX_FILE'
    update_wtmp(WTMP_FILENAME, &utmp);
                ^
./wterm.h:480:26: note: expanded from macro 'WTMP_FILENAME'
#   define WTMP_FILENAME        WTMPX_FILE
                                ^
utmp.c:292:12: error: no member named 'ut_session' in 'struct utmpx'
    putmp->ut_session = getsid(0);
    ~~~~~  ^
utmp.c:301:5: warning: implicit declaration of function 'updwtmpx' is invalid in C99 [-Wimplicit-function-declaration]
    update_wtmp(WTMP_FILENAME, putmp);
    ^
./wterm.h:482:24: note: expanded from macro 'update_wtmp'
#  define update_wtmp           updwtmpx
                                ^
utmp.c:301:17: error: use of undeclared identifier 'WTMPX_FILE'
    update_wtmp(WTMP_FILENAME, putmp);
                ^
./wterm.h:480:26: note: expanded from macro 'WTMP_FILENAME'
#   define WTMP_FILENAME        WTMPX_FILE
                                ^
2 warnings and 5 errors generated.
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /Users/pbulk/build/x11/wterm/work/wterm-6.2.9/src