New comment by Piraty on void-packages repository https://github.com/void-linux/void-packages/issues/18976#issuecomment-583864182 Comment: This affects platforms with custom kernel packages as well (rpi for example), so dkms pulls linux-headers and failes consequently during dkms builds because the version doesn't match (even further, version clash could occur but is unlikely since rpi kernel follows latest lts) I doubt xbps in its current state can handle this nicely (as in: make dkms depend on a virtual target (via `depends=virtual?kernel-headers`) and all kernel headers `provide=kernel-headers` and let it pick the right one according to platfirm (or ask the user to install it?)