Package: openvpn-dco-dkms
Version: 0.0+git20241121-1
Severity: important
Tags: upstream sid forky

Hi,

openvpn-dco-dkms fails to build the module(s) for Linux 6.15 in
experimental:

DKMS (dkms-3.2.0) make.log for ovpn-dco/0.0+git20241121 for kernel 
6.15-rc7-amd64 (x86_64)
Sat May 24 21:53:40 UTC 2025

Building module(s)
# command: make -j14 KERNELRELEASE=6.15-rc7-amd64 VER=6.15-rc7-amd64 
KERNEL_SRC=/lib/modules/6.15-rc7-amd64/build REVISION=0.0+git20241121
/var/lib/dkms/ovpn-dco/0.0+git20241121/build/gen-compat-autoconf.sh 
/var/lib/dkms/ovpn-dco/0.0+git20241121/build/compat-autoconf.h
make -C /lib/modules/6.15-rc7-amd64/build 
M=/var/lib/dkms/ovpn-dco/0.0+git20241121/build 
PWD=/var/lib/dkms/ovpn-dco/0.0+git20241121/build REVISION=0.0+git20241121 
CONFIG_OVPN_DCO_V2=m INSTALL_MOD_DIR=updates/        modules
make[1]: Entering directory '/usr/src/linux-headers-6.15-rc7-amd64'
make[2]: Entering directory '/var/lib/dkms/ovpn-dco/0.0+git20241121/build'
  CC [M]  drivers/net/ovpn-dco/main.o
  CC [M]  drivers/net/ovpn-dco/bind.o
  CC [M]  drivers/net/ovpn-dco/crypto.o
  CC [M]  drivers/net/ovpn-dco/ovpn.o
  CC [M]  drivers/net/ovpn-dco/peer.o
  CC [M]  drivers/net/ovpn-dco/sock.o
  CC [M]  drivers/net/ovpn-dco/stats.o
  CC [M]  drivers/net/ovpn-dco/netlink.o
  CC [M]  drivers/net/ovpn-dco/crypto_aead.o
  CC [M]  drivers/net/ovpn-dco/pktid.o
  CC [M]  drivers/net/ovpn-dco/tcp.o
  CC [M]  drivers/net/ovpn-dco/udp.o
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
make[5]: *** 
[/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: 
drivers/net/ovpn-dco/peer.o] Error 1
make[5]: *** Waiting for unfinished jobs....
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,
      |                                   ^~~~~~~~~~~~
drivers/net/ovpn-dco/main.c:212:35: note: (near initialization for 
'ovpn_link_ops.newlink')
make[5]: *** 
[/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:208: 
drivers/net/ovpn-dco/main.o] Error 1
make[4]: *** 
[/usr/src/linux-headers-6.15-rc7-common/scripts/Makefile.build:466: 
drivers/net/ovpn-dco] Error 2
make[3]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:2027: .] Error 2
make[2]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:260: __sub-make] 
Error 2
make[2]: Leaving directory '/var/lib/dkms/ovpn-dco/0.0+git20241121/build'
make[1]: *** [/usr/src/linux-headers-6.15-rc7-common/Makefile:260: __sub-make] 
Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.15-rc7-amd64'
make: *** [Makefile:51: all] Error 2

# exit code: 2
# elapsed time: 00:00:05
----------------------------------------------------------------

del_timer_sync() has been renamed to timer_delete_sync() in v6.2-rc1
"timers: Rename del_timer_sync() to timer_delete_sync()"
https://github.com/torvalds/linux/commit/9b13df3fb64ee95e2397585404e442afee2c7d4f

the backwards compatibility support wrappers have been removed in
v6.15-rc1 "treewide: Switch/rename to timer_delete[_sync]()"
https://github.com/torvalds/linux/commit/8fa7292fee5c5240402371ea89ab285ec856c916


Andreas

Reply via email to