Version 5.14.1-r1 (no longer in the tree) compiled fine 2 weeks ago with the same settings (libinput vulkan xcomposite -debug -test). I do have gles2 set globally, so this probably leads to the failure given in the subject (I repeat it here in case the subject is edited again by the maintainers): ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-client && features.opengl && !features.opengles2 && features.xlib && libs.xcomposite && libs.glx' failed. Interestingly, compiling with USE=-xcomposite had configure fail with exactly the same message. Reproducible: Always
Missing emerge --info, build.log - you know we need those. (In reply to Bernd Feige from comment #0) > I do have gles2 set globally, so this probably leads to the failure given in the subject To make sense of that fact we need to know what profile you are using and/or whether you unmasked that use flag on Qt packages...
Please test with https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=a694ae228ee1779b1c6ec3cae8f1178dea6d7a5d applied.
Checked with https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=a694ae228ee1779b1c6ec3cae8f1178dea6d7a5d applied - it applies cleanly but I get the same result. Sorry, here comes emerge --info: Portage 2.3.94 (python 3.7.7-final-0, default/linux/amd64/17.1/systemd, gcc-9.3.0, glibc-2.30-r5, 5.5.10-gentoo x86_64) ================================================================= System uname: Linux-5.5.10-gentoo-x86_64-Intel-R-_Core-TM-_i7-4790_CPU_@_3.60GHz-with-gentoo-2.7 KiB Mem: 32904180 total, 24923140 free KiB Swap: 33554428 total, 33554428 free Timestamp of repository gentoo: Thu, 19 Mar 2020 00:45:01 +0000 Head commit of repository gentoo: 305945367df9ecff66fd0389c1312df733028863 Head commit of repository flatpak-overlay: ea16fa7c90c16c8720e4a388e7ddcdd70ad30221 sh bash 5.0_p16 ld GNU ld (Gentoo 2.34 p1) 2.34.0 distcc 3.3.3 x86_64-pc-linux-gnu [enabled] ccache version 3.7.8 [enabled] app-shells/bash: 5.0_p16::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.1::gentoo dev-lang/python: 2.7.17-r1::gentoo, 3.7.7::gentoo dev-util/ccache: 3.7.8::gentoo dev-util/cmake: 3.16.5::gentoo dev-util/pkgconfig: 0.29.2::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.1-r2::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.5::gentoo (virtual/os-headers) sys-libs/glibc: 2.30-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: no sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 flatpak-overlay location: /gentoo/local/flatpak-overlay sync-type: git sync-uri: https://github.com/fosero/flatpak-overlay.git masters: gentoo priority: 50 haskell location: /gentoo/local/layman/haskell sync-type: laymansync sync-uri: https://github.com/gentoo-haskell/gentoo-haskell.git masters: gentoo priority: 50 science location: /gentoo/local/layman/science masters: gentoo priority: 50 bfown location: /gentoo/overlay masters: gentoo science priority: 100 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=haswell -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=haswell -O2 -pipe" DISTDIR="/gentoo/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 ccache config-protect-if-modified distcc 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="-O2 -pipe" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ https://ftp.fau.de/gentoo http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j36 -l8" PKGDIR="/gentoo/packages/x64" 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="R X a52 aac aacs acl acpi afs alsa amd64 audit bacula-clientonly bdplus berkdb blas bluetooth bluray btrfs bzip2 cairo caps cddb cdparanoia cdr cli clutter colord colorio cpudetection crypt cscope cups cxx dbus dga djvu dri dri3 dv dvd dvdr dvdread dvi eds enblend encode eselect-ldso evo exif ext4 extrafilters faac ffmpeg fftw flac fluidsynth fontconfig fortran fuse g3dvl gdbm gegl gif gimp gles2 gmp gnome gnome-keyring gnome-shell gnutls graphics graphviz gs gstreamer gtk gtk3 hddtemp hdri heif iconv icu id3tag imagemagick introspection ipv6 ipython jack java jbig jingle jpeg jpeg2k kerberos kpathsea ladspa lame lapack latex lcms ldap lensfun libdrm libnotify libtirpc lm_sensors lv2 lyx lzma lzo mad matplotlib matroska md5sum midi mjpeg mng mp2 mp3 mpeg mtp multilib musepack nautilus ncurses nfs nls nptl numpy office ofx ogg openal opencl opencv openexr opengl openh264 openmp opus otr pam pcre pda pdf pep8 playlist plotutils plugins png pnm policykit postgres postscript pulseaudio pylint python qt3support quicktime radio rar raw readline real rtc rtmp rubberband sbsms scanner science scipy seccomp sendto sift sndfile sound soundtouch speex spell split-usr sqlite ssl svg systemd t1lib taglib tcpd telepathy theora threads tiff tivo tracker truetype twolame udev udisks umfpack unicode upnp user-session v4l vaapi vamp vdpau vim-syntax vorbis vpx vulkan wayland webengine webp win32codecs wmf x264 xattr xcomposite xetex xinerama xml xmp xmpp xps xv xvid xvmc zeromq zlib zoran" 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" CAMERAS="canon ptp2 samsung" 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 greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver pdfimport" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" QEMU_SOFTMMU_TARGETS="x86_64 i386 arm aarch64" QEMU_USER_TARGETS="x86_64 i386 arm aarch64" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp5590 genesys" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi amdgpu" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Okay, thanks for testing. gles2 USE flag is not recommended at all to be set on dev-qt packages, for that reason it is masked in desktop profile: # USE=gles2 in the following packages disables full OpenGL # Upstream does not test for that case and packages frequently # fail to build or run if set. dev-python/PyQt5 gles2 dev-qt/qt3d gles2 dev-qt/qtdatavis3d gles2 dev-qt/qtdeclarative gles2 dev-qt/qtgui gles2 dev-qt/qtmultimedia gles2 dev-qt/qtopengl gles2 dev-qt/qtprintsupport gles2 dev-qt/qtwebkit gles2 dev-qt/qtwidgets gles2 kde-apps/kdenlive gles2 kde-frameworks/plasma gles2 kde-plasma/kinfocenter gles2 kde-plasma/kwin gles2 The problem might be qtgui[gles2].
(In reply to Andreas Sturmlechner from comment #4) > Okay, thanks for testing. > > gles2 USE flag is not recommended at all to be set on dev-qt packages, for > that reason it is masked in desktop profile: > > # USE=gles2 in the following packages disables full OpenGL > # Upstream does not test for that case and packages frequently > # fail to build or run if set. > dev-python/PyQt5 gles2 > dev-qt/qt3d gles2 > dev-qt/qtdatavis3d gles2 > dev-qt/qtdeclarative gles2 > dev-qt/qtgui gles2 > dev-qt/qtmultimedia gles2 > dev-qt/qtopengl gles2 > dev-qt/qtprintsupport gles2 > dev-qt/qtwebkit gles2 > dev-qt/qtwidgets gles2 > kde-apps/kdenlive gles2 > kde-frameworks/plasma gles2 > kde-plasma/kinfocenter gles2 > kde-plasma/kwin gles2 > > The problem might be qtgui[gles2]. Okay, I'm on default/linux/amd64/17.1/systemd profile. gles2 use flag is not masked there. Switching to a desktop profile enabled lots of cruft that I don't need (like networkmanager and global qt5), so I'd rather not use that. Probably qt5 +gles2 should be masked higher up the profile hierarchy if it's that bad?
Not using the desktop profile you are simply on your own for many things. Could you test switching off the flag on qtgui though?
(In reply to Andreas Sturmlechner from comment #6) > Not using the desktop profile you are simply on your own for many things. Hmm, the rationale is not quite clear to me - if it is that a non-desktop profile should have no need for qt5, it should be masked there - but break it should not, sayeth Yoda... > Could you test switching off the flag on qtgui though? I did now symlink /usr/portage/profiles/targets/desktop/package.use.mask to /etc/portage/profile/package.use.mask/qt5 - took so long because also the dreaded qtwebkit needed recompilation but everything worked then, thanks!
(In reply to Bernd Feige from comment #7) > (In reply to Andreas Sturmlechner from comment #6) > > Not using the desktop profile you are simply on your own for many things. > > Hmm, the rationale is not quite clear to me - if it is that a non-desktop > profile should have no need for qt5, it should be masked there - but break > it should not, sayeth Yoda... See, and to me the rationale of talking about qt5 as 'cruft', then ending up with having Qt5WebKit installed, is not quite clear ;) Of course this bug should be fixed by adding the appropriate usedep to dev-qt/qtwayland, but I am not going to add more cushioning to non-desktop profiles.
(In reply to Andreas Sturmlechner from comment #8) > (In reply to Bernd Feige from comment #7) > > (In reply to Andreas Sturmlechner from comment #6) > > > Not using the desktop profile you are simply on your own for many things. > > > > Hmm, the rationale is not quite clear to me - if it is that a non-desktop > > profile should have no need for qt5, it should be masked there - but break > > it should not, sayeth Yoda... > See, and to me the rationale of talking about qt5 as 'cruft', then ending up > with having Qt5WebKit installed, is not quite clear ;) I wrote "global qt5". That is, every program that optionally has a qt5 based GUI (also in addition to GTK) is compiled with it. In addition to the qt5-only software I use, that's quite a lot of packages - I just had the list in front of me. And why qtwebkit - Two packages requiring PyQt5[webkit], so here we go... > Of course this bug should be fixed by adding the appropriate usedep to > dev-qt/qtwayland, but I am not going to add more cushioning to non-desktop > profiles. Thanks!
(In reply to Andreas Sturmlechner from comment #6) > Could you test switching off the flag on qtgui though? That seems to help here. After that, I was able to emerge.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/qt.git/commit/?id=678cb1240d935c417d471813522ca72baba91b7d commit 678cb1240d935c417d471813522ca72baba91b7d Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-03-21 13:07:18 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-03-21 17:25:28 +0000 dev-qt/qtwayland: USE X requires dev-qt/qtgui[-gles2] Closes: https://bugs.gentoo.org/713362 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtwayland/qtwayland-5.14.9999.ebuild | 1 + dev-qt/qtwayland/qtwayland-5.15.9999.ebuild | 1 + dev-qt/qtwayland/qtwayland-5.9999.ebuild | 1 + 3 files changed, 3 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8eac423b06874e38d0ffb168e8281083510082a commit b8eac423b06874e38d0ffb168e8281083510082a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-03-21 13:07:18 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-03-21 17:29:20 +0000 dev-qt/qtwayland: USE X requires dev-qt/qtgui[-gles2] Closes: https://bugs.gentoo.org/713362 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtwayland/qtwayland-5.14.1-r2.ebuild | 1 + 1 file changed, 1 insertion(+)
*** Bug 714798 has been marked as a duplicate of this bug. ***
I have exactly the same bug with qtwayland-5.14.2: >>> Emerging (1 of 1) dev-qt/qtwayland-5.14.2::gentoo Unable to unshare: EINVAL (for FEATURES="ipc-sandbox network-sandbox pid-sandbox") * qtwayland-everywhere-src-5.14.2.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] Unable to unshare: EINVAL (for FEATURES="ipc-sandbox network-sandbox pid-sandbox") >>> Unpacking source... >>> Unpacking qtwayland-everywhere-src-5.14.2.tar.xz to /tmp/portage/dev-qt/qtwayland-5.14.2/work >>> Source unpacked in /tmp/portage/dev-qt/qtwayland-5.14.2/work Unable to unshare: EINVAL (for FEATURES="ipc-sandbox network-sandbox pid-sandbox") >>> Preparing source in /tmp/portage/dev-qt/qtwayland-5.14.2/work/qtwayland-everywhere-src-5.14.2 ... >>> Source prepared. Unable to unshare: EINVAL (for FEATURES="ipc-sandbox network-sandbox pid-sandbox") >>> Configuring source in /tmp/portage/dev-qt/qtwayland-5.14.2/work/qtwayland-everywhere-src-5.14.2 ... * Running qt5_qmake Info: creating stash file /tmp/portage/dev-qt/qtwayland-5.14.2/work/qtwayland-everywhere-src-5.14.2_build/.qmake.stash Info: creating cache file /tmp/portage/dev-qt/qtwayland-5.14.2/work/qtwayland-everywhere-src-5.14.2_build/.qmake.cache Running configuration tests... Checking for Wayland client library... yes Checking for Wayland cursor library... yes Checking for wayland-scanner... yes Checking for Linux dma-buf Buffer Sharing... yes Checking for DRM EGL Server... yes Checking for Wayland EGL library... yes Checking for libhybris EGL Server... no Checking for XComposite... yes Checking for GLX... no Checking for wayland-server... yes Checking for Linux Client dma-buf Buffer Sharing... yes Checking for Linux dma-buf Buffer Sharing... yes Done running configuration tests. Configure summary: Qt Wayland Drivers: EGL .................................... yes Raspberry Pi ........................... no XComposite EGL ......................... yes XComposite GLX ......................... no DRM EGL ................................ yes libhybris EGL .......................... no Linux dma-buf server buffer integration . yes Vulkan-based server buffer integration . no Shm emulation server buffer integration . yes Qt Wayland Client Shell Integrations: xdg-shell .............................. yes xdg-shell unstable v5 (deprecated) ..... yes xdg-shell unstable v6 .................. yes ivi-shell .............................. yes wl-shell (deprecated) .................. yes Qt Wayland Client ........................ yes Qt Wayland Compositor .................... yes Qt Wayland Compositor Layer Plugins: VSP2 hardware layer integration ........ no ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-client && features.opengl && !features.opengles2 && features.xlib && libs.xcomposite && libs.glx' failed. ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-server && features.opengl && !features.opengles2 && libs.xcomposite && libs.glx' failed.
emerge --info: Portage 2.3.99 (python 3.8.2-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.30-r8, 5.5.10-gentoo x86_64) ================================================================= System uname: Linux-5.5.10-gentoo-x86_64-Intel-R-_Core-TM-_i5-8400_CPU_@_2.80GHz-with-glibc2.2.5 KiB Mem: 16433176 total, 4382900 free KiB Swap: 33554428 total, 33552892 free Timestamp of repository gentoo: Sun, 19 Apr 2020 11:30:01 +0000 Head commit of repository gentoo: b33a731e18e03cb49560abf4ac4b49011e27140e sh bash 5.0_p16 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p16::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.17-r2::gentoo, 3.7.7-r1::gentoo, 3.8.2-r1::gentoo dev-util/cmake: 3.17.1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::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-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes local location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mfpmath=sse -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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 -mfpmath=sse -O3 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y --keep-going=y --fail-clean=y" 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 fail-clean 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="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j7" 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="/tmp" USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus declarative dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm iconv icu ipv6 jpeg kde kipi lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xorg xv xvfb 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7 python3_8" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I use desktop/plasma profile, -gles2 and -gles2-only is in make.conf
(In reply to Vadim Dyadkin from comment #14) > I have exactly the same bug with qtwayland-5.14.2: > >>> Emerging (1 of 1) dev-qt/qtwayland-5.14.2::gentoo > Unable to unshare: EINVAL (for FEATURES="ipc-sandbox network-sandbox > pid-sandbox") > * qtwayland-everywhere-src-5.14.2.tar.xz BLAKE2B SHA512 size ;-) ... > [ ok ] > Unable to unshare: EINVAL (for FEATURES="ipc-sandbox network-sandbox > pid-sandbox") > >>> Unpacking source... > >>> Unpacking qtwayland-everywhere-src-5.14.2.tar.xz to /tmp/portage/dev-qt/qtwayland-5.14.2/work > >>> Source unpacked in /tmp/portage/dev-qt/qtwayland-5.14.2/work > Unable to unshare: EINVAL (for FEATURES="ipc-sandbox network-sandbox > pid-sandbox") > >>> Preparing source in /tmp/portage/dev-qt/qtwayland-5.14.2/work/qtwayland-everywhere-src-5.14.2 ... > >>> Source prepared. > Unable to unshare: EINVAL (for FEATURES="ipc-sandbox network-sandbox > pid-sandbox") > >>> Configuring source in /tmp/portage/dev-qt/qtwayland-5.14.2/work/qtwayland-everywhere-src-5.14.2 ... > * Running qt5_qmake > Info: creating stash file > /tmp/portage/dev-qt/qtwayland-5.14.2/work/qtwayland-everywhere-src-5.14. > 2_build/.qmake.stash > Info: creating cache file > /tmp/portage/dev-qt/qtwayland-5.14.2/work/qtwayland-everywhere-src-5.14. > 2_build/.qmake.cache > > Running configuration tests... > Checking for Wayland client library... yes > Checking for Wayland cursor library... yes > Checking for wayland-scanner... yes > Checking for Linux dma-buf Buffer Sharing... yes > Checking for DRM EGL Server... yes > Checking for Wayland EGL library... yes > Checking for libhybris EGL Server... no > Checking for XComposite... yes > Checking for GLX... no > Checking for wayland-server... yes > Checking for Linux Client dma-buf Buffer Sharing... yes > Checking for Linux dma-buf Buffer Sharing... yes > Done running configuration tests. > > Configure summary: > > Qt Wayland Drivers: > EGL .................................... yes > Raspberry Pi ........................... no > XComposite EGL ......................... yes > XComposite GLX ......................... no > DRM EGL ................................ yes > libhybris EGL .......................... no > Linux dma-buf server buffer integration . yes > Vulkan-based server buffer integration . no > Shm emulation server buffer integration . yes > Qt Wayland Client Shell Integrations: > xdg-shell .............................. yes > xdg-shell unstable v5 (deprecated) ..... yes > xdg-shell unstable v6 .................. yes > ivi-shell .............................. yes > wl-shell (deprecated) .................. yes > Qt Wayland Client ........................ yes > Qt Wayland Compositor .................... yes > Qt Wayland Compositor Layer Plugins: > VSP2 hardware layer integration ........ no > > ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition > 'features.wayland-client && features.opengl && !features.opengles2 && > features.xlib && libs.xcomposite && libs.glx' failed. > > ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition > 'features.wayland-server && features.opengl && !features.opengles2 && > libs.xcomposite && libs.glx' failed. Same problem here on RPi 4. Did you get any solution?
In my case the problem was solved by compiling a more recent version of mesa and recompiling libdrm, xorg-server and cairo.
(In reply to Vadim Dyadkin from comment #14) > I have exactly the same bug with qtwayland-5.14.2: JFYI, I faced this during the world update too. I unblocked myself with use flag change: dev-qt/qtwayland -X After the full update I removed the rule and qtwayland has recompiled successfully. Seems like an upstream issue with their configuration process.