+ 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; /bin/make - --jobserver-fds=5,6 -j all make[1]: Entering directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/chat' 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:7: 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:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, "\n", 1); ^ chat.c:1362:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(2, s, strlen(s)); ^ cc -o chat chat.o make[1]: Leaving directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/chat' cd pppd/plugins; /bin/make - --jobserver-fds=5,6 -j all make[1]: Entering directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins' 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:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^ passprompt.c:58:9: 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 'run_ntlm_auth': winbind.c:312:9: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^ winbind.c:313:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^ for d in rp-pppoe pppoatm radius; do /bin/make -w --jobserver-fds=5,6 - --jobserver-fds=5,6 -j -C $d all; done make[2]: Entering directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/rp-pppoe' 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 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 rp-pppoe.so -shared plugin.o libplugin.a gcc -o pppoe-discovery pppoe-discovery.o libplugin.a make[2]: Leaving directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/rp-pppoe' make[2]: Entering directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/pppoatm' 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:9: 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 make[2]: Leaving directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/pppoatm' make[2]: Entering directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/radius' 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 gcc -I. -I../.. -I../../../include -O2 -fPIC -DRC_LOG_FACILITY=LOG_DAEMON -DCHAPMS=1 -DMPPE=1 -DMAXOCTETS=1 -c -o config.o config.c buildreq.c: In function 'rc_get_seqnbr': buildreq.c:138:11: 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 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:638:0, from ./includes.h:26, from clientid.c:12: In function 'strncat', inlined from 'rc_map2id' at clientid.c:113:9: /usr/include/bits/string3.h:150:3: warning: call to __builtin___strncat_chk might overflow destination buffer [enabled by default] return __builtin___strncat_chk (__dest, __src, __len, __bos (__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 make[2]: Leaving directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins/radius' make[1]: Leaving directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins' cd pppd; /bin/make - --jobserver-fds=5,6 -j all make[1]: Entering directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd' 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 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:10: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^ main.c: In function 'device_script': main.c:1582:11: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^ main.c:1583:11: 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:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); /* no current directory. */ ^ main.c:1646:11: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(0); /* set real UID = root */ ^ main.c:1647:11: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getegid()); ^ 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 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 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 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 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:3: warning: passing argument 1 of 'time' from incompatible pointer type [enabled by default] (void)time(&ll.ll_time); ^ In file included from auth.c:107:0: /usr/include/time.h:192:15: note: expected 'time_t *' but argument is of type 'int32_t *' extern time_t time (time_t *__timer) __THROW; ^ auth.c: In function 'setupapfile': auth.c:424:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^ auth.c:426:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^ auth.c: In function 'plogin': auth.c:1637:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(fd, (char *)&ll, sizeof(ll)); ^ 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:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^ options.c:1574:9: 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:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(getuid()); ^ options.c:423:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(0); ^ 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 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 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 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:11: 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:11: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^ sys-linux.c: In function 'logwtmp': sys-linux.c:2187:5: warning: passing argument 1 of 'time' from incompatible pointer type [enabled by default] time(&ut.ut_time); ^ In file included from sys-linux.c:86:0: /usr/include/time.h:192:15: note: expected 'time_t *' but argument is of type 'int32_t *' extern time_t time (time_t *__timer) __THROW; ^ sys-linux.c: In function 'get_pty': sys-linux.c:2599:13: 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 differ in signedness [-Wpointer-sign] end = setipxnodevalue (*argv, our_node); ^ ipxcp.c:303:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] end = setipxnodevalue (++end, his_node); ^ ipxcp.c: In function 'setipxname': ipxcp.c:346:18: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *dest = ipxcp_wantoptions[0].name; ^ ipxcp.c: In function 'ipxcp_cilen': ipxcp.c:596:5: 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:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ipxcp.c: In function 'ipxcp_addci': ipxcp.c:633:2: 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:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ipxcp.c: In function 'ipxcp_ackci': ipxcp.c:739:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ACKCINAME (IPX_ROUTER_NAME, go->neg_name, go->name); ^ In file included from ipxcp.c:52:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ipxcp.c: In function 'ipxcp_rejci': ipxcp.c:964:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] REJCINAME (IPX_ROUTER_NAME, try.neg_name, try.name); ^ In file included from ipxcp.c:52:0: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'u_char *' extern size_t strlen (const char *__s) ^ ipxcp.c: In function 'ipxcp_script': ipxcp.c:1456:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] argv[9] = go->name; ^ ipxcp.c:1457:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] argv[10] = ho->name; ^ ipxcp.c: In function 'ipxcp_printpkt': ipxcp.c:1583:6: 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:0: pppd.h:511:6: note: expected 'char *' but argument is of type 'u_char *' void print_string __P((char *, int, void (*) (void *, char *, ...), ^ 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:12: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] seteuid(uid); ^ tty.c:573:12: 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:8: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^ tty.c:942:8: 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 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:5: 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 *' NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE]) ^ chap_ms.c:696:5: 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 *' NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE]) ^ chap_ms.c: In function 'SetMasterKeys': chap_ms.c:809:5: 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 *' NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE]) ^ chap_ms.c:810:5: 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 *' NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE]) ^ 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 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 make[1]: *** [pppd] Error 1 make[1]: Leaving directory `/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd' make: *** [all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/pppd *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/net/pppd