alexreinert / piVCCU

piVCCU is a project to install the original Homematic CCU3 firmware inside a virtualized container (lxc) on ARM based single board computers.
Apache License 2.0
300 stars 62 forks source link

build failure against kernel 6.4 #498

Closed krikk closed 1 year ago

krikk commented 1 year ago

i have a beelink eq12 mini pc with intel N100 and a newish intel wifi chip which requires kernel 6.4 to work, so i am running debian 12 with the kernel 6.4 from testing, now i tried to install your kernel modules via

sudo apt-get -t testing install pivccu-modules-dkms

and this fails with the following error:

Building module:
Cleaning build area...
make -j4 KERNELRELEASE=6.4.0-1-amd64 ARCH=x86 all...(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.4.0-1-amd64 (x86_64)
Consult /var/lib/dkms/pivccu/1.0.82/build/make.log for more information.
dkms autoinstall on 6.4.0-1-amd64/x86_64 failed for pivccu(10)
Error! One or more modules failed to install during autoinstall.
Refer to previous errors for more information.
dkms: autoinstall for kernel: 6.4.0-1-amd64 failed!
run-parts: /etc/kernel/header_postinst.d/dkms exited with return code 11
Failed to process /etc/kernel/header_postinst.d at /var/lib/dpkg/info/linux-headers-6.4.0-1-amd64.postinst line 11.
dpkg: error processing package linux-headers-6.4.0-1-amd64 (--configure):
 installed linux-headers-6.4.0-1-amd64 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-headers-amd64:
 linux-headers-amd64 depends on linux-headers-6.4.0-1-amd64 (= 6.4.4-2); however:
  Package linux-headers-6.4.0-1-amd64 is not configured yet.

dpkg: error processing package linux-headers-amd64 (--configure):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u1) ...
Errors were encountered while processing:
 linux-headers-6.4.0-1-amd64
 linux-headers-amd64
Updating FireMotD available updates count ...

needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

seems to be a problem with building the required kernel module, would be really nice if you could have a look on it

i attached the make.log file from the failed build

would be great if you could have a look on this issue... Thank you very much in advance.

jagiella commented 1 year ago

I had the same problem, but fixed them in pull request #499

alexreinert commented 1 year ago

There is now an updated kernel module package in the testing APT Repository available.

krikk commented 1 year ago

installed vom testing apt repo did work, now everything is working with kernel 6.4, big thanks!!