Public bug reported:
[ Impact ]
openvpn-dco-dkms does not compile from source in Questing with kernel 6.15 and
6.16:
drivers/net/ovpn-dco/peer.c: In function ‘ovpn_peer_timer_delete_all’:
drivers/net/ovpn-dco/peer.c:194:9: error: implicit declaration of function
‘del_timer_sync’; did you mean ‘dev_mc_sync’? [-Wimplicit-function-declaration]
194 | del_timer_sync(&peer->keepalive_xmit);
| ^~~~~~~~~~~~~~
| dev_mc_sync
drivers/net/ovpn-dco/peer.c: In function ‘ovpn_peer_keepalive_set’:
drivers/net/ovpn-dco/peer.c:306:17: error: implicit declaration of function
‘del_timer’; did you mean ‘add_timer’? [-Wimplicit-function-declaration]
306 | del_timer(&peer->keepalive_xmit);
| ^~~~~~~~~
| add_timer
drivers/net/ovpn-dco/main.c:212:35: error: initialization of ‘int (*)(struct
net_device *, struct rtnl_newlink_params *, struct netlink_ext_ack *)’ from
incompatible pointer type ‘int (*)(struct net *, struct net_device *, struct
nlattr **, struct nlattr **, struct netlink_ext_ack *)’
[-Wincompatible-pointer-types]
212 | .newlink = ovpn_newlink,
| ^~~~~~~~~~~~
In file included from drivers/net/ovpn-dco/crypto.h:16,
from drivers/net/ovpn-dco/addr.h:13,
from drivers/net/ovpn-dco/peer.h:13,
from drivers/net/ovpn-dco/ovpn.h:14,
from drivers/net/ovpn-dco/sock.c:11:
/var/lib/dkms/ovpn-dco/0.0+git20241121/build/include/uapi/linux/ovpn_dco.h:241:9:
error: redeclaration of enumerator ‘IFLA_OVPN_UNSPEC’
241 | IFLA_OVPN_UNSPEC = 0,
| ^~~~~~~~~~~~~~~~
/var/lib/dkms/ovpn-dco/0.0+git20241121/build/include/uapi/linux/ovpn_dco.h:242:9:
error: redeclaration of enumerator ‘IFLA_OVPN_MODE’
242 | IFLA_OVPN_MODE,
| ^~~~~~~~~~~~~~
/usr/src/linux-headers-6.16.0-10-generic/include/uapi/linux/if_link.h:2003:25:
error: expected identifier before ‘(’ token
2003 | #define IFLA_OVPN_MAX (__IFLA_OVPN_MAX - 1)
| ^
/var/lib/dkms/ovpn-dco/0.0+git20241121/build/include/uapi/linux/ovpn_dco.h:245:9:
note: in expansion of macro ‘IFLA_OVPN_MAX’
245 | IFLA_OVPN_MAX = __IFLA_OVPN_AFTER_LAST - 1,
| ^~~~~~~~~~~~~
/var/lib/dkms/ovpn-dco/0.0+git20241121/build/include/uapi/linux/ovpn_dco.h:248:6:
error: redeclaration of ‘enum ovpn_mode’
248 | enum ovpn_mode {
| ^~~~~~~~~
/usr/src/linux-headers-6.16.0-10-generic/include/uapi/linux/if_link.h:1992:6:
note: originally defined here
1992 | enum ovpn_mode {
| ^~~~~~~~~
[ Fix ]
Patch the code to properly support Linux 6.15 and 6.16.
[ Test Plan ]
...
** Affects: openvpn-dco-dkms (Ubuntu)
Importance: Undecided
Assignee: Massimiliano Pellizzer (mpellizzer)
Status: In Progress
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2119129
Title:
openvpn-dco-dkms FTBFS in Questing with 6.15/6.16 kernel
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvpn-dco-dkms/+bug/2119129/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs