Package Details: ocaml-mmap 1.2.0-1

Git Clone URL: https://aur.archlinux.org/ocaml-mmap.git (read-only, click to copy)
Package Base: ocaml-mmap
Description: Provides a Mmap.map_file function for mapping files in memory
Upstream URL: https://github.com/mirage/mmap
Keywords: file function library map map_file memory ocaml unix
Licenses: custom:LGPL2.1 with linking exception
Submitter: J5lx
Maintainer: None
Last Packager: dpeukert
Votes: 2
Popularity: 0.000000
First Submitted: 2019-09-11 11:43 (UTC)
Last Updated: 2022-06-16 17:50 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

dpeukert commented on 2022-07-16 20:49 (UTC)

Disowning, as no packages depend on this anymore.

oduesp commented on 2022-06-29 16:45 (UTC) (edited on 2022-06-29 16:45 (UTC) by oduesp)

Thanks for mentioning the dune's version ! After a "whereis dune", and for whatever forgotten reason, I had a dune binary in: ~/.opam/default/bin/dune !!

Sure enough after removing it, it now works perfectly.

Sorry for the noise and thank you very much for your time on this pkg.

dpeukert commented on 2022-06-29 16:01 (UTC)

@oduesp: I was able to build the package without any issues, do you have the newest version of dune installed?

$ pacman -Q dune
dune 3.3.0-1

oduesp commented on 2022-06-29 14:36 (UTC) (edited on 2022-06-29 14:38 (UTC) by oduesp)

Same problem as MarsSeed here:

==> Starting build()...
dune: unknown option `--release'.
Usage: dune build [OPTION]... [TARGET]...
Try `dune build --help' or `dune --help' for more information.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: ocaml-mmap

MarsSeed commented on 2022-06-14 17:14 (UTC)

Build was successful, but then the packaging failed:

==> 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: failed to build 'ocaml-mmap-1.1.0-6'

oriba commented on 2020-01-12 02:05 (UTC)

Oh, removing ~/.opam works...

J5lx commented on 2019-12-04 18:22 (UTC)

Please check whether directory ~/.opam exists on your system. If it does, please remove or rename it and retry building the package.

Alternatively, try building in a clean chroot. This avoids many build failures caused by conflicting system configuration, in my experience – especially for OCaml packages.

rosekunkel commented on 2019-10-25 01:18 (UTC)

Installing fails with the error:

mv: cannot stat 'path/to/ocaml-mmap/pkg/ocaml-mmap/usr/doc': No such file or directory