Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Trying to build wf-recorder, I hit this error.

$ ./xbps-src pkg wf-recorder
=> xbps-src: updating repositories for host (x86_64)...
[*] Updating repository `https://repo-default.voidlinux.org/current/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/x86_64-repodata' ...
x86_64-repodata: 1903KB [avg rate: 2802KB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/nonfree/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/debug/x86_64-repodata' ...
x86_64-repodata: 885KB [avg rate: 13GB/s]
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/bootstrap/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/x86_64-repodata' ...
[*] Updating repository `https://repo-default.voidlinux.org/current/multilib/nonfree/x86_64-repodata' ...
=> xbps-src: updating software in / masterdir...
=> xbps-src: cleaning up / masterdir...
=> wf-recorder-0.5.0_3: removing autodeps, please wait...
=> wf-recorder-0.5.0_3: building with [meson] [meson] for x86_64...
   [host] pkg-config-0.29.2_3: found (https://repo-default.voidlinux.org/current)
   [host] scdoc-1.11.3_1: found (https://repo-default.voidlinux.org/current)
   [host] wayland-devel-1.23.0_1: found (https://repo-default.voidlinux.org/current)
   [host] meson-1.4.0_2: found (https://repo-default.voidlinux.org/current)
   [target] wayland-protocols-1.37_1: found (https://repo-default.voidlinux.org/current)
   [target] wayland-devel-1.23.0_1: found (https://repo-default.voidlinux.org/current)
   [target] ffmpeg6-devel-6.1.2_2: found (https://repo-default.voidlinux.org/current)
   [target] libgbm-devel-24.2.3_2: found (https://repo-default.voidlinux.org/current)
   [target] x264-devel-20191217.2245_1: found (https://repo-default.voidlinux.org/current)
   [target] pulseaudio-devel-16.1_2: found (https://repo-default.voidlinux.org/current)
=> wf-recorder-0.5.0_3: installing host dependencies: pkg-config-0.29.2_3 scdoc-1.11.3_1 wayland-devel-1.23.0_1 meson-1.4.0_2 ...
=> wf-recorder-0.5.0_3: installing target dependencies: wayland-protocols-1.37_1 wayland-devel-1.23.0_1 ffmpeg6-devel-6.1.2_2 libgbm-devel-24.2.3_2 x264-devel-20191217.2245_1 pulseaudio-devel-16.1_2 ...
=> wf-recorder-0.5.0_3: running pre-configure hook: 00-gnu-configure-asneeded ...
=> wf-recorder-0.5.0_3: running pre-configure hook: 01-override-config ...
=> wf-recorder-0.5.0_3: running pre-configure hook: 02-script-wrapper ...
=> wf-recorder-0.5.0_3: running do_configure ...
The Meson build system
Version: 1.4.0
Source dir: /builddir/wf-recorder-0.5.0
Build dir: /builddir/wf-recorder-0.5.0/build
Build type: native build
Project name: wf-recorder
Project version: 0.5.0
C compiler for the host machine: cc (gcc 13.2.0 "cc (GCC) 13.2.0")
C linker for the host machine: cc ld.bfd 2.41
C++ compiler for the host machine: g++ (gcc 13.2.0 "g++ (GCC) 13.2.0")
C++ linker for the host machine: g++ ld.bfd 2.41
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program git found: NO
Found pkg-config: YES (/usr/bin/pkg-config) 0.29.2
Run-time dependency wayland-client found: YES 1.23.0
Run-time dependency wayland-protocols found: YES 1.37
Run-time dependency libpulse-simple found: YES 16.1
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency libpipewire-0.3 found: NO (tried pkgconfig and cmake)
Message: Using default audio backend: auto
Run-time dependency libavutil found: YES 58.29.100
Run-time dependency libavcodec found: YES 60.31.102
Run-time dependency libavformat found: YES 60.16.100
Run-time dependency libavdevice found: YES 60.3.100
Run-time dependency libavfilter found: YES 9.12.100
Run-time dependency libswresample found: YES 4.12.100
Run-time dependency threads found: YES
Run-time dependency gbm found: YES 24.2.3
Run-time dependency libdrm found: NO (tried pkgconfig)

meson.build:119:6: ERROR: Dependency "libdrm" not found, tried pkgconfig

A full log can be found at /builddir/wf-recorder-0.5.0/build/meson-logs/meson-log.txt
=> ERROR: wf-recorder-0.5.0_3: do_configure: '${meson_cmd} setup --prefix=/usr --libdir=/usr/lib${XBPS_TARGET_WORDSIZE} --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/bin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --buildtype=plain --auto-features=auto --wrap-mode=nodownload -Db_lto=true -Db_ndebug=true -Db_staticpic=true ${configure_args} . ${meson_builddir}' exited with 1
=> ERROR:   in do_configure() at common/build-style/meson.sh:23

Problem is that I already have libdrm and libdrm-devel installed on the host system. What am I missing?

Full log: https://gist.github.com/o-alquimista/17d2c45d9770a3c2add946150364823c#file-meson-log-txt

I've already tried remaking the masterdir.

You must be logged in to vote

Should work after adding libdrm-devel to makedepends

Replies: 1 comment · 1 reply

Comment options

Should work after adding libdrm-devel to makedepends

You must be logged in to vote
1 reply
@o-alquimista
Comment options

Thanks, that's it.

I'm just learning the package template format, and it got me confused about the dependencies, but now it makes sense. This section of the manual explains the difference between makedepends and hostmakedepends, which was another question I had.

Answer selected by o-alquimista
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.