+ 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-ldap-1.0/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/opensmtpd-table-ldap-1.0/work.log
===> Building for opensmtpd-table-ldap-1.0
--- all ---
/opt/local/bin/bmake  all-am
--- table_ldap.o ---
--- aldap.o ---
--- ber.o ---
--- table_ldap.o ---
depbase=`echo table_ldap.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.    -DLDAP_DEPRECATED -I/opt/local/include -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/local/include -I/usr/include -I./openbsd-compat -I./openbsd-compat/tree -MT table_ldap.o -MD -MP -MF $depbase.Tpo -c -o table_ldap.o table_ldap.c && mv -f $depbase.Tpo $depbase.Po
--- aldap.o ---
depbase=`echo aldap.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.    -DLDAP_DEPRECATED -I/opt/local/include -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/local/include -I/usr/include -I./openbsd-compat -I./openbsd-compat/tree -MT aldap.o -MD -MP -MF $depbase.Tpo -c -o aldap.o aldap.c && mv -f $depbase.Tpo $depbase.Po
--- ber.o ---
depbase=`echo ber.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; gcc -DHAVE_CONFIG_H -I.    -DLDAP_DEPRECATED -I/opt/local/include -I/usr/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -DLDAP_DEPRECATED -I/opt/local/include -I/usr/include -I./openbsd-compat -I./openbsd-compat/tree -MT ber.o -MD -MP -MF $depbase.Tpo -c -o ber.o ber.c && mv -f $depbase.Tpo $depbase.Po
In file included from ber.c:33:
ber.h:78:14: error: expected ';' before 'struct'
   78 | __BEGIN_DECLS
      |              ^
      |              ;
   79 | struct ber_element      *ber_get_element(unsigned long);
      | ~~~~~~        
ber.h:126:12: error: expected ';' before 'static'
  126 | __END_DECLS
      |            ^
      |            ;
*** [ber.o] Error code 1

bmake[1]: stopped making "all-am" in /home/pbulk/build/mail/opensmtpd-table-ldap/work/table-ldap-1.0
--- aldap.o ---
In file included from aldap.h:19,
                 from aldap.c:26:
ber.h:78:14: error: expected ';' before 'struct'
   78 | __BEGIN_DECLS
      |              ^
      |              ;
   79 | struct ber_element      *ber_get_element(unsigned long);
      | ~~~~~~        
ber.h:126:12: error: expected ';' before 'struct'
  126 | __END_DECLS
      |            ^
      |            ;
--- table_ldap.o ---
In file included from aldap.h:19,
                 from table_ldap.c:32:
ber.h:78:14: error: expected ';' before 'struct'
   78 | __BEGIN_DECLS
      |              ^
      |              ;
   79 | struct ber_element      *ber_get_element(unsigned long);
      | ~~~~~~        
ber.h:126:12: error: expected ';' before 'struct'
  126 | __END_DECLS
      |            ^
      |            ;
--- aldap.o ---
*** [aldap.o] Error code 1

bmake[1]: stopped making "all-am" in /home/pbulk/build/mail/opensmtpd-table-ldap/work/table-ldap-1.0
--- table_ldap.o ---
*** [table_ldap.o] Error code 1

bmake[1]: stopped making "all-am" in /home/pbulk/build/mail/opensmtpd-table-ldap/work/table-ldap-1.0
bmake[1]: 3 errors

bmake[1]: stopped making "all-am" in /home/pbulk/build/mail/opensmtpd-table-ldap/work/table-ldap-1.0

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

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

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