Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903707 - x11-libs/pango-1.50.13 - Dependency 'cairo' is required but not found
Summary: x11-libs/pango-1.50.13 - Dependency 'cairo' is required but not found
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-02 19:57 UTC by William Throwe
Modified: 2024-10-27 15:21 UTC (History)
1 user (show)

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


Attachments
build.log (pango-1.50.13:20230402-193910.log,9.99 KB, text/x-log)
2023-04-02 19:57 UTC, William Throwe
Details
meson-log.txt (meson-log.txt,78.09 KB, text/plain)
2023-04-03 18:11 UTC, William Throwe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Throwe 2023-04-02 19:57:31 UTC
Created attachment 859449 [details]
build.log

Library m found: YES
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Run-time dependency glib-2.0 found: YES 2.74.6
Run-time dependency gobject-2.0 found: YES 2.74.6
Run-time dependency gio-2.0 found: YES 2.74.6
Run-time dependency fribidi found: YES 1.0.12
Dependency libthai skipped: feature libthai disabled
Run-time dependency harfbuzz found: YES 6.0.0
Run-time dependency fontconfig found: YES 2.14.2
Message: fontconfig has FcWeightFromOpenTypeDouble: YES
Run-time dependency freetype2 found: YES 24.3.18
Dependency xft skipped: feature xft disabled
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency cairo found: NO (tried pkgconfig and cmake)
Run-time dependency cairo found: NO (tried pkgconfig and cmake)
Not looking for a fallback subproject for the dependency cairo because:
Use of fallback dependencies is disabled.

../pango-1.50.13/meson.build:378:2: ERROR: Dependency 'cairo' is required but not found.


cairo is installed, as shown below.


# emerge --info cairo
Portage 3.0.44 (python 3.10.10-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.36-r7, 5.15.88-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.88-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2620_v4_@_2.10GHz-with-glibc2.36
KiB Mem:    98868272 total,  87958348 free
KiB Swap:   67108856 total,  67108856 free
Timestamp of repository gentoo: Sun, 02 Apr 2023 00:30:01 +0000
Head commit of repository gentoo: 8a76dbc6029cb3d3f40c160f7f638e09159e3c2c
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.10.10_p3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/binutils:        2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             10.4.1_p20230119-r1::gentoo, 12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes

wthrowe-misc
    location: /usr/local/shared/feanor/overlays/wthrowe-misc
    masters: gentoo
    priority: 0
    volatile: True

barnowl
    location: /var/lib/layman/barnowl
    masters: gentoo
    priority: 50
    volatile: True

steam-overlay
    location: /var/lib/layman/steam-overlay
    masters: gentoo
    priority: 50
    volatile: True

sxs-spectre
    location: /var/lib/layman/sxs-spectre
    masters: gentoo
    priority: 50
    volatile: True

Installed sets: @frequently-missing-dependencies
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--ask --quiet-build=n --autounmask-write=n --usepkg --with-bdeps=n --backtrack=100 --autounmask-backtrack=y --binpkg-respect-use=y --binpkg-changed-deps=n"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live clean-logs compress-build-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK=" /etc/security/limits.d/*.conf"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
LEX="flex"
MAKEOPTS="-j24"
PKGDIR="/var/cache/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl amd64 bzip2 cli crypt dri elogind fortran iconv ipv6 libglvnd libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

x11-libs/cairo-1.17.6-r1::gentoo was built with the following:
USE="X glib (-aqua) (-debug) -gtk-doc -test" ABI_X86="(64) -32 (-x32)"
FEATURES="usersandbox clean-logs merge-sync unmerge-orphans unknown-features-warn split-log pid-sandbox network-sandbox fail-clean compress-build-logs qa-unresolved-soname-deps binpkg-multi-instance distlocks binpkg-dostrip strict binpkg-docompress preserve-libs sfperms assume-digests protect-owned buildpkg-live ebuild-locks sandbox userpriv compressdebug buildpkg ipc-sandbox config-protect-if-modified userfetch splitdebug xattr usersync multilib-strict fixlafiles"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-04-03 05:59:02 UTC
It's possible it's an issue like bug 896158. Have you unmerged things?

Also, please attach /var/tmp/portage/x11-libs/pango-1.50.13/work/pango-1.50.13-abi_x86_64.amd64/meson-logs/meson-log.txt.
Comment 2 William Throwe 2023-04-03 18:11:24 UTC
Created attachment 859486 [details]
meson-log.txt

(In reply to Sam James from comment #1)
> It's possible it's an issue like bug 896158. Have you unmerged things?
> 
No.

> Also, please attach
> /var/tmp/portage/x11-libs/pango-1.50.13/work/pango-1.50.13-abi_x86_64.amd64/
> meson-logs/meson-log.txt.
Full log attached, but the important part appears to be

pkg-config error with 'cairo': Could not generate cargs for cairo:
Package xproto was not found in the pkg-config search path.
Perhaps you should add the directory containing `xproto.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xproto', required by 'x11', not found
Package 'kbproto', required by 'x11', not found
Package 'xextproto', required by 'xext', not found
Package 'xproto', required by 'xrender', not found
Package 'renderproto', required by 'xrender', not found
Package 'xproto', required by 'x11', not found
Package 'kbproto', required by 'x11', not found
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found
Package 'xproto', required by 'xau', not found
Package 'xproto', required by 'xdmcp', not found

x11-base/xorg-proto is not installed, so I'm guessing there's a missing dependency somewhere, but I don't know how to interpret that well enough to say where.
Comment 3 Nowa Ammerlaan gentoo-dev 2024-10-27 15:15:18 UTC
Can reproduce with x11-libs/pango[-X] if x11-libs/cairo[X] is installed.

A similar issue seems to occur in plymouth where the requirement of xorg-proto depends in the status of the X flag in cairo.