+ 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
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> 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 
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.
cd . && /usr/bin/bash /home/pbulk/build/net/poptop/work/pptpd-1.3.4/missing --run autoconf
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
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c pptpd.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c configfile.c
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>'?
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c inststr.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c getopt1.c
gcc  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"'  -lnsl -lsocket -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-R/opt/pkg/lib -o pptpd  pqueue.o pptpd.o configfile.o pptpmanager.o compat.o inststr.o getopt.o getopt1.o -lwrap 
gcc -DHAVE_CONFIG_H -I. -I. -I. -I.  -I/usr/include  -O2 -fno-builtin -Wall -DSBINDIR='"/opt/pkg/sbin"' -c pptpctrl.c
pptpctrl.c: In function 'startCall':
pptpctrl.c:581:32: error: storage size of 'tios' isn't known
  581 |                 struct termios tios;
      |                                ^~~~
pptpctrl.c:586:21: warning: implicit declaration of function 'tcgetattr' [-Wimplicit-function-declaration]
  586 |                 if (tcgetattr(tty_fd, &tios) < 0) {
      |                     ^~~~~~~~~
pptpctrl.c:591:35: error: 'ECHO' undeclared (first use in this function)
  591 |                 tios.c_lflag &= ~(ECHO | ECHONL);
      |                                   ^~~~
pptpctrl.c:591:35: note: each undeclared identifier is reported only once for each function it appears in
pptpctrl.c:591:42: error: 'ECHONL' undeclared (first use in this function); did you mean 'ECHRNG'?
  591 |                 tios.c_lflag &= ~(ECHO | ECHONL);
      |                                          ^~~~~~
      |                                          ECHRNG
pptpctrl.c:592:21: warning: implicit declaration of function 'tcsetattr' [-Wimplicit-function-declaration]
  592 |                 if (tcsetattr(tty_fd, TCSAFLUSH, &tios) < 0) {
      |                     ^~~~~~~~~
pptpctrl.c:592:39: error: 'TCSAFLUSH' undeclared (first use in this function)
  592 |                 if (tcsetattr(tty_fd, TCSAFLUSH, &tios) < 0) {
      |                                       ^~~~~~~~~
pptpctrl.c:581:32: warning: unused variable 'tios' [-Wunused-variable]
  581 |                 struct termios tios;
      |                                ^~~~
gmake[1]: *** [Makefile:306: pptpctrl.o] Error 1
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 in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/poptop
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/poptop