Skip to content

Commit 6b50c4e

Browse files
committed
imagelib is not compatible with ocaml 5
it fails with multiple errors about not linking unix. ``` === ERROR while compiling imagelib.20200929 ==================================# context 2.2.0~alpha~dev | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/opam/opam-repository path ~/.opam/5.0/.opam-switch/build/imagelib.20200929 command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p imagelib -j 71 @install exit-code 1 env-file ~/.opam/log/imagelib-7-975662.env output-file ~/.opam/log/imagelib-7-975662.out output ### [...] (cd _build/default && /home/opam/.opam/5.0/bin/ocamlopt.opt -w -40 -g -o app/imagetool.exe /home/opam/.opam/5.0/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/5.0/lib/optint/optint.cmxa /home/opam/.opam/5.0/lib/checkseum/ocaml/checkseum_ocaml.cmxa /home/opam/.opam/5.0/lib/bigarray-compat/bigarray_compat.cmxa /home/opam/.opam/5.0/lib/decompress/de/de.cmxa /home/opam/.opam/5.0/lib/decompress/zl/zl.cmxa src/imagelib.cmxa unix/imagelib_unix.cmxa app/.imagetool.eobjs/native/dune__exe__Imagetool.cmx) File "_none_", line 1: Error: No implementations provided for the following modules: Unix referenced from app/.imagetool.eobjs/native/dune__exe__Imagetool.cmx ``` Signed-off-by: Marcello Seri <[email protected]>
1 parent 63acf8a commit 6b50c4e

File tree

6 files changed

+6
-6
lines changed
  • packages/imagelib
    • imagelib.20171028
    • imagelib.20180522
    • imagelib.20200929
    • imagelib.20210116
    • imagelib.20210402
    • imagelib.20210511

6 files changed

+6
-6
lines changed

packages/imagelib/imagelib.20171028/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build: [make]
99
install: [make "install"]
1010
remove: [make "uninstall"]
1111
depends: [
12-
"ocaml" {>= "4.03.0"}
12+
"ocaml" {>= "4.03.0" & < "5.0"}
1313
"ocamlfind" {build}
1414
"ocamlbuild" {build}
1515
"decompress" {= "0.7"}

packages/imagelib/imagelib.20180522/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ build: [make]
99
install: [make "install"]
1010
remove: [make "uninstall"]
1111
depends: [
12-
"ocaml" {>= "4.03.0"}
12+
"ocaml" {>= "4.03.0" & < "5.0"}
1313
"ocamlfind" {build}
1414
"ocamlbuild" {build}
1515
"decompress" {= "0.7"}

packages/imagelib/imagelib.20200929/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ license: "GPL-3.0-only"
3232
doc: "https://rlepigre.github.io/ocaml-imagelib"
3333

3434
depends: [
35-
"ocaml" { >= "4.07.0" }
35+
"ocaml" { >= "4.07.0" & < "5.0" }
3636
"base-unix"
3737
"dune" { >= "2.3.0" }
3838
"decompress" { >= "1.2.0" & < "1.3.0" }

packages/imagelib/imagelib.20210116/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ license: "GPL-3.0-only"
3232
doc: "https://rlepigre.github.io/ocaml-imagelib"
3333

3434
depends: [
35-
"ocaml" { >= "4.07.0" }
35+
"ocaml" { >= "4.07.0" & < "5.0" }
3636
"base-unix"
3737
"dune" { >= "2.3.0" }
3838
"decompress" { >= "1.2.0" & < "1.3.0" }

packages/imagelib/imagelib.20210402/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ license: "GPL-3.0-only"
4141
doc: "https://rlepigre.github.io/ocaml-imagelib"
4242

4343
depends: [
44-
"ocaml" { >= "4.07.0" }
44+
"ocaml" { >= "4.07.0" & < "5.0" }
4545
"base-unix"
4646
"dune" { >= "2.3.0" }
4747
"decompress" { >= "1.3.0" }

packages/imagelib/imagelib.20210511/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ license: "GPL-3.0-only"
4141
doc: "https://rlepigre.github.io/ocaml-imagelib"
4242

4343
depends: [
44-
"ocaml" { >= "4.07.0" }
44+
"ocaml" { >= "4.07.0" & < "5.0" }
4545
"base-unix"
4646
"dune" { >= "2.3.0" }
4747
"decompress" { >= "1.3.0" }

0 commit comments

Comments
 (0)