[Bug 266914] net/wireguard-kmod: Build fails since base commit c0fc81e
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 09 Oct 2022 09:30:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266914 Bug ID: 266914 Summary: net/wireguard-kmod: Build fails since base commit c0fc81e Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: decke@FreeBSD.org Reporter: rhurlin@FreeBSD.org Flags: maintainer-feedback?(decke@FreeBSD.org) Assignee: decke@FreeBSD.org On a recent FreeBSD 14-0-CURRENT amd64 I get the following breakage, when I try to build net/wireguard-kmod: --- if_wg.o --- if_wg.c:696:37: error: used type 'udp_tun_func_t' (aka '_Bool (struct mbuf *, int, struct inpcb *, const struct sockaddr *, void *)') where arithmetic or pointer type is required rc = udp_set_kernel_tunneling(so4, (udp_tun_func_t)wg_input, NULL, sc); ^ ~~~~~~~~ if_wg.c:707:37: error: used type 'udp_tun_func_t' (aka '_Bool (struct mbuf *, int, struct inpcb *, const struct sockaddr *, void *)') where arithmetic or pointer type is required rc = udp_set_kernel_tunneling(so6, (udp_tun_func_t)wg_input, NULL, sc); ^ ~~~~~~~~ 2 errors generated. *** [if_wg.o] Error code 1 make[1]: stopped in /usr/ports/net/wireguard-kmod/work/wireguard-freebsd-0.0.20220615/src 1 error make[1]: stopped in /usr/ports/net/wireguard-kmod/work/wireguard-freebsd-0.0.20220615/src ===> Compilation failed unexpectedly. This seems to happen after removing some old code in base with commit c0fc81e [1]. Most likely net/wireguard-kmod has to follow these changes? Unfortunately I don't have the skills to propose a patch for this breakage, sorry. [1] https://freshbsd.org/freebsd/src/commit/c0fc81e9138b4bc636333285087f1c3e1c7bc1e5 -- You are receiving this mail because: You are the assignee for the bug.