testing/openrazer: new aport
@jirutka you're not on IRC/Matrix are you? I'm having an issue getting akms to work properly. Right now the packaging seems correct but akms doesn't seem to like that my kernel has been built by a different gcc version than I currently have installed.
Executing akms-0.2.0-r0.trigger
akms: Building module openrazer-driver/3.1.0 for kernel 5.15.5-0-lts
(1/11) Installing libgmpxx (6.2.1-r0)
(2/11) Installing gmp-dev (6.2.1-r0)
(3/11) Installing mpc1-dev (1.2.1-r0)
(4/11) Installing mpfr-dev (4.1.0-r0)
(5/11) Installing elfutils-dev (0.185-r0)
(6/11) Installing flex (2.6.4-r2)
(7/11) Installing bison (3.7.6-r0)
(8/11) Installing linux-lts-dev (5.15.5-r0)
(9/11) Installing .akms-build (20211130.143338)
(10/11) Installing bison-doc (3.7.6-r0)
(11/11) Installing flex-doc (2.6.4-r2)
OK: 12250 MiB in 2445 packages
make: Entering directory '/usr/src/linux-headers-5.15.5-0-lts'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Alpine 11.2.1_git20211125) 11.2.1 20211125
You are using: gcc (Alpine 11.2.1_git20211128) 11.2.1 20211128
CC [M] /var/lib/akms/5.15.5-0-lts/openrazer-driver/3.1.0/build/razerkbd_driver.o
CC [M] /var/lib/akms/5.15.5-0-lts/openrazer-driver/3.1.0/build/razercommon.o
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/stackleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/latent_entropy_plugin.so
CC [M] /var/lib/akms/5.15.5-0-lts/openrazer-driver/3.1.0/build/razerchromacommon.o
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/stackleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/latent_entropy_plugin.so
make[1]: *** [scripts/Makefile.build:277: /var/lib/akms/5.15.5-0-lts/openrazer-driver/3.1.0/build/razerkbd_driver.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [scripts/Makefile.build:277: /var/lib/akms/5.15.5-0-lts/openrazer-driver/3.1.0/build/razercommon.o] Error 1
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/stackleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/structleak_plugin.so
cc1: error: incompatible gcc/plugin versions
cc1: error: failed to initialize plugin ./scripts/gcc-plugins/latent_entropy_plugin.so
make[1]: *** [scripts/Makefile.build:277: /var/lib/akms/5.15.5-0-lts/openrazer-driver/3.1.0/build/razerchromacommon.o] Error 1
make: *** [Makefile:1868: /var/lib/akms/5.15.5-0-lts/openrazer-driver/3.1.0/build] Error 2
make: Leaving directory '/usr/src/linux-headers-5.15.5-0-lts'
akms: ERROR: Failed to build module openrazer-driver/3.1.0 for 5.15.5-0-lts
akms: ERROR: examine /var/lib/akms/5.15.5-0-lts/openrazer-driver/3.1.0/build
Edited by Bart Ribbers