Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 694030 - media-libs/libepoxy with media-libs/mesa-19.2.0_rc2 - ?
Summary: media-libs/libepoxy with media-libs/mesa-19.2.0_rc2 - ?
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-11 10:31 UTC by Marek Bartosiewicz
Modified: 2019-09-11 17:17 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Bartosiewicz 2019-09-11 10:31:03 UTC
Portage 2.3.75 (python 3.7.4-final-0, default/linux/amd64/17.1/systemd, gcc-9.2.0, glibc-2.29-r5, 5.2.14-gentoo x86_64)
=================================================================
System uname: Linux-5.2.14-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E3-1505M_v5_@_2.80GHz-with-gentoo-2.6
KiB Mem:    32852612 total,  20648088 free
KiB Swap:    8134652 total,   8134652 free
Timestamp of repository gentoo: Wed, 11 Sep 2019 06:00:01 +0000
Head commit of repository gentoo: 04f2a6fe5fc754f9e12430577dfd646ad4510630
Head commit of repository dev-zero: 3d2a44ef5ff9b122cd030d0c2e50971089eeb4d0

Head commit of repository jorgicio: 4b78cd632ebc51bdf0e6281424dcf23f0089e79a

Head commit of repository ljh: cd325419c146ff5e892a4aae618ad2e9d400cb72

sh bash 5.0_p11
ld GNU gold (Gentoo 2.32 p2 2.32.0) 1.16
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/cmake:           3.15.3::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r5::gentoo
Repositories:

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

dev-zero
    location: /usr/local/overlays/devzero
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/dev/dev-zero.git
    masters: gentoo

jorgicio
    location: /usr/local/overlays/jorgicio
    sync-type: git
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo
    masters: gentoo

ljh
    location: /usr/local/overlays/ljh
    sync-type: git
    sync-uri: https://github.com/LuoJinghua/gentoo-overlay
    masters: gentoo

