Package Details: libdrm-git 2.4.114.r2.ge699b28b-1

Git Clone URL: https://aur.archlinux.org/libdrm-git.git (read-only, click to copy)
Package Base: libdrm-git
Description: Userspace interface to kernel DRM services, master git version
Upstream URL: http://dri.freedesktop.org/
Licenses: custom
Conflicts: libdrm
Provides: libdrm
Submitter: Lone_Wolf
Maintainer: Lone_Wolf
Last Packager: Lone_Wolf
Votes: 8
Popularity: 0.000000
First Submitted: 2015-12-23 15:03 (UTC)
Last Updated: 2022-11-15 21:27 (UTC)

Required by (393)

Sources (2)

Latest Comments

1 2 3 Next › Last »

Lone_Wolf commented on 2023-02-06 13:44 (UTC)

the --no-pager option is valid only for meson configure and present in meson 0.64.0, 0.64.1 & 1.0.0 .

Assuming you have one of those versions
run 'meson configure -h` , it should list no-pager as last option .

Incase it errors also, you may be using an alias for meson. verify with /usr/bin/meson configure -h

If your version is pre-0.64 you may want to check whether your pacman mirror is uptodate as that version was released 4 months ago.

MvEerd commented on 2023-02-05 15:31 (UTC) (edited on 2023-02-05 15:34 (UTC) by MvEerd)

My build fails with

usage: meson [-h] {setup,configure,dist,install,introspect,init,test,wrap,subprojects,rewrite,compile,devenv,env2mfile,help} ...
meson: error: unrecognized arguments: --no-pager
==> ERROR: A failure occurred in build().

Am I missing something or is this a bug in the AUR package?

Updating to meson-git then returns;

../libdrm/intel/intel_bufmgr.c:28:10: fatal error: string.h: No such file or directory
   28 | #include <string.h>

Lone_Wolf commented on 2022-09-10 10:35 (UTC)

confirmed, it seems upstream changed valgrind (and a few others) from combo to feature .

https://cgit.freedesktop.org/drm/libdrm/commit/?id=a64a176cfd62956cc4967aa2929db2526d4faee2

Will adjust the PKGBUILD.

ac130kz commented on 2022-09-10 04:48 (UTC)

I had to change the PKGBUILD, for whatever reason Valgrind support should be set to "disabled" instead of "false".

-D valgrind=disabled

Lone_Wolf commented on 2021-08-06 10:26 (UTC)

source URI adjusted.

Using an existing git source tree will fail, Either change origin manually OR remove the old tree.

acidunit commented on 2021-08-04 19:12 (UTC)

The default branch has been renamed to "main" instead of "master".

shoober420 commented on 2020-09-20 19:29 (UTC)

Thank you for this package.

Lone_Wolf commented on 2019-12-20 09:37 (UTC)

Thanks for the details.

I will test adding that soon , probably this weekend, and upload a new version if there are no downsides.

waschtl commented on 2019-12-20 00:40 (UTC)

I forgot to mention the simple change needed in PKGBUILD for the "simple fix" (workaround) I mentioned:

check() {
   # '-t 10' is needed for the 'threaded' test, which uses the default meson
   # test timeout of 30 seconds. This is too short for many systems. It can be
   # removed if upstream fixes the issue.
   meson test -C _build -t 10
}

I agree, the real issue lies upstream. This workaround helped me get the package compiled, though, so I thought I would share my experience here. I agree with your suspicion about the test only running with an nvidia card in the system (my system has one).

Lone_Wolf commented on 2019-12-19 21:37 (UTC)

On my system that test is skipped very fast.

from libdrm-git/src/_build/meson-logs/testlog.txt

12/16 threaded                                SKIP     0.01 s 

--- command ---
/home/panoramix/Documents/Aur/pkgbuilds/libdrm-git/src/_build/tests/nouveau/threaded
--- stderr ---
Opening nouveau render node failed with -1
-------

Perhaps that test only runs on systems with nvidia cards ? I do think this is an upstream issue, maybe report it on the dri-devel mailing list.

https://01.org/linuxgraphics/community/libdrm