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: 62
Popularity: 0.001932
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 »

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 :-(