meson-python uses pkg-config --version to detect a valid pkg-config. When running that I see
$ pkg-config --version
> Running the Python pkgconf [INFO:pkgconf.cli]
> $ 'PKG_CONFIG_PATH='"'"''"'"'' /tmp/venv313/lib/python3.13/site-packages/pkgconf/.bin/pkgconf --version [INFO:pkgconf.cli]
2.5.1
Even though the extra lines goes to stderr it could possibly mess up some parsers. Is it necessary to log that info?
xref numpy/numpy#26574 (comment)