===> Building for opensmtpd-table-sqlite-1.0.1
/opt/pkg/bin/bmake  all-recursive
Making all in openbsd-compat
depbase=`echo table_sqlite.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; clang -DHAVE_CONFIG_H -I.    -I/opt/pkg/include  -pipe -Os -I/opt/pkg/include -MT table_sqlite.o -MD -MP -MF $depbase.Tpo -c -o table_sqlite.o table_sqlite.c && mv -f $depbase.Tpo $depbase.Po
table_sqlite.c:19:10: fatal error: 'sys/tree.h' file not found
#include <sys/tree.h>
         ^~~~~~~~~~~~
1 error generated.
*** [table_sqlite.o] Error code 1

bmake[2]: stopped making "all-am" in /Users/pbulk/build/mail/opensmtpd-table-sqlite/work/table-sqlite-1.0.1
bmake[2]: 1 error

bmake[2]: stopped making "all-am" in /Users/pbulk/build/mail/opensmtpd-table-sqlite/work/table-sqlite-1.0.1

bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/mail/opensmtpd-table-sqlite/work/table-sqlite-1.0.1

bmake: stopped making "all" in /Users/pbulk/build/mail/opensmtpd-table-sqlite/work/table-sqlite-1.0.1
*** Error code 2

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

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/mail/opensmtpd-table-sqlite