+ 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 -j2 --jobserver-auth=5,6 all make[1]: warning: -j2 forced in submake: resetting jobserver mode. 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:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1035 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ chat.c: In function 'echo_stderr': chat.c:1357:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1357 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ chat.c:1362:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1362 | 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 -j2 --jobserver-auth=5,6 all make[1]: warning: -j2 forced in submake: resetting jobserver mode. 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] 57 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ passprompt.c:58:9: warning: ignoring return value of 'setegid' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | 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:25: warning: implicit declaration of function 'mppe_set_keys' [-Wimplicit-function-declaration] 595 | mppe_set_keys(challenge, session_key); | ^~~~~~~~~~~~~ winbind.c:643:25: warning: implicit declaration of function 'mppe_set_keys2' [-Wimplicit-function-declaration] 643 | mppe_set_keys2(session_key, rmd->NTResp, MS_CHAP2_AUTHENTICATOR); | ^~~~~~~~~~~~~~ winbind.c: In function 'run_ntlm_auth': winbind.c:312:17: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 312 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ winbind.c:313:17: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 313 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ for d in rp-pppoe pppoatm radius; do /bin/make -w -j2 --jobserver-auth=7,8 -C $d all; done make[2]: Entering directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/plugins' make[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:13: warning: implicit declaration of function 'warn' [-Wimplicit-function-declaration] 601 | warn("Timeout waiting for PADO packets"); | ^~~~ discovery.c:623:9: warning: implicit declaration of function 'die'; did you mean 'div'? [-Wimplicit-function-declaration] 623 | 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 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' make[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:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 136 | 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' make[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:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 138 | 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:519, 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:138:10: warning: '__builtin___strncat_chk' specified bound 4096 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __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 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 -j2 --jobserver-auth=5,6 all make[1]: warning: -j2 forced in submake: resetting jobserver mode. 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 magic.c:54:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 54 | 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] 774 | 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] 1582 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ main.c:1583:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1583 | 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] 1645 | (void) chdir ("/"); /* no current directory. */ | ^~~~~~~~~~~ main.c:1646:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1646 | setuid(0); /* set real UID = root */ | ^~~~~~~~~ main.c:1647:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 1647 | setgid(getegid()); | ^~~~~~~~~~~~~~~~~ At top level: main.c:124:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 124 | static const char rcsid[] = RCSID; | ^~~~~ fsm.c:58:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 58 | 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=] 59 | 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=] 64 | 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=] 55 | 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 ccp.c: In function 'ccp_nakci': ccp.c:897:1: warning: type of 'treat_as_reject' defaults to 'int' [-Wimplicit-int] 897 | ccp_nakci(f, p, len, treat_as_reject) | ^~~~~~~~~ At top level: ccp.c:46:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 46 | 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 ecp.o ecp.c ecp.c:62:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 62 | 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:28: warning: passing argument 1 of 'time' from incompatible pointer type [-Wincompatible-pointer-types] 1635 | (void)time(&ll.ll_time); | ^~~~~~~~~~~ | | | int32_t * {aka int *} In file included from auth.c:107: /usr/include/time.h:76:29: note: expected 'time_t *' {aka 'long int *'} but argument is of type 'int32_t *' {aka 'int *'} 76 | 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] 424 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ auth.c:426:5: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 426 | seteuid(0); | ^~~~~~~~~~ auth.c: In function 'plogin': auth.c:1637:23: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 1637 | (void)write(fd, (char *)&ll, sizeof(ll)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: auth.c:123:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 123 | 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:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1568 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ options.c:1574:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1574 | 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] 419 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ options.c:423:9: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 423 | seteuid(0); | ^~~~~~~~~~ At top level: options.c:77:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 77 | static const char rcsid[] = RCSID; | ^~~~~ In file included from /usr/include/string.h:519, from auth.c:80: In function 'strncpy', inlined from 'plogin' at auth.c:1636:9, inlined from 'check_passwd' at auth.c:1404:14: /usr/include/bits/string_fortified.h:95:10: warning: '__builtin_strncpy' output may be truncated copying 32 bytes from a string of length 4095 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ 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=] 55 | 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] 657 | 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] 988 | 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] 1030 | write (fd, lock_buffer, 11); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: utils.c:61:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 61 | 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] 2187 | time(&ut.ut_time); | ^ | | | int32_t * {aka int *} In file included from sys-linux.c:86: /usr/include/time.h:76:29: note: expected 'time_t *' {aka 'long int *'} but argument is of type 'int32_t *' {aka 'int *'} 76 | extern time_t time (time_t *__timer) __THROW; | ~~~~~~~~^~~~~~~ sys-linux.c: In function 'get_pty': sys-linux.c:2599:21: warning: ignoring return value of 'fchown' declared with attribute 'warn_unused_result' [-Wunused-result] 2599 | 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] 300 | end = setipxnodevalue (*argv, our_node); | ^ ipxcp.c:303:13: warning: pointer targets in assignment from 'u_char *' {aka 'unsigned char *'} to 'char *' differ in signedness [-Wpointer-sign] 303 | 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] 346 | 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] 596 | len += go->neg_name ? CILEN_NAME + strlen (go->name) - 1 : 0; | ^ | | | u_char * {aka unsigned char *} In file included from ipxcp.c:52: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ipxcp.c: In function 'ipxcp_addci': ipxcp.c:633:31: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 633 | int cilen = strlen (go->name); | ^ | | | u_char * {aka unsigned char *} In file included from ipxcp.c:52: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ipxcp.c: In function 'ipxcp_ackci': ipxcp.c:739:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 739 | ACKCINAME (IPX_ROUTER_NAME, go->neg_name, go->name); | ^ | | | u_char * {aka unsigned char *} ipxcp.c:683:27: note: in definition of macro 'ACKCICHARS' 683 | int indx, count = cnt; \ | ^~~ ipxcp.c:739:9: note: in expansion of macro 'ACKCINAME' 739 | ACKCINAME (IPX_ROUTER_NAME, go->neg_name, go->name); | ^~~~~~~~~ In file included from ipxcp.c:52: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ ipxcp.c: In function 'ipxcp_rejci': ipxcp.c:964:63: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 964 | REJCINAME (IPX_ROUTER_NAME, try.neg_name, try.name); | ~~~^~~~~ | | | u_char * {aka unsigned char *} ipxcp.c:906:27: note: in definition of macro 'REJCICHARS' 906 | int indx, count = cnt; \ | ^~~ ipxcp.c:964:9: note: in expansion of macro 'REJCINAME' 964 | REJCINAME (IPX_ROUTER_NAME, try.neg_name, try.name); | ^~~~~~~~~ In file included from ipxcp.c:52: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 391 | 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] 1456 | 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] 1457 | argv[10] = ho->name; | ^ ipxcp.c: In function 'ipxcp_printpkt': ipxcp.c:1583:26: warning: pointer targets in passing argument 1 of 'print_string' differ in signedness [-Wpointer-sign] 1583 | print_string(p, len, printer, arg); | ^ | | | u_char * {aka unsigned char *} In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ipxcp.c:51: pppd.h:511:24: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 511 | 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=] 65 | 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:33: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 569 | seteuid(uid); | ^~~~~~~~~~~~ tty.c:573:33: warning: ignoring return value of 'seteuid' declared with attribute 'warn_unused_result' [-Wunused-result] 573 | seteuid(0); | ^~~~~~~~~~ tty.c: In function 'start_charshunt': tty.c:941:9: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 941 | setgid(getgid()); | ^~~~~~~~~~~~~~~~ tty.c:942:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 942 | 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 eap.c:145:21: warning: 'wkmodulus' defined but not used [-Wunused-const-variable=] 145 | static const u_char wkmodulus[] = { | ^~~~~~~~~ eap.c:79:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 79 | 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 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:452:26: warning: argument 2 of type 'u_char[16]' {aka 'unsigned char[16]'} with mismatched bound [-Warray-parameter=] 452 | u_char PasswordHash[MD4_SIGNATURE_SIZE], | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from chap_ms.c:81: chap_ms.c:106:50: note: previously declared as 'u_char *' {aka 'unsigned char *'} 106 | static void ChallengeResponse __P((u_char *, u_char *, u_char[24])); | ^~~~~~~~ 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] 695 | NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash); | ^~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} chap_ms.c:519:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 519 | 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] 696 | NTPasswordHash(PasswordHash, sizeof(PasswordHash), PasswordHashHash); | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} chap_ms.c:519:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 519 | 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] 809 | NTPasswordHash(unicodePassword, secret_len * 2, PasswordHash); | ^~~~~~~~~~~~~~~ | | | u_char * {aka unsigned char *} chap_ms.c:519:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 519 | 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] 810 | NTPasswordHash(PasswordHash, sizeof(PasswordHash), PasswordHashHash); | ^~~~~~~~~~~~ | | | u_char * {aka unsigned char *} chap_ms.c:519:22: note: expected 'char *' but argument is of type 'u_char *' {aka 'unsigned char *'} 519 | NTPasswordHash(char *secret, int secret_len, u_char hash[MD4_SIGNATURE_SIZE]) | ~~~~~~^~~~~~ chap_ms.c: At top level: chap_ms.c:853:16: warning: argument 7 of type 'u_char[]' {aka 'unsigned char[]'} with mismatched bound [-Warray-parameter=] 853 | u_char authResponse[], int authenticator) | ~~~~~~~^~~~~~~~~~~~~~ In file included from /usr/include/features.h:490, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from chap_ms.c:81: chap_ms.h:105:39: note: previously declared as 'u_char[41]' {aka 'unsigned char[41]'} 105 | MS_Chap2Response *, u_char[MS_AUTH_RESPONSE_LENGTH+1], int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chap_ms.c:101:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 101 | 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:9: warning: implicit declaration of function 'setkey'; did you mean 'DesSetkey'? [-Wimplicit-function-declaration] 122 | setkey((const char *)crypt_key); | ^~~~~~ | DesSetkey pppcrypt.c: In function 'DesEncrypt': pppcrypt.c:137:9: warning: implicit declaration of function 'encrypt'; did you mean 'crypt'? [-Wimplicit-function-declaration] 137 | 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 /bin/ld: auth.o: in function `check_passwd': /home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/auth.c:1410: undefined reference to `crypt' /bin/ld: auth.o: in function `plogin': /home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/auth.c:1613: undefined reference to `crypt' /bin/ld: pppcrypt.o: in function `DesSetkey': /home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/pppcrypt.c:122: undefined reference to `setkey' /bin/ld: pppcrypt.o: in function `DesEncrypt': /home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd/pppcrypt.c:137: undefined reference to `encrypt' /bin/ld: 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]: *** [Makefile:211: pppd] Error 1 make[1]: Leaving directory '/home/pbulk/build/net/pppd/work/ppp-2.4.3/pppd' make: *** [Makefile:15: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/pppd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el9-trunk-x86_64/net/pppd