Package Details: grive-git 557.648ff8e-1

Git Clone URL: https://aur.archlinux.org/grive-git.git (read-only, click to copy)
Package Base: grive-git
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 git Google share sync
Licenses: GPL2
Conflicts: grive
Provides: grive
Submitter: ilpianista
Maintainer: edh
Last Packager: edh
Votes: 78
Popularity: 0.000284
First Submitted: 2012-04-29 15:20 (UTC)
Last Updated: 2023-01-23 14:25 (UTC)

Dependencies (13)

Required by (0)

Sources (1)

Pinned Comments

edh commented on 2022-09-20 20:45 (UTC)

This package has a bad record of not building. However, I am reluctant to patch a git-package because any changes would most likely break with any new upstream commit. Please try to get the build fixed upstream or switch to the grive package.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »

edh commented on 2022-07-06 18:29 (UTC)

@semeion AFAIK this is already an open pull request.

semeion commented on 2022-07-06 16:05 (UTC)

@edh What if you send a patch to https://github.com/vitalif/grive2 ? It could solve the problem. And, the package is already broken anyways...

edh commented on 2022-07-05 12:57 (UTC) (edited on 2022-07-05 12:58 (UTC) by edh)

@pa314159 I don't want to path the -git package because this could quickly break.

semeion commented on 2022-06-28 06:50 (UTC)

@jasper1378 Yeah same error here :/ I hope the @edh patch go to upstream!

edh commented on 2022-06-03 20:27 (UTC)

Thanks for the comment. I assume this might be helpful to anyone trying to build the package right now. I fixed the grive package by patching the source.

Since this is a git package I will rely on upstream to fix this and will not patch the grive-git package.

jasper1378 commented on 2022-06-03 13:22 (UTC) (edited on 2022-06-03 15:21 (UTC) by jasper1378)

[ 14%] Building CXX object libgrive/CMakeFiles/grive.dir/src/base/Syncer.cc.o
In file included from /home/jasper1378/.cache/yay/grive-git/src/grive-git/libgrive/src/base/Syncer.cc:20:
/home/jasper1378/.cache/yay/grive-git/src/grive-git/libgrive/src/base/Syncer.hh:58:22: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
   58 |         virtual std::unique_ptr<Feed> GetFolders() = 0;
      |                      ^~~~~~~~~~
/home/jasper1378/.cache/yay/grive-git/src/grive-git/libgrive/src/base/Syncer.hh:23:1: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   22 | #include "util/FileSystem.hh"
  +++ |+#include <memory>
   23 | 
/home/jasper1378/.cache/yay/grive-git/src/grive-git/libgrive/src/base/Syncer.hh:59:22: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
   59 |         virtual std::unique_ptr<Feed> GetAll() = 0;
      |                      ^~~~~~~~~~
/home/jasper1378/.cache/yay/grive-git/src/grive-git/libgrive/src/base/Syncer.hh:59:17: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   59 |         virtual std::unique_ptr<Feed> GetAll() = 0;
      |                 ^~~
/home/jasper1378/.cache/yay/grive-git/src/grive-git/libgrive/src/base/Syncer.hh:60:22: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type
   60 |         virtual std::unique_ptr<Feed> GetChanges( long min_cstamp ) = 0;
      |                      ^~~~~~~~~~
/home/jasper1378/.cache/yay/grive-git/src/grive-git/libgrive/src/base/Syncer.hh:60:17: note: ‘std::unique_ptr’ is defined in header ‘<memory>’; did you forget to ‘#include <memory>’?
   60 |         virtual std::unique_ptr<Feed> GetChanges( long min_cstamp ) = 0;
      |                 ^~~
make[2]: *** [libgrive/CMakeFiles/grive.dir/build.make:160: libgrive/CMakeFiles/grive.dir/src/base/Syncer.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:136: libgrive/CMakeFiles/grive.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: grive-git

When trying to install latest version.

EDIT: Adding "#include <memory>" to "libgrive/src/base/Syncer.hh" fixes the issue. There is already a pull request to fix this issue upstream.

edh commented on 2021-06-14 19:48 (UTC)

@zwastik Ah, I see. I though you wanted to voice problems concerning the grive binary itself in your last comment.

Please file a bug report upstream or even submit a patch. All distributions will benefit from this getting fixed.

zwastik commented on 2021-06-14 19:27 (UTC)

Now it does build successfully but service files have /usr/libexec path in them. Editing them solves the problem

edh commented on 2021-06-14 17:39 (UTC)

@zwastik Sorry, but I can't reproduce your error. Can you please recompile grive-git and try again? If the error persists, please file a bug report at https://github.com/vitalif/grive2 .

zwastik commented on 2021-06-14 17:24 (UTC)

grive-changes@Drive.service: Failed at step EXEC spawning /usr/libexec/grive/grive-sync.sh: No such file

It is looking in /usr/libexec but archlinux uses /usr/lib