Package Details: ocamlfuse 2.7.1-6

Git Clone URL: https://aur.archlinux.org/ocamlfuse.git (read-only)
Package Base: ocamlfuse
Description: An ocaml binding for fuse.
Upstream URL: http://sourceforge.net/apps/mediawiki/ocamlfuse
Licenses: GPL2
Submitter: hobarrera
Maintainer: jkl
Last Packager: jkl
Votes: 13
Popularity: 0.794064
First Submitted: 2013-08-20 05:04
Last Updated: 2016-06-03 22:33

Latest Comments

hexchain commented on 2016-06-04 05:22

Thanks! Tried building google-drive-ocamlfuse and it worked great!

jkl commented on 2016-06-03 22:37

@hexchain Try it now, let me know if it works.

hexchain commented on 2016-06-01 14:57

Coming from google-drive-ocamlfuse...
It seems like "ocamlfind query" does not search for /usr/lib/ocaml/site-lib, so that package fails to compile. Removing "site-lib" segment from paths in package() seems to solve the problem.

liambluebox commented on 2016-03-03 05:24

Any idea why I'm getting this error:
==> Extracting sources...
-> Extracting ocamlfuse-2.7.1_cvs2.tar.gz with bsdtar
==> Starting build()...
camlidl -header \
Fuse_bindings.idl
Fatal error: the file '/usr/bin/camlidl' is not a bytecode executable file
../OCamlMakefile:1008: recipe for target 'Fuse_bindings.mli' failed
make: *** [Fuse_bindings.mli] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build ocamlfuse.

lesebas commented on 2015-10-08 06:43

The SSL certificat have been updated, it works fine now!

lesebas commented on 2015-10-07 06:53

I can't download the archive :

0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0curl: (60) SSL certificate problem: certificate has expired
More details here: http://curl.haxx.se/docs/sslcerts.html

...

==> ERREUR : Erreur lors du téléchargement de ocamlfuse-2.7.1_cvs2.tar.gz
Abandon...

Maybe it could be simpler to use the following URL which don't intergrate any certificate :

http://heanet.dl.sourceforge.net/project/ocamlfuse/ocamlfuse/2.7/ocamlfuse-2.7-1.tar.gz

Edit : I manage to rebuilt it by dowloading the package from my webbrowser and copying it manualy in the temp package directory.

jkl commented on 2015-03-12 16:37

Yep, ocaml packages outside of opam don't really work with pacman since there is no way to coordinate everyone maintaining the releases in step with ABI compatibility. Either assume you have to rebuild almost everything when ocaml changes, or use opam.
There was a minor "cvs2" update so I have applied that.

Nowaker commented on 2015-03-11 20:49

Okay, I rebeuilt ocaml-curl and now it works.

Nowaker commented on 2015-03-11 20:45

Doesn't build.

jkl commented on 2014-09-15 07:01

@lesto, sorry about this but it is not the fault of this package. The ocaml-curl maintainer forcibly removed staticlibs in options in the PKGBUILD, so you will have to override that. extlib does not have staticlibs in its options so that will have to be overridden.

lesto commented on 2014-09-13 10:37

+ /usr/bin/ocamlfind ocamlopt -g -linkpkg -package Fuse -package camlidl -package gapi-ocaml -package sqlite3 -package threads -thread src/appDir.cmx src/utils.cmx src/config.cmx src/cache.cmx src/concurrentGlobal.cmx src/keyValueStore.cmx src/state.cmx src/context.cmx src/gaeProxy.cmx src/mime.cmx src/oauth2.cmx src/drive.cmx src/gdfuse.cmx -o src/gdfuse.native
gcc: error: /usr/lib/ocaml/curl/curl.a: File o directory non esistente
gcc: error: /usr/lib/ocaml/extlib/extLib.a: File o directory non esistente
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.

hobarrera commented on 2014-07-13 07:22

Haven't used this in ages: disowning.

hobarrera commented on 2014-07-12 23:50

Maybe your browser is caching an old version.

lesebas commented on 2014-07-12 17:54

I've check the PKGBUILD... very strange if I download the tarball the PKGBUILD is up to date, if I click on the direct link it's different:


https://aur.archlinux.org/packages/oc/ocamlfuse/PKGBUILD

Many thanks for your support!

hobarrera commented on 2014-07-12 17:04

@lesebas:
Out-of-date means, as common sense dictates, that the packages is for an out-of-date version.
If there's an issue with the PKGBUILD not working, just post that as a comment (or send an email, as you prefer).
Out-of-date does NOT mean "the package is not functional". Please try to use common sense in future.

Finally, the staticlibs option was added two days before you flagged it/your comment. Please at least bother to look at the PKGBUILD before complaining next time.

lesebas commented on 2014-07-12 15:28

Yes it's out-of-date as the package is not functional without the staticlibs option. Just add this line in your pkgbuild and update it :

options=(staticlibs)

willemw commented on 2014-07-10 06:54

@hobarrera: I agree with lesebas and with the Arch Linux suggestion in https://www.archlinux.org/todo/remove-static-libraries/:
The static library issue needs to be solved in the relevant AUR PKGBUILD file(s), not locally in the /etc/makepkg.conf file.

hobarrera commented on 2014-07-09 21:40

Package is not out-of-date: latest is 2.7.1. Unflagging.

lesebas commented on 2014-07-09 19:28

Please correct the PKGBUILD to include the saticlibs option as suggested here (and as other packages need this static library as dependency to build correctly):

https://www.archlinux.org/todo/remove-static-libraries/

hobarrera commented on 2014-05-04 18:04

