The libinput_drv.so: undefined symbol: xf86Msg
error is due to having an xf86-input-libinput(-git) package installed which was compiled using either the non-git xorg-server-devel package or an old version of xorg-server-devel-git.
xorg-server-devel installs headers that belong to an xorg-server version older than xorg-server-git. There was an ABI-breaking change in xserver upstream which removed xf86Msg and replaced it with a macro, requiring a recompilation of any libraries (like libinput_drv.so) with the updated header. See here for more background: https://gitlab.freedesktop.org/xorg/xserver/-/issues/1760#note_2609410
The solution is to install xorg-server-devel-git first and xf86-input-libinput-git after. Ideally, xorg-server-git should be changed to forbid non-git xf86-input-libinput as a dependency, and xf86-input-libinput-git should be similarly updated to forbid non-git xorg-server-devel as a dependency.
To install/update xorg-server-git correctly you can run: yay -S --answerclean All --rebuildall xorg-server-git xorg-server-devel-git xf86-input-libinput-git
Pinned Comments
yurikoles commented on 2022-03-18 01:04 (UTC)
check()
function was added, if unit tests fail, you may ignore them by appending--nocheck
tomakepkg
.yurikoles commented on 2019-05-29 15:00 (UTC)
PRs are welcome: https://github.com/yurikoles-aur/xorg-server-git