+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/poptop-1.3.4nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/poptop-1.3.4nb1/work.log
===> Building for poptop-1.3.4nb1
cd . && /usr/bin/bash /home/pbulk/build/net/poptop/work/pptpd-1.3.4/missing --run aclocal-1.9 
WARNING: 'aclocal' is missing on your system.  You should only need it if
         you modified 'acinclude.m4' or 'configure.in'.  You might want
         to install the Automake and Perl packages.  Grab them from
         any GNU archive site.
 cd . && /usr/bin/bash /home/pbulk/build/net/poptop/work/pptpd-1.3.4/missing --run automake-1.9 --foreign 
cd . && /usr/bin/bash /home/pbulk/build/net/poptop/work/pptpd-1.3.4/missing --run autoconf
WARNING: 'automake' is missing on your system.  You should only need it if
         you modified 'Makefile.am', 'acinclude.m4' or 'configure.in'.
         You might want to install the Automake and Perl packages.
         Grab them from any GNU archive site.
WARNING: 'autoconf' is missing on your system.  You should only need it if
         you modified 'configure.in'.  You might want to install the
         Autoconf and GNU m4 packages.  Grab them from any GNU
         archive site.
/usr/bin/bash ./config.status --recheck
 cd . && /usr/bin/bash ./config.status Makefile 
config.status: creating Makefile
/usr/bin/bash ./config.status --recheck
cd . && /usr/bin/bash /home/pbulk/build/net/poptop/work/pptpd-1.3.4/missing --run autoheader
WARNING: 'autoheader' is missing on your system.  You should only need it if
         you modified 'acconfig.h' or 'configure.in'.  You might want
         to install the Autoconf and GNU m4 packages.  Grab them
         from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /usr/bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/opt/pkg/bin/gmake  all-am
gmake[1]: Entering directory '/home/pbulk/build/net/poptop/work/pptpd-1.3.4'
/usr/bin/bash ./config.status --recheck
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c pqueue.c
for d in plugins; do /opt/pkg/bin/gmake -j4 --jobserver-auth=fifo:/var/tmp//GMfifo950991 -C $d all; done
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c pptpd.c
gmake[2]: Entering directory '/home/pbulk/build/net/poptop/work/pptpd-1.3.4/plugins'
gmake[2]: warning: -j4 forced in submake: resetting jobserver mode.
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c configfile.c
gcc -o pptpd-logwtmp.so -shared -O2 -g -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c pptpmanager.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c compat.c
compat.c: In function 'openpty':
compat.c:65:9: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
   65 |         strcpy(ttydev, TTYDEV);
      |         ^~~~~~
compat.c:54:1: note: 'strcpy' is defined in header '<string.h>'; did you forget to '#include <string.h>'?
   53 | #include <syslog.h>
  +++ |+#include <string.h>
   54 | #else
compat.c:75:41: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration]
   75 |                                         close(fd1);
      |                                         ^~~~~
compat.c: In function 'sigpipe_assign':
compat.c:177:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
  177 |   memset(&sa, 0, sizeof(sa));
      |   ^~~~~~
compat.c:177:3: note: 'memset' is defined in header '<string.h>'; did you forget to '#include <string.h>'?
ld: fatal: library -lutil: not found
ld: fatal: file processing errors. No output written to pptpd-logwtmp.so
collect2: error: ld returned 1 exit status
gmake[2]: *** [Makefile:19: pptpd-logwtmp.so] Error 1
gmake[2]: Leaving directory '/home/pbulk/build/net/poptop/work/pptpd-1.3.4/plugins'
gmake[1]: *** [Makefile:683: all-local] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/home/pbulk/build/net/poptop/work/pptpd-1.3.4'
gmake: *** [Makefile:215: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/poptop
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/poptop