Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Oct 2022 09:30:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266914] net/wireguard-kmod: Build fails since base commit c0fc81e
Message-ID:  <bug-266914-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266914

            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 =3D 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 =3D 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
=3D=3D=3D> Compilation failed unexpectedly.



This seems to happen after removing some old code in base with commit c0fc8=
1e
[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/c0fc81e9138b4bc636333285087f1c3e1c7=
bc1e5

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266914-7788>