Package Details: ocaml-cryptokit 1.19-1

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: pricechrispy
Last Packager: pricechrispy
Votes: 63
Popularity: 0.000000
First Submitted: 2009-12-31 17:31 (UTC)
Last Updated: 2024-02-26 06:27 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

ldr709 commented on 2022-08-24 23:30 (UTC)

The following patch seems to fix it.

index 3fdf80c..02f3e05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -28,7 +28,7 @@ build() {

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

hectorconte commented on 2022-07-23 16:30 (UTC) (edited on 2022-07-23 16:31 (UTC) by hectorconte)

HI, I was getting this:


==> Entering fakeroot environment...  
==> Starting package()...
dune install: option `--libdir': the path must be absolute to avoid ambiguity
Usage: dune install [OPTION]... [PACKAGE]...
Try `dune install --help' or `dune --help' for more information.
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: ocaml-cryptokit

So I just modified the PKGBUILD package() from this:


package() {
    cd cryptokit-"${_srcname}"
    DESTDIR="$pkgdir" dune install --prefix "/usr" --libdir "lib/ocaml" -p>
    install -dm755 "${pkgdir}/usr/share"
    mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share"
}
To this (basically added "/usr/"):


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

Just sharing this in case anyone else was lost like me.

oriba commented on 2022-05-14 00:31 (UTC)

@webdawg: would you like to pick up the module? I could orphan it, if you wish.

webdawg commented on 2022-05-13 14:17 (UTC)

Still getting this today:

==> Extracting sources... -> Extracting gapi-ocaml-0.3.19.tar.gz with bsdtar ==> Sources are ready. ==> Making package: gapi-ocaml 0.3.19-2 (Fri 13 May 2022 10:13:42 AM EDT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Removing existing $pkgdir/ directory... ==> Starting build()... ==> Entering fakeroot environment...
==> Starting package()... [WARNING] Running as root is not recommended Installing /usr/lib/ocaml/gapi-ocaml/META Error: mkdir(/usr/lib/ocaml/gapi-ocaml): Permission denied ==> ERROR: A failure occurred in package(). Aborting... -> error making: gapi-ocaml

oriba commented on 2021-10-31 18:01 (UTC)

@Morta: there is no ocaml package on AUR.

Morta commented on 2021-10-30 18:22 (UTC)

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 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

@mayakandersen: I can not reproduce this problem.