Public bug reported: Setting up tp-smapi-dkms (0.41-1) ...
Creating symlink /var/lib/dkms/tp-smapi/0.41/source -> /usr/src/tp-smapi-0.41 DKMS: add completed. Kernel preparation unnecessary for this kernel. Skipping... Building module: cleaning build area.... make KERNELRELEASE=4.13.0-38-generic -C /lib/modules/4.13.0-38-generic/build M=/var/lib/dkms/tp-smapi/0.41/build.....(bad exit status: 2) Error! Bad return status for module build on kernel: 4.13.0-38-generic (x86_64) Consult /var/lib/dkms/tp-smapi/0.41/build/make.log for more information. ------------------------------------------------------------------------ DKMS make.log for tp-smapi-0.41 for kernel 4.13.0-38-generic (x86_64) Sat Apr 14 13:44:42 IST 2018 make: Entering directory '/usr/src/linux-headers-4.13.0-38-generic' AR /var/lib/dkms/tp-smapi/0.41/build/built-in.o CC [M] /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o In file included from ./include/linux/module.h:18:0, from /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.c:33: /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.c: In function ‘__check_force_io’: ./include/linux/moduleparam.h:346:67: error: return from incompatible pointer type [-Werror=incompatible-pointer-types] static inline type __always_unused *__check_##name(void) { return(p); } ^ ./include/linux/moduleparam.h:398:35: note: in expansion of macro ‘__param_check’ #define param_check_bool(name, p) __param_check(name, p, bool) ^ ./include/linux/moduleparam.h:148:2: note: in expansion of macro ‘param_check_bool’ param_check_##type(name, &(value)); \ ^ /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.c:100:1: note: in expansion of macro ‘module_param_named’ module_param_named(force_io, force_io, bool, 0600); ^ /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.c: In function ‘check_dmi_for_ec’: /var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.c:469:1: warning: the frame size of 1728 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ cc1: some warnings being treated as errors scripts/Makefile.build:315: recipe for target '/var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o' failed make[1]: *** [/var/lib/dkms/tp-smapi/0.41/build/thinkpad_ec.o] Error 1 Makefile:1550: recipe for target '_module_/var/lib/dkms/tp-smapi/0.41/build' failed make: *** [_module_/var/lib/dkms/tp-smapi/0.41/build] Error 2 make: Leaving directory '/usr/src/linux-headers-4.13.0-38-generic' ** Affects: tp-smapi (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/1763904 Title: Error! Bad return status for module build on kernel: 4.13.0-38-generic (x86_64) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/tp-smapi/+bug/1763904/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs