Summary: | dev-libs/gjs-1.78.4 - meson.build: ERROR: Dependency cairo-gobject not found, tried pkgconfig and cmake | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | eschwartz, leio |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://gitlab.gnome.org/GNOME/gjs/-/merge_requests/917 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-libs:gjs-1.78.4:20240218-043525.log emerge-history.txt environment etc.clang.tar.xz etc.portage.tar.xz qlist-info.txt temp.tar.xz |
Description
Toralf Förster
![]() Created attachment 885317 [details]
emerge-info.txt
Created attachment 885318 [details]
dev-libs:gjs-1.78.4:20240218-043525.log
Created attachment 885319 [details]
emerge-history.txt
Created attachment 885320 [details]
environment
Created attachment 885321 [details]
etc.clang.tar.xz
Created attachment 885322 [details]
etc.portage.tar.xz
Created attachment 885323 [details]
qlist-info.txt
Created attachment 885324 [details]
temp.tar.xz
The upstream meson.build added some special handling for msvc a long time ago, which makes the cairo check essentially cairo = dependency('cairo', required: get_option('cairo').enabled() and true) which then ends up checking for it (despite having pass -Dcairo=disabled) apparently, and as it's found the next line ends up being a required dependency: cairo_gobject = dependency('cairo-gobject', required: cairo.found() and cxx.get_argument_syntax() != 'msvc') but as you had cairo disabled, your x11-libs/cairo happens to be built with USE=-glib, then it bombs out at this point. |