#1106554 openvpn-dco-dkms: module fails to build for Linux 6.15: implicit declaration of function 'del_timer_sync' #1106554
- Package:
- openvpn-dco-dkms
- Source:
- openvpn-dco-dkms
- Submitter:
- Andreas Beckmann
- Date:
- 2025-08-21 19:35:01 UTC
- Severity:
- normal
- Tags:
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
FWIW, the OpenVPN DCO module has just been upstreamed with 6.16. Depending on which kernel will land in Debian/sid, the openvpn-dco-dkms package may no longer be necessary.
Hi, Am 24.06.25 um 14:21 schrieb Christian Kujau: Not quite correct, those are different modules. This bug is about the module ovpn-dco, which has been there for a while and is supported with OpenVPN 2.6. We will release Trixie with OpenVPN 2.6, and since it does not conflict with anything and we might want to support OpenVPN 2.6 with a backported 6.16+ kernel I plan to keep it in testing until right before the Forky freeze (technically not necessary, but it would be easier to provide a trixie-backport than a trixie-stable-update). I do plan to fix this bug once Trixie is released by updating to the new upstream btw. The module upstreamed is the new ovpn (currently sitting in NEW as openvpn-ovpn-dkms) will indeed be most likely superflous once testing is upgraded to 6.16+, but having it in testing would allow providing a trixie-backport of both OpenVPN 2.7 and the necessary ovpn module. Bernhard
Dear Bernhard, Could you consider doing the update now? Thanks!
We believe that the bug you reported is fixed in the latest version of
openvpn-dco-dkms, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1106554@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bernhard Schmidt <berni@debian.org> (supplier of updated openvpn-dco-dkms package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Thu, 21 Aug 2025 19:59:43 +0200
Source: openvpn-dco-dkms
Architecture: source
Version: 0.0+git20250801-1
Distribution: unstable
Urgency: medium
Maintainer: Bernhard Schmidt <berni@debian.org>
Changed-By: Bernhard Schmidt <berni@debian.org>
Closes: 1106554
Changes:
openvpn-dco-dkms (0.0+git20250801-1) unstable; urgency=medium
.
[ Bernhard Schmidt ]
* New upstream version 0.0+git20250801
- fixes build error with Linux 6.15+ (Closes: #1106554)
.
[ Andreas Beckmann ]
* dkms.conf: Fix CLEAN command
* d/rules: Simplify -dkms installation
* dkms.conf: Set BUILD_EXCLUSIVE_KERNEL_MIN="5.4.5"
Checksums-Sha1:
924ebcd93a41f9b15e309c0180378525869e024c 2053 openvpn-dco-dkms_0.0+git20250801-1.dsc
584e2478faccaec8d866226842a62cb3874f8f10 70772 openvpn-dco-dkms_0.0+git20250801.orig.tar.gz
d828f3012e1d7edae121e208140ff90bc77fe5e3 3516 openvpn-dco-dkms_0.0+git20250801-1.debian.tar.xz
bc3a61467331f4ff22d222a4819e564b51da0c5e 5821 openvpn-dco-dkms_0.0+git20250801-1_amd64.buildinfo
Checksums-Sha256:
2e88fa62d2073bfaf1fd8916f0231d9b732dc4988e080253bc713ce3580f9113 2053 openvpn-dco-dkms_0.0+git20250801-1.dsc
54da533d854391d768354ccdddc4bb452375fd0a3888913f6f6c4b777211562b 70772 openvpn-dco-dkms_0.0+git20250801.orig.tar.gz
4a1761d03610377413d7c4c2a6539b966d792dd50784e669a43c6d71b642b96d 3516 openvpn-dco-dkms_0.0+git20250801-1.debian.tar.xz
643779a4743968e2f7457e8c2fb80204516ec78fc6a8936aa48205a436152671 5821 openvpn-dco-dkms_0.0+git20250801-1_amd64.buildinfo
Files:
a05f2707444e2c8bdd948ed99d3d074e 2053 net optional openvpn-dco-dkms_0.0+git20250801-1.dsc
1ed147ed4d74b17b1c2d6b2d8a867f34 70772 net optional openvpn-dco-dkms_0.0+git20250801.orig.tar.gz
54c828442e3fed81aa8a47470618946b 3516 net optional openvpn-dco-dkms_0.0+git20250801-1.debian.tar.xz
60e40800b61b0013f4e3f7ad74adb41f 5821 net optional openvpn-dco-dkms_0.0+git20250801-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJFBAEBCgAvFiEE1uAexRal3873GVbTd1B55bhQvJMFAminZr8RHGJlcm5pQGRl
Ymlhbi5vcmcACgkQd1B55bhQvJPQJxAAqdVicKnX6MlhKF6hZnPanXpOT8rZauNP
D3pl+C3XdTi9vVz/S3k68eOorDh1AyyA7cMoBlIg04HbbSOl6X/htfI5ZARW+aWw
T0p6xI7DGrqQ6ZkVJ2HSuYnXQuamYs9xv/RTKEnKJ5uBFNDB7KlBKp5sdqmUIkbF
24EvVxFQvf042wvDn4YX/pZikKbW0McwncNjagXU392+Mos/8I6IH72diAnZivce
YsVGwT2bTYofNPHIjJyCJGOfoPSGLj/VJj3stelm/mYeUHIZi8dOtEu/kk3wqXKj
v3PP8PRSBHKKFQj+jZNOFI0PmdzhhNETnz7fhBMFuemIdKNZ+f0ATDd6Ewf5H0vx
Y2+KyMmFlVNamVK6hP8hqGvD2FStP9Znfz1qOisTz+h6txb/NKOeFfpC28VzeJQZ
GvZTCnhB66Z5jhAVE/eEe1IM46SLv0znXbMyi+4GA120rcWrbxVywooye/DDTn/p
ICIjQDqyK1rq1syD0E4yDHchqK2fm5grO/VeMNNC/4tHeL1dJ8GuNOp3ak+T0uPA
dzIdNFaXsAYh9uJ/poELsayRICjxGbHHtWoc9WzIg9HSPqhF0xP5DDY4EatAAcoE
IYxVUSsFFhcfCjfzXjJ3w4HA/PfibgCJovxOg++c9d6+bCJfo/biTgeRvhSp0UM0
iL05fzSbAbY=
=bVyL
-----END PGP SIGNATURE-----