Created attachment 890966 [details] build log CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find X11 (missing: X11_X11_INCLUDE_PATH) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindX11.cmake:665 (find_package_handle_standard_args) /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package) /usr/lib64/cmake/KF5WindowSystem/KF5WindowSystemConfig.cmake:45 (find_dependency) CMakeLists.txt:86 (find_package)
x11-base/xorg-proto is missing from BDEPEND
I meant DEPEND, not BDEPEND
Real error is coming from kde-frameworks/kwindowsystem[X] which is trying to find libX11 in KF5WindowSystemConfig.cmake ...
kde-frameworks/kwindowsystem[X] has a DEPEND on xorg-proto, but since it's a build-time dependency (as it should be), it doesn't propagate as a build-time dependency to other packages. kde-apps/kio-extras-23.08.5 has the same problem, by the way.
Yes. As I said. But the solution can't be to add this in every kde-frameworks/kwindowsystem[X] revdep.
(In reply to Esteve Varela Colominas from comment #4) > kde-apps/kio-extras-23.08.5 has the same problem, by the way. If you want numbers, there are currently 38 revdeps of kde-frameworks/kwindowsystem[X].
And none of those DEPEND on xorg-proto? Odd
(In reply to Esteve Varela Colominas from comment #7) > And none of those DEPEND on xorg-proto? Odd Not unless they also depend on x11-libs/libX11 themselves, no.
See - here's the thing. Even if you DEPEND on libX11 you're not pulling in xorg-proto. Just like with kwindowsystem, xorg-proto is in libX11's DEPEND, not RDEPEND. If you want to solve this without putting xorg-proto in any package that compiles anything that indirectly includes libX11, you're gonna have to modify libX11, rather... That said, as far as I'm aware, most things solve this by putting xorg-proto in DEPEND.
You've misunderstood. Packages depending on x11-libs/libX11 have xorg-proto in DEPEND.
I see, in that case I don't really understand your proposed solution...