User:Sam/Drafts/QA warnings

Trying to make a list of Gentoo's QA warnings, what they're for, how to fix them, and how to silence/suppress them when appropriate.

pkg-config files with mismatched Version
Motivation: Avoid packages accidentally having "null versions" like 0.0.0 or "-git" which break reverse dependencies. Often happens when building from snapshots instead of release tarballs.

Examples:

Caveats:
 * The warning will fire for installed libraries which may have different versioning from the main package. See.
 * If the ebuild version is supposed to be different from the pkg-config Version following some pattern (e.g. extra digit), set QA_PKGCONFIG_VERSION in the ebuild to the version it should be compared with.

Fix: May need to pass a parameter to or similar, or report the issue upstream.