tp-smapi-dkms package fails to install (build - bad exit status: 2)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tp-smapi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
tp-smapi-dkms fails to install on Ubuntu 16.04 machine, complaining about build errors.
Log
$ sudo apt install tp-smapi-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
tp-smapi-dkms
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 35.8 kB of archives.
After this operation, 193 kB of additional disk space will be used.
Get:1 http://
Fetched 35.8 kB in 0s (37.5 kB/s)
Selecting previously unselected package tp-smapi-dkms.
(Reading database ... 400451 files and directories currently installed.)
Preparing to unpack .../tp-
Unpacking tp-smapi-dkms (0.41-1) ...
Setting up tp-smapi-dkms (0.41-1) ...
Creating symlink /var/lib/
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=
Error! Bad return status for module build on kernel: 4.15.0-36-generic (x86_64)
Consult /var/lib/
Scanning processes...
Scanning linux images...
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
Actual build log (from /var/lib/
DKMS make.log for tp-smapi-0.41 for kernel 4.15.0-36-generic (x86_64)
Wed Oct 3 15:35:26 EEST 2018
make: Entering directory '/usr/src/
CC [M] /var/lib/
In file included from ./include/
/var/lib/
./include/
static inline type __always_unused *__check_
./include/
#define param_check_
./include/
param_
^
/var/lib/
module_
^
/var/lib/
/var/lib/
}
^
cc1: some warnings being treated as errors
scripts/
make[1]: *** [/var/lib/
Makefile:1551: recipe for target '_module_
make: *** [_module_
make: Leaving directory '/usr/src/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: tp-smapi-dkms 0.41-1
ProcVersionSign
Uname: Linux 4.15.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
Date: Wed Oct 3 15:38:27 2018
PackageArchitec
SourcePackage: tp-smapi
UpgradeStatus: No upgrade log present (probably fresh install)
*sigh* it must be duplicate of this: /bugs.launchpad .net/ubuntu/ +source/ tp-smapi/ +bug/1606447 :|
https:/