Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 863974 - dev-libs/unittest++-2.0.0-r2 installs pkg-config files with mismatched Version
Summary: dev-libs/unittest++-2.0.0-r2 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 (vote)
Assignee: Louis Sautier (sbraz)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: pkg-config_mismatched-version
  Show dependency tree
 
Reported: 2022-08-06 10:22 UTC by Agostino Sarubbo
Modified: 2022-08-23 00:47 UTC (History)
0 users

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


Attachments
build.log (build.log,63.29 KB, text/plain)
2022-08-06 10:22 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-08-06 10:22:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-libs/unittest++-2.0.0-r2 installs pkg-config files with mismatched Version.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-08-06 10:22:33 UTC
Created attachment 798286 [details]
build.log

build log and emerge --info
Comment 2 Louis Sautier (sbraz) gentoo-dev 2022-08-06 12:34:18 UTC
It looks like the file relies on a CMake variable that is not set:
https://github.com/unittest-cpp/unittest-cpp/blob/v2.0.0/UnitTest%2B%2B.pc.in#L9

I tried applying https://github.com/unittest-cpp/unittest-cpp/commit/bdef2bdd62598afc31e17b24349b47d3813eed57 but it did not help. I'd appreciate any help on the matter.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-23 00:47:23 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.