Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1223169

Bug#1089500: langford-dkms: module fails to build for Linux 6.12: no_llseek is gone

From Andreas Beckmann <anbe@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1089500: langford-dkms: module fails to build for Linux 6.12: no_llseek is gone
Date 2024-12-08 02:20 +0100
Message-ID <JRe7L-exJs-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: langford-dkms
Version: 0.0.20130228-6.3
Severity: serious
Tags: upstream

Since Linux v6.12-rc1 no_llseek is finally gone, causing the module build
to fail.

The corresponding Linux commit is "[tree-wide] finally take no_llseek out"
https://github.com/torvalds/linux/commit/cb787f4ac0c2e439ea8d7e6387b925f74576bdf8

The fix is probably as simple as
  sed -i /no_llseek/d langford.c

DKMS make.log for langford/0.0.20130108 for kernel 6.12.3-amd64 (x86_64)
Sat Dec  7 23:29:07 UTC 2024
make: Entering directory '/usr/src/linux-headers-6.12.3-amd64'
  CC [M]  /var/lib/dkms/langford/0.0.20130108/build/langford.o
In file included from /var/lib/dkms/langford/0.0.20130108/build/langford.c:17:
/var/lib/dkms/langford/0.0.20130108/build/langford.h:115:9: warning: "MAX" redefined
  115 | #define MAX(a, b)                       (((a) > (b)) ? (a) : (b))
      |         ^~~
In file included from /usr/src/linux-headers-6.12.3-common/include/linux/kernel.h:28,
                 from /var/lib/dkms/langford/0.0.20130108/build/langford.h:10:
/usr/src/linux-headers-6.12.3-common/include/linux/minmax.h:330:9: note: this is the location of the previous definition
  330 | #define MAX(a,b) __cmp(max,a,b)
      |         ^~~
/var/lib/dkms/langford/0.0.20130108/build/langford.h:118:9: warning: "MIN" redefined
  118 | #define MIN(a, b)                       (((a) < (b)) ? (a) : (b))
      |         ^~~
/usr/src/linux-headers-6.12.3-common/include/linux/minmax.h:329:9: note: this is the location of the previous definition
  329 | #define MIN(a,b) __cmp(min,a,b)
      |         ^~~
/var/lib/dkms/langford/0.0.20130108/build/langford.c:900:19: error: 'no_llseek' undeclared here (not in a function); did you mean 'noop_llseek'?
  900 |         .llseek = no_llseek
      |                   ^~~~~~~~~
      |                   noop_llseek
make[2]: *** [/usr/src/linux-headers-6.12.3-common/scripts/Makefile.build:234: /var/lib/dkms/langford/0.0.20130108/build/langford.o] Error 1
make[1]: *** [/usr/src/linux-headers-6.12.3-common/Makefile:1961: /var/lib/dkms/langford/0.0.20130108/build] Error 2
make: *** [/usr/src/linux-headers-6.12.3-common/Makefile:236: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-headers-6.12.3-amd64'


Andreas

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1089500: langford-dkms: module fails to build for Linux 6.12: no_llseek is gone Andreas Beckmann <anbe@debian.org> - 2024-12-08 02:20 +0100

csiph-web