Package Details: google-drive-ocamlfuse 0.7.17-1

Git Clone URL: https://aur.archlinux.org/google-drive-ocamlfuse.git (read-only, click to copy)
Package Base: google-drive-ocamlfuse
Description: FUSE-based file system backed by Google Drive, written in OCaml
Upstream URL: https://astrada.github.io/google-drive-ocamlfuse/
Keywords: drive fuse google ocaml
Licenses: MIT
Submitter: mlq
Maintainer: pricechrispy
Last Packager: pricechrispy
Votes: 57
Popularity: 1.32
First Submitted: 2013-10-14 21:44
Last Updated: 2020-01-21 01:40

Dependencies (7)

Required by (1)

Sources (1)

Pinned Comments

pricechrispy commented on 2018-01-27 00:47

Another error now exists with the camlidl package on a fresh build system.

In this case, the package is no longer creating a required file called "META". This prevents camlidl from showing up as installed, and prevents the package from building.

If you run "ocamlfind list | grep -i 'camlidl'", you should see the camlidl packages listed.

If not, manually create the META file: /usr/lib/ocaml/camlidl/META

description = "Stub generator"
version = "1.06"
directory = "^"
archive(byte) = "com.cma"
archive(native) = "com.cmxa"

pricechrispy commented on 2017-04-25 17:39

Before you flag this package out-of-date:

According to the official project page: https://astrada.github.io/google-drive-ocamlfuse/
Find latest release versions here: https://launchpad.net/~alessandro-strada/+archive/ubuntu/ppa

The latest releases are not all tagged versions on GitHub.
For the latest development versions on git, try: https://aur.archlinux.org/packages/google-drive-ocamlfuse-git

OLD official project page: http://gdfuse.forge.ocamlcore.org/
OLD release versions here: https://forge.ocamlcore.org/frs/?group_id=305

pricechrispy commented on 2016-11-17 10:46

While upgrading to the newer build, the same build error persists as reported in the comments.

When doing a fresh build, I manually created symlinks as root so that the build process finds them, as similarly suggested in the comments.

# ln -s /usr/lib/ocaml/com.cmxa /usr/lib/ocaml/camlidl/
# ln -s /usr/lib/ocaml/com.a /usr/lib/ocaml/camlidl/

After doing this, the directory '/usr/lib/ocaml/camlidl/' should have the following structure in a fresh environment:

$ ls -l /usr/lib/ocaml/camlidl/
total 4
lrwxrwxrwx 1 root root 20 Nov 17 02:23 com.a -> /usr/lib/ocaml/com.a
lrwxrwxrwx 1 root root 23 Nov 17 02:23 com.cmxa -> /usr/lib/ocaml/com.cmxa
-rw-r--r-- 1 root root 102 Nov 17 01:11 META

As suggested in the comments, this seems to be an issue with the camlidl package.

This should allow the package to build for now, until an automated PKGBUILD solution is found.

Latest Comments

« First ‹ Previous ... 7 8 9 10 11 12 13 14 15 16 Next › Last »

Gnurou commented on 2014-09-10 22:38

Latest version (0.5.6-1) won't build because it depends on gapi-ocaml >= 0.2.4 and only 0.2.1 is available on AUR.

lesebas commented on 2014-08-29 11:11

Hello, thanks for the update.

It's up to you for the git... that's not a big deal.

Lesebas

lesebas commented on 2014-08-29 10:02

Hello, thanks for the update.

It's up to you for the git... but by now there is no stable release (version 0.x) as this application is still at the early development stage. But that's not a big deal.

Lesebas

mlq commented on 2014-08-29 08:31

I've updated the package to 0.5.5 - It requires ocaml-biniou which should be a dependency of ocaml-yojson, so you might need to install it in addition.

No, I won't modify the package to clone git repository, since this is the stable version. We would need to create an additional google-drive-ocamlfuse-git package that uses the latest develop version.

lesebas commented on 2014-08-28 21:14

The version 0.5.4 has been uploaded on the git (with a workaround for the segmentation fault). I suggest you to modify your pkbuild in order to use pkgver() function to ensure permanent update as suggested in the wiki :

https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#The_pkgver.28.29_function

Here is my proposoal of PKGBUILD :

pkgname=google-drive-ocamlfuse
pkgver=0.5.5.r2
pkgrel=1
pkgdesc="FUSE filesystem backed by Google Drive, written in OCaml."
arch=('x86_64' 'i686')
url="http://gdfuse.forge.ocamlcore.org/"
license=('MIT')
depends=('ocaml>=3.12.0' 'ocaml-findlib>=1.2.7' 'ocamlfuse>=2.7.1'
'gapi-ocaml>=0.2.1' 'ocaml-sqlite3>=1.6.1')
source=('google-drive-ocamlfuse::git+https://github.com/astrada/google-drive-ocamlfuse.git#branch=master')
options=('staticlibs')
md5sums=('SKIP')

pkgver() {
cd "$pkgname"
git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g;s/.g[a-z0-9]*//'
}

build() {
cd "$srcdir/$pkgname"
ocaml setup.ml -configure --prefix /usr --destdir $pkgdir
ocaml setup.ml -build
}

