Package Details: ocaml-cryptokit 1.11-2

Git Clone URL: https://aur.archlinux.org/ocaml-cryptokit.git (read-only)
Package Base: ocaml-cryptokit
Description: Cryptographic primitives for OCaml
Upstream URL: http://pauillac.inria.fr/~xleroy/software.html#cryptokit
Licenses: LGPL
Submitter: None
Maintainer: oriba
Last Packager: oriba
Votes: 48
Popularity: 0.866162
First Submitted: 2009-12-31 17:31
Last Updated: 2016-11-04 18:43

Dependencies (6)

Required by (4)

Sources (1)

Latest Comments

nerflad commented on 2016-11-04 19:04

Thanks, rebuilding zarith fixed the error for me.

oriba commented on 2016-11-04 18:43

Addingn ocamlbuild to makdepends is what I already did, but I did not pushed it.
installing ocamlbuild did not solve the problem, that since OCaml 4.03 the package does not compile anymore, weven with ocamlbuild installed.

But I found the problem.
Error message is not very detailed.
in _build/_log I could locate the problem.
zarith was compiled with older OCaml-version.

So, ocaml-cryptokit now compiles again. Problem solved.

GalacticArachnid commented on 2016-11-04 11:05

I had the same problem when trying to compile, fixed by installing `ocamlbuild`.

I think the following change to PKGBUILD would fix this issue

13c13
< makedepends=('ocaml' 'ocaml-findlib')
---
> makedepends=('ocaml' 'ocaml-findlib', 'ocamlbuild')

oriba commented on 2016-10-31 14:33

Regarding out-of-date-flagging from 2016-10-30:
Asked the dev. about new package release, that will work under new conditions (Ocaml 4.03, ocamlbuild seperated.). Hope to get answer soon.

oriba commented on 2015-09-18 10:11

Tried to compile. Works here.

colorprint commented on 2015-09-18 09:53

Not works.


/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/lib/ocaml/libasmrun.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
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 -classic-display' terminated with error code 10")
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build ocaml-cryptokit.

oriba commented on 2014-12-20 20:51

Warning: the signature is not checked so far.

oriba commented on 2014-01-06 17:05

OK, I adopted the package.

gatonero commented on 2013-10-21 18:25

Would be nice somebody would maintain this package. I need it for google-drive-ocamlfuse. There is an error while building:

ocaml setup.ml -build -classic-display
/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
+ /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 "caml_startup", line 1:
Error: Cannot find file libasmrun.a
Command exited with code 2.
E: Failure("Command '/usr/bin/ocamlbuild src/libcryptokit_stubs.a src/dllcryptokit_stubs.so src/cryptokit.cma src/cryptokit.cmxs src/cryptokit.cmxa src/cryptokit.a test/test.byte -tag debug -classic-display' terminated with error code 10")
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 1

Anonymous comment on 2011-08-30 11:31

I don't use ocaml any more, feel free to take it over.