Skip to content

Commit d647b64

Browse files
committed
ocplib-simplex 0.4 is not compatbile with ocaml 5.1
Fails with ``` == ERROR while compiling ocplib-simplex.0.4 =================================# context 2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.1.0+trunk | file:///home/opam/opam-repository path ~/.opam/5.1/.opam-switch/build/ocplib-simplex.0.4 command ~/.opam/opam-init/hooks/sandbox.sh build make exit-code 2 env-file ~/.opam/log/ocplib-simplex-7-b569d6.env output-file ~/.opam/log/ocplib-simplex-7-b569d6.out \# output ### cp src/extSigs.mli src/extSigs.ml cp src/coreSig.mli src/coreSig.ml ocamldep -I src src/*.ml* > .depend ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/version.mli ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/version.ml ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/extSigs.mli ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/rat2.mli ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/rat2.ml ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/extSigs.ml ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/polys.mli ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/polys.ml ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/coreSig.mli ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/coreSig.ml ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/core.mli ocamlc.opt -c -annot -absname -bin-annot -short-paths -strict-sequence -w +A -g -I src -for-pack OcplibSimplex src/core.ml File "/home/opam/.opam/5.1/.opam-switch/build/ocplib-simplex.0.4/src/core.ml", line 242, characters 14-75: 242 | "%a [ %a == (%4a , %4a) ] %a (computed %s) (flag %s)@." ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: invalid format "%a [ %a == (%4a , %4a) ] %a (computed %s) (flag %s)@.": at character number 20, `padding' is incompatible with 'a' in sub-format "%4a" make: *** [Makefile:131: src/core.cmo] Error 2 ``` Signed-off-by: Marcello Seri <[email protected]>
1 parent 8600723 commit d647b64

File tree

1 file changed

+1
-1
lines changed
  • packages/ocplib-simplex/ocplib-simplex.0.4

1 file changed

+1
-1
lines changed

packages/ocplib-simplex/ocplib-simplex.0.4/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ remove:[
2828
]
2929

3030
depends: [
31-
"ocaml" {>= "4.01.0"}
31+
"ocaml" {>= "4.01.0" & < "5.1~"}
3232
"ocamlfind" {build}
3333
"conf-autoconf" {build}
3434
"num"

0 commit comments

Comments
 (0)