** Description changed: [SRU Justification] [Impact] - Failed to compile intel-ipu7-dkms against v6.12 kernels. + Failed to compile backport-iwlwifi-dkms against v6.12 kernels. [Fix] A few Ubuntu sauced changes. Also being upstreamed in: * https://github.com/intel/ipu7-drivers/pull/16 [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 backport-iwlwifi-dkms from -proposed pocket, and issue: ``` $ sudo dkms install backport-iwlwifi/0~91.12629-gite112ecce -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 only. ========== original bug report ========== In file included from /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/include/linux/ieee80211.h:23, from /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/include/net/mac80211.h:20, from /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/net/mac80211/main.c:11: /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/backport-include/asm/unaligned.h:3:15: fatal error: asm/unaligned.h: No such file or directory 3 | #include_next <asm/unaligned.h> | ^~~~~~~~~~~~~~~~~ compilation terminated. make[6]: *** [scripts/Makefile.build:229: /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/net/mac80211/main.o] Error 1 /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/net/wireless/core.c: In function 'cfg80211_switch_netns': /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/net/wireless/core.c:168:44: error: 'NETIF_F_NETNS_LOCAL' undeclared (first use in this function) 168 | wdev->netdev->features &= ~NETIF_F_NETNS_LOCAL; | ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/net/wireless/core.c:168:44: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/net/wireless/core.c: In function 'cfg80211_netdev_notifier_call': /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/net/wireless/core.c:1487:34: error: 'NETIF_F_NETNS_LOCAL' undeclared (first use in this function) 1487 | dev->features |= NETIF_F_NETNS_LOCAL; | ^~~~~~~~~~~~~~~~~~~ make[6]: *** [scripts/Makefile.build:229: /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/net/wireless/core.o] Error 1 /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/drivers/net/wireless/intel/iwlwifi/mvm/d3.c:3770:19: error: 'no_llseek' undeclared here (not in a function); did you mean 'noop_llseek'? 3770 | .llseek = no_llseek, | ^~~~~~~~~ | noop_llseek make[9]: *** [scripts/Makefile.build:229: /var/lib/dkms/backport-iwlwifi/0~89.12325-git36c5be1a/build/drivers/net/wireless/intel/iwlwifi/mvm/d3.o] Error 1 Related commits: * v6.12-rc1 commit cb787f4ac0c2 ("[tree-wide] finally take no_llseek out") * v6.12-rc1 commit 05c1280a2bcf ("netdev_features: convert NETIF_F_NETNS_LOCAL to dev->netns_local") * v6.12-rc2 commit 5f60d5f6bbc12 ("move asm/unaligned.h to linux/unaligned.h") * v6.12-rc4 commit 56440d7ec28d6 ("genetlink: hold RCU in genlmsg_mcast()")
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2083994 Title: Failed to build against linux-6.12, multiple errors To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/2083994/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs