lambda-term icon indicating copy to clipboard operation
lambda-term copied to clipboard

opam install lambda-term 3.3.2 fails on linux

Open rabiescow opened this issue 8 months ago • 1 comments

Hello,

I just tried to install utop, and lambda-term is a dependency. The install failed with the following error:

#=== ERROR while compiling lambda-term.3.3.2 ==================================#
# context     2.3.0 | linux/x86_64 | ocaml.5.3.0 | https://opam.ocaml.org#53021cce16f3c96c7f45f5aeeefca40931f2a8da
# path        ~/.opam/default/.opam-switch/build/lambda-term.3.3.2
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p lambda-term -j 23 @install
# exit-code   1
# env-file    ~/.opam/log/lambda-term-2910531-d47ccb.env
# output-file ~/.opam/log/lambda-term-2910531-d47ccb.out
### output ###
# File "src/dune", line 5, characters 18-26:
# 5 |   (libraries logs logs.lwt lwt lwt.unix lwt_react zed mew_vi uucp)
#                       ^^^^^^^^
# Error: Library "logs.lwt" in /usr/lib/ocaml/logs is hidden (unsatisfied
# 'exists_if').
# -> required by library "lambda-term" in _build/default/src
# -> required by _build/default/META.lambda-term
# -> required by _build/install/default/lib/lambda-term/META
# -> required by _build/default/lambda-term.install
# -> required by alias install



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build lambda-term 3.3.2
└─

Are there any known workarounds? Would like to be able to use utop.

Thanks,

rabiescow avatar Apr 20 '25 16:04 rabiescow

You can dismiss this, I had installed a global pacman ocaml library which has also installed ocaml-logs.

Note to self, don't use pacman ocaml libraries.

rabiescow avatar Apr 20 '25 18:04 rabiescow