Deepin-anything fails to build on Kernel 4.20.0-1

deepin
dependencies
kernel420

#1

While trying to fix vfs_monitor module not load on systemd, a fresh re-install of deepin-anything yields this error message.

$ sudo pacman -S deepin-anything
warning: deepin-anything-0.0.3-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) deepin-anything-0.0.3-1

Total Installed Size:  0.35 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 DKMS modules
:: Processing package changes...
(1/1) reinstalling deepin-anything                                                                                          [##########################################################################] 100%
:: Running post-transaction hooks...
(1/5) Install DKMS modules
==> dkms install deepin-anything/0.0.3 -k 4.20.0-1-MANJARO
Error! Bad return status for module build on kernel: 4.20.0-1-MANJARO (x86_64)
Consult /var/lib/dkms/deepin-anything/0.0.3/build/make.log for more information.
(2/5) Cleaning pacman cache...
==> no candidate packages found for pruning
(3/5) Reloading system manager configuration...
(4/5) Creating system user accounts...
(5/5) Arming ConditionNeedsUpdate...
[martin@AP34 Desktop]$ 

And the resulting log file shows

$ cat /var/lib/dkms/deepin-anything/0.0.3/build/make.log
DKMS make.log for deepin-anything-0.0.3 for kernel 4.20.0-1-MANJARO (x86_64)
Fri 28 Dec 08:08:44 EAT 2018
make: Entering directory '/usr/lib/modules/4.20.0-1-MANJARO/build'
  CC [M]  /var/lib/dkms/deepin-anything/0.0.3/build/vfs_utils.o
  CC [M]  /var/lib/dkms/deepin-anything/0.0.3/build/vfs_change.o
  CC [M]  /var/lib/dkms/deepin-anything/0.0.3/build/arg_extractor.o
  CC [M]  /var/lib/dkms/deepin-anything/0.0.3/build/vfs_kretprobes.o
/var/lib/dkms/deepin-anything/0.0.3/build/vfs_change.c: In function ‘copy_vfs_changes’:
/var/lib/dkms/deepin-anything/0.0.3/build/vfs_change.c:118:3: error: implicit declaration of function ‘time_to_tm’; did you mean ‘time64_to_tm’? [-Werror=implicit-function-declaration]
   time_to_tm(shifted_secs, 0, &ts);
   ^~~~~~~~~~
   time64_to_tm
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:291: /var/lib/dkms/deepin-anything/0.0.3/build/vfs_change.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [Makefile:1563: _module_/var/lib/dkms/deepin-anything/0.0.3/build] Error 2
make: Leaving directory '/usr/lib/modules/4.20.0-1-MANJARO/build'

What to do now? I always get failed kernel modules on reboot because of vfs_monitor module. Previous 4:19 had same error but it was fixable with a install/re-install of deepin-anything.


#2

I have the same problem


#3

deepin-anything doesn’t work yet with 4.20 kernel series. This is normal with each new kernel series. Also arch even don’t support that kernel yet.


#4

is there any news on this one?


#5

Should now be fixed with todays update.


#6

my hole system is updated (today), then i tried again and got the same error


#7

sudo pacman -U http://repo.manjaro.org.uk/pool/sync/deepin-anything-dkms-0.0.3-3-x86_64.pkg.tar.xz


#8

I was able to fix the vfs module error just by installing linux-headers (in Arch) https://github.com/linuxdeepin/deepin-anything/issues/2


#9

If you use dkms you always have to install the headers. Since Manjaro is based on snapshots of Arch-Repositories, not all packages are present in our stable branch. Therefore the needed dkms package is linked in my earlier post.