New comment by r-ricci on void-packages repository https://github.com/void-linux/void-packages/issues/44807#issuecomment-1661246227 Comment: Actually the problem does not seem to be cross-compilation. This issue doesn't affect the natively built kernel package just because this one doesn't require the helper tools to be rebuilt. If I make these changes: ```diff --- /etc/kernel.d/post-install/10-dkms.old +++ /etc/kernel.d/post-install/10-dkms @@ -19,9 +19,7 @@ export IGNORE_CC_MISMATCH=1 -if [ ! -f /lib/modules/${VERSION}/build/scripts/basic/fixdep ] || [ ! -f /lib/modules/${VERSION}/build/scripts/mod/modpost ]; then yes "" | make -j $(nproc) -C /lib/modules/${VERSION}/build prepare0 -fi # Check available DKMS modules for _mod_ in /var/lib/dkms/*; do ``` then `xbps-reconfigure -f linux6.3` fails with the error mentioned by @Calandracas606, both with a cross-compiled kernel and a native one. I tried the same thing on a x86_64 system and it fails too (even though the missing files are not the same).