Created attachment 767480 [details] emerge --info at-spi2-core [121/130] x86_64-pc-linux-gnu-gcc -Iregistryd/at-spi2-registryd.p -Iregistryd -I../at-spi2-core-2.44.0/registryd -I. -I../at-spi2-core-2.44.0 -Iatspi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -march=native -O2 -fgcse-sm -fgcse-las -fgcse-after-reload -ftree-vectorize -fdiagnostics-color -pthread -MD -MQ registryd/at-spi2-registryd.p/deviceeventcontroller.c.o -MF registryd/at-spi2-registryd.p/deviceeventcontroller.c.o.d -o registryd/at-spi2-registryd.p/deviceeventcontroller.c.o -c ../at-spi2-core-2.44.0/registryd/deviceeventcontroller.c FAILED: registryd/at-spi2-registryd.p/deviceeventcontroller.c.o x86_64-pc-linux-gnu-gcc -Iregistryd/at-spi2-registryd.p -Iregistryd -I../at-spi2-core-2.44.0/registryd -I. -I../at-spi2-core-2.44.0 -Iatspi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c99 -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -march=native -O2 -fgcse-sm -fgcse-las -fgcse-after-reload -ftree-vectorize -fdiagnostics-color -pthread -MD -MQ registryd/at-spi2-registryd.p/deviceeventcontroller.c.o -MF registryd/at-spi2-registryd.p/deviceeventcontroller.c.o.d -o registryd/at-spi2-registryd.p/deviceeventcontroller.c.o -c ../at-spi2-core-2.44.0/registryd/deviceeventcontroller.c ../at-spi2-core-2.44.0/registryd/deviceeventcontroller.c: In function 'spi_dec_synth_keysym': ../at-spi2-core-2.44.0/registryd/deviceeventcontroller.c:1723:33: error: 'LockMask' undeclared (first use in this function) 1723 | if (modifiers & LockMask) | ^~~~~~~~ ../at-spi2-core-2.44.0/registryd/deviceeventcontroller.c:1723:33: note: each undeclared identifier is reported only once for each function it appears in
Please include the full build.log.
Created attachment 767482 [details] emerge log (In reply to Sam James from comment #1) > Please include the full build.log. Faster than I was! Attaching. Additional notes: 1: USE=-X Wayland system without xorg, only xwayland. (Primary compositor kde-plasma/kwin-9999, backup compositor given the live-git primary: weston.) 2: Reverse-usr-merge: /usr -> . so everything normally in /usr is directly in /, tho still reachable via the /usr symlink.
I can reproduce with USE=-X, so I don't think #2 had any effect here.
Created attachment 767516 [details] build.log USE="-X -gtk-doc -introspection -test" Reproduced in a gentoo/stage3 Docker container with: [ebuild N ~] app-accessibility/at-spi2-core-2.44.0:2::gentoo USE="-X -gtk-doc -introspection -test" ABI_X86="(64) -32 (-x32)" 205 KiB
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77873a347a4f9d40c94d7eb66d12709f92c33ba3 commit 77873a347a4f9d40c94d7eb66d12709f92c33ba3 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2022-03-21 18:13:20 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2022-03-21 18:13:22 +0000 app-accessibility/at-spi2-core: Fix build with USE=-X Closes: https://bugs.gentoo.org/835701 Signed-off-by: Matt Turner <mattst88@gentoo.org> .../at-spi2-core/at-spi2-core-2.44.0.ebuild | 1 + .../files/2.44.0-Fix-build-with-X11-disabled.patch | 38 ++++++++++++++++++++++ 2 files changed, 39 insertions(+)