+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pppd-2.4.3nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/pppd-2.4.3nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for pppd-2.4.3nb2
cd chat; /usr/pkg/bin/gmake -j2 --jobserver-auth=fifo:/tmp/GMfifo605966 all
gmake[1]: Entering directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/chat'
gmake[1]: warning: -j2 forced in submake: resetting jobserver mode.
cc -c -O2 -g -pipe -DTERMIOS			 -DSIGTYPE=void			 -UNO_SLEEP			 -DFNDELAY=O_NDELAY		 -o chat.o chat.c
chat.c: In function 'chat_send':
chat.c:1035:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(2, s, strlen(s));
  ^~~~~~~~~~~~~~~~~~~~~~
chat.c: In function 'echo_stderr':
chat.c:1357:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(2, "\n", 1);
  ^~~~~~~~~~~~~~~~~
chat.c:1362:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
  write(2, s, strlen(s));
  ^~~~~~~~~~~~~~~~~~~~~~
cc -o chat chat.o
gmake[1]: Leaving directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/chat'
cd pppd/plugins; /usr/pkg/bin/gmake -j2 --jobserver-auth=fifo:/tmp/GMfifo605966 all
gmake[1]: Entering directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins'
gmake[1]: warning: -j2 forced in submake: resetting jobserver mode.
gcc -o minconn.so -shared -O2 -g -I.. -I../../include -fPIC minconn.c
gcc -o passprompt.so -shared -O2 -g -I.. -I../../include -fPIC passprompt.c
passprompt.c: In function 'promptpass':
passprompt.c:57:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
  seteuid(getuid());
  ^~~~~~~~~~~~~~~~~
passprompt.c:58:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result]
  setegid(getgid());
  ^~~~~~~~~~~~~~~~~
gcc -o passwordfd.so -shared -O2 -g -I.. -I../../include -fPIC passwordfd.c
gcc -o winbind.so -shared -O2 -g -I.. -I../../include -fPIC winbind.c
winbind.c: In function 'winbind_chap_verify':
winbind.c:595:4: warning: implicit declaration of function 'mppe_set_keys' [-Wimplicit-function-declaration]
    mppe_set_keys(challenge, session_key);
    ^~~~~~~~~~~~~
winbind.c:643:4: warning: implicit declaration of function 'mppe_set_keys2' [-Wimplicit-function-declaration]
    mppe_set_keys2(session_key, rmd->NTResp, MS_CHAP2_AUTHENTICATOR);
    ^~~~~~~~~~~~~~
winbind.c: In function 'run_ntlm_auth':
winbind.c:312:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
   setgid(getgid());
   ^~~~~~~~~~~~~~~~
winbind.c:313:3: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
   setuid(getuid());
   ^~~~~~~~~~~~~~~~
for d in rp-pppoe pppoatm radius; do /usr/pkg/bin/gmake -j2 --jobserver-auth=fifo:/tmp/GMfifo606717 -C $d all; done
gmake[2]: Entering directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/rp-pppoe'
gmake[2]: warning: -j2 forced in submake: resetting jobserver mode.
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o discovery.o -fPIC discovery.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o if.o -fPIC if.c
discovery.c: In function 'discovery':
discovery.c:601:6: warning: implicit declaration of function 'warn' [-Wimplicit-function-declaration]
      warn("Timeout waiting for PADO packets");
      ^~~~
discovery.c:623:2: warning: implicit declaration of function 'die'; did you mean 'div'? [-Wimplicit-function-declaration]
  die(0);
  ^~~
  div
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o common.o -fPIC common.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o debug.o -fPIC debug.c
gcc '-DRP_VERSION="3.3"' -O2 -g -I../../../include/linux -I../../..  -c -o plugin.o -fPIC plugin.c
gcc -O2 -g -I../../../include/linux '-DVERSION="3.3"' -c -o pppoe-discovery.o pppoe-discovery.c
ar -rc libplugin.a discovery.o if.o common.o debug.o
gcc -o pppoe-discovery pppoe-discovery.o libplugin.a
gcc -o rp-pppoe.so -shared plugin.o libplugin.a
gmake[2]: Leaving directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/rp-pppoe'
gmake[2]: Entering directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/pppoatm'
gmake[2]: warning: -j2 forced in submake: resetting jobserver mode.
gcc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o pppoatm.o pppoatm.c
gcc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c
pppoatm.c: In function 'connect_pppoatm':
pppoatm.c:136:2: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
  system ("/sbin/modprobe pppoatm");
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c
gcc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c
gcc -O2 -g -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c
gcc -O2 -g -I../.. -I../../../include -fPIC -I. -o pppoatm.so -shared pppoatm.o text2qos.o text2atm.o misc.o ans.o -lresolv
gmake[2]: Leaving directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/pppoatm'
gmake[2]: Entering directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/radius'
gmake[2]: warning: -j2 forced in submake: resetting jobserver mode.
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o radius.o radius.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o avpair.o avpair.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o buildreq.o buildreq.c
buildreq.c: In function 'rc_get_seqnbr':
buildreq.c:138:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  ftruncate(fileno(sf),0);
  ^~~~~~~~~~~~~~~~~~~~~~~
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o config.o config.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o dict.o dict.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o ip_util.o ip_util.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o clientid.o clientid.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o sendserver.o sendserver.c
In file included from /usr/include/string.h:495,
                 from ./includes.h:26,
                 from clientid.c:12:
