[Bug 2042059] Re: Failed to build against linux-unstable 6.6.0-8-generic: error: 'struct genl_info' has no member named 'userhdr'
Timo Aaltonen
2042059 at bugs.launchpad.net
Fri Nov 17 10:58:05 UTC 2023
Hello You-Sheng, or anyone else affected,
Accepted backport-iwlwifi-dkms into mantic-proposed. The package will
build now and be available at
https://launchpad.net/ubuntu/+source/backport-iwlwifi-
dkms/11289-0ubuntu1.23.10.1 in a few hours, and then in the -proposed
repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
mantic to verification-done-mantic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-mantic. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: backport-iwlwifi-dkms (Ubuntu Mantic)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-mantic
--
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2042059
Title:
Failed to build against linux-unstable 6.6.0-8-generic: error: 'struct
genl_info' has no member named 'userhdr'
Status in backport-iwlwifi-dkms package in Ubuntu:
Fix Released
Status in backport-iwlwifi-dkms source package in Mantic:
Fix Committed
Status in backport-iwlwifi-dkms source package in Noble:
Fix Released
Bug description:
[SRU Justification]
[Impact]
backport-iwlwifi-dkms fails to compile against kernel > 6.6 due to API
changes.
[Fix]
Upstream fix commit 8fd541f76cdc ("backport: genetlink: adjust to
info->userhdr removal").
[Test Case]
```
$ sudo add-apt-repository ppa:canonical-kernel-team/unstable
$ sudo apt-get install linux-headers-generic-wip
$ sudo add-apt-repository ppa:vicamo/ppa-2042059
$ sudo apt-get install backport-iwlwifi-dkms
```
[Where problems could occur]
We're pulling new upstream version with around 200+ commits for
backport-iwlwifi-dkms/noble, but only backport the required fix commit
for mantic. Likely to expect issue in Noble only.
[Other Info]
Mantic is nominated because we're still using mantic environment for
preparing linux-unstable.
========== original bug report ==========
In file included from /var/lib/dkms/backport-iwlwifi/11289/build/drivers/net/wireless/intel/iwlwifi/iwl-tm-gnl.c:8:
/var/lib/dkms/backport-iwlwifi/11289/build/backport-include/net/genetlink.h: In function '__bp_genl_info_userhdr_set':
/var/lib/dkms/backport-iwlwifi/11289/build/backport-include/net/genetlink.h:9:13: error: 'struct genl_info' has no member named 'userhdr'
9 | info->userhdr = userhdr;
| ^~
/var/lib/dkms/backport-iwlwifi/11289/build/backport-include/net/genetlink.h: In function '__bp_genl_info_userhdr':
/var/lib/dkms/backport-iwlwifi/11289/build/backport-include/net/genetlink.h:14:20: error: 'struct genl_info' has no member named 'userhdr'
14 | return info->userhdr;
| ^~
/var/lib/dkms/backport-iwlwifi/11289/build/backport-include/net/genetlink.h: At top level:
/var/lib/dkms/backport-iwlwifi/11289/build/backport-include/net/genetlink.h:48:21: error: conflicting types for 'genl_info_userhdr'; have 'void *(struct genl_info *)'
48 | static inline void *genl_info_userhdr(struct genl_info *info)
| ^~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/backport-iwlwifi/11289/build/backport-include/net/genetlink.h:3:
./include/net/genetlink.h:126:21: note: previous definition of 'genl_info_userhdr' with type 'void *(const struct genl_info *)'
126 | static inline void *genl_info_userhdr(const struct genl_info *info)
| ^~~~~~~~~~~~~~~~~
make[8]: *** [scripts/Makefile.build:251: /var/lib/dkms/backport-iwlwifi/11289/build/drivers/net/wireless/intel/iwlwifi/iwl-tm-gnl.o] Error 1
make[8]: *** Waiting for unfinished jobs....
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backport-iwlwifi-dkms/+bug/2042059/+subscriptions
More information about the Ubuntu-sponsors
mailing list