Build failing here, see below for excerpt
Linking CXX executable btest
[ 81%] Built target btest
Scanning dependencies of target unittest
[ 83%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/UnitTest.cc.o
[ 85%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/drive/EntryTest.cc.o
/var/abs/local/yaourt/tmp/yaourt-tmp-jscandal/aur-grive-git/src/grive-git/libgrive/test/drive/EntryTest.cc:24:26: fatal error: drive/Entry.hh: No such file or directory
compilation terminated.
libgrive/CMakeFiles/unittest.dir/build.make:77: recipe for target 'libgrive/CMakeFiles/unittest.dir/test/drive/EntryTest.cc.o' failed
make[2]: *** [libgrive/CMakeFiles/unittest.dir/test/drive/EntryTest.cc.o] Error 1
CMakeFiles/Makefile2:149: recipe for target 'libgrive/CMakeFiles/unittest.dir/all' failed
make[1]: *** [libgrive/CMakeFiles/unittest.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build grive-git.
Search Criteria
Package Details: grive-git 557.648ff8e-1
Package Actions
| 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) |
Dependencies (13)
- 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)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (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 (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »
jorges commented on 2015-06-26 13:29 (UTC)
edh commented on 2015-06-01 13:37 (UTC)
I just obtained maintainership and will update this package from now on.
The PKGBUILD now uses a different source. To be precise it uses a fork of the original grive programm which was also introced in the grive package. This does not only fixes several bugs, e.g. the missing implementation of the new REST API, but moreover promises a much cleaner and better implementation of the new APIs.
tmoore commented on 2015-02-01 22:35 (UTC)
Updated and working
gosella commented on 2014-12-16 16:06 (UTC)
Please, update the patch file "json-c.patch" with this:
http://linkode.org/GolkssnklWcMlrBExxUr17
The first part of the patch is no longer relevant (and is causing trouble appling it, as reported by @frabjous).
Thanks!
frabjous commented on 2014-12-10 03:28 (UTC)
This may be related to filinep's problem but I currently cannot build this. I get:
build.sh cmake CMakeLists.txt COPYING grive grive.spec libgrive package README scripts
/tmp/pacaurtmp-kck/grive-git/src/grive-git
patching file cmake/Modules/FindJSONC.cmake
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file cmake/Modules/FindJSONC.cmake.rej
patching file libgrive/src/protocol/Json.cc
Hunk #1 succeeded at 29 with fuzz 2.
filinep commented on 2014-11-27 08:35 (UTC)
I had to remove the first part of the json-c.patch file to get it to compile.
allencch commented on 2014-09-25 02:55 (UTC)
Another patch is required (https://github.com/Grive/grive/issues/193):
=====================
--- a/libgrive/src/drive/State.cc
+++ b/libgrive/src/drive/State.cc
@@ -248,12 +248,12 @@
void State::Write( const fs::path& filename ) const
{
Json last_sync ;
- last_sync.Add( "sec", Json(m_last_sync.Sec() ) );
- last_sync.Add( "nsec", Json(m_last_sync.NanoSec() ) );
+ last_sync.Add( "sec", Json((boost::uint64_t)m_last_sync.Sec() ) );
+ last_sync.Add( "nsec", Json((boost::uint64_t)m_last_sync.NanoSec() ) );
Json result ;
result.Add( "last_sync", last_sync ) ;
- result.Add( "change_stamp", Json(m_cstamp) ) ;
+ result.Add( "change_stamp", Json((boost::uint64_t)m_cstamp) ) ;
std::ofstream fs( filename.string().c_str() ) ;
fs << result ;
==============
axper commented on 2014-05-31 14:35 (UTC)
@ksj
Sounds like very upstream bug.
ksj commented on 2014-05-31 14:31 (UTC)
Hello,
I got following error, when I tried to run "grive -a" (after enter the auth code):
exception: /tmp/yaourt-tmp-ksj/aur-grive-git/src/grive-git/libgrive/src/protocol/Json.cc(231): Throw in function gr::Json gr::Json::operator[](const string&) const
Dynamic exception type: N5boost16exception_detail10clone_implIN2gr4Json5ErrorEEE
[PN2gr11KeyNotFoundE] = access_token
[PN2gr4expt12BacktraceTagE] = #0 0x488f3c grive gr::Exception::Exception()
#1 0x4740d1 grive gr::Json::Error::Error()
#2 0x472612 grive gr::Json::operator[](std::string const&) const
#3 0x47d072 grive gr::OAuth2::Auth(std::string const&)
#4 0x43d830 grive Main(int, char**)
#5 0x43b8bb grive main
#6 0x7f05c28b8000 /usr/lib/libc.so.6 __libc_start_main
#7 0x43c86f grive
[PN2gr7JsonTagE] = { "error": "invalid_grant", "error_description": "Invalid code." }
[PN2gr8JsonCApiE] = json_object_object_get
What I have to do to run code correctly?
J-Wreck commented on 2014-05-29 00:23 (UTC)
new PKGBUILD w/ gosella's patch (and a new, more active upstream git source) released. Also, converted PKGBUILD to modern VCS format.
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.