I just tried whether a straightforward upgrade of the OpenBSD port to 2.5.0-alpha1 would work. It does not:
Downloading vendored source dependencies...
* Downloading dune-local...
curl: (6) Could not resolve host: github.com
Failed to download https://github.com/ocaml/dune/releases/download/3.20.2/dune-3.20.2.tbz
OpenBSD does not allow network access during the build phase.
Therefore OpenBSD uses the -full release tarball, which does indeed include dune-3.20.2, but still tries to download dune.
There are patches in place to prevent this for the current opam 2.4.1 port.
Now there appeared something about a secondary dune in Makefile.config.in and configure.ac.
I don't have time to look into this right now, but to me it seems, the build system in the -full tarball should not need any network access to build. After all that's the whole point of the -full source release, isn't it?
I just tried whether a straightforward upgrade of the OpenBSD port to 2.5.0-alpha1 would work. It does not:
OpenBSD does not allow network access during the build phase.
Therefore OpenBSD uses the -full release tarball, which does indeed include dune-3.20.2, but still tries to download dune.
There are patches in place to prevent this for the current opam 2.4.1 port.
Now there appeared something about a secondary dune in Makefile.config.in and configure.ac.
I don't have time to look into this right now, but to me it seems, the build system in the -full tarball should not need any network access to build. After all that's the whole point of the -full source release, isn't it?