I modified the PKGBUILD here https://github.com/bananagranola/dotfiles/blob/master/.sources/grive-git/PKGBUILD to address https://github.com/Grive/grive/issues/72 by adding "sed -i -e '/find_package(BFD)/d' "${srcdir}"/grive/libgrive/CMakeLists.txt" before make. I also added cppunit to the conflicting packages list because doing so fixes zhobbs' problem (hacky, but temporarily works as long as you're not doing unit tests).
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.000712 |
First Submitted: | 2012-04-29 15:20 (UTC) |
Last Updated: | 2023-01-23 14:25 (UTC) |
Dependencies (13)
- boost-libs
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- expat (expat-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- json-c (json-c-gitAUR)
- libgcrypt
- yajl (yajl-gitAUR)
- boost (boost-gitAUR) (make)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (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 .. 3 4 5 6 7 8 9 10 11 Next › Last »
bananagranola commented on 2012-11-02 00:27 (UTC)
mrbit commented on 2012-09-14 16:20 (UTC)
fix:
https://github.com/mrpdaemon/grive/commit/a145c2041260be264069cdeb0cd4968afcee9035
dlin commented on 2012-09-04 03:42 (UTC)
jwooton & zhobbs:
I re-produce your problem.
That's caused by wrong choose.
rm /tmp/yaourt-tmp-<yourname>
The sources of grive-git were kept last time. Use them ? [Y/n]
You should reply 'N' here.
<deleted-account> commented on 2012-09-04 02:29 (UTC)
I get the same results as zhobbs...see below. But I am able to install the older version from the AUR: grive 0.2.0-38 . Unfortunately that version not up to date and behaving properly.
$ uname -a
Linux dadacomputer 3.5.3-1-ARCH #1 SMP PREEMPT Sun Aug 26 09:14:51 CEST 2012 x86_64 GNU/Linux
$ gcc --version
gcc (GCC) 4.7.1 20120721 (prerelease)
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ pwd && git show
/tmp/yaourt-tmp-root/aur-grive-git/src/grive
commit 113b1107d8172ade8a6141735e8883bd3d64fe50
Merge: 804fe92 29f1739
Author: Nestal Wan <me@nestal.net>
Date: Mon Aug 6 07:51:57 2012 -0700
Merge pull request #112 from justinharding/issue_86_partial_sync
fix broken unit tests
[ 91%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/FunctionTest.cc.o
[ 93%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/DateTimeTest.cc.o
[ 95%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/ConfigTest.cc.o
/tmp/yaourt-tmp-root/aur-grive-git/src/grive/libgrive/test/util/ConfigTest.cc:39:44: error: no 'void grut::ConfigTest::TestInitialiseWithNoPath()' member function declared in class 'grut::ConfigTest'
/tmp/yaourt-tmp-root/aur-grive-git/src/grive/libgrive/test/util/ConfigTest.cc:48:42: error: no 'void grut::ConfigTest::TestInitialiseWithPath()' member function declared in class 'grut::ConfigTest'
make[2]: *** [libgrive/CMakeFiles/unittest.dir/test/util/ConfigTest.cc.o] Error 1
make[1]: *** [libgrive/CMakeFiles/unittest.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build grive-git.
==> Restart building grive-git ? [y/N]
==> ----------------------------------
<deleted-account> commented on 2012-08-21 05:20 (UTC)
I get this:
[ 93%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/DateTimeTest.cc.o
[ 95%] Building CXX object libgrive/CMakeFiles/unittest.dir/test/util/ConfigTest.cc.o
/tmp/grive-git/src/grive/libgrive/test/util/ConfigTest.cc:39:44: error: no ‘void grut::ConfigTest::TestInitialiseWithNoPath()’ member function declared in class ‘grut::ConfigTest’
/tmp/grive-git/src/grive/libgrive/test/util/ConfigTest.cc:48:42: error: no ‘void grut::ConfigTest::TestInitialiseWithPath()’ member function declared in class ‘grut::ConfigTest’
make[2]: *** [libgrive/CMakeFiles/unittest.dir/test/util/ConfigTest.cc.o] Error 1
make[1]: *** [libgrive/CMakeFiles/unittest.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
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.