Package Details: ocaml-cryptokit 1.161-2

Git Clone URL: https://aur.archlinux.org/ocaml-cryptokit.git (read-only, click to copy)
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: 65
Popularity: 0.057221
First Submitted: 2009-12-31 17:31
Last Updated: 2021-10-30 15:48

Latest Comments

1 2 3 4 Next › Last »

oriba commented on 2021-10-31 18:01

@Morta: there is no ocaml package on AUR.

Morta commented on 2021-10-30 18:22

Seems not to run with actual version of ocaml from AUR. I hope ocaml will get a upgrade soon.

oriba commented on 2021-10-30 15:47

Sorry that it took so long to response here. Thanks to getzze for the fix. Thanks janheidbrink for reminding me that it exists. Will soon place the new package version here, even though makepkg throws a warning. Maybe fixing that issue later.

janheidbrink commented on 2021-10-30 09:57

@oriba The changed dune install line from @getzze fixes the build on my machine (tested using extra-x86_64-build -c). What do you think of updating the PKGBUILD of this package?

getzze commented on 2021-10-01 10:23

I got the same error as @snakeroot and I managed to build the package using their modification. Here is a full modified PKGBUILD (with some other improvements): https://gist.github.com/getzze/6d4be0bdad2180ffb8381d0cbf78fa79

oriba commented on 2021-09-19 19:15

@mayakandersen: I can not reproduce this problem.

mayakandersen commented on 2021-09-18 14:51

I'm getting this error:


ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
sudo: der kræves en adgangskode

"der kræves en adgangskode" is a danish text. It rougly translates to "a password is required"

snakeroot commented on 2021-06-26 01:24

Thanks @souravdas. Unfortunately, that resulted in some weird side effects like neither pacman nor ocaml knowing about the files installed by the PKGBUILD.

I deleted the files manually and was able to get it working by copypasta-ing the commands from the Ocaml packaging guidelines page in the Wiki.

As tweaked, the package() section now reads:

package() {
    cd cryptokit-release1161
    DESTDIR="$pkgdir" dune install --prefix "/usr" --libdir "lib/ocaml" -p cryptokit
    install -dm755 "${pkgdir}/usr/share"
    mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share"
}

souravdas142 commented on 2021-06-16 14:59

@snakeroot below is a workaround, and may be its not a solution, Edit the PKGBUILD and append sudo before dune install

package() {
    cd cryptokit-release1161
    sudo dune install -p cryptokit
}

snakeroot commented on 2021-06-12 15:04

1.161-1 fails in package() with:

      ==> Starting package()...
        opam (internal)
        [WARNING] Running as root is not recommended
       [ERROR] Opam has not been initialised, please run `opam init'
        Deleting /usr/lib/ocaml/cryptokit/META
      Error: Permission denied  
      Installing /usr/lib/ocaml/cryptokit/META 
      Error: /usr/lib/ocaml/cryptokit/META: Permission denied
      ==> ERROR: A failure occurred in package().
         Aborting...