flatpak-builder: No GSettings schemas are installed on the system

Dan Nicholson dbn at endlessos.org
Thu Mar 21 15:52:21 UTC 2024


On Thu, Mar 21, 2024 at 4:11 AM Alec Leamas <leamas.alec at gmail.com> wrote:
>
> Dear list,
>
> We are all of a sudden getting flatpak-builder errors like
>
> (appstream-compose:2): GLib-GIO-ERROR **: 02:22:58.138: No GSetting
> schemas are installed on the system
>
> when running the appstream-compose step. Complete log in  [1]. This is
> on an otherwise unmodified build which has worked.

appstream-compose is run in the sandbox via flatpak build. Perhaps the
org.freedesktop.Sdk//22.08 SDK got screwed up so it's not running
glib-compile-schemas. Taking a closer look, it appears to only run
glib-compile-schemas when the glib component is installed. And
glib-compile-schemas will do nothing when the schemas directory is
empty. So, perhaps there are no schemas installed when that's run.

I think you should take this up at
https://gitlab.com/freedesktop-sdk/freedesktop-sdk. I did take a look
in the 22.08 SDK with flatpak run --command=bash
org.freedesktop.Sdk//22.08. Indeed there is no
/usr/share/glib-2.0/schemas/gschemas.compiled. 21.08 and 23.08 do have
it, so presumably something has gone wrong there. They should be
running glib-compile-schemas after every element that installs schemas
if that's not already the case.

--
Dan


More information about the Flatpak mailing list