dev-qt/qtwayland-5.14.0_beta3 fails to compile Reproducible: Always Actual Results: clang++ -c -march=nocona -O2 -pipe -fPIC -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -Wextra -Wdate-time -Winconsistent-missing-override -D_REENTRANT -fPIC -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WAYLANDCOMPOSITOR_LIB -DQT_QUICK_LIB -DQT_XKBCOMMON_SUPPORT_LIB -DQT_EGL_SUPPORT_LIB -DQT_GUI_LIB -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../../hardwareintegration/compositor/linux-dmabuf-unstable-v1 -I../../../../../include/QtWaylandCompositor/5.14.0 -I../../../../../include/QtWaylandCompositor/5.14.0/QtWaylandCompositor -I../../../../../include -I../../../../../include/QtWaylandCompositor -isystem /usr/include/qt5/QtQuick/5.14.0 -isystem /usr/include/qt5/QtQuick/5.14.0/QtQuick -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtXkbCommonSupport -isystem /usr/include/qt5/QtXkbCommonSupport/5.14.0 -isystem /usr/include/qt5/QtXkbCommonSupport/5.14.0/QtXkbCommonSupport -isystem /usr/include/qt5/QtEglSupport -isystem /usr/include/qt5/QtEglSupport/5.14.0 -isystem /usr/include/qt5/QtEglSupport/5.14.0/QtEglSupport -isystem /usr/include/qt5/QtGui/5.14.0 -isystem /usr/include/qt5/QtGui/5.14.0/QtGui -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtQmlModels/5.14.0 -isystem /usr/include/qt5/QtQmlModels/5.14.0/QtQmlModels -isystem /usr/include/qt5/QtQmlModels -isystem /usr/include/qt5/QtQml/5.14.0 -isystem /usr/include/qt5/QtQml/5.14.0/QtQml -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore/5.14.0 -isystem /usr/include/qt5/QtCore/5.14.0/QtCore -isystem /usr/include/qt5/QtCore -I.moc -isystem /usr/include/libdrm -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-clang -o .obj/main.o main.cpp In file included from main.cpp:32: ../../../../hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabufclientbufferintegration.h:82:5: error: unknown type name 'PFNEGLBINDWAYLANDDISPLAYWL' PFNEGLBINDWAYLANDDISPLAYWL egl_bind_wayland_display = nullptr; ^ ../../../../hardwareintegration/compositor/linux-dmabuf-unstable-v1/linuxdmabufclientbufferintegration.h:83:5: error: unknown type name 'PFNEGLUNBINDWAYLANDDISPLAYWL' PFNEGLUNBINDWAYLANDDISPLAYWL egl_unbind_wayland_display = nullptr; ^ main.cpp:48:12: error: cannot initialize return object of type 'QtWayland::ClientBufferIntegration *' with an rvalue of type 'LinuxDmabufClientBufferIntegration *' return new LinuxDmabufClientBufferIntegration(); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 errors generated. make[5]: *** [Makefile:623: .obj/main.o] Error 1 make[5]: Leaving directory '/tmp/portage/dev-qt/qtwayland-5.14.0_beta3/work/qtwayland-everywhere-src-5.14.0-beta3/src/plugins/hardwareintegration/compositor/linux-dmabuf-unstable-v1' # emerge --info Portage 2.3.79 (python 3.7.5-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.2.0, glibc-2.30-r2, 5.4.0-rc7 x86_64) ================================================================= System uname: Linux-5.4.0-rc7-x86_64-AMD_Ryzen_Threadripper_2970WX_24-Core_Processor-with-gentoo-2.6 KiB Mem: 65917992 total, 62855792 free KiB Swap: 0 total, 0 free Head commit of repository qt: f0af24a03edcb50364f0d9ffb4ba48ea28d57aa5 Head commit of repository gentoo: 2abc8d0bb878cfa6804571de88b8b0c28e79fb99 sh bash 5.0_p11 ld GNU ld (Gentoo 2.33.1 p1) 2.33.1 app-shells/bash: 5.0_p11::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17::gentoo, 3.7.5-r1::gentoo dev-util/cmake: 3.15.5::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.1-r2::gentoo sys-devel/binutils: 2.33.1::gentoo sys-devel/gcc: 9.2.0-r2::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.3-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r2::gentoo Repositories: newstuff location: /mnt/repos/newstuff masters: gentoo priority: -1030 eclass-overrides: fixes qt location: /mnt/repos/qt sync-type: git sync-uri: https://anongit.gentoo.org/git/proj/qt.git masters: gentoo priority: -1020 eclass-overrides: fixes gnomelive location: /mnt/repos/gnomelive masters: gentoo priority: -1010 eclass-overrides: fixes gentoo location: /mnt/repos/gentoo sync-type: git sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git priority: -1000 eclass-overrides: fixes crossdev location: /mnt/repos/crossdev masters: gentoo eclass-overrides: fixes fixes location: /mnt/repos/fixes masters: gentoo priority: 10 eclass-overrides: fixes Installed sets: @clang, @system ACCEPT_KEYWORDS="* amd64 ~*" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O2 -pipe" 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=nocona -O2 -pipe" DISTDIR="/mnt/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="-O2 -pipe" 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 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j48" PKGDIR="/var/tmp/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="/tmp" USE="X a52 aac acl alsa amd64 berkdb bluetooth bluray boost bzip2 cairo caps cdr colord cpudetection cracklib css cups curl custom-cflags cxx dbus drm dts dvd eds egl encode exif expat fbcon ffmpeg flac flickr fontconfig gdbm gif glamor glib gnome gnome-keyring gpm graphite gssapi gstreamer gtk gtk3 harfbuzz ibus icu imagemagick introspection ipv6 jpeg kmod kms lcms libass libnotify libsamplerate lzma mp3 nautilus ncurses networkmanager nls nptl nss numa ogg opengl openmp openssl opus orc pam pango pcre pdf png policykit postproc postscript pulseaudio python readline samba speex spell split-usr ssl ssp static-analyzer svg systemd tcl theora threads tiff tk tools tracker truetype udev unicode upnp-av usb user-session utils v4l vala vorbis vpx vulkan wayland webp x264 x265 xcb xmp xscreensaver xv xvmc zlib zstd" ABI_X86="64" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" CURL_SSL="nss" ELIBC="glibc" INPUT_DEVICES="libinput wacom" KERNEL="linux" L10N="en" LLVM_TARGETS="AMDGPU BPF X86" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby26" SANE_BACKENDS="*" USERLAND="GNU" VIDEO_CARDS="amdgpu intel nouveau radeon radeonsi" 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
Created attachment 596300 [details] build.log
This looks a lot like bug 699190. Please see if the proposed fix(es) there help with this one as well. *** This bug has been marked as a duplicate of bug 699190 ***
Yes, Fix-EGL-typedefs-for-glvnd.patch does fix this problem. I am not using libglvnd, but maybe recent changes to mesa caused this ?