Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719018 - media-libs/mesa-20.0.5[abi_x86_32] with dev-util/meson-0.54.0 - unable to find dependencies via pkgconfig
Summary: media-libs/mesa-20.0.5[abi_x86_32] with dev-util/meson-0.54.0 - unable to fin...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
: 718966 718984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-04-23 09:55 UTC by Leonid Kopylov
Modified: 2020-04-23 20:45 UTC (History)
11 users (show)

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


Attachments
build.log (build.log,10.91 KB, text/plain)
2020-04-23 09:56 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2020-04-23 09:55:56 UTC
# emerge -pqv '=media-libs/mesa-20.0.5::gentoo'
[ebuild     U ] media-libs/mesa-20.0.5 [20.0.4-r1] USE="X classic dri3 egl gallium gbm gles2 libglvnd llvm wayland xa zstd -d3d9 -debug -gles1 -lm-sensors -opencl -osmesa (-selinux) -test -unwind -vaapi -valgrind -vdpau -vulkan -vulkan-overlay -xvmc" ABI_X86="32 (64) (-x32)" VIDEO_CARDS="vmware (-freedreno) -i915 -i965 -intel -iris (-lima) -nouveau (-panfrost) -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante)" 

# emerge --info '=media-libs/mesa-20.0.5::gentoo'
Portage 2.3.99 (python 3.6.10-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.3.0, glibc-2.30-r8, 5.6.6-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.6.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-8700B_CPU_@_3.20GHz-with-gentoo-2.7
KiB Mem:     8157440 total,   4527596 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Thu, 23 Apr 2020 09:30:01 +0000
Head commit of repository gentoo: 3e4a4b4c95e3ec0a066231f47a2bb55f21ca11ce
sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
ccache version 3.7.9 [disabled]
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.2::gentoo
dev-lang/python:          2.7.18::gentoo, 3.6.10-r2::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo, 3.9.0_alpha5-r1::gentoo
dev-util/ccache:          3.7.9::gentoo
dev-util/cmake:           3.17.1::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE myspell-ru_RU-AlexanderLebedev linux-fw-redistributable no-source-code bh-luxi google-chrome CC-BY-ND-3.0 dropbox Amazon Sublime OPERA-2014"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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"
USE="X a52 aac accessibility acl acpi alsa amd64 audit berkdb bluetooth branding bzip2 cairo cdda cdr cgroup-hybrid cli colord creds crypt cryptsetup cups curl dbus device-mapper dos dri dts dvd dvdr eds emboss encode evo examples exif experimental flac fortran gd gdbm geoip gif gles2 gnome gnome-keyring gnome-online-accounts go googledrive gpg gpm gstreamer gtk haptic html http iconv icu idn inotify introspection ipv6 iscsi java jpeg kerberos lcms ldap libkms libnotify libsecret libtirpc logrotate mad math mbox mdadm minizip mng mount mp3 mp4 mpeg mpx multilib multimon mysql nautilus ncurses networkmanager nls nptl nscd offensive ogg opengl openmp openntpd pam pango pcre pcre32 pdf pdfimport perl png policykit postgres postproc ppds pulseaudio python qrcode qt5 readline samba sasl sdl seccomp slp smi spell split-usr sqlite sshdump ssl startup-notification svg symlink sync-plugin-portage systemd tcpd tfshark threads tiff tk tools tracker truetype udev udisks unicode upower usb vala vorbis wayland winbind wininst wxwidgets x264 xa xattr xcb xinerama xkb xml xv xvid zlib" ABI_X86="64 32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 f16c fma3 mmx mmxext pclmul 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell wiki-publisher scripting-javascript" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25 ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="vmware" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Leonid Kopylov 2020-04-23 09:56:42 UTC
Created attachment 634164 [details]
build.log
Comment 2 email200202 2020-04-23 10:14:30 UTC
Same error here: ../mesa-20.0.5/meson.build:1560:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig


Build-time dependency wayland-scanner found: YES 1.18.0
Program /usr/bin/wayland-scanner found: YES (/usr/bin/wayland-scanner)
Found CMake: NO
Run-time dependency wayland-protocols found: NO (tried pkgconfig)

../mesa-20.0.5/meson.build:1560:2: ERROR: Dependency "wayland-protocols" not found, tried pkgconfig
Comment 3 amedeos 2020-04-23 10:30:23 UTC
I also got this error:

Run-time dependency libva found: YES 1.6.0                                                               
Run-time dependency libclc found: NO (tried pkgconfig)                                           
                                                                                                         
../mesa-20.0.5/meson.build:720:2: ERROR: Dependency "libclc" not found, tried pkgconfig
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2020-04-23 10:30:34 UTC
This is actually a problem with =dev-util/meson-0.54.0

Downgrade meson and the issue should be gone...
Comment 5 Mike Gilbert gentoo-dev 2020-04-23 13:00:01 UTC
Do you have abi_x86_32 enabled on virtual/pkgconfig? Possibly a missing dependency in media-libs/mesa.
Comment 6 email200202 2020-04-23 13:18:39 UTC
# emerge -pv virtual/pkgconfig

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] virtual/pkgconfig-1::gentoo  ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB
Comment 7 Mike Gilbert gentoo-dev 2020-04-23 13:19:34 UTC
I notice that MULTILIB_USEDEP is missing on the following deps, which matches the errors reported in comment 0, comment 2, and comment 3.

dev-libs/libclc
=dev-libs/wayland-protocols-1.8
Comment 8 Mike Gilbert gentoo-dev 2020-04-23 13:22:42 UTC
It looks like pkgconfig files in /usr/share/pkgconfig are being skipped.
Comment 9 Larry the Git Cow gentoo-dev 2020-04-23 13:25:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c13cfd3965702f08d412d01919e6bc4fc21e5e3

commit 1c13cfd3965702f08d412d01919e6bc4fc21e5e3
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-04-23 13:24:46 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-04-23 13:24:46 +0000

    profiles: mask dev-util/meson-0.54.0
    
    Bug: https://bugs.gentoo.org/719018
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 10 Mart Raudsepp gentoo-dev 2020-04-23 14:10:46 UTC
*** Bug 718984 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2020-04-23 15:28:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=834d7850f6db656404982ad723dcdae61e16f135

commit 834d7850f6db656404982ad723dcdae61e16f135
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-04-23 15:27:01 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-04-23 15:28:10 +0000

    profiles: drop dev-util/meson-0.54.0 mask
    
    Closes: https://bugs.gentoo.org/719018
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/package.mask | 5 -----
 1 file changed, 5 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac0cf49ca2ec08758e6f25d1081e20d33ccebb1

commit 3ac0cf49ca2ec08758e6f25d1081e20d33ccebb1
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-04-23 15:21:00 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-04-23 15:28:10 +0000

    meson.eclass: wire up pkgconfig variables
    
    meson-0.54.0 introduced a regression in how meson treats the
    PKG_CONFIG_PATH variable. Work around this by passing the value to meson
    setup on the command line.
    
    Also add sys_root and pkg_config_libdir to cross files per the upstream
    documentation.
    
    Bug: https://bugs.gentoo.org/719018
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 eclass/meson.eclass | 3 +++
 1 file changed, 3 insertions(+)
Comment 12 Matt Turner gentoo-dev 2020-04-23 20:45:47 UTC
*** Bug 718966 has been marked as a duplicate of this bug. ***