Package Details: ocaml-cryptokit 1.13-1

Git Clone URL: (read-only)
Package Base: ocaml-cryptokit
Description: Cryptographic primitives for OCaml
Upstream URL:
Licenses: LGPL
Submitter: None
Maintainer: oriba
Last Packager: oriba
Votes: 57
Popularity: 0.191532
First Submitted: 2009-12-31 17:31
Last Updated: 2018-01-25 17:06

Latest Comments

radek_r commented on 2017-09-30 12:01

Please add achitecture "armv7h" to the PKGBUILD.

zwastik commented on 2017-04-21 03:43

I am having the exact same problem described here. I rebuilded zarith again (which did not make much sense because I had just builded and installed it some minutes ago for the first time but whatever) and installed it but the same error message keeps popping up.
I have an intel processor (sandy bridge).
Any ideas? thx

oriba commented on 2017-01-02 00:27

Tried to build ocaml-cryptokit and got errors.
Needed to rebuild and install zarith.
Then tried making ocaml-cryptokit again and package could be created.
Which kind of processor do you have?
Maybe it's not working on certain architectures?

rigelk commented on 2017-01-01 23:21

Still the same error as colorprint and WeirdJules here… I’m scratching my head around the issue but rebuilding zarith is of no use, even after installing ocamlbuild as pointed out in the previous answers.

WeirdJules commented on 2016-12-06 23:24

I'm having trouble getting it to work. I've tried rebuilding zarith but I'm still getting an error like colorprint.

/usr/bin/ld: /usr/lib/ocaml/libasmrun.a(startup.o): relocation R_X86_64_32S against symbol `caml_data_segments' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
File "caml_startup", line 1:
Error: Error during linking
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/ 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 don't know how zarith could've been built with the wrong version of OCaml. I've only ever had 4.04 installed.

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

< 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.

All comments