** Description changed: + [SRU Justification] + + [Impact] + + Failed to compile intel-ipu6-dkms against v6.12 kernels. + + [Fix] + + A few Ubuntu sauced changes. Also being upstreamed in: + * https://github.com/intel/ipu6-drivers/pull/283 + + [Test Case] + + So far there is no official v6.12 kernel available, but one may install experimental linux-unstable/plucky kernels from https://launchpad.net/~canonical-hwe-team/+archive/ubuntu/experimental-unstable. With that install intel-ipu6-dkms from -proposed pocket, and issue: + ``` + $ sudo dkms install ipu6-drivers/0~git202407190257.9369b88e-0ubuntu2 -k $(uname -r) + $ sudo dkms status + ``` + The installation should complete successfully. + + [Where problems could occur] + + While this is an initial port to v6.12, there might be changes that + doesn't reflect in the API changes. + + [Other Info] + + Only necessary for when with the potential chance to be compiled against + v6.12 kernels. Nominate for plucky and oracular for + ipu6-drivers/oracular may compile against linux-hwe-6.XX/noble then. + + ========== original bug report ========== + /var/lib/dkms/ipu6-drivers/0~git202407190257.9369b88e-0ubuntu1/build/drivers/media/i2c/ov01a1s.c:4:10: fatal error: asm/unaligned.h: No such file or directory 4 | #include <asm/unaligned.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. make[4]: *** [scripts/Makefile.build:229: /var/lib/dkms/ipu6-drivers/0~git202407190257.9369b88e-0ubuntu1/build/drivers/media/i2c/ov01a1s.o] Error 1 /var/lib/dkms/ipu6-drivers/0~git202407190257.9369b88e-0ubuntu1/build/drivers/media/pci/intel/ipu6/../ipu-trace.c:520:19: error: 'no_llseek' undeclared here (not in a function); did you mean 'noop_llseek'? 520 | .llseek = no_llseek, | ^~~~~~~~~ | noop_llseek make[5]: *** [scripts/Makefile.build:229: /var/lib/dkms/ipu6-drivers/0~git202407190257.9369b88e-0ubuntu1/build/drivers/media/pci/intel/ipu6/../ipu-trace.o] Error 1 /var/lib/dkms/ipu6-drivers/0~git202407190257.9369b88e-0ubuntu1+exp.2/build/drivers/media/pci/intel/ipu6/../ipu-psys.c: In function 'backport__follow_pfn': /var/lib/dkms/ipu6-drivers/0~git202407190257.9369b88e-0ubuntu1+exp.2/build/drivers/media/pci/intel/ipu6/../ipu-psys.c:269:13: error: implicit declaration of function 'follow_pte'; did you mean 'follow_pfn'? [-Wimplicit-function-declaration] 269 | if (follow_pte(vma, address, &ptep, &ptl)) | ^~~~~~~~~~ | follow_pfn make[5]: *** [scripts/Makefile.build:229: /var/lib/dkms/ipu6-drivers/0~git202407190257.9369b88e-0ubuntu1+exp.2/build/drivers/media/pci/intel/ipu6/../ipu-psys.o] Error 1 Related commits: * v6.12-rc1 commit b0a1c0d0edcd ("mm: remove follow_pte()") * v6.12-rc1 commit cb787f4ac0c2 ("[tree-wide] finally take no_llseek out") * v6.12-rc2 commit 5f60d5f6bbc1 ("move asm/unaligned.h to linux/unaligned.h")
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083996 Title: Failed to build against linux-6.12, multiple errors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ipu6-drivers/+bug/2083996/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
