+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/opensmtpd-table-postgres-1.1.1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PGSQL_VERSION_REQD=14 WRKLOG=/tmp/bulklog/opensmtpd-table-postgres-1.1.1/work.log
===> Building for opensmtpd-table-postgres-1.1.1
--- all ---
/opt/local/bin/bmake  all-recursive
--- all-recursive ---
Making all in openbsd-compat
--- table_postgres.o ---
--- dict.o ---
--- log.o ---
--- table_postgres.o ---
depbase=`echo table_postgres.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.    -I/opt/local/include/postgresql -I/opt/local/include -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include/postgresql -I/opt/local/include -I/usr/include -MT table_postgres.o -MD -MP -MF $depbase.Tpo -c -o table_postgres.o table_postgres.c && mv -f $depbase.Tpo $depbase.Po
--- dict.o ---
depbase=`echo dict.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.    -I/opt/local/include/postgresql -I/opt/local/include -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include/postgresql -I/opt/local/include -I/usr/include -MT dict.o -MD -MP -MF $depbase.Tpo -c -o dict.o dict.c && mv -f $depbase.Tpo $depbase.Po
--- log.o ---
depbase=`echo log.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.    -I/opt/local/include/postgresql -I/opt/local/include -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -I/opt/local/include/postgresql -I/opt/local/include -I/usr/include -MT log.o -MD -MP -MF $depbase.Tpo -c -o log.o log.c && mv -f $depbase.Tpo $depbase.Po
--- table_postgres.o ---
table_postgres.c:19:10: fatal error: sys/tree.h: No such file or directory
   19 | #include <sys/tree.h>
      |          ^~~~~~~~~~~~
compilation terminated.
*** [table_postgres.o] Error code 1

bmake[2]: stopped making "all-am" in /home/pbulk/build/mail/opensmtpd-table-postgres/work/table-postgres-1.1.1
--- dict.o ---
dict.c:23:10: fatal error: sys/tree.h: No such file or directory
   23 | #include <sys/tree.h>
      |          ^~~~~~~~~~~~
compilation terminated.
*** [dict.o] Error code 1

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

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

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

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

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

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