Bug#1040874: ocaml-dune: Please add ocaml:Provides to d/control
Source: ocaml-dune
Version: 3.9.0-2
Severity: normal
X-Debbugs-Cc: daniel.bungert@canonical.com
Dear Maintainer,
utop shows the following in testing migration:
* libutop-ocaml-dev/amd64 has unsatisfiable dependency
Attempting an install of libutop-ocaml-dev reports:
libutop-ocaml-dev : Depends: libdune-ocaml-dev-v9190 but it is not installable
I believe that adding the ocaml:Provides will resolve this. Debdiff attached.
-Dan
diff -Nru ocaml-dune-3.9.0/debian/changelog ocaml-dune-3.9.0/debian/changelog
--- ocaml-dune-3.9.0/debian/changelog 2023-07-05 02:40:57.000000000 -0600
+++ ocaml-dune-3.9.0/debian/changelog 2023-07-11 13:41:34.000000000 -0600
@@ -1,3 +1,10 @@
+ocaml-dune (3.9.0-3) unstable; urgency=medium
+
+ * Rebuild against new OCAML ABIs.
+ * Add dh_ocaml compatible substitution variables per OCaml packaging policy
+
+ -- Dan Bungert <daniel.bungert@canonical.com> Tue, 11 Jul 2023 13:41:34 -0600
+
ocaml-dune (3.9.0-2) unstable; urgency=medium
* Team upload.
diff -Nru ocaml-dune-3.9.0/debian/control ocaml-dune-3.9.0/debian/control
--- ocaml-dune-3.9.0/debian/control 2023-07-05 02:40:57.000000000 -0600
+++ ocaml-dune-3.9.0/debian/control 2023-07-11 13:41:34.000000000 -0600
@@ -22,7 +22,9 @@
whitedune (<< 0.30.10-2.2),
dune (<< 1.6.2-3)
Replaces: jbuilder (<< 1.0~beta20-1), whitedune (<< 0.30.10-2.2), dune (<< 1.6.2-3)
-Provides: jbuilder
+Provides:
+ jbuilder,
+ ${ocaml:Provides}
Depends:
${ocaml:Depends},
${shlibs:Depends},
@@ -41,6 +43,8 @@
${ocaml:Depends},
${shlibs:Depends},
${misc:Depends}
+Provides:
+ ${ocaml:Provides}
Suggests:
ocaml-findlib
Description: composable build system for OCaml projects (libraries)
Reply to: