xdotool throws this error, regardless of what parameters I use. Re-emerging it does not help. Reproducible: Always Steps to Reproduce: 1. emerge xdotool 2. Run xdotool --help Actual Results: xdotool: symbol lookup error: xdotool: undefined symbol: xdo_get_window_classname Expected Results: The normal help output. $ emerge --info xdotool Portage 3.0.68 (python 3.12.10-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.41-r1, 6.13.8-gentoo-dist x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.13.8-gentoo-dist-x86_64-AMD_Ryzen_3_2200G_with_Radeon_Vega_Graphics-with-glibc2.41 KiB Mem: 5977992 total, 716844 free KiB Swap: 16776188 total, 16291324 free Timestamp of repository gentoo: Thu, 24 Apr 2025 13:15:00 +0000 Head commit of repository gentoo: 74113221955e0ece2f34c55ca47da502fce7c60c Timestamp of repository guru: Wed, 23 Apr 2025 15:38:23 +0000 Head commit of repository guru: c44c7c24eb846309e5a55e54111eb5c58753ebab Timestamp of repository haskell: Thu, 24 Apr 2025 04:35:16 +0000 Head commit of repository haskell: 3f7f400586776b5b052e000744318093b14106e8 sh bash 5.2_p37 ld GNU ld (Gentoo 2.44 p1) 2.44.0 ccache version 4.11.2 [disabled] app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.17-r2::gentoo dev-build/cmake: 3.31.7::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.7.2::gentoo dev-lang/perl: 5.40.2::gentoo dev-lang/python: 3.12.10::gentoo, 3.13.3::gentoo, 3.13.3-r100::gentoo dev-lang/rust-bin: 1.86.0-r1::gentoo dev-util/ccache: 4.11.2::gentoo llvm-core/clang: 19.1.7::gentoo, 20.1.3::gentoo llvm-core/lld: 19.1.7::gentoo llvm-core/llvm: 19.1.7::gentoo, 20.1.3::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/openrc: 0.61::gentoo sys-apps/sandbox: 2.46::gentoo sys-devel/binutils: 2.44::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20250301::gentoo sys-devel/gcc-config: 2.12.1::gentoo sys-kernel/linux-headers: 6.14::gentoo (virtual/os-headers) sys-libs/glibc: 2.41-r1::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: False sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 3 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes guru location: /var/db/repos/guru sync-type: git sync-uri: https://github.com/gentoo-mirror/guru.git masters: gentoo volatile: False haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo priority: 99 volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=znver1 -fomit-frame-pointer -pipe -fno-ident -fweb -w" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/portage/config/repos.conf /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage/package.use/zzz-automatisch /etc/revdep-rebuild /etc/sandbox.d" CXXFLAGS="-O2 -march=znver1 -fomit-frame-pointer -pipe -fno-ident -fweb -w" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --oneshot --quiet-build y --alert y --ask-enter-invalid" 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 -march=znver1 -fomit-frame-pointer -pipe -fno-ident -fweb -w" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy collision-protect compress-build-logs config-protect-if-modified distlocks ebuild-locks export-pms-vars fixlafiles ipc-sandbox merge-sync merge-wait mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync warn-on-large-env xattr" FFLAGS="-O2 -march=znver1 -fomit-frame-pointer -pipe -fno-ident -fweb -w" GENTOO_MIRRORS="https://mirror.netcologne.de/gentoo/ https://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" LANG="de_LU.utf8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" LEX="flex" MAKEOPTS="-j4 --load-average=4 -s" 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 a52 aac acl acpi activities alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet crypt cups custom-cflags d3d9 dbus declarative dist-kernel dri dts dvd dvdr elogind encode exif flac gdbm gif gpm grub gui iconv icu ipv6 jpeg kde keyring kf6compat kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls offensive ogg openal opencl opengl openmp opus pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg test-rust threads tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan webp widgets wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" ALSA_CARDS="hda-intel" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a 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="pc multiboot" 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="postgres17" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" SANE_BACKENDS="net escl" VIDEO_CARDS="amdgpu radeonsi radeon" 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, 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 ================================================================= x11-misc/xdotool-3.20211022.1::gentoo was built with the following: USE="-doc -examples" ABI_X86="(64)"
Can't reproduce, tried to use same *FLAGS but it didn't change anything. That symbol is defined by xdotool in its own libxdo.so (in xdo.c) and does not seem to have any special conditions, being missing sounds quite odd ("should" be impossible at a glance). Just to be sure, you *are* running the xdotool that emerge installed right? (and not some old copy laying around in $HOME or /usr/local) To be sure, run: type -P xdotool lddtree /usr/bin/xdotool First command should show /usr/bin/xdotool, and the 2nd one have a "libxdo.so.3 => /usr/lib64/libxdo.so.3" line if everything is normal. If normal, maybe seeing xdotool's build.log could help (these get deleted from /var/tmp/portage by default if successful, but can prevent that temporarily by doing FEATURES=noclean)