Comparing builds

Builds miragevpn-router@2025-04-02 01:51:34Z on freebsd-14 and miragevpn-router@2024-08-05 14:50:11Z on freebsd-14

Compare in reverse direction

Opam packages removed

mirage-unikernel-miragevpn_router-hvt.0.0.2

New opam packages installed

host-arch-x86_64.1
host-system-other.1

Opam packages with version changes

angstrom.0.16.1->0.16.0
conf-pkg-config.4->3
domain-name.0.4.1->0.4.0
dune.3.17.2->3.16.0
dune-configurator.3.17.2->3.16.0
fmt.0.10.0->0.9.0
logs.0.8.0->0.7.0
mirage.4.9.0->4.5.1
ocaml-solo5.0.8.5->0.8.4
ocamlbuild.0.16.1->0.15.0
ocamlfind.1.9.8->1.9.6
opam-monorepo.0.4.1->0.4.0
solo5.0.9.1->0.8.1
topkg.1.0.8->1.0.7
uutf.1.0.4->1.0.3

Duniverse parsing error

not a single root package found in opam switch export

Opam packages with changes in their opam file

ocaml-src.4.14.2 (effectively equal)

diff
--- left/ocaml-src/opam
+++ right/ocaml-src/opam
@@ -9,10 +9,17 @@
 depends: [
   "ocaml" {= "4.14.2"}
 ]
-build: ["touch" "META"]
 install: ["cp" "-r" "." "%{lib}%/ocaml-src"]
 url {
   src: "https://github.com/ocaml/ocaml/archive/4.14.2.tar.gz"
   checksum:
     "sha256=c2d706432f93ba85bd3383fa451d74543c32a4e84a1afaf3e8ace18f7f097b43"
+}
+extra-source "META" {
+  src:
+    "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/ocaml-src/META.4.14.2"
+  checksum: [
+    "sha256=9862aa59ae298adf1dffb7762bc37da99f110b19880de441c3649fa402abde28"
+    "md5=589e1ee6f978c9826457a48b08c20e10"
+  ]
 }
\ No newline at end of file

ocaml-base-compiler.4.14.2 (effectively equal)

diff
--- left/ocaml-base-compiler/opam
+++ right/ocaml-base-compiler/opam
@@ -15,13 +15,27 @@
   "base-unix" {post}
   "base-bigarray" {post}
   "base-threads" {post}
+  "host-arch-arm32" {arch = "arm32" & post}
+  "host-arch-arm64" {arch = "arm64" & post}
+  "host-arch-ppc64" {arch = "ppc64" & post}
+  "host-arch-riscv64" {arch = "riscv64" & post}
+  "host-arch-s390x" {arch = "s390x" & post}
+  "host-arch-x86_32" {os != "win32" & arch = "x86_32" & post}
+  "host-arch-x86_64" {os != "win32" & arch = "x86_64" & post}
+  "host-arch-unknown"
+  {os != "win32" & arch != "arm32" & arch != "arm64" & arch != "ppc64" &
+   arch != "riscv64" &
+   arch != "s390x" &
+   arch != "x86_32" &
+   arch != "x86_64" &
+   post}
   (("arch-x86_64" {os = "win32" & arch = "x86_64"} &
-    (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) |
-     "system-msvc")) |
-   ("arch-x86_32" {os = "win32"} &
-    (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) |
-     "system-msvc")) |
-   "base-unix" {os != "win32" & post})
+  (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) |
+   "system-msvc")) |
+ ("arch-x86_32" {os = "win32"} &
+  (("system-mingw" & "mingw-w64-shims" {os-distribution = "cygwin" & post}) |
+   "system-msvc")) |
+ "host-system-other" {os != "win32" & post})
   "ocaml-options-vanilla" {post}
   "flexdll" {>= "0.36" & os = "win32"}
 ]
@@ -67,4 +81,15 @@
 }
 x-env-path-rewrite: [
   [CAML_LD_LIBRARY_PATH (";" {os = "win32"} ":" {os != "win32"}) "target"]
+]
+post-messages: [
+  """\
+A failure in the middle of the build may be caused by build parallelism
+   (enabled by default).
+   Please file a bug report at https://github.com/ocaml/opam-repository/issues"""
+    {failure & jobs > "1"}
+  """\
+You can try installing again including --jobs=1
+   to force a sequential build instead."""
+    {failure & jobs > "1" & opam-version >= "2.0.5"}
 ]
\ No newline at end of file

Environment variables removed

ARCH x86_64

System packages changed

bash 5.2.37->5.2.26_1
builder 0.4.0.11.ge37a9e1->0.3.2.15.gbb3a686
ca_root_nss 3.104->3.93_2
curl 8.11.1_1->8.8.0
expat 2.6.4->2.6.2
gettext runtime-0.23.1->runtime-0.22.5
git 2.47.1->2.45.1
libnghttp2 1.64.0->1.62.1
orb 1.0.0.2.g8f912f3->0.0.2.18.g232dbb8
pkgconf 2.3.0,1->2.2.0,1
readline 8.2.13_2->8.2.10