Skip to content

Commit 0d29980

Browse files
committed
dune 3.15.3 is not compatible with ocaml 5.3
This was reintroduced from the opam repo and lacks the usual upper bound. One of the vendored libraries fails with ``` === ERROR while compiling dune.3.15.3 ========================================# context 2.3.0 | linux/x86_64 | ocaml-base-compiler.5.4.0~alpha1 | file:///home/opam/opam-repository path ~/.opam/5.4~alpha1/.opam-switch/build/dune.3.15.3 command ~/.opam/opam-init/hooks/sandbox.sh build ocaml boot/bootstrap.ml -j 71 exit-code 2 env-file ~/.opam/log/dune-7-81be09.env output-file ~/.opam/log/dune-7-81be09.out ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml ./.duneboot.exe -j 71 cd _boot && /home/opam/.opam/5.4~alpha1/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads ocamlc_loc.mli File "otherlibs/ocamlc-loc/src/ocamlc_loc.mli", line 1, characters 4-9: Warning 53 [misplaced-attribute]: the alert attribute cannot appear in this context cd _boot && /home/opam/.opam/5.4~alpha1/bin/ocamlopt.opt -c -g -no-alias-deps -w -49-6 -alert -unstable -I +unix -I +threads notty.ml File "vendor/notty/src/notty.ml", lines 387-397, characters 43-7: Error: Some record fields are undefined: out_width ``` Signed-off-by: Marcello Seri <[email protected]>
1 parent e4b1a0a commit 0d29980

File tree

1 file changed

+1
-0
lines changed
  • packages/dune/dune.3.15.3

1 file changed

+1
-0
lines changed

packages/dune/dune.3.15.3/opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ homepage: "https://github.com/ocaml/dune"
2626
doc: "https://dune.readthedocs.io/"
2727
bug-reports: "https://github.com/ocaml/dune/issues"
2828
conflicts: [
29+
"ocaml" {< "5.4"}
2930
"merlin" {< "3.4.0"}
3031
"ocaml-lsp-server" {< "1.3.0"}
3132
"dune-configurator" {< "2.3.0"}

0 commit comments

Comments
 (0)