Created attachment 870353 [details] build log conky-1.19.2-r1 build fails with a message that a component of X (X11/Xatom.h) is not present. The system does not have the X USE flag set, nor does conky. No X components are installed. Installing X11-base/xorg-proto, to which Xatom.h belongs, results in a similar error citing a different X component. The same happens with version 1.17.0-r1. The -X USE flag setting appears to be ignored. emerge info (attempted new version build with the same USE flag settings as the version installed): Portage 3.0.49 (python 3.11.5-final-0, default/linux/x86/17.0/hardened, gcc-12, glibc-2.37-r3, 5.15.32-gentoo-r1 i686) ================================================================= System Settings ================================================================= System uname: Linux-5.15.32-gentoo-r1-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-glibc2.37 KiB Mem: 2059596 total, 1090680 free KiB Swap: 2097148 total, 2097148 free Timestamp of repository gentoo: Sun, 03 Sep 2023 00:45:01 +0000 Head commit of repository gentoo: 69e381a87b02c98c38b60f549acb47850139fb64 sh bash 5.1_p16-r6 ld GNU ld (Gentoo 2.40 p5) 2.40.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.1_p16-r6::gentoo dev-lang/perl: 5.38.0-r1::gentoo dev-lang/python: 3.10.13::gentoo, 3.11.5::gentoo dev-util/cmake: 3.26.5-r2::gentoo dev-util/meson: 1.1.1::gentoo sys-apps/baselayout: 2.14::gentoo sys-apps/openrc: 0.48::gentoo sys-apps/sandbox: 2.37::gentoo sys-devel/autoconf: 2.71-r6::gentoo sys-devel/automake: 1.16.5-r1::gentoo sys-devel/binutils: 2.40-r5::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/gcc: 12.3.1_p20230526::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/libtool: 2.4.7-r1::gentoo sys-devel/make: 4.4.1-r1::gentoo sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.37-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="@FREE" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=native -fomit-frame-pointer -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -fomit-frame-pointer -O2 -pipe" DISTDIR="/usr/portage/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 -march=i686 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live 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 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://distfiles.gentoo.org" LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en en_GB cy cy_GB" MAKEOPTS="-j3" PKGDIR="/usr/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" SHELL="/bin/bash" USE="acl apache2 bzip2 cli crypt dri fortran gdbm hardened iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre php pic pie readline seccomp split-usr ssl ssp test-rust udev unicode x86 xattr xml xml2 zlib" ABI_X86="32" ADA_TARGET="gnat_2021" 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 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 en-GB cy" 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="php5-6" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_10" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat 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, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS ================================================================= Package Settings ================================================================= app-admin/conky-1.12.2::gentoo was built with the following: USE="hddtemp iconv ncurses portmon userland_GNU vim-syntax -X -apcupsd -bundled-toluapp -cmus -curl (-doc) -ical -imlib -intel-backlight -iostats -ipv6 -irc -lua-cairo -lua-imlib -lua-rsvg -math -moc -mpd -mysql -nano-syntax (-nvidia) -pulseaudio -rss -systemd -thinkpad -truetype -weather-metar -webserver -wifi -xinerama -xmms2" LUA_SINGLE_TARGET="lua5-3"
Under package settings I see app-admin/conky-1.12.2. Is this the version currently installed? Is the wayland use flag enabled when you are trying to install a current version of conky (meaning 1.17.0 upwards)? What happens if you set USE="-wayland"?
Hello - yes 1.12.2 is the currently installed conky version. The wayland USE flag is not setfor the current version, and explicitly unsetting it with USE="-wayland" makes no difference - the same error results
(In reply to Daniel Pielmeier from comment #1) > Under package settings I see app-admin/conky-1.12.2. Is this the version > currently installed? Any reason you have not updated conky since more than 2 years? I also don't see why this could happen. I quickly checked the code and Xatom.h is only included by x11.h which is only used with USE="X nvidia imlib" and apparently USE="wayland". If I disable those I do not get any linkage against X11. Did you try conky-1.19.4? Can you show me the output of "emerge -pv conky"?
Here it is: ========== xxxxx /var/tmp/portage $ emerge -pv conky These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 35.17 s. [ebuild U ] app-admin/conky-1.19.2-r1::gentoo [1.12.2::gentoo] USE="iconv ncurses portmon -X -apcupsd -bundled-toluapp -cmus -curl (-doc) -extras% -hddtemp* -ical -imlib -intel-backlight -iostats -irc -lua-cairo -lua-imlib -lua-rsvg -math -moc -mpd -mysql (-nvidia) -pulseaudio -rss -systemd -thinkpad -truetype -wayland% -webserver -wifi -xinerama -xmms2 (-ipv6%) (-nano-syntax%) (-vim-syntax%*) (-weather-metar%)" LUA_SINGLE_TARGET="lua5-4%* (-lua5-3%*)" 0 KiB Total: 1 package (1 upgrade), Size of downloads: 0 KiB ========= It is a (very) old Intel Atom 32 bit mini computer I use as a home server and updating it takes a few days, so I don't do it very often! The rest of the recent update went fine. X client side stuff was installed on it until quite recently as I once played with using X terminals, so that might have disguised the issue in earlier emerges, as Xatom.h and friends would have been there anyway?
I built conky-1.19.2-r1 with your settings. Before I temporary moved X11/Xatom.h somewhere else. And yes it failed because X11/Xatom.h is missing. I also checked the upstream commit log and found this [1]. So this should be fixed with conky-1.19.3. Compiling conky with your use flags succeeded. [1] https://github.com/brndnmtthws/conky/commit/2bd267da31d06ef24b36b8e1943b88cb119ca02c
That's great, thankyou