Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856754 - x11-libs/libdrm: installed .pc has valgrind in Requires.private (was: x11-base/xorg-server-21.1.3-r3: meson.build:441:4: ERROR: Problem encountered: DRI requested, but LIBDRM not found)
Summary: x11-libs/libdrm: installed .pc has valgrind in Requires.private (was: x11-bas...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-06 20:08 UTC by Luke-Jr
Modified: 2022-07-07 01:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2022-07-06 20:08:29 UTC
Run-time dependency libdrm found: NO (tried pkgconfig and cmake)

meson.build:441:4: ERROR: Problem encountered: DRI requested, but LIBDRM not found

NOTE: x11-libs/libdrm-2.4.111 is installed, via binary package

Called `/usr/bin/x86_64-pc-linux-gnu-pkg-config --cflags libdrm` -> 1

pkg-config error with 'libdrm': Could not generate cargs for libdrm:
Package valgrind was not found in the pkg-config search path.
Perhaps you should add the directory containing `valgrind.pc'
to the PKG_CONFIG_PATH environment variable
Package 'valgrind', required by 'libdrm', not found

NOTE: valgrind IS NOT installed
Comment 1 Luke-Jr 2022-07-06 20:09:39 UTC
/usr/lib/pkgconfig/libdrm.pc makes no mention of valgrind
Comment 2 Luke-Jr 2022-07-07 00:44:56 UTC
/usr/lib64/pkgconfig/libdrm.pc, however, *does* have:
    Requires.private: valgrind

It's not clear to me, if this is a bug in libdrm, or a bug in the RDEPEND for libdrm's ebuild.
Comment 3 Luke-Jr 2022-07-07 01:26:20 UTC
Installing valgrind allows xorg-server to build.