In function 'strncat',
    inlined from 'rc_map2id' at clientid.c:113:2:
/usr/include/bits/string_fortified.h:151:10: warning: '__builtin___strncat_chk' specified bound 4096 equals destination size [-Wstringop-overflow=]
   return __builtin___strncat_chk (__dest, __src, __len,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __glibc_objsize (__dest));
       ~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o lock.o lock.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o util.o util.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o md5.o md5.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o radattr.o radattr.c
gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1   -c -o radrealms.o radrealms.c
ar rv libradiusclient.a avpair.o buildreq.o config.o dict.o ip_util.o clientid.o sendserver.o lock.o util.o md5.o
ar: creating libradiusclient.a
a - avpair.o
a - buildreq.o
a - config.o
a - dict.o
a - ip_util.o
a - clientid.o
a - sendserver.o
a - lock.o
a - util.o
a - md5.o
gcc -o radattr.so -shared radattr.o
gcc -o radius.so -shared radius.o libradiusclient.a
gcc -o radrealms.so -shared radrealms.o
gmake[2]: Leaving directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/radius'
gmake[1]: Leaving directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins'
cd pppd; /usr/pkg/bin/gmake -j2 --jobserver-auth=fifo:/tmp/GMfifo605966 all
gmake[1]: Entering directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd'
gmake[1]: warning: -j2 forced in submake: resetting jobserver mode.
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o main.o main.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o magic.o magic.c
magic.c:54:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o fsm.o fsm.c
main.c: In function 'detach':
main.c:774:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
     chdir("/");
     ^~~~~~~~~~
main.c: In function 'device_script':
main.c:1582:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
     setgid(getgid());
     ^~~~~~~~~~~~~~~~
main.c:1583:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
     setuid(uid);
     ^~~~~~~~~~~
main.c: In function 'run_program':
main.c:1645:12: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result]
     (void) chdir ("/"); /* no current directory. */
            ^~~~~~~~~~~
main.c:1646:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
     setuid(0);  /* set real UID = root */
     ^~~~~~~~~
main.c:1647:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
     setgid(getegid());
     ^~~~~~~~~~~~~~~~~
At top level:
main.c:124:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
fsm.c:58:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o lcp.o lcp.c
lcp.c:59:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o ipcp.o ipcp.c
ipcp.c:64:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o upap.o upap.c
upap.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o chap-new.o chap-new.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o md5.o md5.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o ccp.o ccp.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o ecp.o ecp.c
ccp.c: In function 'ccp_nakci':
ccp.c:897:1: warning: type of 'treat_as_reject' defaults to 'int' [-Wimplicit-int]
 ccp_nakci(f, p, len, treat_as_reject)
 ^~~~~~~~~
At top level:
ccp.c:46:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
ecp.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o auth.o auth.c
auth.c: In function 'plogin':
auth.c:1635:14: warning: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
   (void)time(&ll.ll_time);
              ^~~~~~~~~~~
In file included from auth.c:107:
/usr/include/time.h:75:29: note: expected 'time_t *' {aka 'long int *'} but argument is of type 'int32_t *' {aka 'int *'}
 extern time_t time (time_t *__timer) __THROW;
                     ~~~~~~~~^~~~~~~
auth.c: In function 'setupapfile':
auth.c:424:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
     seteuid(getuid());
     ^~~~~~~~~~~~~~~~~
auth.c:426:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
     seteuid(0);
     ^~~~~~~~~~
auth.c: In function 'plogin':
auth.c:1637:9: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
   (void)write(fd, (char *)&ll, sizeof(ll));
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
auth.c:123:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o options.o options.c
options.c: In function 'setlogfile':
options.c:1568:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
  seteuid(getuid());
  ^~~~~~~~~~~~~~~~~
