acpi-call-dkms: module fails to build beginning with mainline kernel 4.12.x

Bug #1705678 reported by Benjamin Schmid
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
acpi-call (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Due to my Skylake-based hardware I'm trying to run the latest mainline kernel from http://kernel.ubuntu.com/~kernel-ppa/mainline/ on my Ubuntu 16.04 LTS/xenial (Linux Mint Variant) installation. I'm using the Ukuu kernel upgrade utility for that purpose.

Beginning with 4.12 acpi-call-dkms (1.1.0-2) fails to build.

Here the relevant excerpt of make.log

DKMS make.log for acpi-call-1.1.0 for kernel 4.12.3-041203-generic (x86_64)
...
/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 )) {
         ^

I'm unsure if this is out of scope for Ubuntu but wanted to raise awareness somewhere.

Tags: amd64 xenial
Revision history for this message
Benjamin Schmid (benbuntu) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package acpi-call - 1.1.0-4

---------------
acpi-call (1.1.0-4) unstable; urgency=low

  * [45b90c6] Fix build failure on 4.12.
    Include the correct header for copy_from_user prototype
    Thanks to Colin Ian King for the patch (Closes: #868110)
    (LP: #1700783, #1705678)
  * [ba63573] Bump Standards-Version to 4.0.0, no changes needed
  * [7640fff] Bump debhelper compat to 10
  * [ea4dd52] Drop build-dependency on dpkg-dev

 -- Raphaël Halimi <email address hidden> Mon, 24 Jul 2017 20:58:44 +0200

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