@jasper1378 I am happy to backport fixes to make the build work again if you can reference a patch.
Search Criteria
Package Details: grive 0.5.3-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/grive.git (read-only, click to copy) |
---|---|
Package Base: | grive |
Description: | An open source Linux client for Google Drive with support for the new Drive REST API and partial sync |
Upstream URL: | https://github.com/vitalif/grive2 |
Keywords: | drive Google grive2 sync vitalif |
Licenses: | GPL2 |
Submitter: | mrbit |
Maintainer: | edh |
Last Packager: | edh |
Votes: | 283 |
Popularity: | 0.083169 |
First Submitted: | 2012-04-29 22:26 (UTC) |
Last Updated: | 2025-05-04 13:41 (UTC) |
Dependencies (12)
- boost-libs
- curl (curl-gitAUR, curl-c-aresAUR)
- expat (expat-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc-libs-snapshotAUR)
- json-c (json-c-gitAUR)
- libgcrypt
- yajl (yajl-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- binutils (optional) – backtrace and libiberty
- cppunit (optional) – unit tests
- inotify-tools (inotify-tools-gitAUR) (optional) – scheduled syncs and syncs on file change events
Required by (0)
Sources (4)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 30 Next › Last »
edh commented on 2022-09-20 20:43 (UTC)
jasper1378 commented on 2022-09-19 21:13 (UTC) (edited on 2022-09-20 13:57 (UTC) by jasper1378)
EDIT: Seems like there's an issue upstream referencing this: https://github.com/vitalif/grive2/issues/370
EDIT: Like the upstream issue mentioned, downgrading grep to 3.7 resolves the issue.
EDIT: Seems like it might actually a bug in libgcrypt-config. Take a look a this gentoo bug report: https://bugs.gentoo.org/868384
I'm getting the following error(s) when trying to build the latest version:
CMake Warning:
Value of grive_LIB_DEPENDS contained a newline; truncating
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
fgrep: warning: fgrep is obsolescent" which has leading or trailing
whitespace. This is now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
-lgcrypt -lgpg-error" which has leading or trailing whitespace. This is
now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
fgrep: warning: fgrep is obsolescent" which has leading or trailing
whitespace. This is now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
-lgcrypt -lgpg-error" which has leading or trailing whitespace. This is
now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
fgrep: warning: fgrep is obsolescent" which has leading or trailing
whitespace. This is now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
-lgcrypt -lgpg-error" which has leading or trailing whitespace. This is
now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
fgrep: warning: fgrep is obsolescent" which has leading or trailing
whitespace. This is now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
-lgcrypt -lgpg-error" which has leading or trailing whitespace. This is
now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
fgrep: warning: fgrep is obsolescent" which has leading or trailing
whitespace. This is now an error according to policy CMP0004.
CMake Error at libgrive/CMakeLists.txt:74 (add_library):
Target "grive" links to item " using grep -F
-lgcrypt -lgpg-error" which has leading or trailing whitespace. This is
now an error according to policy CMP0004.
growleg commented on 2022-08-27 11:05 (UTC)
@edh Oh true, thanks a lot for your help. grave-changes@.timer
doesn't exist though but grive-timer@.timer
does. :-)
edh commented on 2022-08-26 09:15 (UTC)
@growleg
The README is outdated. The service files are installed correctly however they are named grive-changes@.{service,timer}
.
P.S. in the issue that you referenced the service files are enabled via systemctl --user start grive-changes@$(systemd-escape google-drive).service
and not via grive@...
:P
growleg commented on 2022-08-20 09:48 (UTC)
The systemd files seem to end up in the wrong directory (see https://github.com/vitalif/grive2/issues/283). Running systemctl --user enable --now grive@$(systemd-escape google-drive).service
(as it is specified in the README) results in Failed to enable unit: Unit file grive@google\x2ddrive.service does not exist.
Is it possible to manually move them into the right directory?
<deleted-account> commented on 2022-06-19 15:30 (UTC)
For some reason it didn't work for me when i tried merely uninstalling grive, cleaning the cache, and reinstalling grive. Instead, I had to also remove all dependent packages (orphans) in addition to the preceding steps. Now it works.
edh commented on 2022-06-19 15:02 (UTC)
@Crandel Sure but as outlined this mostly makes sense for binary packages that are managed together (bbswitch is in community) with the library that is being bumped.
I think hardcoding a specific library version is not a good idea because for one it blocks new users from installing the package for now good reason in the time it takes me to update the package and furthermore it would block system updates for all users of grive until the PKGBUILD is updated.
Crandel commented on 2022-06-19 11:46 (UTC)
@edh The problem was solved by removing cache directory. BTW, a lot of packages have minor updates when their dependencies was updated. For example bbswitch at the moment has version 0.8-513
which means it was updated 513 times without any changes in it sources. You can specify exact boost version and update grive PKGBUILD file every time boost will be updated
edh commented on 2022-06-18 14:27 (UTC)
@Pound_Hash
Then you could have just asked that... Anyways, the important part of the comment is the "rebuild" part. The "problem" with packages in the AUR is that they link against whatever was installed when building the package and rebuilds are not coordinated between the AUR and Arch repos. In this case, back when you first built grive, it was linked against libboost_filesystem.so.1.78
. At some point after that boost was updated and now grive links against the wrong version. You can fix this simply by rebuilding the package.
Because nothing about the PKGBUILD changes, I feel reluctant to update it. Hence, I used the word "local" to denote that the problem is solely on your end.
<deleted-account> commented on 2022-06-18 14:17 (UTC)
The problem is I don't understand what building locally means. I doubt this is the same as building manually. If not, what's the difference? Aren't all my builds done locally? I only ever use my own machine, never a remote one.
Pinned Comments
edh commented on 2023-10-11 23:00 (UTC)
If you encounter errors similar to
error [...] loading shared libraries
, you most likely need to rebuilt the grive package. Usually no further action is needed except for forcing a rebuilt.The error is due to grive having been built against an older version of the library mentioned in the error message. The library has likely since been updated by
pacman
and grive need to be made aware of this by rebuilding it.