tp-smapi build failure on arm64 with the latest impish kernel
Bug #1945784 reported by
Andrea Righi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tp-smapi (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Impish |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
tp-smapi fails to build on arm64 with the following error:
│ ./include/
│ 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.
tags: | added: patch |
Changed in tp-smapi (Ubuntu Impish): | |
status: | New → Fix Committed |
To post a comment you must log in.
This bug was fixed in the package tp-smapi - 0.43-1ubuntu1
---------------
tp-smapi (0.43-1ubuntu1) impish; urgency=medium
* Restrict this module to amd64 (LP: #1945784)
-- Andrea Righi <email address hidden> Fri, 01 Oct 2021 14:47:02 +0200