From 0d61bd73fca982d35dbadb3e81472d29a5a9a090 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Thu, 2 Jul 2026 21:23:51 +0300 Subject: T9044: constrain ocaml-protoc to 2.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- vyconf.opam | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"} -- cgit v1.2.3