You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to install it successfully and download multiple packages.
While trying to install ppxlib, I encountered the following error message. (The same error is obtained with earlier versions of ppxlib such as 0.30.0.)
#=== ERROR while compiling ppxlib.0.33.0 ======================================#
# context 2.1.6 | linux/x86_64 | ocaml-variants.5.1.1+flambda2 | https://opam.ocaml.org#eceb4d83610133a48b62daa36665ce1292646561
# path ~/opam/5.1.1+flambda2/.opam-switch/build/ppxlib.0.33.0
# command ~/opam/opam-init/hooks/sandbox.sh build dune build -p ppxlib -j 7 @install
# exit-code 1
# env-file ~/opam/log/ppxlib-204623-f5c3ae.env
# output-file ~/opam/log/ppxlib-204623-f5c3ae.out
### output ###
# (cd _build/default && /home/patrick/opam/5.1.1+flambda2/bin/ocamlc.opt -w -9 -g -bin-annot -I astlib/.astlib.objs/byte -I /home/patrick/opam/5.1.1+flambda2/lib/ocaml-compiler-libs/common -I /home/patrick/opam/5.1.1+flambda2/lib/ocaml/compiler-libs -no-alias-deps -open Astlib__ -o astlib/.astlib.objs/byte/astlib__Ast_501.cmo -c -impl astlib/ast_501.pp.ml)
# File "astlib/ast_501.ml", lines 471-478, characters 2-5:
# Error: This variant or record definition does not match that of type
# Parsetree.value_description
# An extra field, pval_modalities, is provided in the original definition.
I am using ocaml-compiler-libs version 12.4, apparently the correct one from the flambda-repository.
I am aware that this project is under ongoing development and so breakages like this are to be expected, but it is my understanding that internal engineers at Jane Street are using some of these features, so I imagine there is some recent version of the compiler which is able to install ppxlib. If anybody can link to a most recent working/stable commit, I will appreciate it!
The text was updated successfully, but these errors were encountered:
Same problem here. There's merlin-jst, but it fails with the same error ("Unbound module Compression").
Additionally, the current HACKING.md mentions a 5.2.0+flambda2 switch, which isn't available in opam-repository (neither ocaml/opam-repository nor janestreet/opam-repository)
Thanks for your interest here! We're actively working on improving the availability of our compiler-with-extensions. @dkalinichenko-js is the person in charge of this effort.
I installed this compiler using this message: https://github.com/ocaml-flambda/flambda-backend/blob/main/HACKING.md#testing-the-compiler-built-locally-with-opam-new-method
I was able to install it successfully and download multiple packages.
While trying to install ppxlib, I encountered the following error message. (The same error is obtained with earlier versions of ppxlib such as 0.30.0.)
I am using ocaml-compiler-libs version 12.4, apparently the correct one from the flambda-repository.
I also was unable to compile merlin-lib.
I am aware that this project is under ongoing development and so breakages like this are to be expected, but it is my understanding that internal engineers at Jane Street are using some of these features, so I imagine there is some recent version of the compiler which is able to install ppxlib. If anybody can link to a most recent working/stable commit, I will appreciate it!
The text was updated successfully, but these errors were encountered: