Package ocaml-variants

Failed to find a solution:

no platform:
2024-09-12 08:22.36 [INFO] Solving for ocaml-base-compiler, ocaml,
                           ocaml-variants using opam_repository_commit 0329818dcfd3de1a722ea09eeeed94cd24caa375

2024-09-12 08:22.42 [INFO] base: eliminated all possibilities in 2.92 s

2024-09-12 08:22.42 [INFO] = base =

2024-09-12 08:22.42 [INFO] Can't find all required versions.
Selected: base-bigarray.base base-ocamlbuild.base base-threads.base
          base-unix.base ocaml-config.3
          ocaml-variants&ocaml&ocaml-base-compiler ocaml-base-compiler
          ocaml-base-compiler
- ocaml -> ocaml.4.02.3
    User requested <= 5.1.1
    base-ocamlbuild base requires >= 3.10 & < 4.03
    ocaml-variants 4.02.3+PIC requires = 4.02.3
- ocaml-base-compiler -> (problem)
    User requested >= 4.04.1
    Rejected candidates:
      ocaml-base-compiler.5.2.0: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ocaml-base-compiler.5.2.0~rc1: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ocaml-base-compiler.5.2.0~beta2: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ocaml-base-compiler.5.2.0~beta1: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ocaml-base-compiler.5.2.0~alpha1: In same conflict class (ocaml-core-compiler) as ocaml-variants
      ...
- ocaml-variants -> ocaml-variants.4.02.3+PIC
    User requested = 4.02.3+PIC