options.c:1574:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
  seteuid(0);
  ^~~~~~~~~~
options.c: In function 'options_from_file':
options.c:419:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
  seteuid(getuid());
  ^~~~~~~~~~~~~~~~~
options.c:423:2: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
  seteuid(0);
  ^~~~~~~~~~
At top level:
options.c:77:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o demand.o demand.c
demand.c:55:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o utils.o utils.c
utils.c: In function 'logit':
utils.c:657:9: warning: variable 'n' set but not used [-Wunused-but-set-variable]
     int n;
         ^
utils.c: In function 'lock':
utils.c:988:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write (fd, lock_buffer, 11);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
utils.c: In function 'relock':
utils.c:1030:5: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
     write (fd, lock_buffer, 11);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
utils.c:61:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o sys-linux.o sys-linux.c
sys-linux.c: In function 'logwtmp':
sys-linux.c:2187:10: warning: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types]
     time(&ut.ut_time);
          ^
In file included from sys-linux.c:86:
/usr/include/time.h:75:29: note: expected 'time_t *' {aka 'long int *'} but argument is of type 'int32_t *' {aka 'int *'}
 extern time_t time (time_t *__timer) __THROW;
                     ~~~~~~~~^~~~~~~
sys-linux.c: In function 'get_pty':
sys-linux.c:2599:7: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result]
       fchown(sfd, uid, -1);
       ^~~~~~~~~~~~~~~~~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o ipxcp.o ipxcp.c
ipxcp.c: In function 'setipxnode':
ipxcp.c:300:9: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
     end = setipxnodevalue (*argv, our_node);
         ^
ipxcp.c:303:6: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
  end = setipxnodevalue (++end, his_node);
      ^
ipxcp.c: In function 'setipxname':
ipxcp.c:346:18: warning: pointer targets in initialization of 'char *' from 'u_char *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign]
     char *dest = ipxcp_wantoptions[0].name;
                  ^~~~~~~~~~~~~~~~~
ipxcp.c: In function 'ipxcp_cilen':
ipxcp.c:596:54: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
     len += go->neg_name     ? CILEN_NAME + strlen (go->name) - 1 : 0;
                                                      ^
In file included from ipxcp.c:52:
/usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern size_t strlen (const char *__s)
               ^~~~~~
ipxcp.c: In function 'ipxcp_addci':
ipxcp.c:633:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  int cilen = strlen (go->name);
                        ^
In file included from ipxcp.c:52:
/usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern size_t strlen (const char *__s)
               ^~~~~~
ipxcp.c: In function 'ipxcp_ackci':
ipxcp.c:739:56: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  ACKCINAME     (IPX_ROUTER_NAME,     go->neg_name,   go->name);
                                                        ^
ipxcp.c:683:20: note: in definition of macro 'ACKCICHARS'
  int indx, count = cnt; \
                    ^~~
ipxcp.c:739:2: note: in expansion of macro 'ACKCINAME'
  ACKCINAME     (IPX_ROUTER_NAME,     go->neg_name,   go->name);
  ^~~~~~~~~
In file included from ipxcp.c:52:
/usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern size_t strlen (const char *__s)
               ^~~~~~
ipxcp.c: In function 'ipxcp_rejci':
ipxcp.c:964:55: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
  REJCINAME    (IPX_ROUTER_NAME,    try.neg_name,   try.name);
                                                    ~~~^~~~~
ipxcp.c:906:20: note: in definition of macro 'REJCICHARS'
  int indx, count = cnt; \
                    ^~~
ipxcp.c:964:2: note: in expansion of macro 'REJCINAME'
  REJCINAME    (IPX_ROUTER_NAME,    try.neg_name,   try.name);
  ^~~~~~~~~
In file included from ipxcp.c:52:
/usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 extern size_t strlen (const char *__s)
               ^~~~~~
ipxcp.c: In function 'ipxcp_script':
ipxcp.c:1456:14: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
     argv[9]  = go->name;
              ^
ipxcp.c:1457:14: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign]
     argv[10] = ho->name;
              ^
ipxcp.c: In function 'ipxcp_printpkt':
ipxcp.c:1583:19: warning: pointer targets in passing argument 1 of 'print_string' differ in signedness [-Wpointer-sign]
      print_string(p, len, printer, arg);
                   ^
