File "bin/dune", line 4, characters 8-14: 4 | (names gdfuse)) ^^^^^^ (cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3-6-27-58 -g -o bin/gdfuse.exe /usr/lib/ocaml/unix/unix.cmxa /usr/lib/ocaml/threads/threads.cmxa /usr/lib/ocaml/zarith/zarith.cmxa -I /usr/lib/ocaml/zarith /usr/lib/ocaml/cryptokit/cryptokit.cmxa -I /usr/lib/ocaml/cryptokit /usr/lib/ocaml/extlib/extLib.cmxa /usr/lib/ocaml/gapi-ocaml/netsys-local/netsys_local.cmxa -I /usr/lib/ocaml/gapi-ocaml/netsys-local /usr/lib/ocaml/camlp-streams/camlp_streams.cmxa /usr/lib/ocaml/str/str.cmxa /usr/lib/ocaml/gapi-ocaml/netstring-local/netstring_local.cmxa /usr/lib/ocaml/curl/curl.cmxa -I /usr/lib/ocaml/curl /usr/lib/ocaml/yojson/yojson.cmxa /usr/lib/ocaml/gapi-ocaml/gapi_ocaml.cmxa /usr/lib/ocaml/com.cmxa -I /usr/lib/ocaml /usr/lib/ocaml/ocamlfuse/fuse.cmxa -I /usr/lib/ocaml/ocamlfuse /usr/lib/ocaml/sqlite3/sqlite3.cmxa -I /usr/lib/ocaml/sqlite3 /usr/lib/ocaml/seq/seq.cmxa /usr/lib/ocaml/hmap/hmap.cmxa /usr/lib/ocaml/iostream/types/iostream_types.cmxa /usr/lib/ocaml/iostream/iostream.cmxa /usr/lib/ocaml/tiny_httpd/core/tiny_httpd_core.cmxa /usr/lib/ocaml/tiny_httpd/html/tiny_httpd_html.cmxa /usr/lib/ocaml/tiny_httpd/unix/tiny_httpd_unix.cmxa /usr/lib/ocaml/tiny_httpd/tiny_httpd.cmxa /usr/lib/ocaml/menhirLib/menhirLib.cmxa /usr/lib/ocaml/otoml/otoml.cmxa src/google_drive_ocamlfuse.cmxa bin/.gdfuse.eobjs/native/gdfuseFuse.cmx bin/.gdfuse.eobjs/native/gdfuseRuntimeDeps.cmx bin/.gdfuse.eobjs/native/gdfuse.cmx) lto1: fatal error: flujo de bytecode en el fichero ‘/usr/lib/ocaml/zarith/libzarith.a’ generado con LTO versión 15.1 en lugar de la versión esperada 16.0 compilation terminated. lto-wrapper: fatal error: gcc devolvió el estado de salida 1 compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld devolvió el estado de salida 1 File "caml_startup", line 1: Error: Error during linking (exit code 1) ==> ERROR: Se produjo un fallo en build(). Cancelando...
Search Criteria
Package Details: google-drive-ocamlfuse 0.9.0-1
Package Actions
| 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.000007 |
| First Submitted: | 2013-10-14 21:44 (UTC) |
| Last Updated: | 2026-07-12 22:06 (UTC) |
Dependencies (9)
- gapi-ocamlAUR
- ocaml (ocaml-gitAUR)
- ocaml-extlibAUR
- ocaml-otomlAUR
- ocaml-sqlite3AUR
- ocamlfuseAUR
- tiny_httpdAUR
- dune (make)
- ocaml-ounitAUR (make)
Required by (1)
- easy-ocamlfuse (optional)
Sources (1)
DarkMind commented on 2026-06-20 23:40 (UTC)
AngelSherry commented on 2026-01-24 17:12 (UTC)
For those encountering the following error while building gapi-ocaml, you can manually edit the version in the PKGBUILD of ocaml-cryptokitin AUR to 1.20 or below.
Starting build()...
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -w -23-27-32-33 -g -bin-annot -bin-annot-occurrences -I src/g
api/.gapi_ocaml.objs/byte -I /usr/lib/ocaml/camlp-streams -I /usr/lib/ocaml/cryptokit -I /usr/lib/ocaml/curl -
I /usr/lib/ocaml/str -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/unix -I /usr/lib/ocaml/yojson -I /usr/lib/oca
ml/zarith -I src/netstring/.netstring_local.objs/byte -I src/netsys/.netsys_local.objs/byte -no-alias-deps -o
src/gapi/.gapi_ocaml.objs/byte/gapiJwtServiceAccount.cmi -c -intf src/gapi/gapiJwtServiceAccount.mli)
File “src/gapi/gapiJwtServiceAccount.mli”, line 23, characters 34-51:
23 | val parse_private_key : string -> Cryptokit.RSA.key
^^^^^^^^^^^^^^^^^
Error: Unbound type constructor Cryptokit.RSA.key
==> Error: build() encountered failure.
Aborting...
This is because Cryptokit 1.21 introduced an RSA change that broke the RSA functionality required by gapi-ocaml. This PR migrates Cryptokit's big-number arithmetic core from the legacy Numerix library to Zarith. This means: if the build environment fails to correctly detect Zarith, Cryptokit may either omit compiling the RSA module entirely (since RSA relies on big-number arithmetic) or produce a broken interface.
vlas commented on 2025-11-09 21:45 (UTC) (edited on 2025-11-09 21:45 (UTC) by vlas)
Multiple dependency errors, can't install. As well as google-drive-ocamlfuse-git.
Darkmind2007 commented on 2025-07-07 10:10 (UTC)
The build is failing with the following error:
(cd _build/default && /usr/bin/ocamlopt.opt -w -40 -w -3-27-58 -g -o bin/gdfuse.exe /usr/lib/ocaml/unix/unix.cmxa /usr/lib/ocaml/threads/threads.cmxa /usr/lib/ocaml/zarith/zarith.cmxa -I /usr/lib/ocaml/zarith /usr/lib/ocaml/cryptokit/cryptokit.cmxa -I /usr/lib/ocaml/cryptokit /usr/lib/ocaml/extlib/extLib.cmxa /usr/lib/ocaml/gapi-ocaml/netsys-local/netsys_local.cmxa -I /usr/lib/ocaml/gapi-ocaml/netsys-local /usr/lib/ocaml/camlp-streams/camlp_streams.cmxa /usr/lib/ocaml/str/str.cmxa /usr/lib/ocaml/gapi-ocaml/netstring-local/netstring_local.cmxa /usr/lib/ocaml/curl/curl.cmxa -I /usr/lib/ocaml/curl /usr/lib/ocaml/yojson/yojson.cmxa /usr/lib/ocaml/gapi-ocaml/gapi_ocaml.cmxa /usr/lib/ocaml/com.cmxa -I /usr/lib/ocaml /usr/lib/ocaml/ocamlfuse/fuse.cmxa -I /usr/lib/ocaml/ocamlfuse /usr/lib/ocaml/sqlite3/sqlite3.cmxa -I /usr/lib/ocaml/sqlite3 /usr/lib/ocaml/seq/seq.cmxa /usr/lib/ocaml/hmap/hmap.cmxa /usr/lib/ocaml/iostream/types/iostream_types.cmxa /usr/lib/ocaml/iostream/iostream.cmxa /usr/lib/ocaml/tiny_httpd/core/tiny_httpd_core.cmxa /usr/lib/ocaml/tiny_httpd/html/tiny_httpd_html.cmxa /usr/lib/ocaml/tiny_httpd/unix/tiny_httpd_unix.cmxa /usr/lib/ocaml/tiny_httpd/tiny_httpd.cmxa src/google_drive_ocamlfuse.cmxa bin/.gdfuse.eobjs/native/gdfuse.cmx)
lto1: fatal error: bytecode stream in file ‘/usr/lib/ocaml/zarith/libzarith.a’ generated with LTO version 14.0 instead of the expected 15.0
compilation terminated.
lto-wrapper: fatal error: gcc returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
That file comes from ocaml-zarith package which is part of the main Arch repos (i.e., I can't rebuild it).
Perhaps some compilation flags can help?
pricechrispy commented on 2025-01-13 03:47 (UTC)
Package order is a challenge with ocaml builds in the AUR. This package requires tiny_httpd which requires ocaml-seq. Unofficial AUR helpers like yay seem to struggle with this. There is no problem with this package, so I am unflagging the package.
ramonarch commented on 2025-01-07 19:42 (UTC) (edited on 2025-01-07 19:49 (UTC) by ramonarch)
This problem can we resolved by installing ocaml-seq first
File "/usr/lib/ocaml/tiny_httpd/dune-package", line 113, characters 19-22:
113 | (requires threads seq unix)
^^^
Error: Library "seq" not found.
At least it worked for me:
yay -S ocaml-seq
Also did this https://aur.archlinux.org/packages/google-drive-ocamlfuse#comment-989401 don't know if that was still needed, but it's working now.
EDIT: Added markdown, but well, still not what I wanted...
MarcosVM commented on 2024-10-07 13:08 (UTC)
I've followed the steps to build ocaml-extlib succesfully, but building this package still fails:
==> Iniciando build()...
File "/usr/lib/ocaml/tiny_httpd/dune-package", line 113, characters 19-22:
113 | (requires threads seq unix)
^^^
Error: Library "seq" not found.
-> required by library "tiny_httpd" in /usr/lib/ocaml/tiny_httpd
-> required by executable gdfuse in bin/dune:4
-> required by _build/default/bin/gdfuse.exe
-> required by _build/install/default/bin/google-drive-ocamlfuse
-> required by _build/default/google-drive-ocamlfuse.install
-> required by alias install
==> ERRO: Uma falha ocorreu em build().
Abortando...
-> erro ao construir: google-drive-ocamlfuse-exit status 4
banhammer commented on 2024-09-05 07:38 (UTC) (edited on 2024-09-05 07:39 (UTC) by banhammer)
comment from here https://github.com/astrada/google-drive-ocamlfuse/issues/877#issuecomment-2253765657
git clone https://aur.archlinux.org/ocaml-extlib.git && cd ocaml-extlib && nano PKGBUILD
Now, comment out the make doc line.
Save with Ctrl + O and exit with Ctrl + X.
Type:
makepkg -si PKGBUILD
If everything went well, ocaml-extlib will have been successfully installed.
Now, you can try to install google-drive-ocamlfuse with yay again.
DaRandomCube commented on 2024-06-10 20:24 (UTC)
the current version requires ocaml-base>=0.17.0 which isn't available in the repos yet, so the package cannot be installed
3xploiton3 commented on 2024-04-20 11:44 (UTC) (edited on 2024-04-20 11:48 (UTC) by 3xploiton3)
Failed to install the following packages. Manual intervention is required:
gapi-ocaml - exit status 8
ocaml-ounit - exit status 8
ocaml-ppx_let - exit status 8
ocaml-ppx_here - exit status 4
google-drive-ocamlfuse - exit status 8
ocaml-lwt - exit status 8
ocaml-curl - exit status 8
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