Sam James ca7bdcb2d7 dev-libs/glib: workaround Portage bug with binpkgs
With binpkgs, we seem to sometimes get a new dev-libs/gobject-introspection-1.82
installed which needs >=dev-libs/glib-2.82, but without the new glib. We
then try to build glib, we see that we have a gobject-introspection installed
that is new enough via `has_version` (=> we don't try to bootstrap it), then
when trying to use it via `pkg-config`, it falls off because we don't have
the glib that it needs.

This is obviously a Portage bug in not ensuring that gobject-introspection's
dependencies are satisifed before merging its binpkg, but let's workaround
it here: check thoroughly if the available gobject-introspection is usable. If
it ain't, just bootstrap as if it weren't installed.

(Just closing the bug given we don't have a testcase, not much point
in keeping it open and potentially confusing people. It only happens
sometimes and requires some bad luck, unfortunately. If it were always
the case w/ binpkgs, it'd be far easier to debug.)

Closes: https://bugs.gentoo.org/951487
Thanks-to: Artemis Everfree <artemis@artemis.sh>
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-12 00:55:51 +01:00
2025-05-11 15:50:12 +01:00
2025-05-10 13:50:59 +02:00
2025-05-10 22:55:37 +02:00
2025-05-01 13:35:56 +02:00
2025-05-11 05:34:09 +01:00
2025-05-11 15:39:40 +01:00
2025-05-11 23:19:12 +01:00
2025-05-08 16:25:01 -04:00
2025-04-25 00:33:11 +03:00
2025-05-08 20:41:55 +02:00
2025-05-11 11:39:27 +03:00
2025-05-08 20:22:24 +02:00
2025-04-29 22:41:44 +01:00
2025-05-09 12:25:32 +00:00
2025-05-04 13:35:25 -04:00
2025-05-07 18:45:03 +02:00
2025-05-11 08:18:35 +00:00
2025-05-11 03:54:06 -04:00
2025-05-08 16:04:38 +02:00
…
S
Description
No description provided
9.8 GiB
Languages
Shell 98%
Roff 1.3%
Emacs Lisp 0.2%
C 0.1%