** Description changed: SRU Justification [ Impact ] tp-smapi cannot be compiled against Kernels 7.2+ as strncpy has been replaced by strscpy. Both upstream https://github.com/linux- thinkpad/tp_smapi/pull/81/changes/0483993a64f6d922d71dddd8f7f353d8bc22d1bf and debian unstable (# 1146537) already contain the fix. + + Fixing Resolute as well in anticipation of HWE Kernels. [ Fix ] Merge debian unstable fix [ Test Case ] Follow the following steps: - Install the correct series package from https://launchpad.net/~alessiofaina/+archive/ubuntu/20261123-dkms-fixes/ - Check the new package correctly installs in the system - Verify the compiled tp-smapi module file exists and inspect its module metadata (verifies successful build and vermagic match without requiring hardware): $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/thinkpad_ec.ko* | head -n1) $ modinfo "$MOD" $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/tp_smapi.ko* | head -n1) $ modinfo "$MOD" $ MOD=$(ls /lib/modules/$(uname -r)/updates/dkms/hdaps.ko* | head -n1) $ modinfo "$MOD" Expected result: modinfo outputs valid module metadata with vermagic matching $(uname -r) and no errors. [ Regression potential ] Changing from strncpy to strscpy force the string to be NULL terminated. If the strings are supposed to be <maxlen> the last character will be dropped and replaced by NULL. Cannot test the behaviour as I don't have a machine old enough to check with. [ Discussion ] This cannot be a sync as Ubuntu has a different Architecture field in d/control, removing i386 from it.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2173763 Title: tp-smapi DKMS cannot build against Kernel 7.2+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tp-smapi/+bug/2173763/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
