Package Details: google-drive-ocamlfuse 0.7.32-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: 63
Popularity: 0.177504
First Submitted: 2013-10-14 21:44 (UTC)
Last Updated: 2024-03-25 01:51 (UTC)

Pinned Comments

pricechrispy commented on 2017-04-25 17:39 (UTC) (edited on 2022-10-16 06:40 (UTC) by pricechrispy)

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

Latest Comments

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

dangpzanco commented on 2022-01-21 05:54 (UTC) (edited on 2022-01-21 06:12 (UTC) by dangpzanco)

I think @JayKobe6k's suggestion is the easiest way of installing and keeping this package updated. Here's what I did to install this:

Remove google-drive-ocamlfuse and its dependencies (this is necessary to have a clean install of ocamlbuild via opam) and install opam via pacman (this will also reinstall ocaml, see instructions here). Then you may run:

> opam init
> eval $(opam env)
> opam install google-drive-ocamlfuse

opam init creates a folder at ~/.opam, where it keeps the google-drive-ocamlfuse executable and other stuff. It will ask to be added to your ~/.zshrc or ~/.bashrc script. Seems to be really easy to use, kinda like cargo (Rust), npm (JavaScript) and conda (Python).

areaman commented on 2022-01-21 03:46 (UTC)

I received this message when I tried to update this to the latest version:

==> Starting build()... File "src/config.ml", line 1: Error: The files src/.google_drive_ocamlfuse.objs/byte/utils.cmi and /usr/lib/ocaml/curl/curl.cmi make inconsistent assumptions over interface Curl ==> ERROR: A failure occurred in build(). Aborting...

JayKobe6k commented on 2022-01-20 18:20 (UTC)

This package is generally a nightmare. Opam is the package manager for ocaml and it is much easier to use for installing this package. This package expects specific versions of things to be installed which causes lots of issues, while the opam version is more aware of its build environment and figures out the dependencies properly.

Probably better to just look here: https://opam.ocaml.org/packages/google-drive-ocamlfuse/

dangpzanco commented on 2022-01-20 12:33 (UTC) (edited on 2022-01-25 17:54 (UTC) by dangpzanco)

Fails to build on the latest version (running Manjaro here). It worked fine on version 0.7.26

Building google-drive-ocamlfuse...
==> Making package: google-drive-ocamlfuse 0.7.27-1 (qui 20 jan 2022 09:31:34)
...
==> Starting build()...
File "src/drive.ml", line 478, characters 15-31:
478 |     match file.File.resourceKey with "" -> None | _ as s -> Some s
                     ^^^^^^^^^^^^^^^^
Error: Unbound record field File.resourceKey
==> ERROR: A failure occurred in build().
    Aborting...

galacta_dm commented on 2022-01-20 07:39 (UTC)

I encountered an error while updating "google-drive-ocamlfuse" package. I also tried rebuilding dependencies but I got the same error.

==> Starting build()...
File "src/config.ml", line 1:
Error: The files src/.google_drive_ocamlfuse.objs/byte/utils.cmi
       and /usr/lib/ocaml/curl/curl.cmi make inconsistent assumptions
       over interface Curl
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'google-drive-ocamlfuse-0.7.27-1': 
error: packages failed to build: google-drive-ocamlfuse-0.7.27-1

Does anyone encounter the same error or have a solution for this?

pricechrispy commented on 2021-08-15 00:28 (UTC)

This package can be difficult to build on a system you've already built it, after dependencies get updated.

Some users have had luck removing things in a certain way, in order to rebuild. For example, see: https://aur.archlinux.org/packages/gapi-ocaml/

I use a build server to build cleanly every time.

RyderSJ commented on 2021-07-07 00:04 (UTC)

Have looked everywhere but can't seem to be able to figure out how to build it. I've tried going through and installing the dune libraries that it requests to no avail.

==> Starting build()... File "src/gapi/dune", line 5, characters 63-69: 5 | (libraries extlib netsys threads netstring curl str cryptokit yojson) ^^^^^^ Error: Library "yojson" not found. Hint: try: dune external-lib-deps --missing @install File "src/gdata/dune", line 5, characters 23-27: 5 | (libraries gapi-ocaml xmlm) ^^^^ Error: Library "xmlm" not found. Hint: try: dune external-lib-deps --missing @install ==> ERROR: A failure occurred in build(). Aborting... error: failed to build 'gapi-ocaml-0.3.19-2': ==> Making package: google-drive-ocamlfuse 0.7.26-2 (Wed 07 Jul 2021 12:01:38) ==> Retrieving sources... -> Found google-drive-ocamlfuse-0.7.26.tar.gz ==> Validating source files with sha256sums... google-drive-ocamlfuse-0.7.26.tar.gz ... Passed ==> Making package: google-drive-ocamlfuse 0.7.26-2 (Wed 07 Jul 2021 12:01:38) ==> Checking runtime dependencies... ==> Missing dependencies: -> gapi-ocaml>=0.3.19 ==> Checking buildtime dependencies... ==> ERROR: Could not resolve all dependencies. error: failed to build 'google-drive-ocamlfuse-0.7.26-2': error: packages failed to buid: gapi-ocaml-0.3.19-2 google-drive-ocamlfuse-0.7.26-2

frojnd commented on 2021-06-24 10:46 (UTC) (edited on 2021-06-24 10:47 (UTC) by frojnd)

@pricechrispy I'm trying to install this package but I get: File "src/dune", line 5, characters 40-49: 5 | (libraries cryptokit extlib gapi-ocaml ocamlfuse sqlite3 threads camlidl)) ^^^^^^^^^ Error: Library "ocamlfuse" not found. Hint: try: dune external-lib-deps --missing @install ==> ERROR: A failure occurred in build(). Aborting... error making: google-drive-ocamlfuse

My version of ocamlfuse is: 2.7.1-11

Any ideas?

pricechrispy commented on 2020-12-01 03:37 (UTC) (edited on 2020-12-01 05:54 (UTC) by pricechrispy)

ocaml-cryptokit is failing to build on most recent ocaml, due to ocamlbuild needing a rebuild, see for details https://aur.archlinux.org/packages/ocaml-cryptokit/#comment-778235

~~you can either build ocamlbuild from ABS against newest ocaml, or wait~~

dependent package has been fixed, ocaml-cryptokit now builds, and google-drive-ocamlfuse confirmed successful build.