In file included from ipxcp.c:59:
pppd.h:511:6: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 void print_string __P((char *, int,  void (*) (void *, char *, ...),
      ^~~~~~~~~~~~
At top level:
ipxcp.c:65:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o tty.o tty.c
tty.c: In function 'connect_tty':
tty.c:569:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
     seteuid(uid);
     ^~~~~~~~~~~~
tty.c:573:5: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result]
     seteuid(0);
     ^~~~~~~~~~
tty.c: In function 'start_charshunt':
tty.c:941:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
  setgid(getgid());
  ^~~~~~~~~~~~~~~~
tty.c:942:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result]
  setuid(uid);
  ^~~~~~~~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o eap.o eap.c
eap.c:145:21: warning: 'wkmodulus' defined but not used [-Wunused-const-variable=]
 static const u_char wkmodulus[] = {
                     ^~~~~~~~~
eap.c:79:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o chap-md5.o chap-md5.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o md4.o md4.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o chap_ms.o chap_ms.c
chap_ms.c: In function 'Set_Start_Key':
chap_ms.c:695:20: warning: pointer targets in passing argument 1 of 'NTPasswordHash' differ in signedness [-Wpointer-sign]
     NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash);
                    ^~~~~~~~~~~~~~~
chap_ms.c:519:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE])
 ^~~~~~~~~~~~~~
chap_ms.c:696:20: warning: pointer targets in passing argument 1 of 'NTPasswordHash' differ in signedness [-Wpointer-sign]
     NTPasswordHash(PasswordHash, sizeof(PasswordHash), PasswordHashHash);
                    ^~~~~~~~~~~~
chap_ms.c:519:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE])
 ^~~~~~~~~~~~~~
chap_ms.c: In function 'SetMasterKeys':
chap_ms.c:809:20: warning: pointer targets in passing argument 1 of 'NTPasswordHash' differ in signedness [-Wpointer-sign]
     NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash);
                    ^~~~~~~~~~~~~~~
chap_ms.c:519:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE])
 ^~~~~~~~~~~~~~
chap_ms.c:810:20: warning: pointer targets in passing argument 1 of 'NTPasswordHash' differ in signedness [-Wpointer-sign]
     NTPasswordHash(PasswordHash, sizeof(PasswordHash), PasswordHashHash);
                    ^~~~~~~~~~~~
chap_ms.c:519:1: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'}
 NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE])
 ^~~~~~~~~~~~~~
At top level:
chap_ms.c:101:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=]
 static const char rcsid[] = RCSID;
                   ^~~~~
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o sha1.o sha1.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o pppcrypt.o pppcrypt.c
pppcrypt.c: In function 'DesSetkey':
pppcrypt.c:122:2: warning: implicit declaration of function 'setkey'; did you mean 'DesSetkey'? [-Wimplicit-function-declaration]
  setkey((const char *)crypt_key);
  ^~~~~~
  DesSetkey
pppcrypt.c: In function 'DesEncrypt':
pppcrypt.c:137:2: warning: implicit declaration of function 'encrypt'; did you mean 'crypt'? [-Wimplicit-function-declaration]
  encrypt((char *)des_input, 0);
  ^~~~~~~
  crypt
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o multilink.o multilink.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o tdb.o tdb.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS   -c -o spinlock.o spinlock.c
cc -O2 -pipe -Wall -g -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include -DCHAPMS=1 -DMPPE=1 -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DUSE_CRYPT=1 -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DMAXOCTETS -Wl,-zrelro -Wl,-R/usr/pkg/lib -Wl,-E -o pppd main.o magic.o fsm.o lcp.o ipcp.o upap.o chap-new.o md5.o ccp.o ecp.o auth.o options.o demand.o utils.o sys-linux.o ipxcp.o tty.o eap.o chap-md5.o md4.o chap_ms.o sha1.o pppcrypt.o multilink.o tdb.o spinlock.o -ldl
auth.o: In function `plogin':
/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/auth.c:1613: undefined reference to `crypt'
auth.o: In function `check_passwd':
/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/auth.c:1410: undefined reference to `crypt'
pppcrypt.o: In function `DesSetkey':
/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/pppcrypt.c:122: undefined reference to `setkey'
pppcrypt.o: In function `DesEncrypt':
/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/pppcrypt.c:137: undefined reference to `encrypt'
pppcrypt.o: In function `DesDecrypt':
/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/pppcrypt.c:153: undefined reference to `encrypt'
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:211: pppd] Error 1
gmake[1]: Leaving directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd'
gmake: *** [Makefile:15: all] Error 2
*** Error code 2

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

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/net/pppd