tp-smapi-dkms 0.43-1ubuntu1: tp_smapi kernel module failed to build

Bug #2048911 reported by Jason Watson
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
tp-smapi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Description: Ubuntu 22.04.3 LTS
Release: 22.04

tp-smapi-dkms 0.43-1ubuntu1
linux-image-6.2.0-39-generic 6.2.0-39.40~22.04.1
linux-image-6.5.0-14-generic 6.5.0-14.14~22.04.1
linux-image-generic-hwe-22.04 6.5.0.14.14~22.04.7
linux-headers-5.19.0-50-generic 5.19.0-50.50
linux-headers-6.2.0-39-generic 6.2.0-39.40~22.0
linux-headers-6.5.0-14-generic 6.5.0-14.14~22.0
linux-headers-generic-hwe-22.04 6.5.0.14.14~22.0

Upgraded all packages, including "linux-image-generic-hwe-22.04 (6.5.0.14.14~22.04.7)"

Expected module to rebuild as it had before.
Module failed to build with new kernel.

Error! Bad return status for module build on kernel: 6.5.0-14-generic (x86_64)
Consult /var/lib/dkms/tp_smapi/0.43/build/make.log for more information.

Log includes:
/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:94:42: error: macro "DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given
   94 | static DEFINE_SEMAPHORE(thinkpad_ec_mutex);
      | ^
In file included from /var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:45:
./include/linux/semaphore.h:34: note: macro "DEFINE_SEMAPHORE" defined here
   34 | #define DEFINE_SEMAPHORE(_name, _n) \
      |

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: tp-smapi-dkms 0.43-1ubuntu1
ProcVersionSignature: Ubuntu 6.2.0-39.40~22.04.1-generic 6.2.16
Uname: Linux 6.2.0-39-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: pass
DKMSKernelVersion: 6.5.0-14-generic
Date: Wed Jan 10 10:27:57 2024
DuplicateSignature: dkms:tp-smapi-dkms:0.43-1ubuntu1:/var/lib/dkms/tp_smapi/0.43/build/thinkpad_ec.c:94:42: error: macro "DEFINE_SEMAPHORE" requires 2 arguments, but only 1 given
InstallationDate: Installed on 2022-03-09 (671 days ago)
InstallationMedia: Ubuntu 21.10 "Impish Indri" - Release amd64 (20211012)
PackageVersion: 0.43-1ubuntu1
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal, 3.10.6-1~22.04
PythonDetails: /usr/bin/python3.10, Python 3.10.12, python-is-python3, 3.9.2-2
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.2
 apt 2.4.11
SourcePackage: tp-smapi
Title: tp-smapi-dkms 0.43-1ubuntu1: tp_smapi kernel module failed to build
UpgradeStatus: Upgraded to jammy on 2022-04-27 (622 days ago)

Revision history for this message
Jason Watson (jwatson0) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in tp-smapi (Ubuntu):
status: New → Confirmed
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make this software better. This particular crash has already been reported and is a duplicate of bug #2049054, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.