It seems that /usr/doc should be /usr/share/doc.
Search Criteria
Package Details: google-drive-ocamlfuse 0.7.27-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: | 60 |
Popularity: | 0.052206 |
First Submitted: | 2013-10-14 21:44 (UTC) |
Last Updated: | 2022-01-20 04:48 (UTC) |
Dependencies (7)
- gapi-ocaml (gapi-ocaml-git)
- ocaml
- ocaml-findlib
- ocaml-sqlite3
- ocamlfuse
- dune (make)
- ocaml-ounit (make)
Required by (1)
- bups (optional)
Sources (1)
Latest Comments
sunplan commented on 2022-05-11 06:28 (UTC)
sgt-hartman commented on 2022-02-03 19:18 (UTC)
@snakeroot
Thank's for reporting this. Unfortunatelly the error pointed by the issue is installation on Manjaro through Pamac, which seems to use AUR as a backend. I don't think this is an upstream issue.
snakeroot commented on 2022-02-03 18:49 (UTC)
@sgt-hartman / @dangpzanco
Note that this has been reported as an issue in upstream's GitHub:
https://github.com/astrada/google-drive-ocamlfuse/issues/750
sgt-hartman commented on 2022-01-25 08:08 (UTC) (edited on 2022-01-25 08:10 (UTC) by sgt-hartman)
I have the same issue as @dangpzanco:
==> 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...
That's right each time this package is upgraded the process is not really as smooth as it should be, it breaks because of compiler version mismatches or something. But on the other hand, as a simple user, it really bother me to install specific programming languages tools only to install a package. Theses tools tend to pollute $HOME directory and you have to remember to look for updates by yourself. Maybe this package could be refactored to use theses tools "internally" during the build ?
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.
quattro commented on 2020-10-23 12:43 (UTC) (edited on 2020-10-23 12:58 (UTC) by quattro)
hi,pricechrispy! same problem with ocaml-cryptokit!! please help, don't build gapi-ocaml and google-drive-ocamlfuse
ocaml-cryptokit 1.13-2 (2018-05-14 21:25)
( Неподдерживаемый пакет: Потенциально опасен ! )
==> Отредактировать PKGBUILD ? Да/нет [Y/n] ("A" для отмены)
==> --------------------------------------------------------
==> n
==> зависимости ocaml-cryptokit:
- ocaml (уже установлен) [makedepend]
- zlib (уже установлен)
- ocaml-zarith (уже установлен)
- ocaml (уже установлен) [makedepend]
- ocaml-findlib (уже установлен) [makedepend]
- ocamlbuild (уже установлен) [makedepend]
==> Продолжить сборку ocaml-cryptokit ? Да/нет [Y/n]
==> ------------------------------------------------
==>
==> Сборка и установка пакета
==> Сборка пакета ocaml-cryptokit 1.13-2 (Пт 23 окт 2020 15:31:11)
==> Проверка зависимостей для запуска...
==> Проверка зависимостей для сборки...
==> Получение исходных файлов...
-> Загрузка release113.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 133 100 133 0 0 302 0 --:--:-- --:--:-- --:--:-- 302
100 161k 0 161k 0 0 93102 0 --:--:-- 0:00:01 --:--:-- 255k
==> Проверка файлов source с использованием md5sums...
release113.tar.gz ... Готово
==> Распаковка исходных файлов...
-> Распаковка 'release113.tar.gz' с помощью bsdtar
==> Запускается build()...
File "./setup.ml", line 1775, characters 22-40:
1775 | let compare = Pervasives.compare
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "setup.ml", line 3467, characters 16-34:
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
Configuration:
ocamlfind: ...................................................... /usr/bin/ocamlfind
ocamlc: ......................................................... /usr/bin/ocamlc.opt
ocamlopt: ....................................................... /usr/bin/ocamlopt.opt
ocamlbuild: ..................................................... /usr/bin/ocamlbuild
Package name: ................................................... cryptokit
Package version: ................................................ 1.13
os_type: ........................................................ Unix
system: ......................................................... linux
architecture: ................................................... amd64
ccomp_type: ..................................................... cc
ocaml_version: .................................................. 4.11.1
standard_library_default: ....................................... /usr/lib/ocaml
standard_library: ............................................... /usr/lib/ocaml
bytecomp_c_compiler: ............................................ gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT
native_c_compiler: .............................................. gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -D_FILE_OFFSET_BITS=64 -D_REENTRANT
model: .......................................................... default
ext_obj: ........................................................ .o
ext_asm: ........................................................ .s
ext_lib: ........................................................ .a
ext_dll: ........................................................ .so
default_executable_name: ........................................ a.out
systhread_supported: ............................................ true
Install architecture-independent files dir: ..................... /usr/local
Install architecture-dependent files in dir: .................... $prefix
User executables: ............................................... $exec_prefix/bin
System admin executables: ....................................... $exec_prefix/sbin
Program executables: ............................................ $exec_prefix/libexec
Read-only single-machine data: .................................. $prefix/etc
Modifiable architecture-independent data: ....................... $prefix/com
Modifiable single-machine data: ................................. $prefix/var
Object code libraries: .......................................... $exec_prefix/lib
Read-only arch-independent data root: ........................... $prefix/share
Read-only architecture-independent data: ........................ $datarootdir
Info documentation: ............................................. $datarootdir/info
Locale-dependent data: .......................................... $datarootdir/locale
Man documentation: .............................................. $datarootdir/man
Documentation root: ............................................. $datarootdir/doc/$pkg_name
HTML documentation: ............................................. $docdir
DVI documentation: .............................................. $docdir
PDF documentation: .............................................. $docdir
PS documentation: ............................................... $docdir
findlib_version: ................................................ 1.8.1
is_native: ...................................................... true
suffix_program: .................................................
Remove a file.: ................................................. rm -f
Remove a directory.: ............................................ rm -rf
Turn ocaml debug flag on: ....................................... true
Turn ocaml profile flag on: ..................................... false
Compiler support generation of .cmxs.: .......................... true
OCamlbuild additional flags: ....................................
Enable ZLib: .................................................... true
Enable hardware support for AES and GCM (needs GCC or Clang): ... true
Build and run benchmark: ........................................ false
Create documentations: .......................................... true
Compile tests executable and library and run them: .............. false
ocamldoc: ....................................................... /usr/bin/ocamldoc
pkg_unix: ....................................................... /usr/lib/ocaml
pkg_zarith: ..................................................... /usr/lib/ocaml/zarith
ocaml setup.ml -build
File "./setup.ml", line 1775, characters 22-40:
1775 | let compare = Pervasives.compare
^^^^^^^^^^^^^^^^^^
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
File "setup.ml", line 3467, characters 16-34:
Alert deprecated: module Stdlib.Pervasives
Use Stdlib instead.
If you need to stay compatible with OCaml < 4.07, you can use the
stdlib-shims library: https://github.com/ocaml/stdlib-shims
+ /usr/bin/ocamlopt.opt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "myocamlbuild.ml", line 1:
Error: Files /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa
and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Stdlib__sys
Command exited with code 2.
Compilation unsuccessful after building 1 target (0 cached) in 00:00:00.
E: Failure("Command ''/usr/bin/ocamlbuild' src/libcryptokit_stubs.a src/dllcryptokit_stubs.so src/cryptokit.cma src/cryptokit.cmxa src/cryptokit.a src/cryptokit.cmxs -tag debug' terminated with error code 10")
make: *** [Makefile:7: build] Ошибка 1
==> ОШИБКА: Произошел сбой в build().
Прерывание...
==> ОШИБКА: Makepkg не смог собрать ocaml-cryptokit.
==> Перезапустить сборку ocaml-cryptokit ? да/Нет [y/N]
==> ---------------------------------------------------
sihosi1812 commented on 2020-10-06 12:18 (UTC)
I get this error when building ocaml-cryptokit
, any possible mistakes I made?
+ /usr/bin/ocamlopt.opt unix.cmxa -I /usr/lib/ocaml/ocamlbuild /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
File "myocamlbuild.ml", line 1:
Error: Files /usr/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa
and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Stdlib__sys
Command exited with code 2.
E: Failure("Command ''/usr/bin/ocamlbuild' src/libcryptokit_stubs.a src/dllcryptokit_stubs.so src/cryptokit.cma src/cryptokit.cmxa src/cryptokit.a src/cryptokit.cmxs -tag debug' terminated with error code 10")
make: *** [Makefile:7: build] Error 1
I see egyptianbman is having a similar issue: https://aur.archlinux.org/packages/google-drive-ocamlfuse/#comment-766933
pricechrispy commented on 2020-10-04 16:48 (UTC)
Note: package is maintained, 0.7.22 is the latest release. Each PKGBUILD change I test on a fresh build system. If you are having problems building on a dirty system, others have posted their workarounds, so please look for those and try the solutions posted. If you are having problems building with a 3rd party AUR helper, that is not the supported AUR way to build. It's up to you and other users of the tool to figure out workarounds for that. If none of those apply, and the build is broken for you, post the full package build and installation console log and I will compare on my end to validate this package still builds on an updated AUR environment.
egyptianbman commented on 2020-09-22 18:34 (UTC)
Build currently fails with the following:
==> Starting build()...
File "_none_", line 1:
Error: Files /usr/lib/ocaml/dune-configurator/configurator.cmxa
and /usr/lib/ocaml/stdlib.cmxa
make inconsistent assumptions over implementation Stdlib__sys
Done: 98/117 (jobs: 1)==> ERROR: A failure occurred in build().
Aborting...
error: target not found: ocaml-sexplib0
error: target not found: ocaml-base-git
error: target not found: ocaml-pcre
error: target not found: cppo
error: target not found: ocaml-mmap
error: target not found: ocaml-ocplib-endian
error: target not found: ocaml-seq
error: target not found: ocaml-ppx_derivers-git
error: target not found: ocaml-migrate-parsetree
error: target not found: ocaml-ppx_tools_versioned
error: target not found: ocaml-react
error: target not found: ocaml-lwt
error: target not found: ocaml-stdlib-shims
error: target not found: ocaml-ounit
static_n00b commented on 2020-08-31 23:51 (UTC)
Output of ls -la /usr/lib/ocaml/camlidl
:
total 32
drwxr-xr-x 2 root root 4096 1 set 01.32 .
drwxr-xr-x 76 root root 24576 1 set 01.24 ..
lrwxrwxrwx 1 root root 20 1 set 01.32 com.a -> /usr/lib/ocaml/com.a
lrwxrwxrwx 1 root root 23 1 set 01.31 com.cmxa -> /usr/lib/ocaml/com.cmxa
-rw-r--r-- 1 root root 119 2 giu 18.26 META
(no symlinks are stale)
Output of cat /usr/lib/ocaml/camlidl/META
:
description = "Stub generator"
version = "1.06"
directory = "^"
archive(byte) = "com.cma"
archive(native) = "com.cmxa"
(seems OK)
Output of pacaur -Syu google-drive-ocamlfuse
:
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
sublime-text is up to date
:: Starting full system upgrade...
there is nothing to do
:: Package google-drive-ocamlfuse not found in repositories, trying AUR...
:: Starting AUR upgrade...
:: resolving dependencies...
:: looking for inter-conflicts...
AUR Packages (1) google-drive-ocamlfuse-0.7.22-1
:: Proceed with installation? [Y/n]
:: Retrieving package(s)...
update complete: /home/skrondo/.cache/pacaur/google-drive-ocamlfuse
:: Checking google-drive-ocamlfuse integrity...
==> Making package: google-drive-ocamlfuse 0.7.22-1 (mar 1 set 2020, 01:32:25)
==> Retrieving sources...
-> Found v0.7.22.tar.gz
==> Validating source files with sha256sums...
v0.7.22.tar.gz ... Passed
:: Preparing google-drive-ocamlfuse...
==> Making package: google-drive-ocamlfuse 0.7.22-1 (mar 1 set 2020, 01:32:27)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
-> Found v0.7.22.tar.gz
==> WARNING: Skipping all source file integrity checks.
==> Extracting sources...
-> Extracting v0.7.22.tar.gz with bsdtar
==> Sources are ready.
:: Building google-drive-ocamlfuse package(s)...
==> Making package: google-drive-ocamlfuse 0.7.22-1 (mar 1 set 2020, 01:32:31)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
File "_none_", line 1:
Error: The file /usr/lib/ocaml/com.cmxa is not a compilation unit description
Done: 147/151 (jobs: 1)==> ERROR: A failure occurred in build().
Aborting...
:: failed to build google-drive-ocamlfuse package(s)
(every other ocaml-* package i've installed gave no problem)
No more ideas :-(
electra commented on 2020-05-08 21:16 (UTC)
Not install/ I get this: No such package: topkg File "./pkg/pkg.ml", line 4, characters 5-10: 4 | open Topkg ^^^^^ Error: Unbound module Topkg ==> ОШИБКА: Произошел сбой в build().
Frawg commented on 2020-01-31 21:59 (UTC) (edited on 2020-01-31 22:13 (UTC) by Frawg)
While building on a fresh install I'm getting the below error:
==> Starting build()...
camlidl lib/Fuse_bindings.{h,ml,mli},lib/Fuse_bindings_stubs.c (exit 2)
(cd _build/default/lib && /usr/bin/camlidl -header Fuse_bindings.idl)
Fatal error: the file '/usr/bin/camlidl' has not the right magic number: expected Caml1999X026, got Caml1999X023
discover lib/camlidl.libs.sexp,lib/fuse.cflags.sexp,lib/fuse.libs.sexp
[WARNING] File /usr/bin/ocamlc, which package ocaml-system.4.07.0 depends upon, was changed on your system. ocaml-system has been marked as removed, and will be reinstalled if necessary.
==> ERROR: A failure occurred in build().
Aborting...
nerflad commented on 2020-01-04 02:41 (UTC)
hey chris, FYI, I have disowned all the ocaml packages I maintained for years because I don't use this software anymore and don't have time to keep working on them. A few of them need a lot of work. Sorry to dump this on you.
gapi-ocaml ocaml-biniou ocaml-curl ocaml-easy-format ocaml-extlib ocaml-ounit ocaml-yojson
MokkeMeguru commented on 2019-10-17 23:53 (UTC)
@jdegreef
If you got the error like this when you run opam init
.
# bwrap: No permissions to creating new namespace, likely because the kernel does not allow non-privileged user namespaces. On e.g. debian this can be enabled with 'sysctl kernel.unprivileged_userns_clone=1'.
I think, your problem is because of kernel version. ref https://github.com/containers/bubblewrap/issues/324
jdegreef commented on 2019-10-17 22:00 (UTC) (edited on 2019-10-17 22:48 (UTC) by jdegreef)
@MokkeMeguru I've refused that the install script modify my ./(bash_)profile but as I made everything in the same window it doesn't matter. And you know what ? I knew zero about opanm/ocaml, I just wanted to have google-drive-ocamlfuse running and since a few months using it from aur is a pin in the ass. Today I discovered that opam is a little bit as pip and it don't need Arch packages. But that's off topic ;)
MokkeMeguru commented on 2019-10-17 21:35 (UTC) (edited on 2019-10-17 21:38 (UTC) by MokkeMeguru)
@jdegreef Can you check your ~/.bash_profile ? If you tried my solution correctly, Your ~/.bash_profile will have below lines.
# ...
# opam configuration
test -r /home/meguru/.opam/opam-init/init.sh && . /home/meguru/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
My idea and your idea are nealy the same, I think.
And also, my google-drive-ocamlfuse is installed in /home/meguru/.opam/ocaml-4.09.0/bin/google-drive-ocamlfuse
jdegreef commented on 2019-10-17 20:16 (UTC) (edited on 2019-10-17 20:28 (UTC) by jdegreef)
@MokkeMeguru OR, forget about all ocaml Arch packages which are broken at every update, and install ocalm packages from opam (https://opam.ocaml.org/). That's the way I'll follow from now on. Everything is installed into ~/.opam without having any impact on the whole system.
MokkeMeguru commented on 2019-10-16 12:53 (UTC)
Because of https://aur.archlinux.org/packages/ocaml-base/ ,(https://aur.archlinux.org/packages/ocaml-base/#comment-711397) This build is failed.
Please update dependencies ... (or wait a month to update the package ocaml-base)
jdegreef commented on 2019-10-13 18:43 (UTC)
Same problem here in a clean chroot environment.
esturiano commented on 2019-10-12 14:07 (UTC)
File "compiler-stdlib/gen/gen.ml", line 59, characters 33-51: 59 | let toc = (input_value ic : Cmo_format.library) in ^^^^^^^^^^^^^^^^^^ Error: Unbound module Cmo_format File "compiler-stdlib/gen/gen.ml", line 59, characters 33-51: 59 | let toc = (input_value ic : Cmo_format.library) in ^^^^^^^^^^^^^^^^^^ Error: Unbound module Cmo_format
getting this too.
nixit commented on 2019-10-12 03:18 (UTC)
trying to install and am getiting this:
==> Starting build()... File "compiler-stdlib/gen/gen.ml", line 59, characters 33-51: 59 | let toc = (input_value ic : Cmo_format.library) in ^^^^^^^^^^^^^^^^^^ Error: Unbound module Cmo_format ==> ERROR: A failure occurred in build(). Aborting...
any idea.
--nixit
Pfizi commented on 2019-09-16 15:13 (UTC)
Requires gapi-ocaml>=0.3.15, but this is not available yet.
pricechrispy commented on 2019-09-16 03:40 (UTC)
Missing packages were added back to the AUR and the package builds. Updated to latest tagged release. Note this requires gapi-ocaml>=0.3.15
PPlatypus commented on 2019-09-06 01:06 (UTC)
Will no longer build - gapi-ocaml is broken - (ocaml-yojson is no longer available)
somakd commented on 2019-07-10 18:59 (UTC) (edited on 2019-07-10 19:02 (UTC) by somakd)
I'm getting an error (using latest pamac on manjaro)
==> Validating source files with sha256sums... v0.7.4.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources... -> Extracting v0.7.4.tar.gz with bsdtar
==> Starting build()...
File "none", line 1:
Error: Files /usr/lib/ocaml/cryptokit/cryptokit.cmxa
and /usr/lib/ocaml/zarith/zarith.cmxa
make inconsistent assumptions over interface Z
==> ERROR: A failure occurred in build(). Aborting...
jdegreef commented on 2019-06-29 12:15 (UTC)
@nixit : great, it works perfectly :)
I've used this command to completely remove ocaml* :
sudo pacman -Rdd $(pacman -Q | grep ocaml | cut -f 1 -d " ")
dd is used to not check dependencies. Use with caution if you have other programs using ocaml. You'll need to reinstall them as well.
nixit commented on 2019-06-27 22:33 (UTC)
I was able to get this working again by completely removing ocaml* from my system and performing a complete reinstall of google-drive-ocamlfuse, rebuilding the packages in the process.
this is now working like a champ for me. :)
jdegreef commented on 2019-05-27 22:22 (UTC) (edited on 2019-05-27 22:24 (UTC) by jdegreef)
Well, I have the feeling ocalm is a big mess. Each time you update google-drive-ocamlfuse it's broken. I've read all your comments but cannot figure out how to install google-drive-ocamlfuse without messing my system which is uptodate. It seems it needs stuff that are not in ARCH or AUR (yet ?). I don't want to add updated libraries that are not stock Arch/Aur and break something else. I think updates of packages should be build-able with what's in Aurch/Aur or wait that all what is necessary is available with yay/pacman/yaourt before being released. Don't take it bad, I like your work... when it works ;) In between I'll switch to rclone :-)
nixit commented on 2019-05-27 18:17 (UTC)
@pricechrispy,
I'm confused on how I apply this to get google-drive-ocamlfuse installed?
pricechrispy commented on 2019-03-17 23:29 (UTC)
I suppose it is possible to provide prebuilt packages on each version bump? There's about 20 in total. Not sure if this is desirable.
willemw commented on 2019-03-10 06:52 (UTC)
Have you tried google-drive-ocamlfuse-opam? It uses the OCaml package manager.
jdegreef commented on 2019-03-09 23:23 (UTC)
I agree with @gudwin this really a p.. in the a.. :-/ Anyway thanks for your work but a solution would be really welcome....
gudwin commented on 2019-03-08 23:10 (UTC)
Every time there is an update in this package, it brings me a strong headache in order to rebuild it through AUR in pamac. This happens because usually there is a new version of ocaml and all the .cmi files for the many sub-packages it depends on became obsolete, but are not automatically reconstructed, giving messages like this:
File "src/utils.ml", line 1: Error: /usr/lib/ocaml/Fuse/Fuse.cmi is not a compiled interface for this version of OCaml. It seems to be for an older version of OCaml.
Then I need to enter into a tedious process of going dependency by dependency and asking it to be rebuild in order to avoid such errors. In some cases, there are dependencies on dependencies that repeats the same problem. Last time it took me more than 4 hours doing it package by package by hand, until the new version is able to be compiled. Isn't there a way of avoiding this obnoxious procedure ?
sucre commented on 2019-01-15 19:25 (UTC)
tambeta updated ocaml-sqlite3 to 4.4.1-1, for now this package can be build again.
woodyl commented on 2018-12-22 22:03 (UTC)
I'm having the same problem as @DroidFreak32 and @sfranchi. I can't build this package because it depends on ocaml-sqlite3. I see that ocaml-sqlite3 is now out of date and the maintainer comments that he doesn't have time to fix it and it's now orphaned. Does anybody have a suggestion for a a work-around?
sfranchi commented on 2018-12-20 14:03 (UTC) (edited on 2018-12-20 14:03 (UTC) by sfranchi)
I'm having the same problem as @DroidFreak32, package does not build because (I think) of older versions of ocaml packages.
DroidFreak32 commented on 2018-12-12 10:14 (UTC)
Im having errors compiling this:
==> Starting build()...
ocamlopt src/.google_drive_ocamlfuse.objs/dbCache.{cmx,o} (exit 2)
(cd _build/default && /usr/sbin/ocamlopt.opt -w -40 -w -3-27-32-58 -g -I src/.google_drive_ocamlfuse.objs -I src/.google_drive_ocamlfuse.objs/.private -I /usr/lib/ocaml/Fuse -I /usr/lib/ocaml/biniou -I /usr/lib/ocaml/bytes -I /usr/lib/ocaml/cryptokit -I /usr/lib/ocaml/curl -I /usr/lib/ocaml/easy-format -I /usr/lib/ocaml/extlib -I /usr/lib/ocaml/gapi-ocaml -I /usr/lib/ocaml/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/sqlite3 -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -intf-suffix .ml -no-alias-deps -o src/.google_drive_ocamlfuse.objs/dbCache.cmx -c -impl src/dbCache.ml)
File "src/dbCache.ml", line 1:
Error: /usr/lib/ocaml/sqlite3/sqlite3.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
==> ERROR: A failure occurred in build().
Aborting...
Error making: google-drive-ocamlfuse
ValHue commented on 2018-09-24 16:45 (UTC) (edited on 2018-09-24 16:45 (UTC) by ValHue)
Error: Library "zarith" not found.
-> required by library "cryptokit" in /usr/lib/ocaml/cryptokit
Hint: try: dune external-lib-deps --missing @install
sfranchi commented on 2018-09-05 14:45 (UTC)
Just in case someone is encountering the same problem I had with building the ocamlnet dependency (see my previous comment): it turned out that building most of its dependencies individually (ocaml base, ocam-pcre, etc.) before trying to build ocamlnet solved the problem for me.
sfranchi commented on 2018-03-28 15:38 (UTC)
One more issue: the dependency ocamlnet does not build either. According to the AUR comment of 11/27/2017 it requires a downgrade of the the nettle package to 3.3.1
eyalbd commented on 2018-02-16 18:28 (UTC)
Updating the package after ocaml update requires recompiling all dependencies. Is there any way of stipulating that in the package instead of going manually reinstalling all the dependencies?
tweerwag commented on 2018-02-05 09:59 (UTC) (edited on 2018-02-05 10:00 (UTC) by tweerwag)
For the Error: External library "camlidl" not found.
, see my comment on camlidl.
skalkoto commented on 2018-02-04 11:43 (UTC)
ocamlc src/oauth2.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /bin/ocamlc.opt -w -40 -g -bin-annot -I /usr/lib/ocaml -I /usr/lib/ocaml/Fuse -I /usr/lib/ocaml/biniou -I /usr/lib/ocaml/bytes -I /usr/lib/ocaml/cryptokit -I /usr/lib/ocaml/curl -I /usr/lib/ocaml/easy-format -I /usr/lib/ocaml/extlib -I /usr/lib/ocaml/gapi-ocaml -I /usr/lib/ocaml/netstring -I /usr/lib/ocaml/netsys -I /usr/lib/ocaml/sqlite3 -I /usr/lib/ocaml/threads -I /usr/lib/ocaml/yojson -I /usr/lib/ocaml/zarith -no-alias-deps -I src -o src/oauth2.cmo -c -impl src/oauth2.ml)
File "src/oauth2.ml", line 1:
Error: The files /usr/lib/ocaml/gapi-ocaml/gapiDriveV2Service.cmi
and src/gaeProxy.cmi make inconsistent assumptions
over interface Yojson
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build google-drive-ocamlfuse.
Any clue?
olsonpm commented on 2018-02-03 18:29 (UTC) (edited on 2018-02-03 18:30 (UTC) by olsonpm)
@ginoboy - check the top pinned post. Also, that issue is unfortunately out of this maintainer's hands.
ginoboy commented on 2018-02-03 11:36 (UTC)
Error: External library "camlidl" not found.
olsonpm commented on 2018-02-03 03:52 (UTC)
Thanks much @pricechrispy - honestly it was just confusing because the aur website made it obvious it knew what the alternative was (dune or *-git) however yaourt would just exit saying it couldn't find the resource. I expected the client to understand that jbuilder was renamed and to install accordingly.
pricechrispy commented on 2018-02-03 02:23 (UTC) (edited on 2018-02-03 02:24 (UTC) by pricechrispy)
@olsonpm Yes, you are correct. I had been waiting patiently for this name switch to propagate to the AUR package. This is now merged.
@Mech2 Thanks for that tip. Hopefully the maintainer of the camlidl package will attempt to make these necessary changes.
olsonpm commented on 2018-02-02 22:31 (UTC)
I'm not very familiar with aur, but I think the 'jbuilder' makedepends line needs to be changed to 'dune' (to account for its renaming)
commented on 2018-01-27 18:23 (UTC)
Another way to fix the META file not installed properly I reinstalled camlidl and changed:
install -Dm644 ${srcdir}/META.camlidl ${pkgdir}/${_ocamldir}/${pkgname}/META
to
install -Dm644 ${srcdir}/META.camlidl ${_ocamldir}/${pkgname}/META
in PKGBUILD. $pkgdir is already prepended to $_ocamldir so so theres no need for it in the install command.
pricechrispy commented on 2018-01-27 00:47 (UTC) (edited on 2018-01-27 00:51 (UTC) by pricechrispy)
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 2018-01-08 04:39 (UTC)
@nerflad @sylvr Yes it was, this is now added, thanks!
sylvr commented on 2018-01-05 13:35 (UTC)
This package is missing a dependency to ocaml-ounit.
Could you fix it please ?
nerflad commented on 2018-01-03 07:30 (UTC)
Please add ocaml-ounit to makedepends.
Pinned Comments
pricechrispy commented on 2018-01-27 00:47 (UTC) (edited on 2018-01-27 00:51 (UTC) by pricechrispy)
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
pricechrispy commented on 2017-04-25 17:39 (UTC) (edited on 2017-06-03 18:32 (UTC) by pricechrispy)
pricechrispy commented on 2016-11-17 10:46 (UTC) (edited on 2017-06-03 18:34 (UTC) by pricechrispy)