Debdiff to enable support for both 6.8 and 6.14 kernels.

** Description changed:

  [ Impact ]
  
  DKMS make.log for langford-0.0.20130108 for kernel 6.14.0-15-generic (x86_64)
  Fri May 16 21:40:41 UTC 2025
  make: Entering directory '/usr/src/linux-headers-6.14.0-15-generic'
  make[1]: Entering directory '/var/lib/dkms/langford/0.0.20130108/build'
  warning: the compiler differs from the one used to build the kernel
-   The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
-   You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
-   CC [M]  langford.o
+   The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 
13.3.0-6ubuntu2~24.04) 13.3.0
+   You are using:           gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0
+   CC [M]  langford.o
  In file included from langford.c:17:
  langford.h:115: warning: "MAX" redefined
-   115 | #define MAX(a, b)                       (((a) > (b)) ? (a) : (b))
-       | 
+   115 | #define MAX(a, b)                       (((a) > (b)) ? (a) : (b))
+       |
  In file included from 
/usr/src/linux-headers-6.14.0-15-generic/include/linux/kernel.h:28,
-                  from langford.h:10:
+                  from langford.h:10:
  /usr/src/linux-headers-6.14.0-15-generic/include/linux/minmax.h:315: note: 
this is the location of the previous definition
-   315 | #define MAX(a, b) __cmp(max, a, b)
-       | 
+   315 | #define MAX(a, b) __cmp(max, a, b)
+       |
  langford.h:118: warning: "MIN" redefined
-   118 | #define MIN(a, b)                       (((a) < (b)) ? (a) : (b))
-       | 
+   118 | #define MIN(a, b)                       (((a) < (b)) ? (a) : (b))
+       |
  /usr/src/linux-headers-6.14.0-15-generic/include/linux/minmax.h:314: note: 
this is the location of the previous definition
-   314 | #define MIN(a, b) __cmp(min, a, b)
-       | 
+   314 | #define MIN(a, b) __cmp(min, a, b)
+       |
  langford.c:900:19: error: ‘no_llseek’ undeclared here (not in a function); 
did you mean ‘noop_llseek’?
-   900 |         .llseek = no_llseek
-       |                   ^~~~~~~~~
-       |                   noop_llseek
+   900 |         .llseek = no_llseek
+       |                   ^~~~~~~~~
+       |                   noop_llseek
  make[3]: *** 
[/usr/src/linux-headers-6.14.0-15-generic/scripts/Makefile.build:207: 
langford.o] Error 1
  make[2]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:1999: .] 
Error 2
  make[1]: *** [/usr/src/linux-headers-6.14.0-15-generic/Makefile:251: 
__sub-make] Error 2
  make[1]: Leaving directory '/var/lib/dkms/langford/0.0.20130108/build'
  make: *** [Makefile:251: __sub-make] Error 2
  make: Leaving directory '/usr/src/linux-headers-6.14.0-15-generic'
  
  [ Test case ]
  
  Install the latest linux-6.14 kernel on Noble:
  
  $ sudo add-apt-repository ppa:canonical-kernel-team/ppa
  $ sudo apt install linux-generic-hwe-24.04-wip
  
  Install langford-dkms:
  
  $ sudo apt install langford-dkms
  
  Load the module:
  
- $ sudo modprobe
+ $ sudo modprobe langford
  
  The same procedure can be repeated on linux-6.8 to test for possible
  regressions.
  
  [ Fix ]
  
  Apply patches from langford-dkms from Plucky release:
  
- * debian/patches/
- 
+ * debian/patches/conditional-no_llseek
+ * debian/patches/conditional-min-max
  
  [ Regression potential ]
  
  We may experience regressions in systems that are using the langford
  drivers, especially with kernels >= 6.8 kernel.

** Patch added: "langford-support-noble-6.14.debdiff"
   
https://bugs.launchpad.net/ubuntu/+source/langford/+bug/2111132/+attachment/5878062/+files/langford-support-noble-6.14.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2111132

Title:
  langford-dkms FTBS in Noble with the linux-6.14-hwe kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/langford/+bug/2111132/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to