Package Details: grive 0.5.3-3

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.081505
First Submitted: 2012-04-29 22:26 (UTC)
Last Updated: 2025-05-04 13:41 (UTC)

Dependencies (12)

Required by (0)

Sources (4)

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.

Latest Comments

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

Funny0facer commented on 2024-09-09 20:12 (UTC)

here you go:

# Maintainer: Gordian Edenhofer <gordian.edenhofer@gmail.com>
# Contributer: Giuseppe Calà <jiveaxe@gmail.com>
# Contributer: giacomogiorgianni@gmail.com
# Contributor: TingPing <tingping@tingping.se>

pkgname=grive
pkgver=0.5.3
pkgrel=3
pkgdesc="An open source Linux client for Google Drive with support for the new Drive REST API and partial sync"
arch=('i686' 'x86_64')
url='https://github.com/vitalif/grive2'
license=('GPL2')
depends=('yajl' 'curl' 'libgcrypt' 'boost-libs' 'gcc-libs' 'json-c' 'expat')
optdepends=("inotify-tools: scheduled syncs and syncs on file change events"
    "cppunit: unit tests"
    "binutils: backtrace and libiberty")
makedepends=('cmake' 'boost')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/vitalif/grive2/archive/v${pkgver}.tar.gz"
    "syncer_compilation.patch"::"https://patch-diff.githubusercontent.com/raw/vitalif/grive2/pull/363.patch"
    "fgrep_compilation.patch"::"https://patch-diff.githubusercontent.com/raw/vitalif/grive2/pull/371.patch"
    "libgcript_compilation.patch"::"https://patch-diff.githubusercontent.com/raw/vitalif/grive2/pull/403.patch"
    )
sha512sums=('9185401500edbe4c45a1eea02983d747c022739aea0f09ce1518a43ae63c0c3e7f352b17f31d5510ac2de16e02e7dbbead6888812c04ee546c5ae39936d4a974'
            '9c4d73105309bb25e03d692313c46c5281b8b0b1f1f3f4fb7bfdd5d167d642e966203024d675d9139ca92de72a2d796819f04e8940da9c8bbb746eb8b5ed615f'
            'e2829bb1e046e1f6dd529f54423cd952d95d937f2ae34b4fce05b42dd37aeed61ec128b73a81235c10c012cd0cdc395c03409fd99daedf8e47270a7c6d1508d6'
            'e3d2cf5d5546cbba69e7cfef7a944bf3230af1bde9352faea5e1c331cbeb613a319d8bd9042676768561fe2547ce2a026de0e88a9fba8f570e97062d7dd87ef5')

prepare() {
    cd "${srcdir}/${pkgname}2-${pkgver}"

    patch -Np1 -i ../syncer_compilation.patch
    patch -Np1 -i ../fgrep_compilation.patch
    patch -Np1 -i ../libgcript_compilation.patch

}

build() {
    cd "${srcdir}/${pkgname}2-${pkgver}"
    rm -rf build
    mkdir build
    cd build

    cmake -DCMAKE_BUILD_TYPE=Release \
        -DCMAKE_INSTALL_PREFIX=/usr \
        -DCMAKE_EXE_LINKER_FLAGS=-ljson-c ..

    make
}

package() {
    make -C "${srcdir}/${pkgname}2-${pkgver}/build" DESTDIR="${pkgdir}" install
}

semeion commented on 2024-09-09 19:22 (UTC)

@FunnyOfacer, could you share your PKGBUILD? I have no idea how to include that fix for my self.

Funny0facer commented on 2024-09-08 18:56 (UTC)

I just had the same issue. I fixed it by changing the PKGBUILD to include the additonal pull 403 ( https://github.com/vitalif/grive2/pull/403 ) @edh: could you include this for 0.5.3-3 ?

PS: my grive installation broke somewhere around the 5th September.

semeion commented on 2024-09-07 23:09 (UTC) (edited on 2024-09-08 16:26 (UTC) by semeion)

I can't compile too, same error:


-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning at CMakeLists.txt:8 (message):
  Version to build: 0.5.3


CMake Error at cmake/Modules/FindLibGcrypt.cmake:49 (message):
  Could not find libgcrypt libraries
Call Stack (most recent call first):
  libgrive/CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...

EDIT1: I did try to compile in chroot mode and it return same error.

thecheddarcheese commented on 2024-07-01 15:27 (UTC) (edited on 2024-07-01 15:32 (UTC) by thecheddarcheese)

@edh setup a clean chroot, still happens.

Btw. depending on the specific setup (e.g. if you use the setup described in the README and it still doesn't compile), please consider filing this issue upstream.

I did just try to compile it manually from github and the same thing occurs, so yeah it's not just this package. I'll report it there.

edh commented on 2024-06-30 20:40 (UTC)

@thecheddarcheese The package builds fine for me. Can you reproduce your error in a clean chroot?

Btw. depending on the specific setup (e.g. if you use the setup described in the README and it still doesn't compile), please consider filing this issue upstream.

thecheddarcheese commented on 2024-06-30 20:25 (UTC)

I get this error when building:

CMake Error at cmake/Modules/FindLibGcrypt.cmake:49 (message):
  Could not find libgcrypt libraries
Call Stack (most recent call first):
  libgrive/CMakeLists.txt:5 (find_package)

libgcrypt is installed and up to date.

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.

Funny0facer commented on 2023-10-11 18:40 (UTC) (edited on 2023-10-11 18:44 (UTC) by Funny0facer)

@edh: As this package fails regularly, I guess it would be appropriate to pin a comment, to make sure that the people try rebuilding it first before commenting.

@thePeopleHavingIssues: Remember to clear your cache, otherwise it might not actually rebuild, but just install as the sources did not change. For AUR-Helper yay, this would be: yay -S --rebuild grive

edh commented on 2023-10-11 08:07 (UTC)

@kIERO You need to recompile give.