Bug 13816 - xstart failed since update the x11 libraries
Summary: xstart failed since update the x11 libraries
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-20 18:15 UTC by jwack
Modified: 2022-07-25 13:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jwack 2021-05-20 18:15:47 UTC
Builroot for raspberry pi4 32bit with x11 support generates an mistake.
"Package buildroot-20210520.tar.bz2"
An error occurs when xstart is called. The error returns the fbturbo_drv.so.
Comment from Xorg.0.log:
Failed to load /usr/lib/xorg/modules/drivers/fbturbo_drv.so: /usr/lib/xorg/modules/drivers/fbturbo_drv.so: undefined symbol: fbdevHWSave

I think we need a update from the xf86-video-fbturbo library.
Comment 1 Peter Seiderer 2021-05-21 16:51:43 UTC
(In reply to jwack from comment #0)

fbdevHWSave() is defined here [1], so this looks more like a module loading order problem, see e.g. [2] for similar example...

If not please provide a minimal (but complete) defconfig against plain buildroot version to reproduce the problem...

[1] https://gitlab.freedesktop.org/xorg/xserver/-/blob/master/hw/xfree86/fbdevhw/fbdevhw.c#L748
[2] http://lists.busybox.net/pipermail/buildroot/2021-May/310053.html
Comment 2 Peter Seiderer 2021-06-02 20:21:42 UTC
Same/similar failure was reported on the buildroot mailing list
'[Buildroot] [RPi4] Enable GTK3 on Buildroot' (see [1]) providing
an buildroot config file to reproduce the failure.

Should be fixed with suggested buildroot patch, see [2].

[1] http://lists.busybox.net/pipermail/buildroot/2021-June/311763.html
[2] https://patchwork.ozlabs.org/project/buildroot/patch/20210602201529.6210-1-ps.report@gmx.net/
Comment 3 Thomas Petazzoni 2022-07-25 13:03:06 UTC
This was fixed a long time ago in https://git.buildroot.org/buildroot/commit/package/x11r7/xdriver_xf86-video-fbturbo?id=9dc2b4a4eee557d3d9e7df31e9d2e96f364a2f03. Thanks Peter for providing the fix!