New comment by st3r4g on void-packages repository https://github.com/void-linux/void-packages/issues/21899#issuecomment-627963151 Comment: This is not a real build-time cycle, since `ocl-icd` is just a runtime dependency of a `mesa` subpackage (doesn't really need to be built before `mesa`). But sadly at the moment `xbps-src` treats build-time and runtime dependencies in the same way (tries to build everything before), so loops like this happen. That said, removing `ocl-icd` from `mesa-opencl`'s deps doesn't look too wrong imo, because `mesa-opencl` is an implementation and not a program linking to OpenCL.