Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 835701 - app-accessibility/at-spi2-core-2.44.0[-X] registryd/deviceeventcontroller.c:1723:33: error: 'LockMask' undeclared
Summary: app-accessibility/at-spi2-core-2.44.0[-X] registryd/deviceeventcontroller.c:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://gitlab.gnome.org/GNOME/at-spi...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-21 00:11 UTC by Duncan
Modified: 2022-03-21 18:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info at-spi2-core (emerge.info.at-spi2-core.txt,8.29 KB, text/plain)
2022-03-21 00:11 UTC, Duncan
Details
emerge log (app-accessibility:at-spi2-core-2.44.0:20220320-235915.log,49.21 KB, text/plain)
2022-03-21 00:35 UTC, Duncan
Details
build.log USE="-X -gtk-doc -introspection -test" (app-accessibility:at-spi2-core-2.44.0:20220321-065543.log,42.53 KB, text/plain)
2022-03-21 14:40 UTC, Yuan Liao (Leo3418)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2022-03-21 00:11:41 UTC
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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-21 00:18:36 UTC
Please include the full build.log.
Comment 2 Duncan 2022-03-21 00:35:56 UTC
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.
Comment 3 Ionen Wolkens gentoo-dev 2022-03-21 01:24:23 UTC
I can reproduce with USE=-X, so I don't think #2 had any effect here.
Comment 4 Yuan Liao (Leo3418) 2022-03-21 14:40:39 UTC
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
Comment 5 Larry the Git Cow gentoo-dev 2022-03-21 18:13:37 UTC
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(+)