local-overlay
    location: /usr/local/overlays/portage
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* ISSL MicroChip-SDCC freedist SmartLabs NVIDIA-r1 Broadcom linux-fw-redistributable unRAR intel-ucode LGPL-2.1+ W3C LGPL-3+ EUPL-1.1 LGPL-3 HPND MPL-1.1 MPL-2.0 ECL-2.0 GPL-2+ EPL-1.0 NOSA Watcom-1.0 Sleepycat CPAL-1.0 BSD-2 OSL-2.1 ZLIB Artistic-2 EPL-2.0 MIT PSF-2 GPL-2 GPL-3 QPL APL-1.0 PHP-3.01 LGPL-2+ Apache-2.0 LGPL-2.1 AFL-3.0 LPPL-1.3c AGPL-3+ GPL-1+ nethack PHP-3 wxWinLL-3 IPAfont ZPL CPL-1.0 POSTGRESQL UoI-NCSA OFL-1.1 GPL-3+ Apache-1.1 Artistic CDDL IBM Ms-PL ISC AGPL-3 MPL-1.0 Boost-1.0 BSD CNRI APSL-2 openafs-krb5-a Crypt-IDEA URT UCAR-Unidata shrimp x2x boehm-gc Subversion CMake AMPAS CDDL-Schily rdisc TeX-other-free mpich2 photopc LLVM-Grant JNIC Mail-Sendmail FLEX Snd gsm bufexplorer.vim JDOM Sendmail xtrs xbatt ErlPL-1.1 VTK FastCGI SSLeay repoze LIBGLOSS CRACKLIB Khronos-CLHPP mapm-4.9.5 matplotlib pngnq Sendmail-Open-Source yuuji regexp-UofT YaTeX PHP-2.02 Allegro eGenixPublic-1.1 torque-2.5 imagemagick bea.ri.jsr173 mm ZSH gd Flashpix RSA NEWLIB FLTK Old-MIT tm-align symlinks alternate libpng pngcrush docbook the-Click-license Openwall iASL BSD-1 NCSA-HDF Time-Format LPPL-1.3b xvt htmlc tablelist Time-modules tcp_wrappers_license CPL-0.5 CeCILL-C DES SMAIL XC feh FVWM lsof scanlogd JasPer2.0 Mini-XML qmail-nelson otter icu psutils tcltk SVFL buddy Info-ZIP Toyoda canfep Ispell DUMB-0.9.3 CAOSL BZIP2 Xdebug netcat LambdaMOO minpack totd ElementTree inner-net TeX flexmock ipx-utils ngrep SNIA Princeton perforce JOVE MIT-with-advertising Emacs File-MMagic freetts libtiff IDPL Interbase-1.0 xboing BSD-with-attribution libpng2 rwpng rc HTML-Tidy PCRE libmng BEER-WARE w3m ipadic dom4j LPPL-1.3 BSD-4 MPL-1.1 EUPL-1.1 gnuplot OSL-2.0 EPL-1.0 NPL-1.1 CPAL-1.0 OSL-2.1 LPPL-1.2 LGPL-2.1+ GPL-2-with-linking-exception W3C LGPL-3+ Clarified-Artistic LGPL-3 HPND MPL-2.0 ECL-2.0 GPL-2+ GPL-3+-with-opencl-exception gcc-runtime-library-exception-3.1 SGI-B-2.0 Sleepycat OPENLDAP PYTHON BSD-2 PSF-2.4 tanuki-community Apache-2.0-with-LLVM-exceptions LGPL-2 libgcc Transmission-OpenSSL-exception vim ZLIB Artistic-2 PSF-2.2 unicode MIT LGPL-2.1-with-linking-exception UPX-exception GPL-2-with-font-exception PSF-2 GPL-2 GPL-3 Unlicense WTFPL-2 CC0-1.0 GPL-2+-with-openssl-exception IJG LGPL-2+ CeCILL-2 Apache-2.0 LGPL-2.1 wxWinLL-3.1 AGPL-3+ GPL-1+ metapackage GPL-1 LGPL-2-with-linking-exception Clear-BSD Ruby-BSD public-domain Nokia-Qt-LGPL-Exception-1.1 ZPL GPL-3+-with-cuda-openssl-exception UoI-NCSA GPL-3-with-font-exception PSF-2.3 GPL-3+ FTL LGPL-3-with-linking-exception GPL-3-with-openssl-exception GPL-3+-with-opencl-openssl-exception ISC GPL-3+-with-cuda-exception qwt libstdc++ AGPL-3 Boost-1.0 GPL-2-with-MySQL-FLOSS-exception GPL-2-with-classpath-exception GPL-2-with-exceptions BSD Ruby EPL-2.0 Zend-2.0 QPL Apache-1.0 PHP-3.01 AFL-3.0 QPL-1.0 CPL-1.0 openssl Apache-1.1 CDDL IBM Ms-PL OSL-1.1 AFL-2.1 MPL-1.0 CNRI APSL-2 man-pages MaxMind2 CC-PD CC-BY-SA-1.0 BitstreamVera man-pages-posix-2013 man-pages-posix UbuntuFontLicense-1.0 myspell-en_CA-KevinAtkinson mplus-fonts Unicode_Fonts_for_Ancient_Scripts vlgothic CC-SA-1.0 Texinfo-manual wxWinFDL-3 quake1-textures LDP-1 LDP-1a Arphic GPL-2+ CC-BY-2.5 CC-BY-SA-2.0 CC-BY-3.0 FDL-1.2+ GPL-2 GPL-3 CC-BY-SA-2.5 CC-BY-2.0 CC-BY-SA-3.0 GPL-1+ CC-BY-4.0 GPL-1 IPAfont FreeArt CC-BY-SA-4.0 OFL-1.1 FDL-1.2 GPL-3+ FDL-1.1 FDL-1.3+ FDL-1.1+ FDL-1.3 OFL OPL ipw2200-fw no-source-code bonnie sun-jlfgr ipw3945 shmux qlogic-fibre-channel-firmware ipw2100-fw Dina LSI-tw_cli JSON bh-luxi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ftree-vectorize"
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="-O2 -pipe -march=native -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --ask-enter-invalid"
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="-O2 -pipe -march=native -ftree-vectorize"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -ftree-vectorize"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/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"
USE="256-color X a52 aac acl acpi alsa amd64 apng archive berkdb blink bluetooth bluray branding bzip2 cairo cgroup-hybrid cli colord crypt cryptsetup cups curl cxx dbus default-gold device-mapper dri drm dvd encode exif experimental fading-colors fam ffmpeg flac fortran fuse gd gdbm gdk-pixbuf gif git glamor gmp gold gpm graphite gtk gtk3 hddtemp hostonly i3 i3wm iconv icu introspection ipc ipv6 iso iso14755 ithreads java jpeg justify lame lapack layers libglvnd libnotify libtirpc lto lz4 lzma lzo mad minizip mjpeg mp3 mp4 mpeg mtp multilib ncurses network nfs nls nptl nsplugin ogg openal opencl opengl openmp pam pcre pcre16 pcre32 pdf pgo png policykit postproc pulseaudio qml readline sdl seccomp secure-delete smp snappy spice split-usr sqlite ssl startup-notification svc svg symlink systemd taglib tcpd text threads tiff tk truetype udev udisks unicode unicode3 usb user-session uvm vaapi vala vdpau virt-network vorbis vulkan x264 x265 xattr xcb xft xkb xml xmp xvfb zeroconf zeromq zlib zstd" ABI_X86="64" 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="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock 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="libinput" KERNEL="linux" L10N="en en-GB pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marek Bartosiewicz 2019-09-11 10:31:40 UTC
[ebuild   R    ] media-libs/mesa-19.2.0_rc2::gentoo  USE="X classic dri3 egl gallium gbm libglvnd llvm opencl vaapi vdpau vulkan -d3d9 -debug -gles1 -gles2 -lm_sensors -osmesa -pax_kernel (-selinux) -test -unwind -valgrind -vulkan-overlay -wayland -xa -xvmc" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="i965 intel (-freedreno) -i915 -iris (-lima) -nouveau (-panfrost) -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -virgl (-vivante) -vmware" 0 KiB
Comment 2 Marek Bartosiewicz 2019-09-11 10:33:29 UTC
Manifests in varous failures when emerging packages that use EGL, like mpv.
See: https://bugs.gentoo.org/692206 and https://bugzilla.redhat.com/show_bug.cgi?id=1744292

