* Package: net-dialup/ppp-2.4.7-r6 * Repository: gentoo * Maintainer: polynomial-c@gentoo.org base-system@gentoo.org * USE: abi_x86_64 amd64 eap-tls elibc_glibc ipv6 kernel_linux libressl pam userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/4.17.0-gentoo/build * Found sources for kernel version: * 4.17.0-gentoo >>> Unpacking source... >>> Unpacking ppp-2.4.7.tar.gz to /var/tmp/portage/net-dialup/ppp-2.4.7-r6/work >>> Unpacking ppp-2.4.7-patches-6.tar.xz to /var/tmp/portage/net-dialup/ppp-2.4.7-r6/work >>> Unpacking ppp-dhcpc.tgz to /var/tmp/portage/net-dialup/ppp-2.4.7-r6/work >>> Source unpacked in /var/tmp/portage/net-dialup/ppp-2.4.7-r6/work >>> Preparing source in /var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7 ... * Applying patches from /var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/patch ... * 02_all_make-vars.patch ... [ ok ] * 03_all_use_internal_logwtmp.patch ... [ ok ] * 04_all_mpls.patch ... [ ok ] * 06_all_killaddr-smarter.patch ... [ ok ] * 08_all_wait-children.patch ... [ ok ] * 10_all_defaultgateway.patch ... [ ok ] * 12_all_linkpidfile.patch ... [ ok ] * 16_all_auth-fail.patch ... [ ok ] * 18_all_defaultmetric.patch ... [ ok ] * 19_all_radius_pid_overflow.patch ... [ ok ] * 20_all_dev-ppp.patch ... [ ok ] * 21_all_custom_iface_names.patch ... [ ok ] * 24_all_passwordfd-read-early.patch ... [ ok ] * 26_all_pppd-usepeerwins.patch ... [ ok ] * 28_all_connect-errors.patch ... [ ok ] * 30_all_Makefile.patch ... [ ok ] * 32_all_pado-timeout.patch ... [ ok ] * 34_all_lcp-echo-adaptive.patch ... [ ok ] * 50_all_linux-headers.patch ... [ ok ] * 80_all_eaptls-mppe-1.101a.patch ... [ ok ] * 85_all_dhcp-make-vars.patch ... [ ok ] * 86_all_dhcp-sys_error_to_strerror.patch ... [ ok ] * Disabling active filter * Enabling PAM * Enabling IPv6 * Enabling CBCP * Disabling radius >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 Configuring for Linux Creating Makefiles. Makefile <= linux/Makefile.top pppd/Makefile <= pppd/Makefile.linux pppstats/Makefile <= pppstats/Makefile.linux chat/Makefile <= chat/Makefile.linux pppdump/Makefile <= pppdump/Makefile.linux pppd/plugins/Makefile <= pppd/plugins/Makefile.linux pppd/plugins/rp-pppoe/Makefile <= pppd/plugins/rp-pppoe/Makefile.linux pppd/plugins/radius/Makefile <= pppd/plugins/radius/Makefile.linux pppd/plugins/pppoatm/Makefile <= pppd/plugins/pppoatm/Makefile.linux pppd/plugins/pppol2tp/Makefile <= pppd/plugins/pppol2tp/Makefile.linux >>> Source configured. >>> Compiling source in /var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7 ... make -j1 'COPTS=-O2 -pipe -march=native -D_GNU_SOURCE' cd chat; make -j1 all make[1]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/chat' x86_64-pc-linux-gnu-gcc -c -O2 -pipe -march=native -D_GNU_SOURCE -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c chat.c: In function ‘chat_send’: chat.c:1045: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:1368:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(2, "\n", 1); ^~~~~~~~~~~~~~~~~ chat.c:1373:2: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write(2, s, strlen(s)); ^~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -D_GNU_SOURCE -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat chat.o make[1]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/chat' cd pppd/plugins; make -j1 all make[1]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd/plugins' x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -pipe -march=native -D_GNU_SOURCE -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -o minconn.so minconn.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -pipe -march=native -D_GNU_SOURCE -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -o passprompt.so 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()); ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -pipe -march=native -D_GNU_SOURCE -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -o passwordfd.so passwordfd.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -pipe -march=native -D_GNU_SOURCE -I.. -I../../include -fPIC -DUSE_EAPTLS=1 -DMPPE=1 -o winbind.so winbind.c winbind.c: In function ‘run_ntlm_auth’: winbind.c:305:3: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ for d in rp-pppoe pppoatm pppol2tp; do make -w -j1 -C $d all || exit minconn.so passprompt.so passwordfd.so winbind.so; done make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd/plugins/rp-pppoe' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o -fPIC plugin.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o discovery.o -fPIC discovery.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o if.o -fPIC if.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o common.o -fPIC common.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -pipe -march=native -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -o rp-pppoe.so plugin.o discovery.o if.o common.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -c -o pppoe-discovery.o pppoe-discovery.c In file included from pppoe-discovery.c:19:0: pppoe-discovery.c: In function ‘sendPADI’: pppoe.h:299:2: warning: implicit declaration of function ‘error’; did you mean ‘perror’? [-Wimplicit-function-declaration] error("Would create too-long packet"); \ ^ pppoe-discovery.c:456:5: note: in expansion of macro ‘CHECK_ROOM’ CHECK_ROOM(cursor, packet.payload, plen); ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -c -o debug.o debug.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -o pppoe-discovery pppoe-discovery.o debug.o make[2]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd/plugins/rp-pppoe' make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd/plugins/pppoatm' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o pppoatm.o pppoatm.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -pipe -march=native -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -o pppoatm.so pppoatm.o text2qos.o text2atm.o misc.o ans.o -lresolv make[2]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd/plugins/pppoatm' make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd/plugins/pppol2tp' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -pipe -march=native -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -o pppol2tp.so pppol2tp.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -c -o openl2tp.o openl2tp.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -O2 -pipe -march=native -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -o openl2tp.so openl2tp.o rm openl2tp.o pppol2tp.o make[2]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd/plugins/pppol2tp' make[1]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd/plugins' cd pppd; make -j1 all make[1]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o main.o main.c main.c: In function ‘detach’: main.c:773:5: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ main.c: In function ‘device_script’: main.c:1716:5: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ main.c:1717: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:1827:5: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] (void) chdir ("/"); /* no current directory. */ ^~~~~~~~~~~~~~~~~~ main.c:1828:5: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result] setuid(0); /* set real UID = root */ ^~~~~~~~~ main.c:1829:5: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] setgid(getegid()); ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o magic.o magic.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o fsm.o fsm.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o lcp.o lcp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ipcp.o ipcp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o upap.o upap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap-new.o chap-new.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o md5.o md5.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ccp.o ccp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ecp.o ecp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o auth.o auth.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o options.o options.c options.c: In function ‘user_unsetenv’: options.c:1755:13: warning: comparison between pointer and zero character constant [-Wpointer-compare] if (arg == '\0') { ^~ options.c:1755:9: note: did you mean to dereference the pointer? if (arg == '\0') { ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o demand.o demand.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o utils.o utils.c utils.c: In function ‘lock’: utils.c:974: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:1016:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] write (fd, lock_buffer, 11); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o sys-linux.o sys-linux.c sys-linux.c: In function ‘logwtmp’: sys-linux.c:2270: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:0: /usr/include/time.h:75:15: 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:2732:7: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result [-Wunused-result] fchown(sfd, uid, -1); ^~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o ipxcp.o ipxcp.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o tty.o tty.c tty.c: In function ‘start_charshunt’: tty.c:943:2: warning: ignoring return value of ‘setgid’, declared with attribute warn_unused_result [-Wunused-result] setgid(getgid()); ^~~~~~~~~~~~~~~~ tty.c:944:2: warning: ignoring return value of ‘setuid’, declared with attribute warn_unused_result [-Wunused-result] setuid(uid); ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o eap.o eap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap-md5.o chap-md5.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o session.o session.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o mplscp.o mplscp.c mplscp.c:42:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types] mplscp_nakci, /* NAK our Configuration Information */ ^~~~~~~~~~~~ mplscp.c:42:3: note: (near initialization for ‘mplscp_callbacks.nakci’) x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o md4.o md4.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o chap_ms.o chap_ms.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o sha1.o sha1.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -D_GNU_SOURCE -DHAVE_PATHS_H -DIPX_CHANGE -DHAVE_MMAP -I../include '-DDESTDIR="/usr"' -DCHAPMS=1 -DMPPE=1 -DUSE_EAPTLS=1 -I/usr/kerberos/include -DHAS_SHADOW -DHAVE_CRYPT_H=1 -DHAVE_LOGWTMP=1 -DUSE_CRYPT=1 -DUSE_PAM -DHAVE_MULTILINK -DUSE_TDB=1 -DPLUGIN -DINET6=1 -DCBCP_SUPPORT -DMAXOCTETS -c -o eap-tls.o eap-tls.c eap-tls.c: In function ‘ssl_msg_callback’: eap-tls.c:1210:7: error: ‘SSL3_RT_HEADER’ undeclared (first use in this function); did you mean ‘SSL3_RT_ALERT’? case SSL3_RT_HEADER: ^~~~~~~~~~~~~~ SSL3_RT_ALERT eap-tls.c:1210:7: note: each undeclared identifier is reported only once for each function it appears in eap-tls.c:1228:8: error: ‘DTLS1_2_VERSION’ undeclared (first use in this function); did you mean ‘TLS1_2_VERSION’? case DTLS1_2_VERSION: ^~~~~~~~~~~~~~~ TLS1_2_VERSION make[1]: *** [: eap-tls.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7/pppd' make: *** [Makefile:15: all] Error 2 * ERROR: net-dialup/ppp-2.4.7-r6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-dialup/ppp-2.4.7-r6::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-dialup/ppp-2.4.7-r6::gentoo'`. * The complete build log is located at '/var/log/portage/net-dialup:ppp-2.4.7-r6:20180612-095829.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/temp/environment'. * Working directory: '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7' * S: '/var/tmp/portage/net-dialup/ppp-2.4.7-r6/work/ppp-2.4.7'