rocq-runtime.9.3: require OCaml >= 4.14.0, as upstream does - #3803
Merged
Conversation
Both 9.3 recipes declared `"ocaml" {>= "4.09.0"}`, which contradicts
Rocq 9.3 itself: its in-tree rocq-runtime.opam says `>= "4.14.0"` and
tools/configure/configure.ml dies with "You need OCaml 4.14.0 or later."
The 9.1, 9.2 and dev recipes all already say 4.14.0; only these two were
missed, and the value they carry matches the 9.0 recipes, which suggests
they were copied from that template.
The consequence is a hard CI failure rather than a skipped package.
scripts/opam-coq-install-remove first asks whether a package is
installable on the job's compiler, and only builds if it is. On the
4.09.0 job, a package depending on `rocq-core {>= "9.0"}` therefore
splits two ways: rocq-elpi.dev fails that check and is correctly
tolerated as "not compatible with the current compiler", while
rocq-micromega-plugin.dev passes it -- solely because rocq-runtime.9.3.dev
claims to support 4.09 -- so CI proceeds to a real build that then dies:
[ERROR] The compilation of rocq-runtime.9.3.dev failed at
"./configure -release -prefix ... -native-compiler no".
That is currently failing opam-build:4.09.0 on unrelated pull requests.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L9BGQT7XUuubV6C619DW4b
This was referenced Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rocq-runtime.9.3.devandrocq-runtime.9.3+rc1both declare"ocaml" {>= "4.09.0"}. Rocq 9.3 disagrees with that: its own in-treerocq-runtime.opamsays>= "4.14.0", andtools/configure/configure.mlexits with "You need OCaml 4.14.0 or later."
The 9.1, 9.2 and
devrecipes here already say4.14.0; only the two 9.3 oneswere missed. The value they carry is the one the 9.0 recipes use, which suggests
they were copied from that template.
Why this matters beyond tidiness.
scripts/opam-coq-install-removefirstasks whether a package is installable on the job's compiler and only builds if
it is. On
opam-build:4.09.0a package depending onrocq-core {>= "9.0"}therefore splits two ways, as visible in
job 7677268:
rocq-elpi.devfails that check and is correctly tolerated as "not compatiblewith the current compiler";
rocq-micromega-plugin.devpasses it — possible only becauserocq-runtime.9.3.devclaims 4.09 support — so CI proceeds to a real installthat then dies:
That is what is currently failing
opam-build:4.09.0on unrelated pull requests(#3789, #3800), neither of which touches anything related.
Scope. Metadata only, two lines.
opam lint --warn=-21passes on both filesunder the opam 2.1.2 that
.gitlab-ci.ymlpins. Note that this makes the4.09.0job skip rather than pass the affected packages: with 9.3 correctlyexcluded,
rocq-core {>= "9.0"}can still be satisfied byrocq-core.9.0.dev(whose 4.09 support is genuine), so what each package does next on that job is
for CI here to answer.
🤖 Generated with Claude Code
https://claude.ai/code/session_01L9BGQT7XUuubV6C619DW4b