check() {
cd "$srcdir/$pkgname"
ocaml setup.ml -test
}

package() {
cd "$srcdir/$pkgname"
export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"

ocaml setup.ml -install
}

lesebas commented on 2014-08-26 21:04

@mlq

The version 0.5.4 has been uploaded on the git (with a workaround for the segmentation fault). I suggest you to modify your pkbuild in order to use pkgver() function to ensure permanent update as suggested in the wiki :

https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#The_pkgver.28.29_function

Here is my proposoal of PKGBUILD :

pkgname=google-drive-ocamlfuse
pkgver=v0.5.4.r0.g2f20b4d
pkgrel=1
pkgdesc="FUSE filesystem backed by Google Drive, written in OCaml."
arch=('x86_64' 'i686')
url="http://gdfuse.forge.ocamlcore.org/"
license=('MIT')
depends=('ocaml>=3.12.0' 'ocaml-findlib>=1.2.7' 'ocamlfuse>=2.7.1'
'gapi-ocaml>=0.2.1' 'ocaml-sqlite3>=1.6.1')
source=('google-drive-ocamlfuse::git+https://github.com/astrada/google-drive-ocamlfuse.git#branch=master')
options=('staticlibs')
md5sums=('SKIP')

pkgver() {
cd "$pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

build() {
cd "$srcdir/$pkgname"
ocaml setup.ml -configure --prefix /usr --destdir $pkgdir
ocaml setup.ml -build
}

check() {
cd "$srcdir/$pkgname"
ocaml setup.ml -test
}

package() {
cd "$srcdir/$pkgname"
export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"

ocaml setup.ml -install
}

lesebas commented on 2014-08-26 21:03

@mlq

The version 0.5.4 has been uploaded on the git (with a workaround for the segmentation fault). I suggest you to modify your pkbuild in order to use pkgver() function to ensure permanent update as suggested in the wiki :

https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#The_pkgver.28.29_function

Here is my proposoal of PKGBUILD :

pkgname=google-drive-ocamlfuse
pkgver=v0.5.4.r0.g2f20b4d
pkgrel=1
pkgdesc="FUSE filesystem backed by Google Drive, written in OCaml."
arch=('x86_64' 'i686')
url="http://gdfuse.forge.ocamlcore.org/"
license=('MIT')
depends=('ocaml>=3.12.0' 'ocaml-findlib>=1.2.7' 'ocamlfuse>=2.7.1'
'gapi-ocaml>=0.2.1' 'ocaml-sqlite3>=1.6.1')
source=('google-drive-ocamlfuse::git+https://github.com/astrada/google-drive-ocamlfuse.git#branch=master')
options=('staticlibs')
md5sums=('SKIP')

pkgver() {
cd "$pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

build() {
cd "$srcdir/$pkgname"
ocaml setup.ml -configure --prefix /usr --destdir $pkgdir
ocaml setup.ml -build
}

check() {
cd "$srcdir/$pkgname"
ocaml setup.ml -test
}

package() {
cd "$srcdir/$pkgname"
export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"

ocaml setup.ml -install
}
Comment by karamaz0v
2014-07-28 18:01
in order to build everything, the
options=('staticlibs')
must be added also to ocaml-curl and ocaml-extlib packages.

lesebas commented on 2014-08-26 20:05

@mlq

The version 0.5.4 has been uploaded on the git. I suggest to modify your pkbuild in order to use pkgver() function to ensure permanent update as suggested in the wiki :

https://wiki.archlinux.org/index.php/VCS_PKGBUILD_Guidelines#The_pkgver.28.29_function

Here is my proposoal of PKGBUILD :

pkgname=google-drive-ocamlfuse
pkgver=v0.5.4.r0.g2f20b4d
pkgrel=1
pkgdesc="FUSE filesystem backed by Google Drive, written in OCaml."
arch=('x86_64' 'i686')
url="http://gdfuse.forge.ocamlcore.org/"
license=('MIT')
depends=('ocaml>=3.12.0' 'ocaml-findlib>=1.2.7' 'ocamlfuse>=2.7.1'
'gapi-ocaml>=0.2.1' 'ocaml-sqlite3>=1.6.1')
source=('google-drive-ocamlfuse::git+https://github.com/astrada/google-drive-ocamlfuse.git#branch=master')
options=('staticlibs')
md5sums=('SKIP')

pkgver() {
cd "$pkgname"
git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
}

build() {
cd "$srcdir/$pkgname"
ocaml setup.ml -configure --prefix /usr --destdir $pkgdir
ocaml setup.ml -build
}

check() {
cd "$srcdir/$pkgname"
ocaml setup.ml -test
}

package() {
cd "$srcdir/$pkgname"
export OCAMLFIND_DESTDIR="$pkgdir/$(ocamlfind printconf destdir)"

ocaml setup.ml -install
}

karamaz0v commented on 2014-07-28 18:01

in order to build everything, the
options=('staticlibs')
must be added also to ocaml-curl and ocaml-extlib packages.

flaccid commented on 2014-07-27 22:54

@jkl I can confirm that it builds and installs ok for me at the moment.