Package Details: keymash-dkms-git r3.cb152fd-1

Git Clone URL: https://aur.archlinux.org/keymash-dkms-git.git (read-only, click to copy)
Package Base: keymash-dkms-git
Description: Device driver that provides an endless supply of lowercase characters from the QWERTY home row in a cryptographically secure random order.
Upstream URL: https://git.bsd.gay/fef/keymash
Licenses: GPL2, BSD
Conflicts: keymash-dkms, keymash-module
Provides: keymash-dkms, keymash-module
Submitter: kescherAUR
Maintainer: kescherAUR
Last Packager: kescherAUR
Votes: 2
Popularity: 0.000000
First Submitted: 2022-02-12 23:42 (UTC)
Last Updated: 2022-02-13 00:23 (UTC)

Dependencies (1)

Required by (0)

Sources (1)

Latest Comments

kescherAUR commented on 2023-07-26 15:58 (UTC)

@dreieck aaaand it's fixed

kescherAUR commented on 2023-07-26 15:37 (UTC)

@dreieck author fixed build for 6.4. However, it is not broken for anything older than that XD

kescherAUR commented on 2023-07-26 15:09 (UTC)

@dreieck I did report this to the author of the module, since it likely means an adjustment for header changes is necessary.

dreieck commented on 2023-07-25 15:09 (UTC) (edited on 2023-07-25 15:12 (UTC) by dreieck)

I want to note that DKMS fails to build this on recent kernel.

After installing this package, I get:

(1/2) Install DKMS modules
==> dkms install --no-depmod keymash/r6.806d91b -k 6.4.0-pf3
Error! Bad return status for module build on kernel: 6.4.0-pf3 (x86_64)
Consult /var/lib/dkms/keymash/r6.806d91b/build/make.log for more information.
==> WARNING: `dkms install --no-depmod keymash/r6.806d91b -k 6.4.0-pf3' exited 10
==> dkms install --no-depmod keymash/r6.806d91b -k 6.4.3-artix1-2
Error! Bad return status for module build on kernel: 6.4.3-artix1-2 (x86_64)
Consult /var/lib/dkms/keymash/r6.806d91b/build/make.log for more information.
==> WARNING: `dkms install --no-depmod keymash/r6.806d91b -k 6.4.3-artix1-2' exited 10

The /var/lib/dkms/keymash/r6.806d91b/build/make.log shows:

DKMS make.log for keymash-r6.806d91b for kernel 6.4.3-artix1-2 (x86_64)
Di 25. Jul 17:07:24 CEST 2023
  CC [M]  /var/lib/dkms/keymash/r6.806d91b/build/src/keymash.o
In file included from ./include/linux/linkage.h:7,
                 from ./arch/x86/include/asm/cache.h:5,
                 from ./include/linux/cache.h:6,
                 from ./arch/x86/include/asm/current.h:9,
                 from ./include/linux/mutex.h:14,
                 from ./include/linux/kernfs.h:11,
                 from ./include/linux/sysfs.h:16,
                 from ./include/linux/kobject.h:20,
                 from ./include/linux/cdev.h:5,
                 from /var/lib/dkms/keymash/r6.806d91b/build/src/keymash.c:1:
/var/lib/dkms/keymash/r6.806d91b/build/src/keymash.c: In function ‘keymash_init’:
./include/linux/export.h:27:22: error: passing argument 1 of ‘class_create’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   27 | #define THIS_MODULE (&__this_module)
      |                     ~^~~~~~~~~~~~~~~
      |                      |
      |                      struct module *
/var/lib/dkms/keymash/r6.806d91b/build/src/keymash.c:101:38: note: in expansion of macro ‘THIS_MODULE’
  101 |         keymash_class = class_create(THIS_MODULE, "kmsh");
      |                                      ^~~~~~~~~~~
In file included from ./include/linux/device.h:31,
                 from ./include/linux/cdev.h:8:
./include/linux/device/class.h:230:54: note: expected ‘const char *’ but argument is of type ‘struct module *’
  230 | struct class * __must_check class_create(const char *name);
      |                                          ~~~~~~~~~~~~^~~~
/var/lib/dkms/keymash/r6.806d91b/build/src/keymash.c:101:25: error: too many arguments to function ‘class_create’
  101 |         keymash_class = class_create(THIS_MODULE, "kmsh");
      |                         ^~~~~~~~~~~~
./include/linux/device/class.h:230:29: note: declared here
  230 | struct class * __must_check class_create(const char *name);
      |                             ^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:252: /var/lib/dkms/keymash/r6.806d91b/build/src/keymash.o] Error 1
make: *** [Makefile:2026: /var/lib/dkms/keymash/r6.806d91b/build] Error 2

Issue reported upstream via Email.

Regards!

amelia commented on 2022-04-13 15:37 (UTC)

based