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

Install fails on a 5.3.0~alpha1 switch #1

Open
voodoos opened this issue Oct 4, 2024 · 0 comments
Open

Install fails on a 5.3.0~alpha1 switch #1

voodoos opened this issue Oct 4, 2024 · 0 comments
Labels
forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.

Comments

@voodoos
Copy link

voodoos commented Oct 4, 2024

Here is the log content:

❯ opam install ppx_globalize
The following actions will be performed:
  ∗ install ppxlib_jane             v0.17.1 [required by ppx_globalize]
  ∗ install ocaml_intrinsics_kernel v0.17.1 [required by base]
  ∗ install dune-configurator       3.16.0  [required by base]
  ∗ install base                    v0.17.1 [required by ppx_globalize]
  ∗ install ppx_globalize           v0.17.0
===== ∗ 5 =====
Do you want to continue? [Y/n] y

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫 
⬇ retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
⬇ retrieved ppx_globalize.v0.17.0  (cached)
⬇ retrieved dune-configurator.3.16.0  (cached)
∗ installed ocaml_intrinsics_kernel.v0.17.1
⬇ retrieved base.v0.17.1  (cached)
⬇ retrieved ppxlib_jane.v0.17.1  (https://opam.ocaml.org/cache)
∗ installed dune-configurator.3.16.0
∗ installed ppxlib_jane.v0.17.1
∗ installed base.v0.17.1
[ERROR] The compilation of ppx_globalize.v0.17.0 failed at "dune build -p ppx_globalize -j
        9".

#=== ERROR while compiling ppx_globalize.v0.17.0 ==============================#
# context     2.1.6 | macos/arm64 | ocaml-base-compiler.5.3.0~alpha1 ocaml-compiler.5.3.0~alpha1 | https://opam.ocaml.org#1b4da5019e5ea60af76c94aacc672a7e9659a832
# path        ~/tmp/merlin-502/_opam/.opam-switch/build/ppx_globalize.v0.17.0
# command     ~/.opam/opam-init/hooks/sandbox.sh build dune build -p ppx_globalize -j 9
# exit-code   1
# env-file    ~/.opam/log/ppx_globalize-62322-64e9e5.env
# output-file ~/.opam/log/ppx_globalize-62322-64e9e5.out
### output ###
# [...]
# (cd _build/default && [..]/_opam/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .ppx_globalize.objs/byte -I [..]/_opam/lib/base -I [..]/_opam/lib/base/base_internalhash_types -I [..]/_opam/lib/base/shadow_stdlib -I [..]/_opam/lib/ocaml-compiler-libs/common -I [...]
# File "ppx_globalize.ml", line 20, characters 11-73:
# 20 |     (match Ppxlib_jane.Ast_builder.Default.get_label_declaration_modality ld with
#                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound value "Ppxlib_jane.Ast_builder.Default.get_label_declaration_modality"
# Hint: Did you mean "get_label_declaration_modalities"?
# (cd _build/default && [..]/_opam/bin/ocamlopt.opt -w -40 -g -I .ppx_globalize.objs/byte -I .ppx_globalize.objs/native -I [..]/_opam/lib/base -I [..]/_opam/lib/base/base_internalhash_types -I [..]/_opam/lib/base/shadow_stdlib -I [..]/_opam/lib/ocaml-compiler-libs/common -I /U[...]
# File "ppx_globalize.ml", line 20, characters 11-73:
# 20 |     (match Ppxlib_jane.Ast_builder.Default.get_label_declaration_modality ld with
#                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Error: Unbound value "Ppxlib_jane.Ast_builder.Default.get_label_declaration_modality"
# Hint: Did you mean "get_label_declaration_modalities"?



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><>  🐫 
┌─ The following actions failed
│ λ build ppx_globalize v0.17.0
└─ 
┌─ The following changes have been performed
│ ∗ install base                    v0.17.1
│ ∗ install dune-configurator       3.16.0
│ ∗ install ocaml_intrinsics_kernel v0.17.1
│ ∗ install ppxlib_jane             v0.17.1
└─
(cd _build/default && [..]/_opam/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I .ppx_globalize.objs/byte -I [..]/_opam/lib/base -I [..]/_opam/lib/base/base_internalhash_types -I [..]/_opam/lib/base/shadow_stdlib -I [..]/_opam/lib/ocaml-compiler-libs/common -I [..]/_opam/lib/ocaml-compiler-libs/shadow -I [..]/_opam/lib/ocaml/compiler-libs -I [..]/_opam/lib/ocaml_intrinsics_kernel -I [..]/_opam/lib/ppx_derivers -I [..]/_opam/lib/ppxlib -I [..]/_opam/lib/ppxlib/ast -I [..]/_opam/lib/ppxlib/astlib -I [..]/_opam/lib/ppxlib/print_diff -I [..]/_opam/lib/ppxlib/stdppx -I [..]/_opam/lib/ppxlib/traverse_builtins -I [..]/_opam/lib/ppxlib_jane -I [..]/_opam/lib/sexplib0 -I [..]/_opam/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o .ppx_globalize.objs/byte/ppx_globalize.cmo -c -impl ppx_globalize.pp.ml)
File "ppx_globalize.ml", line 20, characters 11-73:
20 |     (match Ppxlib_jane.Ast_builder.Default.get_label_declaration_modality ld with
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound value "Ppxlib_jane.Ast_builder.Default.get_label_declaration_modality"
Hint: Did you mean "get_label_declaration_modalities"?
(cd _build/default && [..]/_opam/bin/ocamlopt.opt -w -40 -g -I .ppx_globalize.objs/byte -I .ppx_globalize.objs/native -I [..]/_opam/lib/base -I [..]/_opam/lib/base/base_internalhash_types -I [..]/_opam/lib/base/shadow_stdlib -I [..]/_opam/lib/ocaml-compiler-libs/common -I [..]/_opam/lib/ocaml-compiler-libs/shadow -I [..]/_opam/lib/ocaml/compiler-libs -I [..]/_opam/lib/ocaml_intrinsics_kernel -I [..]/_opam/lib/ppx_derivers -I [..]/_opam/lib/ppxlib -I [..]/_opam/lib/ppxlib/ast -I [..]/_opam/lib/ppxlib/astlib -I [..]/_opam/lib/ppxlib/print_diff -I [..]/_opam/lib/ppxlib/stdppx -I [..]/_opam/lib/ppxlib/traverse_builtins -I [..]/_opam/lib/ppxlib_jane -I [..]/_opam/lib/sexplib0 -I [..]/_opam/lib/stdlib-shims -intf-suffix .ml -no-alias-deps -o .ppx_globalize.objs/native/ppx_globalize.cmx -c -impl ppx_globalize.pp.ml)
File "ppx_globalize.ml", line 20, characters 11-73:
20 |     (match Ppxlib_jane.Ast_builder.Default.get_label_declaration_modality ld with
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error: Unbound value "Ppxlib_jane.Ast_builder.Default.get_label_declaration_modality"
Hint: Did you mean "get_label_declaration_modalities"?

@github-iron github-iron added the forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system. label Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
forwarded-to-js-devs This report has been forwarded to Jane Street's internal review system.
Projects
None yet
Development

No branches or pull requests

2 participants