I get the following error trying to install it: CMake Error: The source directory "/home/maximilian/.cache/yay/discover-snap-6/src/discover-snap-6-6.1.4" does not exist.
Search Criteria
Package Details: discover-snap-6 6.1.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/discover-snap-6.git (read-only, click to copy) |
---|---|
Package Base: | discover-snap-6 |
Description: | KDE and Plasma resources management GUI (with snap backend enabled) |
Upstream URL: | https://kde.org/plasma-desktop/ |
Licenses: | LGPL-2.0-or-later |
Conflicts: | discover |
Provides: | discover |
Submitter: | tristanrw |
Maintainer: | tristanrw |
Last Packager: | tristanrw |
Votes: | 2 |
Popularity: | 0.40 |
First Submitted: | 2024-09-06 17:58 (UTC) |
Last Updated: | 2024-09-07 06:07 (UTC) |
Dependencies (40)
- appstream-qt
- archlinux-appstream-data
- attica (attica-gitAUR)
- discount
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- kcmutils (kcmutils-gitAUR)
- kconfig (kconfig-gitAUR)
- kcoreaddons (kcoreaddons-gitAUR)
- kcrash (kcrash-gitAUR)
- kdbusaddons (kdbusaddons-gitAUR)
- ki18n (ki18n-gitAUR)
- kiconthemes (kiconthemes-gitAUR)
- kidletime (kidletime-gitAUR)
- kio (kio-gitAUR)
- kirigami (kirigami-gitAUR)
- kirigami-addons (kirigami-addons-gitAUR)
- kjobwidgets (kjobwidgets-gitAUR)
- knewstuff (knewstuff-gitAUR)
- knotifications (knotifications-gitAUR)
- kservice (kservice-gitAUR)
- kstatusnotifieritem (kstatusnotifieritem-gitAUR)
- kuserfeedback
- kwidgetsaddons (kwidgetsaddons-gitAUR)
- kwindowsystem (kwindowsystem-gitAUR)
- purpose (purpose-gitAUR)
- qcoro-qt6 (qcoro)
- qt6-base (qt6-base-gitAUR, qt6-base-headlessAUR)
- qt6-declarative (qt6-declarative-gitAUR)
- qt6-webview
- snapdAUR (snapd-gitAUR)
- snapd-glibAUR (snapd-glib-gitAUR)
- extra-cmake-modules (extra-cmake-modules-gitAUR) (make)
- flatpak (flatpak-gitAUR) (make)
- fwupd (fwupd-gitAUR, fwupd-starlabs-gitAUR) (make)
- packagekit-qt6 (make)
- flatpak (flatpak-gitAUR) (optional) – Flatpak packages support
- fwupd (fwupd-gitAUR, fwupd-starlabs-gitAUR) (optional) – firmware update support
- packagekit-qt6 (optional) – to manage packages from Arch Linux repositories (not recommended, use at your own risk)
Required by (0)
Sources (2)
Latest Comments
piepmax commented on 2024-09-26 08:57 (UTC)
tristanrw commented on 2024-09-09 05:22 (UTC)
I also get same error as @LechTheMitch. I am currently working on snapd-glib because I have a similar suspicion and reverted it back to qt5 so it builds and will update it to qt6 once it builds. If that makes building snap-enabled discover with qt6 possible, I will merge this package back into discover-snap (if there are news I dont notice please write on discover-snap).
LechTheMitch commented on 2024-09-07 23:10 (UTC) (edited on 2024-09-07 23:24 (UTC) by LechTheMitch)
I get this as well, but I don't have a fix might be because snapd-glib is built with qt5 not qt6, I tried building it with qt6, but it failed
/usr/include/snapd-qt-2/Snapd/client.h:24:10: fatal error: Snapd/Notice: No such file or directory 24 | #include <Snapd/Notice> | ^~~~~~~~~~~~~~ compilation terminated. make[2]: *** [libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/build.make:105: libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/SnapResource.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:2128: libdiscover/backends/SnapBackend/CMakeFiles/snap-backend.dir/all] Error 2 make: *** [Makefile:136: all] Error 2
LechTheMitch commented on 2024-09-07 23:01 (UTC)
Hello i get this error CMake Error: The source directory "/home/gamal/.cache/paru/clone/discover-snap-6/src/discover-snap-6-6.1.4" does not exist. Specify --help for usage, or press the help button on the CMake GUI. ==> ERROR: A failure occurred in build(). Aborting... this is a change in the PKGBUILD to fix it
build() { cmake -B build -S $_pkgname-$pkgver \ -DCMAKE_INSTALL_LIBEXECDIR=lib \ -DBUILD_TESTING=OFF \ -DBUILD_SnapBackend=ON cmake --build build }
The variable needs to be _pkgname not pkgname
yochananmarqos commented on 2024-09-06 19:20 (UTC)
@tristanrw: I just orphaned discover-snap
. Please adopt it as this duplicate package will be deleted.
Pinned Comments
tristanrw commented on 2024-09-09 05:22 (UTC)
I also get same error as @LechTheMitch. I am currently working on snapd-glib because I have a similar suspicion and reverted it back to qt5 so it builds and will update it to qt6 once it builds. If that makes building snap-enabled discover with qt6 possible, I will merge this package back into discover-snap (if there are news I dont notice please write on discover-snap).