New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/47888#issuecomment-1869639495 Comment: Please review. In this version I moved fixing other pkgs to #47910 to make this PR simpler. Summary of changes: 1. implement function `skip_check_step()` with the logic that determines whether the check step will be skipped for the current pkg, taking into account `make_check`. As a side effect `install_pkg_deps()` now uses a more accurate condition to skip installing checkdepends. 2. Fix implementation of `./xbps-src show-build-deps` so it includes checkdepends when using -Q or -K (using `skip_check_step()` to match `install_pkg_deps()` so it will be consistent). As a side effect, `./xbps-src sort-dependencies` will take checkdepends into account. 3. Change `common/travis/build.sh` so that -Q is passed to sort-dependencies when we are doing a test build. 4. Add `-Q` and `-K` flags to `common/scripts/xbps-cycles.py`. @sgn does this address your concerns?