Skip to content

Conversation

@dra27
Copy link
Member

@dra27 dra27 commented Nov 15, 2025

There's no working version of ocamlfind for OCaml 5.0+ for Cygwin or when building using MSYS2 until ocaml/ocamlfind#112 is merged. Update the ocamlfind.1.9.8 package to reflect this, which should stop CI unnecessarily testing packages (and then causing those authors to incorrect constrain their packages away from MSYS2...)

ocamlfind 1.9.8 doesn't configure correctly on MSYS2 or Cygwin when
building with OCaml 5 onwards.
@dra27 dra27 mentioned this pull request Nov 15, 2025
Copy link
Member

@jmid jmid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, thanks! 🙏

I wondered whether this would leave earlier ocamlfind versions to be picked up:

  • 1.9.6 already has available: os != "win32"
  • 1.9.5 and earlier versions already have a < "5.0" bound (or something stricter)

So I guess that leaves 1.9.6 to be picked on "pure Cygwin" (os = "cygwin" & os-distribition = "cygwin"). However (a) we don't test pure Cygwin in the CI and (b) I don't know whether there are any problems with ocamlfind.1.9.6 on pure Cygwin 🤷

As such, this is a good step to reduce MSys2 CI noise until a next, patched ocamlfind is released 👍

@mseri mseri merged commit 1ec0eeb into ocaml:master Nov 16, 2025
3 of 4 checks passed
@mseri
Copy link
Member

mseri commented Nov 16, 2025

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants