Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924885 - dev-libs/gjs-1.78.4 - meson.build: ERROR: Dependency cairo-gobject not found, tried pkgconfig and cmake
Summary: dev-libs/gjs-1.78.4 - meson.build: ERROR: Dependency cairo-gobject not found,...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-18 09:16 UTC by Toralf Förster
Modified: 2024-03-03 21:30 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.34 KB, text/plain)
2024-02-18 09:16 UTC, Toralf Förster
Details
dev-libs:gjs-1.78.4:20240218-043525.log (dev-libs:gjs-1.78.4:20240218-043525.log,4.08 KB, text/plain)
2024-02-18 09:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.36 KB, text/plain)
2024-02-18 09:16 UTC, Toralf Förster
Details
environment (environment,116.98 KB, text/plain)
2024-02-18 09:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,968 bytes, application/x-xz)
2024-02-18 09:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.93 KB, application/x-xz)
2024-02-18 09:16 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,239.68 KB, text/plain)
2024-02-18 09:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.43 KB, application/x-xz)
2024-02-18 09:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-02-18 09:16:03 UTC
Run-time dependency gobject-introspection-1.0 found: YES 1.78.1
Run-time dependency mozjs-115 found: YES 115.7.0
Run-time dependency cairo found: YES 1.18.0
Found CMake: /usr/bin/cmake (3.28.3)
Run-time dependency cairo-gobject found: NO (tried pkgconfig and cmake)

meson.build:136:16: ERROR: Dependency "cairo-gobject" not found, tried pkgconfig and cmake

A full log can be found at /var/tmp/portage/dev-libs/gjs-1.78.4/work/gjs-1.78.4-build/meson-logs/meson-log.txt

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20240215-214033

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.0 linux/amd64

  HEAD of ::gentoo
commit f397cb9b5c77959d471737d2a497bb6099a3dc43
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 18 03:49:01 2024 +0000

    2024-02-18 03:49:00 UTC

emerge -qpvO dev-libs/gjs
[ebuild  N    ] dev-libs/gjs-1.78.4  USE="readline -cairo -examples -sysprof -test"
Comment 1 Toralf Förster gentoo-dev 2024-02-18 09:16:04 UTC
Created attachment 885317 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-18 09:16:05 UTC
Created attachment 885318 [details]
dev-libs:gjs-1.78.4:20240218-043525.log
Comment 3 Toralf Förster gentoo-dev 2024-02-18 09:16:07 UTC
Created attachment 885319 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-02-18 09:16:08 UTC
Created attachment 885320 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-02-18 09:16:09 UTC
Created attachment 885321 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-18 09:16:10 UTC
Created attachment 885322 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-18 09:16:12 UTC
Created attachment 885323 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-02-18 09:16:14 UTC
Created attachment 885324 [details]
temp.tar.xz
Comment 9 Mart Raudsepp gentoo-dev 2024-03-03 21:08:08 UTC
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.