@guiodic xf86-input-libinput and xorg-server depend on each other, rebuilding xorg-server-git -> xf86-input-libinput -> xorg-server-git fixed that issue for me
Search Criteria
Package Details: xorg-server-xvfb-git 21.1.99.1.r1061.ge61bd1e5f-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xorg-server-git.git (read-only, click to copy) |
---|---|
Package Base: | xorg-server-git |
Description: | Virtual framebuffer X server (git version) |
Upstream URL: | https://xorg.freedesktop.org |
Keywords: | git x-server xorg xorg-server |
Licenses: | custom |
Groups: | xorg |
Conflicts: | xorg-server-xvfb |
Provides: | xorg-server-xvfb |
Submitter: | ilikenwf |
Maintainer: | JstKddng (yurikoles) |
Last Packager: | JstKddng |
Votes: | 50 |
Popularity: | 0.062936 |
First Submitted: | 2008-08-07 19:05 (UTC) |
Last Updated: | 2024-05-20 14:06 (UTC) |
Dependencies (40)
- libgl (nvidia-340xx-utilsAUR, libglvnd-gitAUR, amdgpu-pro-oglpAUR, amdgpu-pro-oglp-legacyAUR, libglvnd)
- libtirpc
- libunwind (libunwind-carbonAUR, libunwind-gitAUR)
- libxfont2
- nettle (nettle-gitAUR)
- pixman (pixman-gitAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-selinuxAUR, sysupdated-systemd-libs-gitAUR, systemd-libs-gitAUR)
- xorg-server-common-gitAUR
- xorg-xauth
- git (git-gitAUR, git-glAUR) (make)
- libepoxy (libepoxy-gitAUR) (make)
- libpciaccess (libpciaccess-gitAUR) (make)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR) (make)
- libx11 (libx11-gitAUR) (make)
- libxaw (xawmAUR) (make)
- libxcvt (libxcvt-gitAUR) (make)
- libxfont2 (make)
- libxi (libxi-gitAUR) (make)
- libxkbfile (make)
- libxmu (make)
- Show 20 more dependencies...
Required by (275)
- afni (requires xorg-server-xvfb)
- anja-git (requires xorg-server-xvfb) (make)
- bbb-recorder-git (requires xorg-server-xvfb)
- bitcoin-abc-qt (requires xorg-server-xvfb) (make)
- blueprint-compiler-git (requires xorg-server-xvfb) (check)
- browservice (requires xorg-server-xvfb)
- cachy-browser (requires xorg-server-xvfb) (make)
- casile (requires xorg-server-xvfb)
- casile-git (requires xorg-server-xvfb)
- cheese-git (requires xorg-server-xvfb) (check)
- chrome-remote-desktop (requires xorg-server-xvfb)
- chrome-remote-desktop-existing-session (requires xorg-server-xvfb)
- cjs-git (requires xorg-server-xvfb) (check)
- commontk-git (requires xorg-server-xvfb) (check)
- cx (requires xorg-server-xvfb) (make)
- cx-game (requires xorg-server-xvfb) (make)
- cx-latest (requires xorg-server-xvfb) (make)
- czkawka-cli (requires xorg-server-xvfb) (check)
- czkawka-gui (requires xorg-server-xvfb) (check)
- d-feet (requires xorg-server-xvfb) (check)
- Show 255 more...
Sources (3)
bastple commented on 2024-11-12 12:49 (UTC)
guiodic commented on 2024-10-12 10:12 (UTC) (edited on 2024-10-12 10:13 (UTC) by guiodic)
starting from 21.1.99.1.r1348.ge12d9863f-1 the keyboard doesn't work due to a problem with libinput. I also tried installing xf86-input-libinput-git but it still doesn't work. I don't know if it also affects the touchpad because I use synaptic, not libinput, but I guess so.
Log
[code] [2024-10-11 13:43:19] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/lib/xorg/modules/input/libinput_drv.so: undefined symbol: xf86Msg [2024-10-11 13:43:19] (EE) Failed to load module "libinput" (loader failed, 0) [2024-10-11 13:43:19] (EE) No input driver matching `libinput' [2024-10-11 13:43:19] (EE) Failed to load /usr/lib/xorg/modules/input/libinput_drv.so: /usr/lib/xorg/modules/input/libinput_drv.so: undefined symbol: xf86Msg [/code]
temama612 commented on 2024-07-21 04:08 (UTC)
@mrcochobins04 Thank you! I believe I encountered the same issue, but I was able to resolve it.
mrcochobins04 commented on 2024-07-21 01:35 (UTC) (edited on 2024-07-21 01:54 (UTC) by mrcochobins04)
I fixed the build errors by adding #include <X11/Xmd.h>
in securproto.h
and then doing makepkg -C
.
guiodic commented on 2024-04-26 20:44 (UTC)
chaotic-AUR log build error: https://builds.garudalinux.org/repos/chaotic-aur/logs/xorg-server-git.log
Andrei_Korshikov commented on 2024-03-25 00:25 (UTC)
@jxir Thanks a lot for your thorough explanation! Works fine:)
jxir commented on 2024-03-24 19:14 (UTC)
@Andrei_Korshikov The problem is unrelated to Meson. It is caused by the update from pacman-6.0.2
to pacman-6.1.0
changing the makepkg.conf
default from
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"
to
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
-Wl,-z,pack-relative-relocs"
This PKGBUILD
modifies the LDFLAGS
prior to running Meson via
export LDFLAGS=${LDFLAGS/,-z,now}
that is the string ,-z,now
is deleted from LDFLAGS
(Explanation of the Syntax). While this was fine before, it will now result in a lone -Wl
not followed by a comma.
It should now be clear how to fix the build:
--- a/PKGBUILD 2024-03-24 19:31:23.935975436 +0100
+++ b/PKGBUILD 2024-03-24 19:14:33.945272553 +0100
@@ -54,7 +54,7 @@
# See https://bugs.archlinux.org/task/55102 / https://bugs.archlinux.org/task/54845
export CFLAGS=${CFLAGS/-fno-plt}
export CXXFLAGS=${CXXFLAGS/-fno-plt}
- export LDFLAGS=${LDFLAGS/,-z,now}
+ export LDFLAGS=${LDFLAGS/-Wl,-z,now}
arch-meson "${_pkgbase}" build \
-D ipv6=true \
The same fix was applied to extra/xorg-server
.
Andrei_Korshikov commented on 2024-03-24 12:28 (UTC)
xserver/meson.build:1:0: ERROR: Unable to detect linker for compiler `cc -Wl,--version -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl -Wl,-z,pack-relative-relocs -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/home/korshikov/.cache/paru/clone/xorg-server-git/src=/usr/src/debug/xorg-server-git -flto=auto`
stdout:
stderr: cc: error: unrecognized command-line option ‘-Wl’; did you mean ‘-W’?
From my opinion, the problem part is -Wl -Wl,-z,pack-relative-relocs
, more precisely -Wl
with space after it. In my understanding -Wl
must always be followed by a comma and parameter(s). I've never used Meson, so I can't understand why this -Wl is leaved alone and how to fix it.
xiota commented on 2023-09-20 08:52 (UTC) (edited on 2024-01-30 11:56 (UTC) by xiota)
Please remove replaces
directive, in accordance with AUR submission guidelines.
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