=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for aml-1.0.0 ninja: Entering directory `output' [1/4] Compiling C object libaml.so.1.0.0.p/src_kqueue.c.o FAILED: [code=1] libaml.so.1.0.0.p/src_kqueue.c.o gcc -Ilibaml.so.1.0.0.p -I. -I.. -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=c11 '-DPROJECT_VERSION="1.0.0"' -D_POSIX_C_SOURCE=200809L -fvisibility=hidden -Wmissing-prototypes -Wno-unused-parameter -DNDEBUG -O2 -D_NETBSD_SOURCE=1 -fPIC -pthread -MD -MQ libaml.so.1.0.0.p/src_kqueue.c.o -MF libaml.so.1.0.0.p/src_kqueue.c.o.d -o libaml.so.1.0.0.p/src_kqueue.c.o -c ../src/kqueue.c ../src/kqueue.c: In function 'kq_emit_event': ../src/kqueue.c:70:23: warning: passing argument 2 of 'aml_emit' makes pointer from integer without a cast [-Wint-conversion] aml_emit(self->aml, event->udata, AML_EVENT_READ); ^~~~~ In file included from ../src/kqueue.c:18:0: ../include/backend.h:70:6: note: expected 'void *' but argument is of type 'intptr_t {aka long int}' void aml_emit(struct aml* self, void* obj, uint32_t revents); ^~~~~~~~ ../src/kqueue.c:73:23: warning: passing argument 2 of 'aml_emit' makes pointer from integer without a cast [-Wint-conversion] aml_emit(self->aml, event->udata, AML_EVENT_WRITE); ^~~~~ In file included from ../src/kqueue.c:18:0: ../include/backend.h:70:6: note: expected 'void *' but argument is of type 'intptr_t {aka long int}' void aml_emit(struct aml* self, void* obj, uint32_t revents); ^~~~~~~~ ../src/kqueue.c:76:23: warning: passing argument 2 of 'aml_emit' makes pointer from integer without a cast [-Wint-conversion] aml_emit(self->aml, event->udata, 0); ^~~~~ In file included from ../src/kqueue.c:18:0: ../include/backend.h:70:6: note: expected 'void *' but argument is of type 'intptr_t {aka long int}' void aml_emit(struct aml* self, void* obj, uint32_t revents); ^~~~~~~~ In file included from ../src/kqueue.c:20:0: ../src/kqueue.c: In function 'kq_set_deadline': ../src/kqueue.c:192:4: error: 'NOTE_USECONDS' undeclared (first use in this function); did you mean 'NOTE_EXTEND'? NOTE_USECONDS | NOTE_ABSTIME, deadline, NULL); ^ ../src/kqueue.c:192:4: note: each undeclared identifier is reported only once for each function it appears in ../src/kqueue.c:192:20: error: 'NOTE_ABSTIME' undeclared (first use in this function); did you mean 'TIMER_ABSTIME'? NOTE_USECONDS | NOTE_ABSTIME, deadline, NULL); ^ [2/4] Compiling C object libaml.so.1.0.0.p/src_thread-pool.c.o [3/4] Compiling C object libaml.so.1.0.0.p/src_aml.c.o ninja: build stopped: subcommand failed. *** Error code 1 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/aml *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/devel/aml