There is an updated pull request by classabbyamp against master on the void-packages repository https://github.com/classabbyamp/void-packages update/rpi https://github.com/void-linux/void-packages/pull/46152 rpi-kernel: update to 6.1.54 (and rpi-firmware, rpi-userland) - rpi-kernel: update to 6.1.54. - rpi-firmware: update to 20230920. - rpi-userland: update to 20230920. continuation of #43600, made a new PR to clean things up builds for testing: https://devspace.voidlinux.org/abby/updates/rpi/ #### Testing the changes - I tested the changes in this PR: **YES** Still getting the DKMS/headers issue: When building `fixdep` and `modpost` in `/etc/kernel.d/post-install/10-dkms`, it gets stuck in an infinite makefile loop: https://github.com/void-linux/void-packages/blob/5b18878cc72b410bc076ac15218f4c5fa0c3fcbf/srcpkgs/dkms/files/kernel.d/dkms.postinst#L22-L24 ``` # xbps-reconfigure -f rpi-kernel rpi-kernel: configuring ... Executing post-install kernel hook: 10-dkms ... SYNC include/config/auto.conf HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/menu.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTLD scripts/kconfig/conf HOSTCC scripts/dtc/dtc.o HOSTCC scripts/dtc/flattree.o HOSTCC scripts/dtc/fstree.o HOSTCC scripts/dtc/data.o HOSTCC scripts/dtc/livetree.o HOSTCC scripts/dtc/treesource.o HOSTCC scripts/dtc/srcpos.o HOSTCC scripts/dtc/checks.o HOSTCC scripts/dtc/util.o HOSTCC scripts/dtc/dtc-lexer.lex.o HOSTCC scripts/dtc/dtc-parser.tab.o HOSTLD scripts/dtc/dtc HOSTCC scripts/dtc/libfdt/fdt.o HOSTCC scripts/dtc/libfdt/fdt_ro.o HOSTCC scripts/dtc/libfdt/fdt_wip.o HOSTCC scripts/dtc/libfdt/fdt_sw.o HOSTCC scripts/dtc/libfdt/fdt_rw.o HOSTCC scripts/dtc/libfdt/fdt_strerror.o HOSTCC scripts/dtc/libfdt/fdt_empty_tree.o HOSTCC scripts/dtc/libfdt/fdt_addresses.o HOSTCC scripts/dtc/libfdt/fdt_overlay.o HOSTCC scripts/dtc/fdtoverlay.o HOSTLD scripts/dtc/fdtoverlay HOSTCC scripts/genksyms/genksyms.o HOSTCC scripts/genksyms/parse.tab.o HOSTCC scripts/genksyms/lex.lex.o HOSTLD scripts/genksyms/genksyms HOSTCC scripts/kallsyms HOSTCC scripts/sorttable HOSTCC scripts/asn1_compiler UPD include/generated/compile.h CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o CC scripts/mod/devicetable-offsets.s UPD scripts/mod/devicetable-offsets.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost scripts/Makefile.build:425: warning: overriding recipe for target 'built-in.a' Makefile:1259: warning: ignoring old recipe for target 'built-in.a' scripts/Makefile.build:440: warning: overriding recipe for target 'modules.order' Makefile:1923: warning: ignoring old recipe for target 'modules.order' scripts/Makefile.build:425: warning: overriding recipe for target 'built-in.a' Makefile:1259: warning: ignoring old recipe for target 'built-in.a' scripts/Makefile.build:440: warning: overriding recipe for target 'modules.order' Makefile:1923: warning: ignoring old recipe for target 'modules.order' scripts/Makefile.build:425: warning: overriding recipe for target 'built-in.a' Makefile:1259: warning: ignoring old recipe for target 'built-in.a' scripts/Makefile.build:440: warning: overriding recipe for target 'modules.order' Makefile:1923: warning: ignoring old recipe for target 'modules.order' scripts/Makefile.build:425: warning: overriding recipe for target 'built-in.a' Makefile:1259: warning: ignoring old recipe for target 'built-in.a' scripts/Makefile.build:440: warning: overriding recipe for target 'modules.order' Makefile:1923: warning: ignoring old recipe for target 'modules.order' ^Cmake[4]: *** [Makefile:1307: asm-generic] Interrupt Interrupt make[3]: *** [Makefile:1289: prepare0] Interrupt make[2]: *** [Makefile:1289: prepare0] Interrupt make[1]: *** [Makefile:1289: prepare0] Interrupt make: *** [Makefile:1289: prepare0] Interrupt ``` However, `^C`ing out of that and re-running it succeeds, because `fixdep` and `modpost` were build before the infinite loop: ``` # xbps-reconfigure -f rpi-kernel rpi-kernel: configuring ... Executing post-install kernel hook: 10-dkms ... rpi-kernel: configured successfully. ``` And dkms works after that: ``` Building DKMS module 'rtl8821cu-5.12.0.4' for kernel-6.1.54_1... done. Installing DKMS module 'rtl8821cu-5.12.0.4' for kernel-6.1.54_1... done. rtl8821cu-dkms-20210916_2: installed successfully. ``` So the issue left to figure out is: why does it infinite loop? A patch file from https://github.com/void-linux/void-packages/pull/46152.patch is attached