Subject: bug#77057: Cannot open a MATE session on Trisquel after installing Gajim from Guix

From: Rutherther <[email-masked]>
Date: Thu, 20 Mar 2025 21:05:55 +0100

Hello,

Roman Riabenko <[email-masked]> writes:

> On Wed, 19 Mar 2025 22:33:16 +0100
> Rutherther <[email-masked]> wrote:
>
>> David Lecompte <[email-masked]> writes:
>
>> > Is it really needed for Gajim?
>> 
>> I think so, but gajim executable is actually wrapped with
>> GIO_EXTRA_MODULES, so it's not necessary to set it from the profile,
>> and ideally all programs from Guix should be wrapped like that.
>
> I observe a similar error on PureOS after installing Epiphany:
> https://issues.guix.gnu.org/77057
>
> Maybe the problem is not with Gajim but an input?

Glib is propagated from inputs, that
is the one adding the GIO_EXTRA_MODULES search path.
It is propagated specifically from (at least) dconf, and from there
it's propagated because dconf.pc file has it in Requires of dconf.pc file.

This error is going to happen every time there is a mismatch in abi between
the apps expected gio module version and actually used version.
This can happen commonly on foreign distros or even on Guix system
if one updates only system, but not home/user profile.
It's going to affect many glib packages as they depend on dconf.

Rutherther