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

Cannot install with Kernel 6.6 #524

Closed gerritwalther closed 2 months ago

gerritwalther commented 3 months ago

Hi, I have quite an edge case here, being on a RPi4 and using minimal Manjaro. I have done a system update and am now on Kernel 6.6.31-1-MANJARO-RPI4. I tried to use the pivccu-modules-dkms package on the AUR (I know you are not the maintainer) and edited the PKGBUILD to point to the latest commit (and added some arbitrary version number). That solved some problems. But when the package is build I get the following output

DKMS make.log for pivccu-modules-1.0.99 for kernel 6.6.31-1-MANJARO-RPI4 (aarch64)
Mon 27 May 17:55:22 CEST 2024
make: Entering directory '/usr/lib/modules/6.6.31-1-MANJARO-RPI4/build'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: gcc (GCC) 14.1.1 20240507
  You are using:           gcc (GCC) 12.1.0
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/plat_eq3ccu2.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/generic_raw_uart.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/pl011_raw_uart.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/dw_apb_raw_uart.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/meson_raw_uart.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/fake_hmrf.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/rpi_rf_mod_led.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/dummy_rx8130.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/led_trigger_timer.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/hb_rf_usb.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/hb_rf_usb_2.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/hb_rf_eth.o
  CC [M]  /var/lib/dkms/pivccu-modules/1.0.99/build/rtc-rx8130.o
  MODPOST /var/lib/dkms/pivccu-modules/1.0.99/build/Module.symvers
scripts/mod/modpost: /usr/lib/libc.so.6: version `GLIBC_2.38' not found (required by scripts/mod/modpost)
make[2]: *** [scripts/Makefile.modpost:145: /var/lib/dkms/pivccu-modules/1.0.99/build/Module.symvers] Error 1
make[1]: *** [/usr/lib/modules/6.6.31-1-MANJARO-RPI4/build/Makefile:1865: modpost] Error 2
make: *** [Makefile:234: __sub-make] Error 2
make: Leaving directory '/usr/lib/modules/6.6.31-1-MANJARO-RPI4/build'

Is this an issue you have come across using Debian and Kernel 6.6?

My issue is I can't update gcc or glibc, as the latest versions from the Manjaro Repo are 12 and 2.35 respectively.

alexreinert commented 2 months ago

Sorry, nothing I can help with. It seems, that the manjaro kernel and kernel header packages were built on a system with a more recent version of libc6 as on your system. So this is nothing special to the kernel 6.6.

gerritwalther commented 2 months ago

Thank you anyway. That was also my guess. Will try to get in contact with the Manjaro devs and hopefully get a solution there. Otherwise I will change my host system to Raspbian or something similar.