There is an updated pull request by tornaria against master on the void-packages repository https://github.com/tornaria/void-packages sort-deps https://github.com/void-linux/void-packages/pull/47888 fix sort-dependencies to use checkdepends As it is now, if `pkgA` checkdepends on `pkgB`, sort-dependencies will still print `pkgA` before `pkgB`. This causes CI to build `pkgB` twice: first build `pkgA` which forces implicit build of `pkgB`; then build of `pkgB` (explicit, so it will ignore the package is already built). A concrete example: ``` $ ./xbps-src sort-dependencies python3-process-tests python3-pytest-cov python3-pytest-cov python3-process-tests ``` After this commit, the order above is the other way around. The example above causes `python-process-tests` to be built twice, as shown in: https://github.com/void-linux/void-packages/actions/runs/7107346278/job/19348602412?pr=47610 #### Testing the changes - I tested the changes in this PR: **YES** A patch file from https://github.com/void-linux/void-packages/pull/47888.patch is attached