Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930943 - net-misc/nextcloud-client-3.13.0 fails to configure if both 5 and 6 slots of kde-frameworks/kio are installed
Summary: net-misc/nextcloud-client-3.13.0 fails to configure if both 5 and 6 slots of ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-29 19:41 UTC by Andrei Slavoiu
Modified: 2024-05-07 14:14 UTC (History)
6 users (show)

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


Attachments
build.log (build.log,10.90 KB, text/plain)
2024-04-29 19:42 UTC, Andrei Slavoiu
Details
emerge --info (emerge.info,10.58 KB, text/plain)
2024-04-29 19:44 UTC, Andrei Slavoiu
Details
build.log (build.log,10.85 KB, text/x-log)
2024-05-05 02:12 UTC, Adel KARA SLIMANE
Details
emerge --info (emerge-info,7.18 KB, text/plain)
2024-05-05 02:13 UTC, Adel KARA SLIMANE
Details
0001-Fix-build-with-KF6.patch (0001-Fix-build-with-KF6.patch,1.21 KB, patch)
2024-05-07 14:02 UTC, gerion
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2024-04-29 19:41:51 UTC
It looks like first stage of Qt 6 support was added in this version, should probably disable Qt 6 support for the shell integration until full Qt 6 support lands.

For now it fails like this when both versions are available:
CMake Error at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:2829 (message):
  qt_generate_foreign_qml_types() is only available in Qt 6.
Call Stack (most recent call first):
  /usr/lib64/cmake/Qt6Qml/Qt6QmlConfig.cmake:145 (include)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KF6Config/KF6ConfigConfig.cmake:53 (find_dependency)
  /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/lib64/cmake/KF6KIO/KF6KIOConfig.cmake:41 (find_dependency)
  shell_integration/CMakeLists.txt:15 (find_package)


Reproducible: Always
Comment 1 Andrei Slavoiu 2024-04-29 19:42:47 UTC
Created attachment 891973 [details]
build.log
Comment 2 Andrei Slavoiu 2024-04-29 19:44:34 UTC
Created attachment 891974 [details]
emerge --info
Comment 3 Adel KARA SLIMANE 2024-05-05 02:12:04 UTC
Created attachment 892275 [details]
build.log
Comment 4 Adel KARA SLIMANE 2024-05-05 02:13:04 UTC
Created attachment 892276 [details]
emerge --info
Comment 5 Adel KARA SLIMANE 2024-05-05 02:14:07 UTC
Hello,

Hitting against the same issue. Thanks!

[ebuild     U ] net-misc/nextcloud-client-3.13.0 [3.12.3] USE="dolphin -doc -nautilus -test -webengine"
Comment 6 Sébastien Monassa 2024-05-07 09:42:34 UTC
Confirmed here with unmasked Plasma 6.
Comment 7 gerion 2024-05-07 13:56:12 UTC
Applying this PR fixes the issue:
https://github.com/nextcloud/desktop/pull/6599/

See the attached patch. Adding it to /etc/portage/patches/net-misc/nextcloud-client works.
Comment 8 gerion 2024-05-07 14:02:36 UTC
Created attachment 892442 [details, diff]
0001-Fix-build-with-KF6.patch
Comment 9 Bernard Cafarelli gentoo-dev 2024-05-07 14:14:10 UTC
Thanks for the detailed report all, the switch to Qt6 will be interesting to sort out!

In the meantime, let me check that patch - I guess the change to   qt5_add_resources means it will need some rework for qt6, but again this is for later