New comment by st3r4g on void-packages repository https://github.com/void-linux/void-packages/issues/20438#issuecomment-615345691 Comment: > @st3r4g: When dependencies are build after desired package is indexed, and some transitive dependency fail to build, one end up with non-installable package and no easy way to build just what is missing. Currently, it is enough to fix failing package and build desired package again. > > Complete solution may need a temporary area of packages visible to xbps-src, but not indexed yet. Exactly, the index must be updated only after all runtime dependencies are built successfully. In https://github.com/void-linux/xbps/issues/259#issuecomment-608367884 a new tool was proposed to handle proper indexing of packages (in a multi-repo aware way). So if such tool is made, we can postpone building runtime deps and let the new tool do the shlibs checks and rundeps checks, so that repo index has always installable packages.