diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-07-02 21:23:51 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-07-02 21:23:51 +0300 |
| commit | 0d61bd73fca982d35dbadb3e81472d29a5a9a090 (patch) | |
| tree | 13b9f1aed250699a24b4751d085f58934ef1f8d8 | |
| parent | bdf504f3e172ff97702ea62e17f9187a3f5a27de (diff) | |
| download | vyconf-0d61bd73fca982d35dbadb3e81472d29a5a9a090.tar.gz vyconf-0d61bd73fca982d35dbadb3e81472d29a5a9a090.zip | |
T9044: constrain ocaml-protoc to 2.x
The committed src/*_pbt.ml were generated by ocaml-protoc 2.x. Version
3.0 emits private record types with presence tracking that the
hand-written call sites (vyconfd.ml, vyconf_client.ml, vycall_client.ml,
vycli.ml) cannot construct, so a fresh toolchain regenerates an
incompatible API and the build fails. Pin to < 3.0 until the generated
code and call sites are migrated to the 3.x API.
🤖 Generated by [robots](https://vyos.io)
| -rw-r--r-- | vyconf.opam | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/vyconf.opam b/vyconf.opam index 957a13b..1b1958d 100644 --- a/vyconf.opam +++ b/vyconf.opam @@ -16,7 +16,11 @@ build: [ depends: [ "menhir" {build} "dune" {build & >= "1.4.0"} - "ocaml-protoc" {build} + # The committed src/*_pbt.ml were generated by ocaml-protoc 2.x. Version 3.0 + # emits private record types with presence tracking, which the hand-written + # call sites cannot construct. Pin to 2.x until the generated code + call + # sites are migrated to the 3.x API. + "ocaml-protoc" {build & < "3.0"} "ounit2" {build} "vyos1x-config" {build} "lwt" {build & >= "4.1.0"} |
