@edh Oh i just deleted the .grive file and tried create new auth code using non-git version and it is working now!!!
Thank you very much! :D
| 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.000000 |
| First Submitted: | 2012-04-29 15:20 (UTC) |
| Last Updated: | 2023-01-23 14:25 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 .. 11 Next › Last »
@edh Oh i just deleted the .grive file and tried create new auth code using non-git version and it is working now!!!
Thank you very much! :D
@edh I think you could add the patch, because the package is already broken, if the program got fixed in mainstrean just remove the patchs :D
And, yeah, the non-git package compile but doesn´t run. I tried and i get this errors:
Failed to refresh auth token: HTTP 401, body:
exception: /home/mnemonic/.aur/grive/grive/src/grive2-0.5.1/libgrive/src/protocol/OAuth2.cc(111): Throw in function Refresh
Dynamic exception type: boost::wrapexcept<gr::OAuth2::AuthFailed>
[gr::expt::BacktraceTag*] = #0 0x55c4f4e3a04d grive gr::Exception::Exception()
#1 0x55c4f4e2f6a7 grive gr::OAuth2::Refresh()
#2 0x55c4f4e2fe69 grive gr::OAuth2::OAuth2(gr::http::Agent*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
#3 0x55c4f4dc1b83 grive Main(int, char**)
#4 0x55c4f4dbeddb grive main
#5 0x7fbd3e3592d0 /usr/lib/libc.so.6
#6 0x7fbd3e35938a /usr/lib/libc.so.6 __libc_start_main
#7 0x55c4f4dbf7c5 grive _start
@semeion The non-git package should build just fine thanks to some additional patches. I am reluctant to introduce those patches to the git-package because they would most likely break the build as soon as a new commit is made upstream.
Someone have a solution or any workaround to compile it? :(
@semeion AFAIK this is already an open pull request.
@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...
@pa314159 I don't want to path the -git package because this could quickly break.
@jasper1378 Yeah same error here :/ I hope the @edh patch go to upstream!
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.
[ 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.
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.