I backported the changes needed to compile grive. Sorry for the extremely long delay!
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 10 11 .. 30 Next › Last »
edh commented on 2021-03-16 23:09 (UTC)
simona commented on 2020-12-27 11:12 (UTC)
/home/simona/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc: In static member function ‘static void gr::SymbolInfo::BacktraceInfo::Callback(bfd, asection, void)’:
/home/simona/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:121:16: error: ‘bfd_get_section_vma’ was not declared in this scope; did you mean ‘bfd_set_section_vma’?
121 | bfd_vma vma = bfd_get_section_vma(abfd, section);
| ^~~~~~~~~~~~~~~~~~~
| bfd_set_section_vma
/home/simona/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:127:40: error: cannot convert ‘bfd’ to ‘constasection’ {aka ‘const bfd_section’}
127 | bfd_size_type size = bfd_section_size(abfd, section);
| ^~~~
| |
| bfd
In file included from /home/simona/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:26:
/usr/include/bfd.h:1219:35: note: initializing argument 1 of ‘bfd_size_type bfd_section_size(const asection)’
1219 | bfd_section_size (const asection sec)
| ~~~~~~~~~~~~~~~~^~~
make[2]: [libgrive/CMakeFiles/grive.dir/build.make:628: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Errore 1
make[1]: * [CMakeFiles/Makefile2:213: libgrive/CMakeFiles/grive.dir/all] Errore 2
obayhan commented on 2020-12-18 17:28 (UTC)
Giving error while compiling:
[ 86%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o /home/ozgur/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc: In static member function ‘static void gr::SymbolInfo::BacktraceInfo::Callback(bfd, asection, void)’: /home/ozgur/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:121:16: error: ‘bfd_get_section_vma’ was not declared in this scope; did you mean ‘bfd_set_section_vma’? 121 | bfd_vma vma = bfd_get_section_vma(abfd, section); | ^~~~~~~~~~~~~~~~~~~ | bfd_set_section_vma /home/ozgur/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:127:40: error: cannot convert ‘bfd’ to ‘const asection’ {aka ‘const bfd_section’} 127 | bfd_size_type size = bfd_section_size(abfd, section); | ^~~~ | | | bfd In file included from /home/ozgur/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:26: /usr/include/bfd.h:1219:35: note: initializing argument 1 of ‘bfd_size_type bfd_section_size(const asection)’ 1219 | bfd_section_size (const asection sec) | ~~~~~~~~~~~~~~~~^~~ make[2]: [libgrive/CMakeFiles/grive.dir/build.make:628: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:184: libgrive/CMakeFiles/grive.dir/all] Error 2 make: * [Makefile:149: all] Error 2 ==> ERROR: A failure occurred in build().
davama commented on 2020-07-01 16:54 (UTC)
@je-vv
Yeah, same davama on github :) Glad it's working
Best
cray commented on 2020-06-29 09:28 (UTC) (edited on 2020-06-29 09:29 (UTC) by cray)
@davama
Thank you for pointing it out, installing grive-git worked for me.
Connecting to the google account however appears to be problematic due to some policy change by google.
@jkendall posted at grive-git that a solution could be found at: https://github.com/vitalif/grive2/issues/287
davama commented on 2020-06-26 15:29 (UTC)
@cray @insign
Have you used git? as the maintainer suggested? He hasnt updated this pkg in the aur but git is good.
cray commented on 2020-06-26 15:26 (UTC)
+1 to the error posted by @insign
insign commented on 2020-06-12 01:31 (UTC)
[ 86%] Building CXX object libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o /home/helio/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc: In static member function ‘static void gr::SymbolInfo::BacktraceInfo::Callback(bfd, asection, void)’: /home/helio/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:121:16: error: ‘bfd_get_section_vma’ was not declared in this scope; did you mean ‘bfd_set_section_vma’? 121 | bfd_vma vma = bfd_get_section_vma(abfd, section); | ^~~~~~~~~~~~~~~~~~~ | bfd_set_section_vma /home/helio/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:127:40: error: cannot convert ‘bfd’ to ‘const asection’ {aka ‘const bfd_section’} 127 | bfd_size_type size = bfd_section_size(abfd, section); | ^~~~ | | | bfd In file included from /home/helio/.cache/yay/grive/src/grive2-0.5.1/libgrive/src/bfd/SymbolInfo.cc:26: /usr/include/bfd.h:1205:35: note: initializing argument 1 of ‘bfd_size_type bfd_section_size(const asection)’ 1205 | bfd_section_size (const asection *sec) | ~~~~~~~~~~~~~~~~^~~ make[2]: [libgrive/CMakeFiles/grive.dir/build.make:629: libgrive/CMakeFiles/grive.dir/src/bfd/SymbolInfo.cc.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:185: libgrive/CMakeFiles/grive.dir/all] Error 2 make: [Makefile:150: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... Error making: grive
davama commented on 2020-05-19 15:10 (UTC)
I also saw the error on two if my arch installations:
grive: error while loading shared libraries: libjson-c.so.4: cannot open shared object file: No such file or directory
Updated my computers, reinstalled json-c, rebooted, and rebuild grive from git and all is well in the world again
alfredo.ardito commented on 2020-05-14 09:32 (UTC)
After getting the error about libjson-c.so.4 missing, I tried to reinstall the package with yay and then tried again with a clean build and got this error:
error: cannot convert ‘bfd’ to ‘const asection’ {aka ‘const bfd_section*’}
127 | bfd_size_type size = bfd_section_size(abfd, section);
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.