https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/tree-sitter-0.20.6 installs pkg-config files with mismatched Version. Discovered on: amd64 (internal ref: ci)
CC'ing also the author of the commit (73004df761e342dcc300b7267cee2f31dce1573a)
Created attachment 795326 [details] build.log build log and emerge --info
I think it's okay that the .pc doesn't match the package's ${PV} - they are versioned independently. However looking at the git blame, it looks like the upstream haven't updated the version number since they added their build system 2 years ago: https://github.com/tree-sitter/tree-sitter/blame/master/Makefile
See https://bugs.gentoo.org/857654#c1. This check has been dropped in portage-3.0.35 because of false positives, usually relating to SONAME versioning not corresponding to ${PV}. It may be restored at a later time in an opt-in fashion (either for users/developers to set in e.g. make.conf, or for ebuilds to enable when upstream is known to make errors (possibly could be by setting QA_PKGCONFIG_VERSION?)). Apologies for the noise until now. It was an experiment and while some legitimate bugs were found, it was too noisy and that's unfair to developers.