Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCaml 5.3 support #811

Open
kit-ty-kate opened this issue Dec 31, 2024 · 0 comments · May be fixed by #813
Open

OCaml 5.3 support #811

kit-ty-kate opened this issue Dec 31, 2024 · 0 comments · May be fixed by #813

Comments

@kit-ty-kate
Copy link
Member

OCaml 5.3 is due to release in just a couple of days and eliom is currently not available with this version of the compiler:

#=== ERROR while compiling eliom.11.1.1 =======================================#
# context              2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.3.0~beta1 | pinned(https://github.com/ocsigen/eliom/archive/refs/tags/11.1.1.tar.gz)
# path                 ~/.opam/5.3~beta1/.opam-switch/build/eliom.11.1.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p eliom -j 255 @install
# exit-code            1
# env-file             ~/.opam/log/eliom-7-44a53c.env
# output-file          ~/.opam/log/eliom-7-44a53c.out
### output ###
# (cd _build/default && /home/opam/.opam/5.3~beta1/bin/ocamlopt.opt -w -40 -g -I src/tools/.eliomc.eobjs/byte -I src/tools/.eliomc.eobjs/native -I /home/opam/.opam/5.3~beta1/lib/findlib -I /home/opam/.opam/5.3~beta1/lib/ocaml/str -I /home/opam/.opam/5.3~beta1/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Dune__exe -o src/tools/.eliomc.eobjs/native/dune__exe__Utils.cmx -c -impl src/tools/utils.ml)
# File "_none_", line 1:
# Warning 58 [no-cmx-file]: no cmx file was found in path for module Findlib, and its interface was not compiled with -opaque
# (cd _build/default && /home/opam/.opam/5.3~beta1/bin/ocamlopt.opt -w -40 -g -I src/tools/.eliomc.eobjs/byte -I src/tools/.eliomc.eobjs/native -I /home/opam/.opam/5.3~beta1/lib/findlib -I /home/opam/.opam/5.3~beta1/lib/ocaml/str -I /home/opam/.opam/5.3~beta1/lib/ocaml/unix -intf-suffix .ml -no-alias-deps -open Dune__exe -o src/tools/.eliomc.eobjs/native/dune__exe__Distillery.cmx -c -impl src/tools/distillery.ml)
# File "_none_", line 1:
# Warning 58 [no-cmx-file]: no cmx file was found in path for module Findlib, and its interface was not compiled with -opaque
# (cd _build/default && /home/opam/.opam/5.3~beta1/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/ppx/.ppx_utils.objs/byte -I /home/opam/.opam/5.3~beta1/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3~beta1/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3~beta1/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3~beta1/lib/ppx_derivers -I /home/opam/.opam/5.3~beta1/lib/ppxlib -I /home/opam/.opam/5.3~beta1/lib/ppxlib/ast -I /home/opam/.opam/5.3~beta1/lib/ppxlib/astlib -I /home/opam/.opam/5.3~beta1/lib/ppxlib/print_diff -I /home/opam/.opam/5.3~beta1/lib/ppxlib/stdppx -I /home/opam/.opam/5.3~beta1/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3~beta1/lib/sexplib0 -I /home/opam/.opam/5.3~beta1/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/ppx/.ppx_utils.objs/byte/ppx_eliom_utils.cmo -c -impl src/ppx/ppx_eliom_utils.pp.ml)
# File "src/ppx/ppx_eliom_utils.ml", line 457, characters 13-41:
# 457 |     let ty = Printtyp.tree_of_type_scheme ty in
#                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound value "Printtyp.tree_of_type_scheme"
# (cd _build/default && /home/opam/.opam/5.3~beta1/bin/ocamlopt.opt -w -40 -g -I src/ppx/.ppx_utils.objs/byte -I src/ppx/.ppx_utils.objs/native -I /home/opam/.opam/5.3~beta1/lib/ocaml-compiler-libs/common -I /home/opam/.opam/5.3~beta1/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/5.3~beta1/lib/ocaml/compiler-libs -I /home/opam/.opam/5.3~beta1/lib/ppx_derivers -I /home/opam/.opam/5.3~beta1/lib/ppxlib -I /home/opam/.opam/5.3~beta1/lib/ppxlib/ast -I /home/opam/.opam/5.3~beta1/lib/ppxlib/astlib -I /home/opam/.opam/5.3~beta1/lib/ppxlib/print_diff -I /home/opam/.opam/5.3~beta1/lib/ppxlib/stdppx -I /home/opam/.opam/5.3~beta1/lib/ppxlib/traverse_builtins -I /home/opam/.opam/5.3~beta1/lib/sexplib0 -I /home/opam/.opam/5.3~beta1/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o src/ppx/.ppx_utils.objs/native/ppx_eliom_utils.cmx -c -impl src/ppx/ppx_eliom_utils.pp.ml)
# File "src/ppx/ppx_eliom_utils.ml", line 457, characters 13-41:
# 457 |     let ty = Printtyp.tree_of_type_scheme ty in
#                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound value "Printtyp.tree_of_type_scheme"
@kit-ty-kate kit-ty-kate linked a pull request Jan 7, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant