Mailinglist Archive: opensuse-support (71 mails)

< Previous Next >
Re: [opensuse-support] dkms-acpi_call %posttrans script failed
  • From: H Zeng <zhx@xxxxxxxxx>
  • Date: Fri, 06 Jul 2018 20:44:58 +0800
  • Message-id: <7937354.rLDNXK9HqO@ostp>
On Friday, 6 July 2018 20:18:41 HKT Carlos E. R. wrote:
On 2018-07-06 14:15, H Zeng wrote:
# /usr/sbin/dkms build -m acpi_call -v 1.1.0-6.210

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
make -j4 KERNELRELEASE=4.17.3-1-default -C
SUBDIRS=/var/lib/dkms/acpi_call/1.1.0-6.210/build modules...(bad exit
status: 2)
Error! Bad return status for module build on kernel: 4.17.3-1-default
(x86_64) Consult /var/lib/dkms/acpi_call/1.1.0-6.210/build/make.log for
more information.

Well, you should have a look at that log.
Here is the log,
# cat /var/lib/dkms/acpi_call/1.1.0-6.210/build/make.log
DKMS make.log for acpi_call-1.1.0-6.210 for kernel 4.17.3-1-default (x86_64)
Fri 6 Jul 20:14:04 HKT 2018
make: Entering directory '/usr/src/linux-4.17.3-1-obj/x86_64/default'
CC [M] /var/lib/dkms/acpi_call/1.1.0-6.210/build/acpi_call.o
In file included from /var/lib/dkms/acpi_call/1.1.0-6.210/build/acpi_call.c:
/usr/src/linux-4.17.3-1/arch/x86/include/asm/uaccess.h: In function ‘set_fs’:
/usr/src/linux-4.17.3-1/arch/x86/include/asm/uaccess.h:32:9: error:
dereferencing pointer to incomplete type ‘struct task_struct’
current->thread.addr_limit = fs;
/var/lib/dkms/acpi_call/1.1.0-6.210/build/acpi_call.c: In function
/var/lib/dkms/acpi_call/1.1.0-6.210/build/acpi_call.c:279:9: error: implicit
declaration of function ‘copy_from_user’; did you mean ‘raw_copy_from_user’?
if (copy_from_user( input, buff, len )) {
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-4.17.3-1/scripts/ /var/lib/
dkms/acpi_call/1.1.0-6.210/build/acpi_call.o] Error 1
make[2]: *** [/usr/src/linux-4.17.3-1/Makefile:1585: _module_/var/lib/dkms/
acpi_call/1.1.0-6.210/build] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
make: Leaving directory '/usr/src/linux-4.17.3-1-obj/x86_64/default'
It looks like the function name is not right. Should I report it to the
developer, such as opening an issue in the GitHub page?


Best regards,

To unsubscribe, e-mail: opensuse-support+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-support+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups