Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930142 - kde-frameworks/kio-5.115.0[X]: Could NOT find X11
Summary: kde-frameworks/kio-5.115.0[X]: Could NOT find X11
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-17 13:11 UTC by Esteve Varela Colominas
Modified: 2024-04-25 16:29 UTC (History)
1 user (show)

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


Attachments
build log (build.log,4.68 KB, application/octet-stream)
2024-04-17 13:11 UTC, Esteve Varela Colominas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2024-04-17 13:11:49 UTC
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)
Comment 1 Esteve Varela Colominas 2024-04-17 13:13:00 UTC
x11-base/xorg-proto is missing from BDEPEND
Comment 2 Esteve Varela Colominas 2024-04-17 13:15:54 UTC
I meant DEPEND, not BDEPEND
Comment 3 Andreas Sturmlechner gentoo-dev 2024-04-17 15:36:53 UTC
Real error is coming from kde-frameworks/kwindowsystem[X] which is trying to find libX11 in KF5WindowSystemConfig.cmake ...
Comment 4 Esteve Varela Colominas 2024-04-19 09:34:50 UTC
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.
Comment 5 Andreas Sturmlechner gentoo-dev 2024-04-19 11:53:00 UTC
Yes. As I said. But the solution can't be to add this in every kde-frameworks/kwindowsystem[X] revdep.
Comment 6 Andreas Sturmlechner gentoo-dev 2024-04-19 12:07:39 UTC
(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].
Comment 7 Esteve Varela Colominas 2024-04-19 14:39:05 UTC
And none of those DEPEND on xorg-proto? Odd
Comment 8 Andreas Sturmlechner gentoo-dev 2024-04-19 15:12:01 UTC
(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.
Comment 9 Esteve Varela Colominas 2024-04-19 17:07:37 UTC
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.
Comment 10 Andreas Sturmlechner gentoo-dev 2024-04-20 08:42:46 UTC
You've misunderstood. Packages depending on x11-libs/libX11 have xorg-proto in DEPEND.
Comment 11 Esteve Varela Colominas 2024-04-25 16:29:35 UTC
I see, in that case I don't really understand your proposed solution...