Public bug reported:

[Impact]

tp-smapi fails to build on arm64 with the following error:

│ ./include/linux/mc146818rtc.h:16:10: fatal error: asm/mc146818rtc.h: No such 
file or directory
│    16 | #include <asm/mc146818rtc.h>            /* register access macros */  
                

More in general, it seems more reasonable to build this module only on
amd64, since it is supposed to exposes features of the ThinkPad
hardware/firmware via sysfs.

[Test case]

$ sudo apt install tp-smapi-dkms

[Fix]

Restrict this dkms only to amd64.

[Where problems could occur]

We may need this module if the ThinkPad hardware/firmware will run on
architectures different than amd64 in the future, but for now it is
unlikely to happen.

** Affects: tp-smapi (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: tp-smapi (Ubuntu Impish)
     Importance: Undecided
         Status: New

** Also affects: tp-smapi (Ubuntu Impish)
   Importance: Undecided
       Status: New

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

Title:
  tp-smapi build failure on arm64 with the latest impish kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tp-smapi/+bug/1945784/+subscriptions


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

Reply via email to