=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for wayland-1.23.0
ninja: Entering directory `output'
[1/28] Compiling C object src/libwayland-util.a.p/wayland-util.c.o
[2/28] Generating src/wayland.dtd.h with a custom command (wrapped by meson to capture output)
[3/28] Linking static target src/libwayland-util.a
[4/28] Compiling C object src/wayland-scanner.p/scanner.c.o
[5/28] Linking target src/wayland-scanner
[6/28] Compiling C object src/libwayland-private.a.p/connection.c.o
FAILED: src/libwayland-private.a.p/connection.c.o 
clang -Isrc/libwayland-private.a.p -Isrc -I../src -I/opt/pkg/include -I/opt/pkg/include/libepoll-shim -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -std=c99 -D_POSIX_C_SOURCE=200809L -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden -pipe -Os -MD -MQ src/libwayland-private.a.p/connection.c.o -MF src/libwayland-private.a.p/connection.c.o.d -o src/libwayland-private.a.p/connection.c.o -c ../src/connection.c
../src/connection.c:403:20: warning: implicit declaration of function 'CMSG_LEN' is invalid in C99 [-Wimplicit-function-declaration]
                cmsg->cmsg_len = CMSG_LEN(size);
                                 ^
../src/connection.c:424:27: warning: implicit declaration of function 'CMSG_LEN' is invalid in C99 [-Wimplicit-function-declaration]
                size = cmsg->cmsg_len - CMSG_LEN(0);
                                        ^
../src/connection.c:449:12: warning: implicit declaration of function 'CMSG_LEN' is invalid in C99 [-Wimplicit-function-declaration]
        char cmsg[CLEN];
                  ^
../src/connection.c:66:16: note: expanded from macro 'CLEN'
#define CLEN            (CMSG_LEN(MAX_FDS_OUT * sizeof(int32_t)))
                         ^
../src/connection.c:493:26: error: use of undeclared identifier 'MSG_DONTWAIT'
                                      MSG_NOSIGNAL | MSG_DONTWAIT);
                                                     ^
../src/connection.c:461:12: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
                if (clen >= CLEN) {
                    ~~~~ ^  ~~~~
../src/connection.c:520:12: warning: implicit declaration of function 'CMSG_LEN' is invalid in C99 [-Wimplicit-function-declaration]
        char cmsg[CLEN];
                  ^
../src/connection.c:66:16: note: expanded from macro 'CLEN'
#define CLEN            (CMSG_LEN(MAX_FDS_OUT * sizeof(int32_t)))
                         ^
../src/connection.c:544:54: error: use of undeclared identifier 'MSG_DONTWAIT'
                        len = wl_os_recvmsg_cloexec(connection->fd, &msg, MSG_DONTWAIT);
                                                                          ^
5 warnings and 2 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/wayland
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/devel/wayland