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.29
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.

jan_path commented on 2014-05-08 15:06

You have to change !staticlibs to staticlibs in your makepkg.conf and then rebuild the packages ocamlfuse, camlidl, ocaml-extlib, ocaml-curl, ocaml-sqlite3.

broepi commented on 2014-05-05 23:09

Same problem here with the missing .a files

nfishr commented on 2014-05-04 12:08

@lesbas

No, there is no .makepkg.conf in the home-folder. Still get the same err..

lesebas commented on 2014-05-04 08:06

@ nfishr

Check if you have a local makepkg.conf :

ls ~/.makepkg.conf

If it's the case delete or rename the local file while you try to compile the package or add the option ''staticlibs'' in your local file.

nfishr commented on 2014-05-03 20:46

I changed "!staticlibs" to "staticlibs" in /etc/makepkg.conf, but it still would not build, giving:

gcc: error: /usr/lib/ocaml/sqlite3/sqlite3.a: No such file or directory
gcc: error: /usr/lib/ocaml/curl/curl.a: No such file or directory
gcc: error: /usr/lib/ocaml/extlib/extLib.a: No such file or directory
gcc: error: /usr/lib/ocaml/camlidl/com.a: No such file or directory
gcc: error: /usr/lib/ocaml/site-lib/Fuse/Fuse.a: No such file or directory
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 40 targets (0 cached) in 00:00:04.
E: Failure("Command ''/usr/bin/ocamlbuild' src/gdfuse.native -tag debug' terminated with error code 10")
==> ERROR: A failure occurred in build().
Aborting...

What am i missing? options=('staticlibs') is present in PKGBUILD..

nfishr commented on 2014-05-03 20:46

I changed "!staticlibs" in /etc/makepkg.conf, but it still would not build, giving:

gcc: error: /usr/lib/ocaml/sqlite3/sqlite3.a: No such file or directory
gcc: error: /usr/lib/ocaml/curl/curl.a: No such file or directory
gcc: error: /usr/lib/ocaml/extlib/extLib.a: No such file or directory
gcc: error: /usr/lib/ocaml/camlidl/com.a: No such file or directory
gcc: error: /usr/lib/ocaml/site-lib/Fuse/Fuse.a: No such file or directory
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 40 targets (0 cached) in 00:00:04.
E: Failure("Command ''/usr/bin/ocamlbuild' src/gdfuse.native -tag debug' terminated with error code 10")
==> ERROR: A failure occurred in build().
Aborting...

What am i missing? options=('staticlibs') is present in PKGBUILD..

nfishr commented on 2014-05-03 20:01

It would great if the maintainer could correct the err. in the build-process. In the comments of https://aur.archlinux.org/packages/ocamlfuse/ seems to be linked a working PKGBUILD for ocamlfuse, which is needed here also. Otherwise one gets an build-err: http://pastebin.com/iaVp8Jd5

lesebas commented on 2014-03-28 19:18

Sorry OPTIONS : ' staticlibs' in /etc/makepkg.conf actually works... I've just forgot to delete the old local file ~/makepkg.conf

lesebas commented on 2014-03-28 19:15

Trying to compile but I have a problem with .a file of depends... How can I force yaourt to keep the .a file when compiling the depends :

gcc: erreur: /usr/lib/ocaml/sqlite3/sqlite3.a: Aucun fichier ou dossier de ce type
gcc: erreur: /usr/lib/ocaml/curl/curl.a: Aucun fichier ou dossier de ce type
gcc: erreur: /usr/lib/ocaml/extlib/extLib.a: Aucun fichier ou dossier de ce type
gcc: erreur: /usr/lib/ocaml/camlidl/com.a: Aucun fichier ou dossier de ce type
gcc: erreur: /usr/lib/ocaml/site-lib/Fuse/Fuse.a: Aucun fichier ou dossier de ce type

I've tried to add staticlibs instead of !staticlibs in OPTIONS line in /etc/makepkg.conf but without any succes

lesebas commented on 2014-03-28 17:56

Trying to compile but I have a problem with .a file of depends... How can I force yaourt to keep the .a file when compiling the depends :

gcc: erreur: /usr/lib/ocaml/sqlite3/sqlite3.a: Aucun fichier ou dossier de ce type
gcc: erreur: /usr/lib/ocaml/curl/curl.a: Aucun fichier ou dossier de ce type
gcc: erreur: /usr/lib/ocaml/extlib/extLib.a: Aucun fichier ou dossier de ce type
gcc: erreur: /usr/lib/ocaml/camlidl/com.a: Aucun fichier ou dossier de ce type
gcc: erreur: /usr/lib/ocaml/site-lib/Fuse/Fuse.a: Aucun fichier ou dossier de ce type