Hi :-) I'm just about to update an old x86 notebook running LxQt. The process is stuck at dev-qt/qtwayland, which refuses to even start building: ------------------------------------------------------------ Running configuration tests... Checking for Wayland client library... no Checking for Wayland EGL library... no Checking for wayland-server... no Done running configuration tests. Configure summary: Qt Wayland Client ........................ no Qt Wayland Compositor .................... no Note: No wayland-egl support detected. Cross-toolkit compatibility disabled. ERROR: Feature 'xcomposite-egl' was enabled, but the pre-condition 'features.wayland-client && features.opengl && features.egl && features.xlib && libs.xcomposite && features.egl_x11' failed. 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-egl' was enabled, but the pre-condition 'features.wayland-server && features.egl && features.opengl && libs.xcomposite' failed. ERROR: Feature 'xcomposite-glx' was enabled, but the pre-condition 'features.wayland-server && features.opengl && !features.opengles2 && libs.xcomposite && libs.glx' failed. ------------------------------------------------------------ I didn't change any USE flag and also have none set globally. I can't figure out how to fix this ... what's missing? Apparently, I need qtwayland, as lxqt-base/lxqt-config depends on kde-plasma/libkscreen, which depends on kde-frameworks/kwayland, which then pulls dev-qt/qtwayland.
Setting USE="-X" for dev-qt/qtwayland makes this one build, but afterwards, kde-frameworks/kwayland fails to configure: CMake Error at /usr/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package): Could not find a package configuration file provided by "Qt5WaylandClient" with any of the following names: Qt5WaylandClientConfig.cmake qt5waylandclient-config.cmake Add the installation prefix of "Qt5WaylandClient" to CMAKE_PREFIX_PATH or set "Qt5WaylandClient_DIR" to a directory containing one of the above files. If "Qt5WaylandClient" provides a separate development package or SDK, be sure it has been installed.
Oh, here's emerge --info: Portage 3.0.8 (python 3.7.9-final-0, default/linux/x86/17.0/desktop, gcc-9.3.0, glibc-2.32-r2, 5.4.48-gentoo i686) ================================================================= System uname: Linux-5.4.48-gentoo-i686-Genuine_Intel-R-_CPU_T2080_@_1.73GHz-with-gentoo-2.7 KiB Mem: 1016224 total, 385812 free KiB Swap: 1951892 total, 1889120 free Timestamp of repository gentoo: Thu, 05 Nov 2020 20:00:01 +0000 Head commit of repository gentoo: aaacc1a3cc8be5fbb598c34da76d7cd195e647b2 sh bash 5.0_p18 ld GNU ld (Gentoo 2.33.1 p2) 2.33.1 distcc 3.3.3 i686-pc-linux-gnu [enabled] app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.7.9::gentoo, 3.8.5::gentoo dev-util/cmake: 3.17.4-r1::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.33.1-r1::gentoo, 2.34-r2::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /var/portage/tree sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 local location: /var/portage/local masters: gentoo priority: 0 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="@FREE" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium-m -mavx256-split-unaligned-load -mavx256-split-unaligned-store -mno-accumulate-outgoing-args -mno-sahf -msse3 -mtune=generic --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=1024 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /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=pentium-m -mavx256-split-unaligned-load -mavx256-split-unaligned-store -mno-accumulate-outgoing-args -mno-sahf -msse3 -mtune=generic --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=1024 -O2 -pipe -fomit-frame-pointer" DISTDIR="/var/portage/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-O2 -march=i686 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 -march=i686 -pipe" GENTOO_MIRRORS=" http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ " LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/var/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="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 x86 xattr xcb xml xv xvid zlib" ABI_X86="32" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 sse3" 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 de_DE" 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-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel i915" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
So the tests fail right at the start, where they're looking for things provided by 'dev-libs/wayland' I believe. Is that properly installed and which version do you have of it? Can't quite imagine it being missing. Maybe something going wrong with pkgconfig. The files 'config.cache' and 'config.log' might be interesting, though they might not tell us many things we already don't know. So far I've been unable to re-produce this in a VM, but that might not be much said...
Do you still have eselect-opengl on that system?
Looking at config.log was a really good idea. Apparently, distcc is the problem: > g++ -Wl,-O1 -o wayland-server main.o -lwayland-server > /usr/lib/gcc/i686-pc-linux-gnu/9.3.0/../../../../i686-pc-linux-gnu/bin/ld: i386:x86-64 architecture of input file `main.o' is incompatible with i386 output > collect2: Fehler: ld gab 1 als Ende-Status zurück > distcc[202] ERROR: compile (null) on localhost failed > make: *** [Makefile:68: wayland-server] Fehler 1 => source failed verification. test config.qtwayland_compositor.libraries.wayland-server FAILED I fixed all /usr/lib/distcc/* links to use the wrapper script and that made it compile. Apparently, some were lost due to an update ... Thanks for pointing me into the right direction, I honestly didn't think about distcc being the problem here!
Aha! Interesting. I don't remember ever seeing distcc causing trouble during configure tests like this before... but I admit I didn't even notice it was enabled there. Always learning new, and all that. Thanks! Not sure if this is a distcc or qtwayland bug now, hmmm...
I think the problem was that the configure script used the distcc g++ executable that was symlinked to distcc directly. The host is x86, and the distcc machine is amd64. Without the wrapper script changing this to i686-pc-linux-gnu-g++, the server delivered an amd64 binary (not knowing the host wanted i686) and thus the linking failed on the x86 machine. So most probably, this is neither a distcc, nor a qtwayland issue, but a Gentoo-specific one which only emerges in a cross-platform distcc environment, when i686 mixes with amd64 and the distcc wrapper is not setup correctly ...
Seems plausible, and with that, I guess this one can be closed (invalid in the sense that there doesn't seem to be a packaging issue here). Thanks!