** Description changed:

  1. At refreshing patches after merged upstream Release_20240624, 
"EXTERNAL_BUILD" variable has been removed as it's meaningless while we're 
always building external dkms package. Yet later in upstream commit 
22b792ff38ac ("ARL platform PV release candidate on 2024-09-27"), 
"EXTERNAL_BUILD" was referenced again. This causes following error:
  ```
  make[5]: *** No rule to make target 
'/var/lib/dkms/ipu6-drivers/0~git202506270118.9bff7368/build/drivers/media/pci/intel/ipu6/psys/ipu-psys.o',
 needed by 
'/var/lib/dkms/ipu6-drivers/0~git202506270118.9bff7368/build/drivers/media/pci/intel/ipu6/psys/intel-ipu6-psys.o'.
  Stop.
  ```
  
  2. At refreshing patches after merged upstream 20241122, which introduced 
in-tree IPU6-ISYS migration, a cflag for adding $(src)/psys as inclusion path 
in drivers/media/pci/intel/ipu6/Makefile was accidentally removed. This causes 
following error:
  ```
  
/var/lib/dkms/ipu6-drivers/0~git202506270118.9bff7368/build/drivers/media/pci/intel/ipu6/ipu6.c:13:10:
 fatal error: ipu-psys.h: No such file or directory
-    13 | #include "ipu-psys.h"
-       |          ^~~~~~~~~~~~
+    13 | #include "ipu-psys.h"
+       |          ^~~~~~~~~~~~
  compilation terminated.
  ```
+ 
+ While this is a dkms, people take new dkms and compile against older
+ kernels, so even v6.11 kernels are not in Resolute/Questing, the dkms
+ itself deserves a fix.

** Description changed:

  1. At refreshing patches after merged upstream Release_20240624, 
"EXTERNAL_BUILD" variable has been removed as it's meaningless while we're 
always building external dkms package. Yet later in upstream commit 
22b792ff38ac ("ARL platform PV release candidate on 2024-09-27"), 
"EXTERNAL_BUILD" was referenced again. This causes following error:
  ```
  make[5]: *** No rule to make target 
'/var/lib/dkms/ipu6-drivers/0~git202506270118.9bff7368/build/drivers/media/pci/intel/ipu6/psys/ipu-psys.o',
 needed by 
'/var/lib/dkms/ipu6-drivers/0~git202506270118.9bff7368/build/drivers/media/pci/intel/ipu6/psys/intel-ipu6-psys.o'.
  Stop.
  ```
  
  2. At refreshing patches after merged upstream 20241122, which introduced 
in-tree IPU6-ISYS migration, a cflag for adding $(src)/psys as inclusion path 
in drivers/media/pci/intel/ipu6/Makefile was accidentally removed. This causes 
following error:
  ```
  
/var/lib/dkms/ipu6-drivers/0~git202506270118.9bff7368/build/drivers/media/pci/intel/ipu6/ipu6.c:13:10:
 fatal error: ipu-psys.h: No such file or directory
     13 | #include "ipu-psys.h"
        |          ^~~~~~~~~~~~
  compilation terminated.
  ```
  
  While this is a dkms, people take new dkms and compile against older
  kernels, so even v6.11 kernels are not in Resolute/Questing, the dkms
  itself deserves a fix.
+ 
+ 3. This causes following error:
+ ```
+ 
/var/lib/dkms/ipu6-drivers/0~git202511120800.9766e218/build/drivers/media/i2c/ov08x40.c:
 In function ‘ov08x40_check_hwcfg’:
+ 
/var/lib/dkms/ipu6-drivers/0~git202511120800.9766e218/build/drivers/media/i2c/ov08x40.c:4028:15:
 error: implicit declaration of function ‘v4l2_link_freq_to_bitmap’ 
[-Werror=implicit-function-declaration]
+  4028 |         ret = v4l2_link_freq_to_bitmap(dev, bus_cfg.link_frequencies,
+       |               ^~~~~~~~~~~~~~~~~~~~~~~~
+   LD [M]  
/var/lib/dkms/ipu6-drivers/0~git202511120800.9766e218/build/drivers/media/i2c/ov13858.o
+ ```

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

Title:
  failed to build against linux kernel < v6.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2134800/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to