acpi-call-dkms fails to build on HWE kernel

Bug #1734518 reported by Redsandro
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
acpi-call (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

While provisioning a brand new laptop, I found that I cannot install `acpi-call-dkms`.

1) Ubuntu 16.04.3
2) acpi-call-dkms 1.1.0-2

```
$ sudo apt install acpi-call-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  acpi-call-dkms
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 12,9 kB of archives.
After this operation, 73,7 kB of additional disk space will be used.
Get:1 http://ubuntu.mirror.cambrium.nl/ubuntu xenial/universe amd64 acpi-call-dkms all 1.1.0-2 [12,9 kB]
Fetched 12,9 kB in 0s (341 kB/s)
Selecting previously unselected package acpi-call-dkms.
(Reading database ... 285288 files and directories currently installed.)
Preparing to unpack .../acpi-call-dkms_1.1.0-2_all.deb ...
Unpacking acpi-call-dkms (1.1.0-2) ...
Setting up acpi-call-dkms (1.1.0-2) ...
Loading new acpi-call-1.1.0 DKMS files...
First Installation: checking all kernels...
Building only for 4.13.0-17-generic
Building initial module for 4.13.0-17-generic
ERROR (dkms apport): kernel package linux-headers-4.13.0-17-generic is not supported
Error! Bad return status for module build on kernel: 4.13.0-17-generic (x86_64)
Consult /var/lib/dkms/acpi-call/1.1.0/build/make.log for more information.

$ cat /var/lib/dkms/acpi-call/1.1.0/build/make.log
DKMS make.log for acpi-call-1.1.0 for kernel 4.13.0-17-generic (x86_64)
Sun Nov 26 11:03:42 CET 2017
make: Entering directory '/usr/src/linux-headers-4.13.0-17-generic'
  AR /var/lib/dkms/acpi-call/1.1.0/build/built-in.o
  CC [M] /var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o
/var/lib/dkms/acpi-call/1.1.0/build/acpi_call.c: In function ‘acpi_proc_write’:
/var/lib/dkms/acpi-call/1.1.0/build/acpi_call.c:277:9: error: implicit declaration of function ‘copy_from_user’ [-Werror=implicit-function-declaration]
     if (copy_from_user( input, buff, len )) {
         ^
cc1: some warnings being treated as errors
scripts/Makefile.build:309: recipe for target '/var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o' failed
make[1]: *** [/var/lib/dkms/acpi-call/1.1.0/build/acpi_call.o] Error 1
Makefile:1546: recipe for target '_module_/var/lib/dkms/acpi-call/1.1.0/build' failed
make: *** [_module_/var/lib/dkms/acpi-call/1.1.0/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.13.0-17-generic'
```

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

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

Changed in acpi-call (Ubuntu):
status: New → Confirmed
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.