Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884927 - x11-base/xwayland-23.1.2 fails to compile (CLANG-STRICTER-SYSTEM): meson.build:9:0: ERROR: Dependency "dri" not found, tried pkgconfig and cmake
Summary: x11-base/xwayland-23.1.2 fails to compile (CLANG-STRICTER-SYSTEM): meson.buil...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-depend
  Show dependency tree
 
Reported: 2022-12-09 08:12 UTC by Agostino Sarubbo
Modified: 2024-04-03 20:14 UTC (History)
0 users

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


Attachments
build.log (build.log,58.08 KB, text/plain)
2022-12-09 08:12 UTC, Agostino Sarubbo
Details
1-meson-log.txt (1-meson-log.txt,81.84 KB, text/plain)
2022-12-09 08:12 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-09 08:12:09 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: x11-base/xwayland-22.1.5 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-09 08:12:12 UTC
Created attachment 841069 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-09 08:12:14 UTC
Created attachment 841071 [details]
1-meson-log.txt

1-meson-log.txt
Comment 3 Agostino Sarubbo gentoo-dev 2022-12-09 08:12:15 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


Program fop found: NO
Run-time dependency dri found: NO (tried pkgconfig and cmake)
Run-time dependency gbm found: NO (tried pkgconfig and cmake)
Run-time dependency wayland-eglstream-protocols found: NO (tried pkgconfig and cmake)
Run-time dependency xorg-sgml-doctools found: NO (tried pkgconfig and cmake)
include/meson.build:9:0: ERROR: Dependency "dri" not found, tried pkgconfig and cmake
Comment 4 Agostino Sarubbo gentoo-dev 2023-07-30 12:48:37 UTC
python-3.12_tinderbox has reproduced this issue with version 23.1.2 - Updating summary.
Comment 5 Matt Turner gentoo-dev 2024-04-03 20:07:39 UTC
> include/meson.build:9:0: ERROR: Dependency "dri" not found, tried pkgconfig and cmake

dri.pc is provided by media-libs/mesa. xwayland depends on >=media-libs/mesa-21.1[X(+),egl(+),gbm(+)].
Comment 6 Matt Turner gentoo-dev 2024-04-03 20:13:56 UTC
I see other packages in the build history, like libepoxy, that also depend on mesa, but I don't see mesa in the build history. I can't see how this should ever be possible.