Package Details: google-drive-ocamlfuse 0.7.22-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: 56
Popularity: 0.094566
First Submitted: 2013-10-14 21:44
Last Updated: 2020-06-09 00:36

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.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

quattro commented on 2020-10-23 12:43

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

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

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

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

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

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

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

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

@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

@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 ;)