* Package: net-dialup/rp-pppoe-3.13 * Repository: gentoo * Maintainer: polynomial-c@gentoo.org base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking rp-pppoe-3.13.tar.gz to /var/tmp/portage/net-dialup/rp-pppoe-3.13/work >>> Unpacking ppp-2.4.7.tar.gz to /var/tmp/portage/net-dialup/rp-pppoe-3.13/work >>> Source unpacked in /var/tmp/portage/net-dialup/rp-pppoe-3.13/work >>> Preparing source in /var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13 ... * Applying rp-pppoe-3.10-gentoo-netscripts.patch ... [ ok ] * Applying rp-pppoe-3.10-username-charset.patch ... [ ok ] * Applying rp-pppoe-3.10-plugin-options.patch ... [ ok ] * Applying rp-pppoe-3.13-autotools.patch ... [ ok ] * Applying rp-pppoe-3.10-posix-source-sigaction.patch ... [ ok ] * Applying rp-pppoe-3.11-gentoo.patch ... [ ok ] * Applying rp-pppoe-3.11-kmode.patch ... [ ok ] * Applying rp-pppoe-3.13-linux-headers.patch ... [ ok ] * Applying rp-pppoe-3.12-ifconfig-path.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13/src' ... * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running elibtoolize in: rp-pppoe-3.13/src/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13 ... ./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 --docdir=/usr/share/doc/rp-pppoe-3.13 --htmldir=/usr/share/doc/rp-pppoe-3.13/html --libdir=/usr/lib PPPD_VER=2.4.7 --enable-plugin=../../ppp-2.4.7 checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/dlpi.h usability... no checking sys/dlpi.h presence... no checking for sys/dlpi.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking net/if_arp.h usability... yes checking net/if_arp.h presence... yes checking for net/if_arp.h... yes checking netinet/if_ether.h usability... yes checking netinet/if_ether.h presence... yes checking for netinet/if_ether.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking sys/uio.h usability... yes checking sys/uio.h presence... yes checking for sys/uio.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for fcntl.h... (cached) yes checking net/bpf.h usability... no checking net/bpf.h presence... no checking for net/bpf.h... no checking netpacket/packet.h usability... yes checking netpacket/packet.h presence... yes checking for netpacket/packet.h... yes checking net/ethernet.h usability... yes checking net/ethernet.h presence... yes checking for net/ethernet.h... yes checking asm/types.h usability... yes checking asm/types.h presence... yes checking for asm/types.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/cdefs.h usability... no checking sys/cdefs.h presence... no checking for sys/cdefs.h... no checking net/if.h usability... yes checking net/if.h presence... yes checking for net/if.h... yes checking net/if_dl.h usability... no checking net/if_dl.h presence... no checking for net/if_dl.h... no checking net/if_ether.h usability... no checking net/if_ether.h presence... no checking for net/if_ether.h... no checking net/if_types.h usability... no checking net/if_types.h presence... no checking for net/if_types.h... no checking for netinet/if_ether.h... (cached) yes checking for net/if_types.h... (cached) no checking for net/if_dl.h... (cached) no checking for linux/if.h... yes checking for linux/if_pppox.h... yes checking for an ANSI C-conforming const... yes checking for pid_t... yes checking whether time.h and sys/time.h may both be included... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct sockaddr_ll... yes checking for N_HDLC line discipline... yes checking for working memcmp... yes checking return type of signal handlers... void checking for select... yes checking for socket... yes checking for strerror... yes checking for strtol... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking for pppd... /usr/sbin/pppd checking for echo... /bin/echo checking for setsid... /usr/bin/setsid checking for id... /usr/bin/id checking for Linux 2.4.X kernel-mode PPPoE support... no *** Your kernel does not appear to have built-in PPPoE support, *** but I will build the kernel-mode plugin anyway. checking packing order of bit fields... reversed configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating libevent/Makefile config.status: creating ../scripts/pppoe-connect config.status: creating ../scripts/pppoe-start config.status: creating ../scripts/pppoe-stop config.status: creating ../scripts/pppoe-init config.status: creating ../scripts/pppoe-init-suse config.status: creating ../scripts/pppoe-init-turbolinux config.status: creating ../scripts/pppoe-setup config.status: creating ../gui/Makefile config.status: WARNING: '../gui/Makefile.in' seems to ignore the --datarootdir setting config.status: creating ../gui/tkpppoe config.status: creating config.h On this platform, the following targets will be built: pppoe pppoe-server pppoe-sniff pppoe-relay rp-pppoe.so Type 'make' to compile the software. >>> Source configured. >>> Compiling source in /var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13 ... make -j1 x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-strict-aliasing -Wall -Wstrict-prototypes '-DPPPOE_PATH="/usr/sbin/pppoe"' '-DPPPD_PATH="/usr/sbin/pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.13"' -c -o pppoe.o pppoe.c In file included from pppoe.h:132, from pppoe.c:16: /usr/include/netinet/if_ether.h:113:8: error: redefinition of ‘struct ethhdr’ 113 | struct ethhdr { | ^~~~~~ In file included from pppoe.h:122, from pppoe.c:16: /usr/include/linux/if_ether.h:163:8: note: originally defined here 163 | struct ethhdr { | ^~~~~~ make: *** [Makefile:88: pppoe.o] Error 1 * ERROR: net-dialup/rp-pppoe-3.13::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-dialup/rp-pppoe-3.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-dialup/rp-pppoe-3.13::gentoo'`. * The complete build log is located at '/var/log/portage/net-dialup:rp-pppoe-3.13:20200402-184108.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dialup/rp-pppoe-3.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/rp-pppoe-3.13/temp/environment'. * Working directory: '/var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13/src' * S: '/var/tmp/portage/net-dialup/rp-pppoe-3.13/work/rp-pppoe-3.13'