Error! Bad return status for module build on kernel: 4.14.245-1-MANJARO (x86_64)

when updating linux headers :

sudo pacman -S linux-headers
warning: linux414-headers-4.14.245-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) linux414-headers-4.14.245-1

Total Installed Size:  85.25 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                                                              [#####################################################] 100%
(1/1) checking package integrity                                                            [#####################################################] 100%
(1/1) loading package files                                                                 [#####################################################] 100%
(1/1) checking for file conflicts                                                           [#####################################################] 100%
(1/1) checking available disk space                                                         [#####################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
==> Unable to remove module openrazer-driver/3.1.0 for kernel 4.14.245-1-MANJARO: Not found in dkms status output.
:: Processing package changes...
(1/1) reinstalling linux414-headers                                                         [#####################################################] 100%
:: Running post-transaction hooks...
(1/3) Arming ConditionNeedsUpdate...
(2/3) Updating module dependencies...
(3/3) Install DKMS modules
==> dkms install --no-depmod -m openrazer-driver -v 3.1.0 -k 4.14.245-1-MANJARO
Error! Bad return status for module build on kernel: 4.14.245-1-MANJARO (x86_64)
Consult /var/lib/dkms/openrazer-driver/3.1.0/build/make.log for more information.
==> Warning, `dkms install --no-depmod -m openrazer-driver -v 3.1.0 -k 4.14.245-1-MANJARO' returned 10
==> depmod 4.14.245-1-MANJARO

So what is the content of /var/lib/dkms/openrazer-driver/3.1.0/build/make.log?
Also, please provide your system information.

1 Like

Perhaps the openrazer-driver doesn’t support 4.14 (anymore).

If there is no compelling reason for your machine to use 4.14 try any newer (lts?) kernel:
https://wiki.manjaro.org/index.php/Manjaro_Kernels