@jxir Thanks a lot for your thorough explanation! Works fine:)
Search Criteria
Package Details: xorg-server-devel-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: | Development files for the X.Org X server (git version) |
Upstream URL: | https://xorg.freedesktop.org |
Keywords: | git x-server xorg xorg-server |
Licenses: | custom |
Groups: | xorg |
Conflicts: | xorg-server-devel |
Provides: | xorg-server-devel |
Submitter: | ilikenwf |
Maintainer: | JstKddng (yurikoles) |
Last Packager: | JstKddng |
Votes: | 51 |
Popularity: | 0.33 |
First Submitted: | 2008-08-07 19:05 (UTC) |
Last Updated: | 2024-05-20 14:06 (UTC) |
Dependencies (35)
- libpciaccess (libpciaccess-gitAUR)
- mesa (mesa-minimal-gitAUR, mesa-wsl2-gitAUR, mesa-amd-bc250AUR, amdonly-gaming-mesa-gitAUR, mesa-gitAUR, mesa-amber)
- xorg-util-macros
- xorgproto-gitAUR
- 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)
- libxrender (make)
- libxres (make)
- libxshmfence (make)
- libxtst (make)
- libxv (make)
- Show 15 more dependencies...
Required by (98)
- amdvlk-2021q2.5 (requires xorg-server-devel) (make)
- amdvlk-2023q3.3 (requires xorg-server-devel) (make)
- amdvlk-debug (requires xorg-server-devel) (make)
- amdvlk-git (requires xorg-server-devel) (make)
- buici-clock (requires xorg-server-devel)
- ctrlwm (requires xorg-server-devel) (make)
- cutefish-core-git (requires xorg-server-devel) (make)
- danser (requires xorg-server-devel) (make)
- danser-git (requires xorg-server-devel) (make)
- doomsday (requires xorg-server-devel) (make)
- easystroke (requires xorg-server-devel) (make)
- easystroke-git (requires xorg-server-devel) (make)
- eruption (requires xorg-server-devel) (make)
- eruption-git (requires xorg-server-devel) (make)
- fortunate (requires xorg-server-devel) (make)
- frame (requires xorg-server-devel) (make)
- geis (requires xorg-server-devel) (make)
- gpt-cli (requires xorg-server-devel)
- itgui-git (requires xorg-server-devel) (make)
- lib32-amdvlk-2021q2.5 (requires xorg-server-devel) (make)
- Show 78 more...
Sources (3)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 25 Next › Last »
Andrei_Korshikov commented on 2024-03-25 00:25 (UTC)
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.
yurikoles commented on 2022-03-18 21:13 (UTC)
@JstKddng
Sorry, it just makes no sense without knowing that fact. I returned it back.
JstKddng commented on 2022-03-18 18:26 (UTC)
@yurikoles
man you keep removing my _srcurl variable. That guy's there for my daily automatic builds ;)
yurikoles commented on 2022-03-18 01:04 (UTC)
check()
function was added, if unit tests fail, you may ignore them by appending --nocheck
to makepkg
.
yurikoles commented on 2022-03-18 01:02 (UTC)
@JstKddng
I refactored pkgver()
and removed unused variables.
juxuanu commented on 2022-02-09 16:52 (UTC)
error: failed to prepare transaction (could not satisfy dependencies)
:: installing xorg-server-git (21.0.99.1.r170.g1801fe0ac-1) breaks dependency 'xorg-server' required by gdm-plymouth
You removed provides = (... xorg-server ...). Why? This breaks being able to replace xorg stable package with this one.
gardotd426 commented on 2022-02-03 04:07 (UTC)
Considering this package uses newer code than the stable release xorg-server
, I'd say in addition to my other suggestion for fixing the naming scheme, and honestly probably even more important than that, is fixing the X-ABI-VIDEODRV_VERSION
. xorg-server
is on 25.2. This package reports 24. That makes it impossible to install things like xf86-video-fbdev
because it requires a version greater than 24 and less than 26 (as of me typing this).
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