Attempting to emerge Thunar on a system using USE="-wayland" will fail. As I understand it, xfce-base/thunar expects xfce-base/exo to be built with Wayland support. xfce-base/exo and xfce-base/thunar have no "wayland" USE flag, and while xfce-base/exo will build fine without dev-libs/wayland present on the system, xfce-base/thunar will fail until xfce-base/exo is built with wayland support. Ideally, USE flags for both of these packages are provided to maintain a fully USE="-wayland" system, but in the meantime, a tl;dr temp solution: # manually build wayland dev libs and rebuild exo emerge dev-libs/wayland emerge xfce-base/exo # thunar now builds correctly on your USE="-wayland" system emerge xfce-base/thunar
There are three versions of thunar in the repo today, and we don't know when you last synced. The contents of 'emerge --info thunar' would answer both questions. :)
Hi Greg, Apologies, first report here. Here's some of the output of emerge --info thunar on my system. My account is new, and cannot post URLs, so I've culled a lot of this to what I *believe* is important. Portage 4.0.67 (python 3.12.9-final-0, default/linux/amd64/23 [dot] 0/systemd, gcc-14, glibc-2.40-r8, 6.12.16-gentoo-dist x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.12.16-gentoo-dist-x86_64-Intel-R-_Celeron-R-_N4020_CPU_@_1.10GHz-with-glibc2.40 KiB Mem: 3537964 total, 1995116 free KiB Swap: 8372220 total, 8372220 free Timestamp of repository gentoo: Sun, 23 Mar 2025 06:45:00 +0000 Head commit of repository gentoo: 086572e77ee02b8ab57f3b9d2b1a34d653f2ea58 sh bash 5.2_p37 ld GNU ld (Gentoo 2.44 p1) 2.44.0 ccache version 4.10.2 [disabled] app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.72-r1::gentoo dev-build/automake: 1.17-r1::gentoo dev-build/cmake: 3.31.5::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.7.0::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0-r1::gentoo dev-lang/python: 3.12.9::gentoo, 3.13.2::gentoo dev-lang/rust-bin: 1.84.1-r2::gentoo dev-util/ccache: 4.10.2-r1::gentoo llvm-core/clang: 19.1.7::gentoo llvm-core/llvm: 19.1.7::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-apps/systemd: 256.10::gentoo sys-devel/binutils: 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r8::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync [dot] gentoo [dot] org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 3 sync-rsync-verify-jobs: 1 Binary Repositories: gentoobinhost priority: 9999 sync-uri: distfiles [dot] gentoo [dot] org/releases/amd64/binpackages/23 [dot] 0/x86-64 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE @BINARY-REDISTRIBUTABLE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-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" CXXFLAGS="-O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE 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 XDG_STATE_HOME" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="mirror [dot] reenigne [dot] net/gentoo/ mirror [dot] csclub [dot] uwaterloo [dot] ca/gentoo-distfiles/ mirrors [dot] mit [dot] edu/gentoo-distfiles/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" MAKEOPTS="-j4 -l5" 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" SHELL="/bin/bash" USE="X acl alsa amd64 bluetooth bzip2 cet crypt dbus dist-kernel ffmpeg flatpak gdbm iconv ipv6 libtirpc man multilib ncurses nls opengl openmp pam pcre policykit pulseaudio readline seccomp ssl systemd test-rust udev unicode xattr xml zlib" ABI_X86="64" ADA_TARGET="gcc_14" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= xfce-base/thunar-4.20.1::gentoo was built with the following: USE="pcre trash-panel-plugin -exif -introspection -libnotify -udisks" ABI_X86="(64)"
I'm confused where this is coming from. Thunar definitely doesn't feature any references to wayland. exo seems to have an automagic dependency (which is definitely a bug), but FWIU it would only happen if you built GTK+ with USE=wayland.
I cannot seem to replicate this issue. I removed dev-libs/wayland (and a reverse dependency, being app-admin/bitwarden-desktop-bin), remerged xfce-base/exo, and remerged xfce-base/thunar expecting it to fail... but it didn't. For additional context, before creating this issue, I was using FEATURES="${FEATURES} getbinpkg", and had this exact same issue, so I removed getbinpkg, called emerge -uDN @world, and remerged xfce-base/thunar, only to receive the same error. I feel like this is probably something to do with binpkgs then, but I'm by no means educated with Portage, so take that with a grain of salt.