Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 877415 Details for
Bug 919269
net-dialup/openl2tp-1.8-r2 - [clang] l2tp_config_token.l: error: call to undeclared function l2tp_log; ISO
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-dialup:openl2tp-1.8-r2:20231205-120917.log
net-dialup:openl2tp-1.8-r2:20231205-120917.log (text/plain), 36.20 KB, created by
Toralf Förster
on 2023-12-05 12:27:08 UTC
(
hide
)
Description:
net-dialup:openl2tp-1.8-r2:20231205-120917.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-05 12:27:08 UTC
Size:
36.20 KB
patch
obsolete
> * Package: net-dialup/openl2tp-1.8-r2:0 > * Repository: gentoo > * Maintainer: bircoph@gentoo.org > * USE: abi_x86_64 amd64 client elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > * Determining the location of the kernel source code > * Found kernel source directory: > * /usr/src/linux > * Found sources for kernel version: > * 6.6.4-gentoo-dist > * Checking for suitable kernel configuration options ... > [ ok ] >>>> 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. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> 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 -j4 L2TP_FEATURE_LNS_SUPPORT=n L2TP_FEATURE_LNIC_SUPPORT=n L2TP_FEATURE_LNOC_SUPPORT=n L2TP_FEATURE_RPC_MANAGEMENT=n >rm -f l2tp_rpc.h >flex -ol2tp_config_token.c l2tp_config_token.l >bison -d -o l2tp_config_parse.c l2tp_config_parse.y >rpcgen -N -M -C -L -h -o l2tp_rpc.h l2tp_rpc.x >make -C usl -j4 --jobserver-auth=fifo:/var/tmp/portage/net-dialup/openl2tp-1.8-r2/temp/GMfifo27 EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" >make -C cli -j4 --jobserver-auth=fifo:/var/tmp/portage/net-dialup/openl2tp-1.8-r2/temp/GMfifo27 EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" >make -C plugins -j4 --jobserver-auth=fifo:/var/tmp/portage/net-dialup/openl2tp-1.8-r2/temp/GMfifo27 EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" >make -C doc -j4 --jobserver-auth=fifo:/var/tmp/portage/net-dialup/openl2tp-1.8-r2/temp/GMfifo27 EXTRA_CFLAGS=" -DL2TP_ASYNC_RPC" >make[1]: Entering directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/cli' >make[1]: warning: -j4 forced in submake: resetting jobserver mode. >make[1]: Entering directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/doc' >make[1]: Entering directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/usl' >make[1]: warning: -j4 forced in submake: resetting jobserver mode. >make[1]: warning: -j4 forced in submake: resetting jobserver mode. >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -I.. cli_lib.c -o cli_lib.o >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -I.. cli_readline.c -o cli_readline.o >clang -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g usl_fd.c -o usl_fd.o >make[1]: Nothing to be done for 'all'. >make[1]: Leaving directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/doc' >make[1]: Entering directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/plugins' >make[1]: warning: -j4 forced in submake: resetting jobserver mode. >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -I.. cli_util.c -o cli_util.o >clang -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g usl_misc.c -o usl_misc.o >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_main.c -o l2tp_main.o >clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ppp_unix.so -shared -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -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 >clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ppp_null.so -shared -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -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 >clang -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g usl_pid.c -o usl_pid.o >clang -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g usl_signal.c -o usl_signal.o >clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ipsec.so -shared -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -isystem ../include -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC ipsec.c >clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o event_sock.so -shared -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -MMD -Wall -isystem ../include -I. -I.. -I../usl -fPIC -DL2TP_ASYNC_RPC event_sock.c >usl_signal.c:88:21: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 88 | usl_sigdata.sighup = 1; > | ^ ~ >usl_signal.c:100:22: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 100 | usl_sigdata.sigterm = 1; > | ^ ~ >usl_signal.c:113:22: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 113 | usl_sigdata.sigchld = 1; > | ^ ~ >clang -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g usl_timer.c -o usl_timer.o >cli_lib.c:425:20: warning: expression which evaluates to zero treated as a null > pointer constant of type 'char *' [-Wnon-literal-null-conversion] > 425 | values[arg] = '\0'; > | ^~~~ >cli_lib.c:528:26: warning: taking the absolute value of unsigned type > 'unsigned long' has no effect [-Wabsolute-value] > 528 | if ((*endp == '\0') && (labs(tmp) < 32768)) { > | ^ >cli_lib.c:528:26: note: remove the call to 'labs' since unsigned values cannot > be negative > 528 | if ((*endp == '\0') && (labs(tmp) < 32768)) { > | ^~~~ >cli_lib.c:545:26: warning: taking the absolute value of unsigned type > 'unsigned long' has no effect [-Wabsolute-value] > 545 | if ((*endp == '\0') && (labs(tmp) < 128)) { > | ^ >cli_lib.c:545:26: note: remove the call to 'labs' since unsigned values cannot > be negative > 545 | if ((*endp == '\0') && (labs(tmp) < 128)) { > | ^~~~ >cli_lib.c:579:26: warning: taking the absolute value of unsigned type > 'unsigned long' has no effect [-Wabsolute-value] > 579 | if ((*endp == '\0') && (labs(tmp) < 65536)) { > | ^ >cli_lib.c:579:26: note: remove the call to 'labs' since unsigned values cannot > be negative > 579 | if ((*endp == '\0') && (labs(tmp) < 65536)) { > | ^~~~ >cli_lib.c:596:26: warning: taking the absolute value of unsigned type > 'unsigned long' has no effect [-Wabsolute-value] > 596 | if ((*endp == '\0') && (labs(tmp) < 255)) { > | ^ >cli_lib.c:596:26: note: remove the call to 'labs' since unsigned values cannot > be negative > 596 | if ((*endp == '\0') && (labs(tmp) < 255)) { > | ^~~~ >clang -c -I. -MMD -Wall -Wno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -g usl_fsm.c -o usl_fsm.o >l2tp_main.c:443:40: warning: implicit conversion from 'int' to 'float' changes > value from 2147483647 to 2147483648 > [-Wimplicit-const-int-float-conversion] > 443 | return min + (int) (scale * rand() / (RAND_MAX + scale)); > | ^~~~~~~~ ~ >/usr/include/stdlib.h:87:18: note: expanded from macro 'RAND_MAX' > 87 | #define RAND_MAX 2147483647 > | ^~~~~~~~~~ >3 warnings generated. >ppp_unix.c:498:18: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 498 | ppp->creating = 1; > | ^ ~ >ppp_unix.c:551:16: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 551 | ppp->closed = 1; > | ^ ~ >ppp_unix.c:1075:16: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 1075 | ppp->running = 1; /* set flag to indicate we are expecti... > | ^ ~ >ppp_unix.c:1174:17: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 1174 | ppp->deleting = 1; /* wait for usl callback before freeing */ > | ^ ~ >ppp_unix.c:1419:19: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 1419 | ppp->creating = 1; > | ^ ~ >usl_timer.c:91:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > 91 | int result; > | ^ >usl_timer.c:115:6: warning: variable 'result' set but not used > [-Wunused-but-set-variable] > 115 | int result; > | ^ >1 warning generated. >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_common.c -o l2tp_common.o >5 warnings generated. >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' >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_avp.c -o l2tp_avp.o >2 warnings generated. >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' >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_packet.c -o l2tp_packet.o >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_network.c -o l2tp_network.o >l2tp_avp.c:474:9: warning: passing arguments to 'MD5Init' without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 474 | MD5Init(&ctx); > | ^ >l2tp_avp.c:475:11: warning: passing arguments to 'MD5Update' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 475 | MD5Update(&ctx, &hdr->type, 2); > | ^ >l2tp_avp.c:475:19: warning: taking address of packed member 'type' of class or > structure 'l2tp_avp_hdr' may result in an unaligned pointer value > [-Waddress-of-packed-member] > 475 | MD5Update(&ctx, &hdr->type, 2); > | ^~~~~~~~~ >l2tp_avp.c:476:11: warning: passing arguments to 'MD5Update' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 476 | MD5Update(&ctx, secret, secret_len); > | ^ >l2tp_avp.c:477:11: warning: passing arguments to 'MD5Update' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 477 | MD5Update(&ctx, random_vector, random_vector_len); > | ^ >l2tp_avp.c:478:10: warning: passing arguments to 'MD5Final' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 478 | MD5Final(digest, &ctx); > | ^ >l2tp_avp.c:485:11: warning: passing arguments to 'MD5Init' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 485 | MD5Init(&ctx); > | ^ >l2tp_avp.c:486:13: warning: passing arguments to 'MD5Update' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 486 | MD5Update(&ctx, secret, secret_len); > | ^ >l2tp_avp.c:487:13: warning: passing arguments to 'MD5Update' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 487 | MD5Update(&ctx, &data[buffer_pos] - 16, 16); > | ^ >l2tp_avp.c:488:12: warning: passing arguments to 'MD5Final' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 488 | MD5Final(digest, &ctx); > | ^ >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_tunnel.c -o l2tp_tunnel.o >l2tp_network.c:419:18: warning: field 'cm' with variable sized type > 'struct cmsghdr' not at the end of a struct or class is a GNU extension > [-Wgnu-variable-sized-type-not-at-end] > 419 | struct cmsghdr cm; > | ^ >5 warnings generated. >make[1]: Leaving directory '/var/tmp/portage/net-dialup/openl2tp-1.8-r2/work/openl2tp-1.8/plugins' >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_peer.c -o l2tp_peer.o >l2tp_tunnel.c:425:26: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 425 | tunnel->fd_is_connected = 1; > | ^ ~ >l2tp_tunnel.c:495:20: warning: address of array 'result_code->error_message' > will always evaluate to 'true' [-Wpointer-bool-conversion] > 494 | ...(result_code_len > sizeof(*result_code)) && > | ~~ > 495 | ...result_code->error_message ? result_code->error_message : ""); > | ~~~~~~~~~~~~~^~~~~~~~~~~~~ >l2tp_tunnel.c:493:20: warning: address of array 'result_code->error_message' > will always evaluate to 'true' [-Wpointer-bool-conversion] > 492 | ...(result_code_len > sizeof(*result_code)) && > | ~~ > 493 | ...result_code->error_message ? " - " : "", > | ~~~~~~~~~~~~~^~~~~~~~~~~~~ >l2tp_tunnel.c:791:9: warning: passing arguments to 'MD5Init' without a prototype > is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 791 | MD5Init(&ctx); > | ^ >l2tp_tunnel.c:792:11: warning: passing arguments to 'MD5Update' without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 792 | MD5Update(&ctx, &chap_id, 1); > | ^ >l2tp_tunnel.c:793:11: warning: passing arguments to 'MD5Update' without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 793 | MD5Update(&ctx, tunnel->config.secret, tunnel->config.secret_len); > | ^ >l2tp_tunnel.c:794:11: warning: passing arguments to 'MD5Update' without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 794 | MD5Update(&ctx, &challenge->value[0], challenge_len); > | ^ >l2tp_tunnel.c:795:10: warning: passing arguments to 'MD5Final' without a > prototype is deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 795 | MD5Final(digest, &ctx); > | ^ >l2tp_tunnel.c:1949:20: warning: variable 'peer' set but not used > [-Wunused-but-set-variable] > 1949 | struct l2tp_peer *peer; > | ^ >1 warning generated. >l2tp_tunnel.c:2772:23: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 2772 | tunnel->close_acked = 1; > | ^ ~ >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_transport.c -o l2tp_transport.o >l2tp_tunnel.c:3577:38: warning: expression which evaluates to zero treated as a > null pointer constant of type 'uint8_t *' (aka 'unsigned char *') > [-Wnon-literal-null-conversion] > 3577 | result->tiebreaker.tiebreaker_val = '\0'; > | ^~~~ >l2tp_tunnel.c:3631:43: warning: expression which evaluates to zero treated as a > null pointer constant of type 'uint8_t *' (aka 'unsigned char *') > [-Wnon-literal-null-conversion] > 3631 | result->peer.tiebreaker.tiebreaker_val = '\0'; > | ^~~~ >l2tp_tunnel.c:4464:29: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4464 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_FRAMING_CAP_SYNC; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4465:30: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4465 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_FRAMING_CAP_ASYNC; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4468:31: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4468 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_BEARER_CAP_DIGITAL; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4469:30: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4469 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_BEARER_CAP_ANALOG; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4496:30: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4496 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_USE_UDP_CHECKSUMS; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4603:41: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4603 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_FRAMING_CAP_SYNC; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4604:42: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4604 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_FRAMING_CAP_ASYNC; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4605:43: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4605 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_BEARER_CAP_DIGITAL; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4606:42: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4606 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_BEARER_CAP_ANALOG; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >l2tp_tunnel.c:4609:42: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 4609 | ...= L2TP_API_TUNNEL_PROFILE_DEFAULT_USE_UDP_CHECKSUMS; > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >10 warnings generated. >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_session.c -o l2tp_session.o >l2tp_transport.c:793:20: warning: variable 'peer' set but not used > [-Wunused-but-set-variable] > 793 | struct l2tp_peer *peer; > | ^ >l2tp_transport.c:983:11: warning: variable 'data' set but not used > [-Wunused-but-set-variable] > 983 | uint8_t *data; > | ^ >l2tp_transport.c:984:28: warning: variable 'peer_addr' set but not used > [-Wunused-but-set-variable] > 984 | struct sockaddr_in const *peer_addr; > | ^ >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_ppp.c -o l2tp_ppp.o >l2tp_session.c:366:21: warning: address of array 'result_code->error_message' > will always evaluate to 'true' [-Wpointer-bool-conversion] > 365 | ...(result_code_len > sizeof(*result_code)) && > | ~~ > 366 | ...result_code->error_message ? result_code->error_message : ""); > | ~~~~~~~~~~~~~^~~~~~~~~~~~~ >l2tp_session.c:364:21: warning: address of array 'result_code->error_message' > will always evaluate to 'true' [-Wpointer-bool-conversion] > 363 | ...(result_code_len > sizeof(*result_code)) && > | ~~ > 364 | ...result_code->error_message ? " - " : "", > | ~~~~~~~~~~~~~^~~~~~~~~~~~~ >l2tp_session.c:565:31: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 565 | session->sent_created_event = 1; > | ^ ~ >l2tp_session.c:581:31: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 581 | session->sent_deleted_event = 1; > | ^ ~ >l2tp_session.c:597:28: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 597 | session->sent_down_event = 1; > | ^ ~ >l2tp_session.c:618:26: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 618 | session->sent_up_event = 1; > | ^ ~ >l2tp_session.c:861:37: warning: implicit truncation from 'int' to a one-bit wide > bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 861 | session->peer.sequencing_required = 1; > | ^ ~ >l2tp_session.c:2182:24: warning: implicit truncation from 'int' to a one-bit > wide bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 2182 | session->cleaned_up = 1; > | ^ ~ >l2tp_session.c:2492:23: warning: implicit truncation from 'int' to a one-bit > wide bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 2492 | session->cleaned_up = 1; > | ^ ~ >l2tp_session.c:3023:30: warning: implicit truncation from 'int' to a one-bit > wide bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 3023 | session->sent_deleted_event = 1; > | ^ ~ >l2tp_session.c:3025:27: warning: implicit truncation from 'int' to a one-bit > wide bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 3025 | session->sent_down_event = 1; > | ^ ~ >l2tp_session.c:3047:30: warning: implicit truncation from 'int' to a one-bit > wide bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 3047 | session->sent_deleted_event = 1; > | ^ ~ >l2tp_session.c:3049:27: warning: implicit truncation from 'int' to a one-bit > wide bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 3049 | session->sent_down_event = 1; > | ^ ~ >l2tp_session.c:3160:30: warning: implicit truncation from 'int' to a one-bit > wide bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 3160 | session->sent_deleted_event = 1; > | ^ ~ >l2tp_session.c:3161:27: warning: implicit truncation from 'int' to a one-bit > wide bit-field changes value from 1 to -1 > [-Wsingle-bit-bitfield-constant-conversion] > 3161 | session->sent_down_event = 1; > | ^ ~ >3 warnings generated. >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_plugin.c -o l2tp_plugin.o >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_event.c -o l2tp_event.o >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc l2tp_test.c -o l2tp_test.o >clang -c -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc md5.c -o md5.o >clang -I. -MMD -w -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -I. -Iusl -Icli -isystem include -MMD -Wall -Wno-strict-aliasing -DL2TP_ASYNC_RPC -DSYS_LIBDIR=/usr/lib64 -isystem /usr/include/tirpc -isystem /usr/include/tirpc -c -DYY_NO_UNPUT l2tp_config_token.c >md5.c:105:6: warning: a function definition without a prototype is deprecated in > all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] > 105 | void MD5Init (mdContext) > | ^ >In file included from md5.c:37: >./md5.h:60:6: warning: a function declaration without a prototype is deprecated > in all versions of C and is treated as a zero-parameter prototype in C2x, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 60 | void MD5Init (); > | ^ >md5.c:151:17: warning: passing arguments to 'Transform' without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 151 | Transform (mdContext->buf, in); > | ^ >md5.c:122:6: warning: a function definition without a prototype is deprecated in > all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] > 122 | void MD5Update (mdContext, inBuf, inLen) > | ^ >In file included from md5.c:37: >./md5.h:61:6: warning: a function declaration without a prototype is deprecated > in all versions of C and is treated as a zero-parameter prototype in C2x, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 61 | void MD5Update (); > | ^ >md5.c:186:13: warning: passing arguments to 'Transform' without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 186 | Transform (mdContext->buf, in); > | ^ >md5.c:160:6: warning: a function definition without a prototype is deprecated in > all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] > 160 | void MD5Final (hash, mdContext) > | ^ >In file included from md5.c:37: >./md5.h:62:6: warning: a function declaration without a prototype is deprecated > in all versions of C and is treated as a zero-parameter prototype in C2x, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 62 | void MD5Final (); > | ^ >md5.c:203:13: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] > 203 | static void Transform (buf, in) > | ^ >md5.c:51:13: warning: a function declaration without a prototype is deprecated > in all versions of C and is treated as a zero-parameter prototype in C2x, > conflicting with a subsequent definition [-Wdeprecated-non-prototype] > 51 | static void Transform (); > | ^ >l2tp_config_token.l:335:2: error: call to undeclared function 'l2tp_log'; ISO > C99 and later do not support implicit function declarations > [-Wimplicit-function-declaration] > 335 | l2tp_log(LOG_ERR, "parse error: line %d: %s at [%s]", lineno, s... > | ^ >l2tp_config_token.l:346:3: error: call to undeclared function 'l2tp_log'; ISO > C99 and later do not support implicit function declarations > [-Wimplicit-function-declaration] > 346 | l2tp_log(LOG_ERR, "parse failed, line %d", lineno); > | ^ >2 errors generated. >10 warnings generated. >make: *** [Makefile:217: l2tp_config_token.o] Error 1 >make: *** Waiting for unfinished jobs.... >22 warnings generated. >15 warnings generated. > * 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:20231205-120917.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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 919269
:
877410
|
877411
|
877412
|
877413
|
877414
| 877415 |
877416
|
877417