Hi, I installed ocaml-compiler-libs 4.09.0-2 but still get an error when trying to build: mv: cannot stat '/home/david/.cache/yay/ocaml-base/pkg/ocaml-base/usr/doc': No such file or directory
Any idea?
Git Clone URL: | https://aur.archlinux.org/ocaml-base.git (read-only, click to copy) |
---|---|
Package Base: | ocaml-base |
Description: | Full standard library replacement for OCaml |
Upstream URL: | https://github.com/janestreet/base |
Keywords: | base function library ocaml replacement standard |
Licenses: | |
Submitter: | J5lx |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 11 |
Popularity: | 0.000012 |
First Submitted: | 2018-06-27 19:45 |
Last Updated: | 2021-01-16 13:47 |
Hi, I installed ocaml-compiler-libs 4.09.0-2 but still get an error when trying to build: mv: cannot stat '/home/david/.cache/yay/ocaml-base/pkg/ocaml-base/usr/doc': No such file or directory
Any idea?
Ok, this might not work on my machine, running Manjaro right now. I just learned that Manjaro has not the same package base as Arch... So I need to wait I suppose.
ocaml-compiler-libs-repackaged seems pretty outdated?
Just do a pacman -Syu
# LANG=C pacman -Qi ocaml-compiler-libs
...
Build Date : Wed Nov 27 09:50:10 2019
@juergen I don't get it how to install this or where from. ocaml-compiler-libs-repackaged seems pretty outdated?
@ogghi.
Please update your system to
ocaml-compiler-libs-4.09.0-2
Hi, tried to install, no luck: File "compiler-stdlib/gen/gen.ml", line 61, characters 14-32: 61 | let toc : Cmo_format.library = input_value ic in ^^^^^^^^^^^^^^^^^^ Error: Unbound module Cmo_format ==> ERROR: A failure occurred in build(). Aborting... Error making: ocaml-base
Any hint?
Ah, I even had that change prepared locally but forgot to push it. Sorry about that! While I was at it, I also updated the package to the new version.
Please use
dune build --profile=release
to make the deprecation-warings non-fatal.
ocaml-compiler-libs has finally been fixed. Now this package gives deprecation errors.
Didn't see any issues upstream. So not sure whether this package is outdated or encountering an unknown issue.
==> Starting build()...
File "src/obj_array.ml", line 179, characters 22-39:
179 | let truncate t ~len = Caml.Obj.truncate (Caml.Obj.repr (t : t)) len
^^^^^^^^^^^^^^^^^
Error (alert deprecated): Base__.Import.Caml.Obj.truncate
File "src/array.ml", line 413, characters 25-42:
413 | if len < length t then Caml.Obj.truncate (Caml.Obj.repr t) len;
^^^^^^^^^^^^^^^^^
Error (alert deprecated): Base__.Import.Caml.Obj.truncate
==> ERROR: A failure occurred in build().
The bug in ocaml-compiler-libs has been reported as FS#64299. Once it is fixed, building this package should once again be possible. Sorry for the delay.
Pinned Comments
dpeukert commented on 2020-04-09 22:09
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/ocaml-base