* Package: net-dialup/ppp-2.4.7-r99 * Repository: musl * Maintainer: polynomial-c@gentoo.org base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl ipv6 kernel_linux pam userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Unable to find kernel sources at /usr/src/linux * Please make sure that /usr/src/linux points at your running kernel, * (or the kernel you wish to build against). * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location * Unable to calculate Linux Kernel version for build, attempting to use running version >>> Unpacking source... >>> Unpacking ppp-2.4.7.tar.gz to /var/tmp/portage/net-dialup/ppp-2.4.7-r99/work >>> Unpacking ppp-2.4.7-patches-1.tar.xz to /var/tmp/portage/net-dialup/ppp-2.4.7-r99/work >>> Unpacking ppp-dhcpc.tgz to /var/tmp/portage/net-dialup/ppp-2.4.7-r99/work >>> Source unpacked in /var/tmp/portage/net-dialup/ppp-2.4.7-r99/work >>> Preparing source in /var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7 ... * Applying various patches (bugfixes/updates) ... * 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 ] * 20_all_dev-ppp.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 ] * Skipping 80_all_eaptls-mppe-0.997.patch due to EPATCH_EXCLUDE ... * 85_all_dhcp-make-vars.patch ... [ ok ] * 86_all_dhcp-sys_error_to_strerror.patch ... [ ok ] * Done with patching * Disabling active filter * Enabling PAM * Enabling IPv6 * Enabling CBCP * Disabling radius * Conditionally patching for musl * Applying ppp-2.4.7-musl.patch ... [ ok ] * QA Notice: Global shell options changed and were not restored while calling 'src_prepare' >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib 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-r99/work/ppp-2.4.7 ... make -j1 'COPTS=-march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE' cd chat; make -j1 all make[1]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7/chat' x86_64-gentoo-linux-musl-gcc -c -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -DTERMIOS -DSIGTYPE=void -UNO_SLEEP -DFNDELAY=O_NDELAY -o chat.o chat.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -march=x86-64 -mtune=generic -O2 -pipe -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-r99/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-r99/work/ppp-2.4.7/pppd/plugins' x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I.. -I../../include -fPIC -DMPPE=1 -o minconn.so minconn.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I.. -I../../include -fPIC -DMPPE=1 -o passprompt.so passprompt.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I.. -I../../include -fPIC -DMPPE=1 -o passwordfd.so passwordfd.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I.. -I../../include -fPIC -DMPPE=1 -o winbind.so winbind.c 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-r99/work/ppp-2.4.7/pppd/plugins/rp-pppoe' x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o plugin.o -fPIC plugin.c x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o discovery.o -fPIC discovery.c x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o if.o -fPIC if.c x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -I../../.. -c -o common.o -fPIC common.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -o rp-pppoe.so plugin.o discovery.o if.o common.o x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -c -o pppoe-discovery.o pppoe-discovery.c x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../../../include '-DRP_VERSION="3.8p"' -c -o debug.o debug.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -march=x86-64 -mtune=generic -O2 -pipe -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-r99/work/ppp-2.4.7/pppd/plugins/rp-pppoe' make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7/pppd/plugins/pppoatm' x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o pppoatm.o pppoatm.c x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o text2qos.o text2qos.c x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o text2atm.o text2atm.c x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o misc.o misc.c x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I../.. -I../../../include -fPIC -I. -c -o ans.o ans.c x86_64-gentoo-linux-musl-gcc -Wl,-O1 -Wl,--as-needed -shared -Wl,--allow-shlib-undefined -march=x86-64 -mtune=generic -O2 -pipe -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-r99/work/ppp-2.4.7/pppd/plugins/pppoatm' make[2]: Entering directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7/pppd/plugins/pppol2tp' x86_64-gentoo-linux-musl-gcc -march=x86-64 -mtune=generic -O2 -pipe -D_GNU_SOURCE -I. -I../.. -I../../../include -fPIC -c -o pppol2tp.o pppol2tp.c In file included from pppol2tp.c:34:0: /usr/include/linux/if.h:79:2: error: expected identifier before numeric constant IFF_UP = 1<<0, /* sysfs */ ^ In file included from /usr/include/linux/if_pppox.h:24:0, from pppol2tp.c:49: /usr/include/linux/if.h:189:8: error: redefinition of ‘struct ifmap’ struct ifmap { ^ In file included from pppol2tp.c:34:0: /usr/include/net/if.h:64:8: note: originally defined here struct ifmap { ^ In file included from /usr/include/linux/if_pppox.h:24:0, from pppol2tp.c:49: /usr/include/linux/if.h:226:8: error: redefinition of ‘struct ifreq’ struct ifreq { ^ In file included from pppol2tp.c:34:0: /usr/include/net/if.h:76:8: note: originally defined here struct ifreq { ^ In file included from /usr/include/linux/if_pppox.h:24:0, from pppol2tp.c:49: /usr/include/linux/if.h:278:8: error: redefinition of ‘struct ifconf’ struct ifconf { ^ In file included from pppol2tp.c:34:0: /usr/include/net/if.h:116:8: note: originally defined here struct ifconf { ^ In file included from pppol2tp.c:37:0: /usr/include/linux/in.h:28:3: error: expected identifier before numeric constant IPPROTO_IP = 0, /* Dummy protocol for TCP */ ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:84:8: error: redefinition of ‘struct in_addr’ struct in_addr { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:14:8: note: originally defined here struct in_addr { in_addr_t s_addr; }; ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:167:8: error: redefinition of ‘struct ip_mreq’ struct ip_mreq { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:245:8: note: originally defined here struct ip_mreq { ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:172:8: error: redefinition of ‘struct ip_mreqn’ struct ip_mreqn { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:250:8: note: originally defined here struct ip_mreqn { ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:178:8: error: redefinition of ‘struct ip_mreq_source’ struct ip_mreq_source { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:256:8: note: originally defined here struct ip_mreq_source { ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:184:8: error: redefinition of ‘struct ip_msfilter’ struct ip_msfilter { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:262:8: note: originally defined here struct ip_msfilter { ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:196:8: error: redefinition of ‘struct group_req’ struct group_req { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:273:8: note: originally defined here struct group_req { ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:201:8: error: redefinition of ‘struct group_source_req’ struct group_source_req { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:278:8: note: originally defined here struct group_source_req { ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:207:8: error: redefinition of ‘struct group_filter’ struct group_filter { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:284:8: note: originally defined here struct group_filter { ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:221:8: error: redefinition of ‘struct in_pktinfo’ struct in_pktinfo { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:295:8: note: originally defined here struct in_pktinfo { ^ In file included from /usr/include/linux/if_pppol2tp.h:19:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in.h:231:8: error: redefinition of ‘struct sockaddr_in’ struct sockaddr_in { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:16:8: note: originally defined here struct sockaddr_in { ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in6.h:32:8: error: redefinition of ‘struct in6_addr’ struct in6_addr { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:23:8: note: originally defined here struct in6_addr { ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in6.h:49:8: error: redefinition of ‘struct sockaddr_in6’ struct sockaddr_in6 { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:34:8: note: originally defined here struct sockaddr_in6 { ^ In file included from /usr/include/linux/if_pppol2tp.h:20:0, from /usr/include/linux/if_pppox.h:26, from pppol2tp.c:49: /usr/include/linux/in6.h:59:8: error: redefinition of ‘struct ipv6_mreq’ struct ipv6_mreq { ^ In file included from pppol2tp.c:37:0: /usr/include/netinet/in.h:42:8: note: originally defined here struct ipv6_mreq { ^ make[2]: *** [Makefile:27: pppol2tp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7/pppd/plugins/pppol2tp' /bin/sh: line 0: exit: minconn.so: numeric argument required make[1]: *** [Makefile:34: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7/pppd/plugins' make: *** [Makefile:14: all] Error 2 * ERROR: net-dialup/ppp-2.4.7-r99::musl failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-dialup/ppp-2.4.7-r99::musl'`, * the complete build log and the output of `emerge -pqv '=net-dialup/ppp-2.4.7-r99::musl'`. * The complete build log is located at '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/temp/environment'. * Working directory: '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7' * S: '/var/tmp/portage/net-dialup/ppp-2.4.7-r99/work/ppp-2.4.7'