Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 926992 - dev-qt/qtwayland:6 needs to match [accessibility=] with qtbase (was: kde-plasma/kwin-6.0.2-r1[-accessibility] fails to compile against dev-qt/qtbase[-accessibility])
Summary: dev-qt/qtwayland:6 needs to match [accessibility=] with qtbase (was: kde-plas...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-14 06:30 UTC by Johannes Penßel
Modified: 2024-03-14 07:14 UTC (History)
4 users (show)

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


Attachments
full build log (kde-plasma:kwin-6.0.2-r1:20240314-055657.log,144.26 KB, text/x-log)
2024-03-14 06:30 UTC, Johannes Penßel
Details
emerge --info (file_926992.txt,9.55 KB, text/plain)
2024-03-14 06:31 UTC, Johannes Penßel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Penßel 2024-03-14 06:30:09 UTC
Created attachment 887568 [details]
full build log

kde-plasma/kwin-6.0.2-r1[-accessibility] depends on dev-qt/qtbase[-accessibility]. With this dependency is satisfied however, the build fails. Keeping USE=accessibility enabled for qtbase and emerging kwin with --nodeps works around this issue.

[70/1664] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -Wall -g1 -fno-omit-frame-pointer -march=x86-64-v3 -fcf-protection -flto=auto -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -fno-operator-names -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Werror=init-self -Wvla -Wdate-time -Wsuggest-override -Wlogical-op -fdiagnostics-color=always -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--build-id=sha1 src/helpers/killer/CMakeFiles/kwin_killer_helper.dir/kwin_killer_helper_autogen/mocs_compilation.cpp.o src/helpers/killer/CMakeFiles/kwin_killer_helper.dir/killer.cpp.o src/helpers/killer/CMakeFiles/kwin_killer_helper.dir/wayland-xdg-foreign-unstable-v2-protocol.c.o src/helpers/killer/CMakeFiles/kwin_killer_helper.dir/qwayland-xdg-foreign-unstable-v2.cpp.o -o bin/kwin_killer_helper  /usr/lib64/libKF6AuthCore.so.6.0.0  /usr/lib64/libKF6GuiAddons.so.6.0.0  /usr/lib64/libKF6I18n.so.6.0.0  /usr/lib64/libKF6Service.so.6.0.0  /usr/lib64/libKF6WidgetsAddons.so.6.0.0  /usr/lib64/libKF6CoreAddons.so.6.0.0  /usr/lib64/libxkbcommon.so  /usr/lib64/libQt6WaylandClient.so.6.6.2  /usr/lib64/libwayland-client.so  /usr/lib64/libwayland-cursor.so  /usr/lib64/libQt6Widgets.so.6.6.2  /usr/lib64/libQt6Gui.so.6.6.2  /usr/lib64/libGLX.so  /usr/lib64/libOpenGL.so  /usr/lib64/libQt6Core.so.6.6.2 && :
FAILED: bin/kwin_killer_helper 

$ emerge -pvq kwin

kde-plasma/kwin-6.0.2-r1 [6.0.2] USE="caps lock screencast shortcuts -accessibility -debug -gles2-only -handbook -test"
Comment 1 Johannes Penßel 2024-03-14 06:31:20 UTC
Created attachment 887569 [details]
emerge --info
Comment 2 Ionen Wolkens gentoo-dev 2024-03-14 06:36:17 UTC
Meh, maybe I should go ahead and add the IUSE now.. except maybe qtwebengine (meant to delay this to avoid rebuilds).

/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libQt6WaylandClient.so.6.6.2: undefined reference to `QSpiAccessibleBridge::QSpiAccessibleBridge()@Qt_6_PRIVATE_API'
collect2: error: ld returned 1 exit status

tl;dr after building qtbase with [-accessibility], rebuild qtwayland at well.
Comment 3 Ionen Wolkens gentoo-dev 2024-03-14 06:46:09 UTC
(to clarify this is already done in qtwayland-6.*9999, but will add it to 6.6.2 now)
Comment 4 Johannes Penßel 2024-03-14 06:52:28 UTC
(In reply to Ionen Wolkens from comment #2)
> /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld:
> /usr/lib64/libQt6WaylandClient.so.6.6.2: undefined reference to
> `QSpiAccessibleBridge::QSpiAccessibleBridge()@Qt_6_PRIVATE_API'
> collect2: error: ld returned 1 exit status
> 
> tl;dr after building qtbase with [-accessibility], rebuild qtwayland at well.

Oh, I somehow overlooked that line. Can confirm, rebuilding qtwayland fixed it for me. Thanks!
Comment 5 Larry the Git Cow gentoo-dev 2024-03-14 07:14:26 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d327a329816561ce099b8a6664236e874df71a9e

commit d327a329816561ce099b8a6664236e874df71a9e
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-03-14 07:09:49 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-03-14 07:14:10 +0000

    dev-qt/qtwayland: do qtbase:6[accessibility=] matching now
    
    Backported from live ebuilds, albeit still skipping it for qtwebengine
    given few users should be affected and there should be the 6.6.3
    release in bit over a week (not worth a rebuild now).
    
    Mostly a side effect of kwin-6 (formerly) requiring it so users
    enabled it only for it and then disable after it no longer is.
    Typical accessibility users likely leave it enabled globally.
    
    Closes: https://bugs.gentoo.org/926992
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../qtwayland/{qtwayland-6.6.2.ebuild => qtwayland-6.6.2-r1.ebuild}   | 4 ++--
 .../{qtwayland-6.7.0_rc.ebuild => qtwayland-6.7.0_rc-r1.ebuild}       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7445b382a7890c390a61d2f6e4e8bf163ac3ac43

commit 7445b382a7890c390a61d2f6e4e8bf163ac3ac43
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-03-14 07:06:12 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-03-14 07:14:10 +0000

    dev-qt/qtdeclarative: do qtbase:6[accessibility=] matching now
    
    Backported from live ebuilds, albeit still skipping it for qtwebengine
    given few users should be affected and there should be the 6.6.3
    release in bit over a week (not worth a rebuild now).
    
    Mostly a side effect of kwin-6 (formerly) requiring it so users
    enabled it only for it and then disable after it no longer is.
    Typical accessibility users likely leave it enabled globally.
    
    Closes: https://bugs.gentoo.org/926992
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../{qtdeclarative-6.6.2.ebuild => qtdeclarative-6.6.2-r1.ebuild}     | 4 ++--
 ...qtdeclarative-6.7.0_rc.ebuild => qtdeclarative-6.7.0_rc-r1.ebuild} | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)