I'm dropping this package. I don't have the time to maintain it, and have really no idea why it won't build/how to fix it.

nfishr commented on 2014-05-03 20:07

Is this still maintained? The package-build is still broken. And its flagged out-of-date since 12-2013.

lesebas commented on 2014-03-29 09:16

Same problem for me... the PKGBUILD proposed by ingamedeo finaly works.

@hobarrera Please update the package.

Note : I use this package as dependency of google-drive-ocamlfuse that required static library... don't forget to change the OPTIONS line in you /etc/makepkg.conf from '!staticlibs' to 'staticlibs'.

thirtythreeforty commented on 2014-03-27 05:53

I've tried all these tricks, and none of them work for me. Could the maintainer please update this to make it build correctly?

jkl commented on 2014-03-14 03:02

So INCDIR seems to be completely wrong. Unless I did not notice something, that variable name is not even used. INCDIRS is correct, and adding the stublibs directory is not correct.
Simply:
make -C lib INCDIRS=/usr/lib/ocaml/camlidl
to add the additional include path should do the trick.

ingamedeo commented on 2013-12-13 12:56

I tried the INCDIR fix, but it's not working for me (maybe I'm not doing it right)
Amyway I just copied the files over... this is a working PKGBUILD http://pastebin.com/NKJ2Yhb0

adfellin commented on 2013-12-02 22:17

You can also fix this by updating the PKGBUILD:

Just change the INCDIR=... argument to `make` to INCDIRS='/usr/lib/ocaml/stublibs /usr/lib/ocaml/camlidl'.

i.e.:
17 make -C lib INCDIRS='/usr/lib/ocaml/stublibs /usr/lib/ocaml/camlidl'

flaccid commented on 2013-11-29 02:09

@hobarrera are you able to update the package instead of needing the temp hack below?

LucidComplex commented on 2013-11-17 14:47

Did the temp hack by calucian, it works.

However, another error pops up:

Finished, 0 targets (0 cached) in 00:00:00.
+ ocamlfind ocamlopt -g -linkpkg -package threads -package sqlite3 -package gapi-ocaml -package Fuse -thread src/appDir.cmx src/utils.cmx src/config.cmx src/cache.cmx src/concurrentGlobal.cmx src/keyValueStore.cmx src/state.cmx src/context.cmx src/gaeProxy.cmx src/mime.cmx src/oauth2.cmx src/drive.cmx src/gdfuse.cmx -o src/gdfuse.native
gcc: error: /usr/lib/ocaml/site-lib/Fuse/Fuse.a: No such file or directory
gcc: error: /usr/lib/ocaml/gapi-ocaml/gapi-ocaml.a: No such file or directory
gcc: error: /usr/lib/ocaml/cryptokit/cryptokit.a: No such file or directory
gcc: error: /usr/lib/ocaml/curl/curl.a: No such file or directory
gcc: error: /usr/lib/ocaml/netstring/netstring.a: No such file or directory
gcc: error: /usr/lib/ocaml/netsys/netsys.a: No such file or directory
gcc: error: /usr/lib/ocaml/netsys/netsys_oothr_mt.a: No such file or directory
gcc: error: /usr/lib/ocaml/extlib/extLib.a: No such file or directory
gcc: error: /usr/lib/ocaml/sqlite3/sqlite3.a: No such file or directory
File "caml_startup", line 1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 40 targets (39 cached) in 00:00:00.
E: Failure("Command ''/usr/bin/ocamlbuild' src/gdfuse.native -tag debug' terminated with error code 10")
==> ERROR: A failure occurred in build().
Aborting...

Checked the directories, there were indeed not there.
Any ideas?

calucian commented on 2013-11-07 19:06

The problem is that ocamlfuse does not find the "Com" module, which should be installed by camlidl.

temporary hack: copy com.* from /usr/lib/ocaml/camlidl to the source directory where ocamlfuse is being built.

Shelvak commented on 2013-11-05 07:31

I have the same problem that "gourdcaptain"... How we can fix this?

gourdcaptain commented on 2013-11-04 22:35

Build fails with the errors:
File "Fuse_bindings.mli", line 37, characters 8-23:
Error: Unbound module Com
../OCamlMakefile:933: recipe for target 'Fuse_bindings.cmi' failed
make[1]: *** [Fuse_bindings.cmi] Error 2
make[1]: Leaving directory '/tmp/yaourt-tmp-gourdcaptain/aur-ocamlfuse/src/ocamlfuse-2.7.1-cvs/lib'
../OCamlMakefile:716: recipe for target 'byte-code-library' failed
make: *** [byte-code-library] Error 2
make: *** Waiting for unfinished jobs....
ocamlc -c -thread Fuse_bindings.mli
File "Fuse_bindings.mli", line 37, characters 8-23:
Error: Unbound module Com
../OCamlMakefile:933: recipe for target 'Fuse_bindings.cmi' failed
make[1]: *** [Fuse_bindings.cmi] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/tmp/yaourt-tmp-gourdcaptain/aur-ocamlfuse/src/ocamlfuse-2.7.1-cvs/lib'
../OCamlMakefile:725: recipe for target 'native-code-library' failed
make: *** [native-code-library] Error 2
make: Leaving directory '/tmp/yaourt-tmp-gourdcaptain/aur-ocamlfuse/src/ocamlfuse-2.7.1-cvs/lib'

Any suggestions?

hobarrera commented on 2013-10-02 13:24

Done, thanks.

flocke commented on 2013-10-02 08:04

You have to change the dep from ocamlfind (does not exist) to ocaml-findlib.
With this it builds fine.