[OE-core] [PATCH] xfconf: fix 'Failed to get connection to xfconfd' during do_rootfs

Andreas Müller schnitzeltony at gmail.com
Wed Apr 17 20:33:45 UTC 2019


On Wed, Apr 17, 2019 at 8:22 PM Mark Asselstine
<mark.asselstine at windriver.com> wrote:
Seems that there are configurations where it xfconf causes trouble
even at runtime (not only at headless builds) [1]

So adding a PACKAGECONFIG disabled by default is OK.

Could you please send this to meta-oe with

PACKAGECONFIG[gsettings-backend] =
"--enable-gsettings-backend,--disable-gsettings-backend,"

Thanks

Andreas
>
> Packages such as gdk-pixbuf can result in the following error during
> the rootfs construction:
>   CRITICAL **: 16:51:57.223: Failed to get connection to xfconfd: Cannot autolaunch D-Bus without X11 $DISPLAY
>
> This is hit during the postinst-intercepts/update_pixbuf_cache.
>
> Based on discussions upstream this appears to be an issue for xfconf
> and has an upstream update
>
> https://git.xfce.org/xfce/xfconf/commit?id=6f11cc65a2213f424728b5a0d25b1b63c19e773e
>
> Drawing from this change we can go ahead and use PACKAGECONFIG to
> emulate it.
>
> Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> ---
>
> Guys,
>
> This is still broken in Yocto and I would like to see it fixed. I haven't
> dug into the issue as much as you two so I wanted to float this fix
> out there but hold back from calling it a proper fix. Please let
> me know what you think or feel free to take this, evaluate it and
> modify it into a full fledged fix.
>
> MarkA
>
>
>  meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb b/meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb
> index 2667ff9..22a7bc1 100644
> --- a/meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb
> +++ b/meta-xfce/recipes-xfce/xfconf/xfconf_4.13.6.bb
> @@ -16,3 +16,5 @@ FILES_${PN} += "${libdir}/xfce4/xfconf/xfconfd \
>                  ${datadir}/dbus-1/services/org.xfce.Xfconf.service"
>
>  FILES_${PN}-dev += "${libdir}/gio/modules/libxfconfgsettingsbackend.la"
> +
> +PACKAGECONFIG[gsettings-backend] = ",--disable-gsettings-backend,"
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


More information about the Openembedded-core mailing list