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

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

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

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

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

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

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