Hello. How to fix? xfce-base/xfwm4-4.20.0 error build. https://pastebin.com/cKFtnexT x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DNDEBUG -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4/libxfce4kbd-private-3 -I/usr/include/xfce4/xfconf-0 -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4/libxfce4ui-2 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/elogind -I/usr/include/fribidi -I/usr/include/libpng16 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0 -I/usr/lib64/libffi/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/xfce4/xfconf-0 -I/usr/lib64/libffi/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -DPACKAGE_LOCALE_DIR=\"/usr/share/locale\" -DDATADIR=\"/usr/share\" -DHELPERDIR=\"/usr/lib64\" -DPACKAGE_DATADIR=\"/usr/share/xfwm4\" -DG_LOG_DOMAIN=\"xfwm4\" -march=core2 -O2 -pipe -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -Wmissing-declarations -Wmissing-noreturn -Wpointer-arith -Wcast-align -Wformat -Wformat-security -Wformat-y2k -Winit-self -Wmissing-include-dirs -Wundef -Wredundant-decls -Wshadow -Wnested-externs -Wold-style-definition -c -o xfwm4-device.o `test -f 'device.c' || echo './'`device.c In file included from device.c:30: display.h:289:5: error: unknown type name ‘XfceSMClient’ 289 | XfceSMClient *session; | ^~~~~~~~~~~~ make[2]: *** [Makefile:752: xfwm4-device.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from screen.h:50, from client.h:46, from client.c:47: display.h:289:5: error: unknown type name ‘XfceSMClient’ 289 | XfceSMClient *session; | ^~~~~~~~~~~~ In file included from screen.h:50, from cycle.h:31, from cycle.c:41: display.h:289:5: error: unknown type name ‘XfceSMClient’ 289 | XfceSMClient *session; | ^~~~~~~~~~~~ In file included from compositor.c:54: display.h:289:5: error: unknown type name ‘XfceSMClient’ 289 | XfceSMClient *session; | ^~~~~~~~~~~~ make[2]: *** [Makefile:738: xfwm4-cycle.o] Error 1 make[2]: *** [Makefile:710: xfwm4-client.o] Error 1 make[2]: *** [Makefile:724: xfwm4-compositor.o] Error 1 make[2]: Leaving directory '/mnt/tmp/portage/xfce-base/xfwm4-4.20.0/work/xfwm4-4.20.0/src' make[1]: *** [Makefile:501: all-recursive] Error 1 make[1]: Leaving directory '/mnt/tmp/portage/xfce-base/xfwm4-4.20.0/work/xfwm4-4.20.0' make: *** [Makefile:433: all] Error 2 * ERROR: xfce-base/xfwm4-4.20.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=xfce-base/xfwm4-4.20.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=xfce-base/xfwm4-4.20.0::gentoo'`. * The complete build log is located at '/mnt/tmp/portage/xfce-base/xfwm4-4.20.0/temp/build.log'. * The ebuild environment file is located at '/mnt/tmp/portage/xfce-base/xfwm4-4.20.0/temp/environment'. * Working directory: '/mnt/tmp/portage/xfce-base/xfwm4-4.20.0/work/xfwm4-4.20.0' * S: '/mnt/tmp/portage/xfce-base/xfwm4-4.20.0/work/xfwm4-4.20.0' Reproducible: Always
Now I can't run xfce4. I can't go back to version 4.18 and I can't install version 4.20.
Haven't tried, but if I were to take a guess... by any chances is your xfce-base/libxfce4ui built with USE=-X? If so I'd assume that xfwm4 may need to depend on USE=X being enabled on it until X can be made optional here too. On another note, please attach the full (non-cropped) build.log and emerge --info when reporting bugs, and do not use paste sites.
gcc-config -l [1] x86_64-pc-linux-gnu-14 * Installed in my system. dev-build/libtool-2.5.4 dev-build/xfce4-dev-tools-4.20.0 dev-lang/perl-5.40.0-r1 dev-libs/dbus-glib-0.112 dev-libs/glib-2.80.5-r1 dev-perl/glib-perl-1.329.400 dev-util/glib-utils-2.80.5 llvm-core/llvm-19.1.4 llvm-core/llvm-common-19.1.4 llvm-core/llvm-toolchain-symlinks-19 llvm-core/llvmgold-19 net-libs/glib-networking-2.80.0 sys-devel/gcc-14.2.1_p20241221 sys-devel/gcc-config-2.12.1 sys-libs/glibc-2.40-r8 x11-terms/xfce4-terminal-1.1.4 xfce-base/exo-4.20.0 xfce-base/garcon-4.20.0 xfce-base/libxfce4ui-4.20.0 xfce-base/libxfce4util-4.20.0 xfce-base/libxfce4windowing-4.20.0 xfce-base/thunar-4.20.1 xfce-base/thunar-volman-4.20.0 xfce-base/tumbler-4.20.0 xfce-base/xfce4-appfinder-4.20.0 xfce-base/xfce4-meta-4.18-r1 xfce-base/xfce4-panel-4.20.0 xfce-base/xfce4-session-4.20.0 xfce-base/xfce4-settings-4.20.0 xfce-base/xfconf-4.20.0 xfce-base/xfdesktop-4.18.1 xfce-base/xfwm4-4.18.0 xfce-extra/xfce4-screenshooter-1.11.1 [ebuild U ] xfce-base/xfwm4-4.20.0::gentoo [4.18.0::gentoo] USE="opengl xcomposite xpresent -startup-notification" 0 KiB [ebuild U ] xfce-base/xfdesktop-4.20.0::gentoo [4.18.1::gentoo] USE="thunar wayland%* -X% -libnotify" 0 KiB [ebuild U ] xfce-base/xfce4-meta-4.20::gentoo [4.18-r1::gentoo] USE="svg -archive -calendar -cdr -editor -image -media -minimal -mpd -pulseaudio -remote-fs -search -upower" 0 KiB cat make.conf CFLAGS="-march=core2 -O2 -pipe" CXXFLAGS="${CFLAGS}" FFLAGS="${CFLAGS}" CHOST="x86_64-pc-linux-gnu" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" MAKEOPTS="-j4" FEATURES="parallel-fetch -xattr" #CCACHE_DIR="/mnt/old/home/SYS/ccache" #CCACHE_SIZE="15G" PORTAGE_TMPDIR="/mnt/tmp" DISTDIR="/mnt/old/home/distfiles" GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles" VIDEO_CARDS="nouveau" INPUT_DEVICES="evdev" LINGUAS="ru en" L10N="ru" ENABLE_USE="wayland elogind policykit dbus gles2 opengl" DISABLE_USE="-kde -gnome -samba -cups -joystick -consolekit -systemd -arts -ipv6 -sudo -multilib -haptic" USE="${ENABLE_USE} ${DISABLE_USE}" ACCEPT_LICENSE="google-chrome unRAR MSttfEULA" EMERGE_DEFAULT_OPTS="--autounmask=n" PHP_INI_VERSION=production
Created attachment 917902 [details] xfwm4-4.20.0
xfce-base/libxfce4ui +X works. how do I get xfce4-4.18 back? Everything is broken in xfce4-4.20, it is not possible to log in to the system, only through startx. After that, the sidebar is deleted.
This is reminiscent of Bug 925417 from 4.18 but there is no resolution there either.