Checking for OpenGL X11 Backend
==>
#include <X11/Xlib.h>
#include <GL/glx.h>
#include <stddef.h>

int main(int argc, char *argv[]) {
  glXCreateContext(NULL, NULL, NULL, True);
  glXQueryExtensionsString(NULL, 0);
  glXGetProcAddressARB("");
  glXGetCurrentDisplay();
  return 0;
}

<==
[1/2] Compiling build/.conf_check_8669a28b591d91ad04fdcd46293a7f95/test.c

['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-march=native', '-ftree-vectorize', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-Wvla', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-pthread', '-DDEFAULT_DVD_DEVICE="/dev/sr0"', '-DDEFAULT_CDROM_DEVICE="/dev/sr0"', '-DHAVE_GPL=1', '-DHAVE_LIBAF=1', '-DHAVE_CPLAYER=1', '-DHAVE_LIBDL=1', '-DHAVE_ASM=1', '-DHAVE_LIBM=1', '-DHAVE_POSIX=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_LIBRT=1', '-DHAVE_ICONV=1', '-DHAVE_POSIX_SPAWN_NATIVE=1', '-DHAVE_POSIX_SPAWN=1', '-DHAVE_GLOB_POSIX=1', '-DHAVE_GLOB=1', '-DHAVE_FCHMOD=1', '-DHAVE_VT_H=1', '-DHAVE_GBM_H=1', '-DHAVE_GLIBC_THREAD_NAME=1', '-DHAVE_LINUX_FSTATFS=1', '-DHAVE_51=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_DVDREAD_COMMON=1', '-DHAVE_UCHARDET=1', '-DHAVE_LIBARCHIVE=1', '-DHAVE_SDL2=1', '-DHAVE_PULSE=1', '-DHAVE_OPENAL=1', '-DHAVE_ALSA=1', '-DHAVE_DRM=1', '-DHAVE_DRMPRIME=1', '-DHAVE_X11=1', '-DHAVE_XV=1', '../test.c', '-c', '-o/var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1/build/.conf_check_8669a28b591d91ad04fdcd46293a7f95/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_8669a28b591d91ad04fdcd46293a7f95/testbuild/testprog

['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-march=native', '-ftree-vectorize', '-Wl,-O1', '-Wl,--as-needed', '-pthread', 'test.c.1.o', '-o/var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1/build/.conf_check_8669a28b591d91ad04fdcd46293a7f95/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lX11', '-lXss', '-lXext', '-lXinerama', '-lXrandr', '-ldl', '-Wl,-O1', '-Wl,--as-needed']
err: test.c.1.o:test.c:function main: error: undefined reference to 'glXCreateContext'
test.c.1.o:test.c:function main: error: undefined reference to 'glXQueryExtensionsString'
test.c.1.o:test.c:function main: error: undefined reference to 'glXGetProcAddressARB'
test.c.1.o:test.c:function main: error: undefined reference to 'glXGetCurrentDisplay'
collect2: error: ld returned 1 exit status

from /var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1: Test does not build: Traceback (most recent call last):
  File "/var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1/.waf3-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Configure.py", line 324, in run_build
    bld.compile()
  File "/var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1/.waf3-2.0.9-10a533182bd85c3f45a157fb5d62db50/waflib/Build.py", line 176, in compile
    raise Errors.BuildError(self.producer.error)
waflib.Errors.BuildError: Build failed
 -> task in 'testprog' failed with exit status 1 (run with -v to display more information)

from /var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1: The configuration failed
==>
#include <X11/Xlib.h>
#include <GL/glx.h>
#include <stddef.h>

int main(int argc, char *argv[]) {
  glXCreateContext(NULL, NULL, NULL, True);
  glXQueryExtensionsString(NULL, 0);
  glXGetProcAddressARB("");
  glXGetCurrentDisplay();
  return 0;
}

<==
[1/2] Compiling build/.conf_check_4db92c8d471d8cf0f1d8867d6293555b/test.c

['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-march=native', '-ftree-vectorize', '-D_ISOC99_SOURCE', '-D_GNU_SOURCE', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_LARGEFILE64_SOURCE', '-std=c99', '-Wall', '-Werror=implicit-function-declaration', '-Wno-error=deprecated-declarations', '-Wno-error=unused-function', '-Wempty-body', '-Wdisabled-optimization', '-Wstrict-prototypes', '-Wno-format-zero-length', '-Werror=format-security', '-Wno-redundant-decls', '-Wvla', '-Wall', '-Wundef', '-Wmissing-prototypes', '-Wshadow', '-Wno-switch', '-Wparentheses', '-Wpointer-arith', '-Wno-pointer-sign', '-Wno-unused-result', '-pthread', '-DDEFAULT_DVD_DEVICE="/dev/sr0"', '-DDEFAULT_CDROM_DEVICE="/dev/sr0"', '-DHAVE_GPL=1', '-DHAVE_LIBAF=1', '-DHAVE_CPLAYER=1', '-DHAVE_LIBDL=1', '-DHAVE_ASM=1', '-DHAVE_LIBM=1', '-DHAVE_POSIX=1', '-DHAVE_POSIX_OR_MINGW=1', '-DHAVE_PTHREADS=1', '-DHAVE_GNUC=1', '-DHAVE_STDATOMIC=1', '-DHAVE_ATOMICS=1', '-DHAVE_LIBRT=1', '-DHAVE_ICONV=1', '-DHAVE_POSIX_SPAWN_NATIVE=1', '-DHAVE_POSIX_SPAWN=1', '-DHAVE_GLOB_POSIX=1', '-DHAVE_GLOB=1', '-DHAVE_FCHMOD=1', '-DHAVE_VT_H=1', '-DHAVE_GBM_H=1', '-DHAVE_GLIBC_THREAD_NAME=1', '-DHAVE_LINUX_FSTATFS=1', '-DHAVE_51=1', '-DHAVE_LUA=1', '-DHAVE_LIBASS=1', '-DHAVE_LIBASS_OSD=1', '-DHAVE_ZLIB=1', '-DHAVE_LIBBLURAY=1', '-DHAVE_DVDREAD=1', '-DHAVE_DVDNAV=1', '-DHAVE_DVDREAD_COMMON=1', '-DHAVE_UCHARDET=1', '-DHAVE_LIBARCHIVE=1', '-DHAVE_SDL2=1', '-DHAVE_PULSE=1', '-DHAVE_OPENAL=1', '-DHAVE_ALSA=1', '-DHAVE_DRM=1', '-DHAVE_DRMPRIME=1', '-DHAVE_X11=1', '-DHAVE_XV=1', '../test.c', '-c', '-o/var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1/build/.conf_check_4db92c8d471d8cf0f1d8867d6293555b/testbuild/test.c.1.o']
[2/2] Linking build/.conf_check_4db92c8d471d8cf0f1d8867d6293555b/testbuild/testprog

['x86_64-pc-linux-gnu-gcc', '-O2', '-pipe', '-march=native', '-ftree-vectorize', '-Wl,-O1', '-Wl,--as-needed', '-pthread', 'test.c.1.o', '-o/var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1/build/.conf_check_4db92c8d471d8cf0f1d8867d6293555b/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lGL', '-lX11', '-lXss', '-lXext', '-lXinerama', '-lXrandr', '-ldl', '-Wl,-O1', '-Wl,--as-needed']
yes
-----------------------------------------------------------------
Checking for OpenGL X11 EGL Backend
['x86_64-pc-linux-gnu-pkg-config', 'egl', '--libs', '--cflags', 'egl']
err: Package egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `egl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'egl', required by 'virtual:world', not found
Package 'egl', required by 'virtual:world', not found

from /var/tmp/portage/media-video/mpv-0.29.1-r1/work/mpv-0.29.1: The configuration failed
no ('egl' not found)
Comment 3 Marek Bartosiewicz 2019-09-11 10:34:26 UTC
Reemerging cairo fixes this:

Emerging (3 of 11) dev-python/pycairo-1.18.1::gentoo
 * pycairo-1.18.1.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking pycairo-1.18.1.tar.gz to /var/tmp/portage/dev-python/pycairo-1.18.1/work
>>> Source unpacked in /var/tmp/portage/dev-python/pycairo-1.18.1/work
>>> Preparing source in /var/tmp/portage/dev-python/pycairo-1.18.1/work/pycairo-1.18.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/pycairo-1.18.1/work/pycairo-1.18.1 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/pycairo-1.18.1/work/pycairo-1.18.1 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
python2.7 setup.py build
running build
running build_py
creating /var/tmp/portage/dev-python/pycairo-1.18.1/work/pycairo-1.18.1-python2_7/lib/cairo
copying cairo/__init__.py -> /var/tmp/portage/dev-python/pycairo-1.18.1/work/pycairo-1.18.1-python2_7/lib/cairo
copying cairo/__init__.pyi -> /var/tmp/portage/dev-python/pycairo-1.18.1/work/pycairo-1.18.1-python2_7/lib/cairo
copying cairo/py.typed -> /var/tmp/portage/dev-python/pycairo-1.18.1/work/pycairo-1.18.1-python2_7/lib/cairo
warning: build_py: byte-compiling is disabled, skipping.

running build_ext
Package egl was not found in the pkg-config search path.
Perhaps you should add the directory containing `egl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'egl', required by 'cairo', not found
Command '['pkg-config', '--cflags-only-I', 'cairo']' returned non-zero exit status 1
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-11 13:02:47 UTC
Could you please focus on a single package that breaks when building against the new media-libs/mesa? Obviously, when media-libs/mesa introduced sweeping changes, this can break other packages, but it is the other packages that need to be fixed, and we need a single bug report per package, instead of lumping them altogether right here.
Comment 5 Marek Bartosiewicz 2019-09-11 13:08:11 UTC
Yeah, of course.
Right now it's mpv. I'm in a middle of world rebuild, will report confirmed breackages.
Comment 6 Marek Bartosiewicz 2019-09-11 15:59:22 UTC
Seems mpv is the only failure on my system/world (but I have lean install with only 811 packages, xorg/i3/firefox-bin and some additional tools).
Comment 7 Maik 2019-09-11 16:00:46 UTC
Did some investigation and the reason is this:
https://gitlab.freedesktop.org/mesa/mesa/commit/1a25980c469b38d2c6456344fe538ad1bcb47f63
Mesa dropped the pkgconfig file for egl.
The deeper reason is this:
https://github.com/NVIDIA/libglvnd/pull/86
which resulted in this:
https://github.com/NVIDIA/libglvnd/pull/179
So the resolution is that mesa-19.2 needs a brand new libglvnd package and the mesa team would have to sort out which should provide the gl headers.
Until then, many packages won't compile with mesa 19.2 and libglvnd.
Comment 8 Matt Turner gentoo-dev 2019-09-11 17:17:36 UTC
The flag is masked *for this reason*!