support/testing: test_glxinfo load X11 modules in the right order
authorRomain Naour <romain.naour@gmail.com>
Thu, 13 May 2021 14:11:49 +0000 (16:11 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 18 May 2021 13:25:49 +0000 (15:25 +0200)
commit4a3639bad01a08b7bbb4ccb3090099a01799f321
tree4c590d54ea98d2c5ab572723d0549dd596cb016c
parent95b722eaa8da303f1eb26f494159f308add11b4d
support/testing: test_glxinfo load X11 modules in the right order

From [1]
"Xorg does not implement real dynamic linking and requires that its
modules get loaded in the right order."

From /var/log/Xorg.0.0.log:
 (II) LoadModule: "modesetting"
 (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
 (EE) Failed to load /usr/lib/xorg/modules/drivers/modesetting_drv.so: /usr/lib/xorg/modules/drivers/modesetting_drv.so: undefined symbol: shadowRemove

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/1255661899

[1] https://forums.gentoo.org/viewtopic-p-8245578.html#8245578

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
support/testing/tests/package/test_glxinfo.py
support/testing/tests/package/test_glxinfo/rootfs-overlay/etc/X11/xorg.conf.d/01-modules.conf [new file with mode: 0644]