* Package: net-dialup/openl2tp-1.8-r2 * Repository: gentoo * Maintainer: bircoph@gentoo.org * USE: abi_x86_64 amd64 client dmalloc elibc_glibc examples kernel_linux 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 * Could not find a Makefile in the kernel source directory. * Please ensure that /usr/src/linux points to a complete set of Linux sources * Unable to calculate Linux Kernel version for build, attempting to use running version * Checking for suitable kernel configuration options... * CONFIG_PPPOL2TP: is not set when it should be. * Please check to make sure these options are set correctly. * Failure to do so may cause unexpected problems. >>> Unpacking source... >>> Unpacking openl2tp-1.8.tar.gz to /var/tmp/portage/net-dialup/openl2tp-1.8-r2/work >>> Source unpacked in /var/tmp/portage/net-dialup/openl2tp-1.8-r2/work >>> Preparing source in /var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8 ... * Applying openl2tp-1.8-werror.patch ... [ ok ] * Applying openl2tp-1.8-ldflags.patch ... [ ok ] * Applying openl2tp-1.8-pppd-2.patch ... [ ok ] * Applying openl2tp-1.8-man.patch ... [ ok ] * Applying openl2tp-1.8-l2tpconfig.patch ... [ ok ] * Applying openl2tp-1.8-parallelbuild.patch ... [ ok ] * Applying openl2tp-1.8-optionsfile.patch ... [ ok ] * Applying openl2tp-1.8-clientip_as_ipparam.patch ... patching file doc/openl2tp_rpc.4 patching file l2tp_common.c patching file l2tp_config.c Hunk #1 succeeded at 3124 with fuzz 2. patching file l2tp_config_parse.y patching file l2tp_config_token.l patching file l2tp_ppp.c patching file l2tp_rpc.x patching file plugins/ppp_unix.c Hunk #1 succeeded at 293 (offset -2 lines). [ ok ] * Applying openl2tp-1.8-setkey.patch ... [ ok ] * Applying openl2tp-1.8-unused-var.patch ... [ ok ] * Applying openl2tp-1.8-configure-Makefile.patch ... [ ok ] * Applying openl2tp-1.8-cflags.patch ... [ ok ] * Applying openl2tp-1.8-tirpc.patch ... [ ok ] * Applying openl2tp-1.8-native-tc.patch ... [ ok ] * Applying openl2tp-1.8-musl.patch ... [ ok ] * Applying openl2tp-1.8-strings.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8 ... make -j1 L2TP_FEATURE_LNS_SUPPORT=n L2TP_FEATURE_LNIC_SUPPORT=n L2TP_FEATURE_LNOC_SUPPORT=n L2TP_FEATURE_RPC_MANAGEMENT=n USE_DMALLOC=y rm -f l2tp_rpc.h rpcgen -N -M -C -L -h -o l2tp_rpc.h l2tp_rpc.x flex -ol2tp_config_token.c l2tp_config_token.l bison -d -o l2tp_config_parse.c l2tp_config_parse.y make -C usl -j1 EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" make[1]: Entering directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/usl' cc -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g -DUSL_DMALLOC usl_fd.c -o usl_fd.o cc -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g -DUSL_DMALLOC usl_misc.c -o usl_misc.o cc -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g -DUSL_DMALLOC usl_pid.c -o usl_pid.o cc -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g -DUSL_DMALLOC usl_signal.c -o usl_signal.o cc -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g -DUSL_DMALLOC usl_timer.c -o usl_timer.o usl_timer.c: In function ‘usl_timer_tick’: usl_timer.c:91:6: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 91 | int result; | ^~~~~~ usl_timer.c: In function ‘usl_timer_tick_handler’: usl_timer.c:115:6: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 115 | int result; | ^~~~~~ cc -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g -DUSL_DMALLOC usl_fsm.c -o usl_fsm.o ar rus libusl.a usl_fd.o usl_misc.o usl_pid.o usl_signal.o usl_timer.o usl_fsm.o ar: creating libusl.a make[1]: Leaving directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/usl' make -C cli -j1 EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" make[1]: Entering directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/cli' cc -c -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -I.. cli_lib.c -o cli_lib.o cc -c -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -I.. cli_readline.c -o cli_readline.o cc -c -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -I.. cli_util.c -o cli_util.o ar rus libcli.a cli_lib.o cli_readline.o cli_util.o ar: creating libcli.a make[1]: Leaving directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/cli' make -C plugins -j1 EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" make[1]: Entering directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/plugins' cc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ppp_unix.so -shared -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -isystem ../include -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC ppp_unix.c ppp_unix.c: In function ‘ppp_unix_socket_connect’: ppp_unix.c:439:35: warning: converting a packed ‘struct sockaddr_pppol2tp’ pointer (alignment 1) to a ‘const struct sockaddr’ pointer (alignment 2) may result in an unaligned pointer value [-Waddress-of-packed-member] 439 | fd = connect(session_fd, (struct sockaddr *)&sax, sizeof(sax)); | ^~~~~~~~ In file included from ppp_unix.c:45: /usr/include/linux/if_pppox.h:79:8: note: defined here 79 | struct sockaddr_pppol2tp { | ^~~~~~~~~~~~~~~~~ cc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ppp_null.so -shared -O2 -pipe -march=native -fno-diagnostics-color -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DL2TP_DMALLOC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -isystem ../include -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC ppp_null.c /usr/include/stdlib.h:539:14: error: expected declaration specifiers or ‘...’ before string constant 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:539:14: error: expected declaration specifiers or ‘...’ before numeric constant 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ In file included from ../l2tp_private.h:37, from ppp_null.c:24: /usr/include/stdlib.h:539:14: error: expected declaration specifiers or ‘...’ before ‘(’ token 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:539:14: error: expected declaration specifiers or ‘...’ before numeric constant 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:539:14: error: expected declaration specifiers or ‘...’ before numeric constant 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:539:14: error: expected declaration specifiers or ‘...’ before numeric constant 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:542:14: error: expected declaration specifiers or ‘...’ before string constant 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /usr/include/stdlib.h:542:14: error: expected declaration specifiers or ‘...’ before numeric constant 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /usr/include/stdlib.h:542:14: error: expected declaration specifiers or ‘...’ before ‘(’ token 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /usr/include/stdlib.h:542:14: error: expected declaration specifiers or ‘...’ before numeric constant 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /usr/include/stdlib.h:542:14: error: expected declaration specifiers or ‘...’ before numeric constant 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /usr/include/stdlib.h:542:14: error: expected declaration specifiers or ‘...’ before numeric constant 542 | extern void *calloc (size_t __nmemb, size_t __size) | ^~~~~~ /usr/include/stdlib.h:550:14: error: expected declaration specifiers or ‘...’ before string constant 550 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ /usr/include/stdlib.h:550:14: error: expected declaration specifiers or ‘...’ before numeric constant 550 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ /usr/include/stdlib.h:550:14: error: expected declaration specifiers or ‘...’ before ‘(’ token 550 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ /usr/include/stdlib.h:550:14: error: expected declaration specifiers or ‘...’ before ‘(’ token 550 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ /usr/include/stdlib.h:550:14: error: expected declaration specifiers or ‘...’ before numeric constant 550 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ /usr/include/stdlib.h:550:14: error: expected declaration specifiers or ‘...’ before numeric constant 550 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ /usr/include/stdlib.h:565:13: error: expected declaration specifiers or ‘...’ before string constant 565 | extern void free (void *__ptr) __THROW; | ^~~~ /usr/include/stdlib.h:565:13: error: expected declaration specifiers or ‘...’ before numeric constant 565 | extern void free (void *__ptr) __THROW; | ^~~~ /usr/include/stdlib.h:565:13: error: expected declaration specifiers or ‘...’ before ‘(’ token 565 | extern void free (void *__ptr) __THROW; | ^~~~ /usr/include/stdlib.h:565:13: error: expected declaration specifiers or ‘...’ before numeric constant 565 | extern void free (void *__ptr) __THROW; | ^~~~ /usr/include/stdlib.h:574:14: error: expected declaration specifiers or ‘...’ before string constant 574 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:574:14: error: expected declaration specifiers or ‘...’ before numeric constant 574 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:574:14: error: expected declaration specifiers or ‘...’ before ‘(’ token 574 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:574:14: error: expected declaration specifiers or ‘...’ before numeric constant 574 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:574:14: error: expected declaration specifiers or ‘...’ before numeric constant 574 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ /usr/include/stdlib.h:574:14: error: expected declaration specifiers or ‘...’ before numeric constant 574 | extern void *valloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ make[1]: *** [Makefile:24: ppp_null.so] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/plugins' make: *** [Makefile:203: subdir-plugins] Error 2 * ERROR: net-dialup/openl2tp-1.8-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-dialup/openl2tp-1.8-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-dialup/openl2tp-1.8-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-dialup:openl2tp-1.8-r2:20210131-161342.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8' * S: '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8'