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

bmake[2]: stopped making "all-am" in /home/pbulk/build/mail/opensmtpd-table-sqlite/work/table-sqlite-1.0.1
--- dict.o ---
*** [dict.o] Error code 1

bmake[2]: stopped making "all-am" in /home/pbulk/build/mail/opensmtpd-table-sqlite/work/table-sqlite-1.0.1
--- table_sqlite.o ---
*** [table_sqlite.o] Error code 1

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

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

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

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

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/mail/opensmtpd-table-sqlite