Public bug reported:

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'
```

** Affects: acpi-call (Ubuntu)
     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/1734518

Title:
  acpi-call-dkms fails to build on HWE kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/acpi-call/+bug/1734518/+subscriptions

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

Reply via email to