Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 861818 - dev-libs/tree-sitter-0.20.6 installs pkg-config files with mismatched Version
Summary: dev-libs/tree-sitter-0.20.6 installs pkg-config files with mismatched Version
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ali Abdel-Qader
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pkg-config_mismatched-version
  Show dependency tree
 
Reported: 2022-07-29 06:48 UTC by Agostino Sarubbo
Modified: 2022-08-23 00:47 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,45.40 KB, text/plain)
2022-07-29 06:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-07-29 06:48:49 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-29 06:48:50 UTC
CC'ing also the author of the commit (73004df761e342dcc300b7267cee2f31dce1573a)
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-29 06:48:51 UTC
Created attachment 795326 [details]
build.log

build log and emerge --info
Comment 3 Matthew Smith gentoo-dev 2022-07-29 08:08:13 UTC
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
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-23 00:47:14 UTC
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.