Organisationshyper-systemsocaml-mqttee6f43 (master)openbsd-77-amd64-4.14_opam-2.5

openbsd-77-amd64-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-02-20 10:08.37: New job: test hyper-systems/ocaml-mqtt https://github.com/hyper-systems/ocaml-mqtt.git#refs/heads/master (ee6f43c284b35e7d5f83012fd97daffa99302581) (openbsd-amd64:openbsd-77-amd64-4.14_opam-2.5)
Base: openbsd-77-amd64-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hyper-systems/ocaml-mqtt.git" -b "master" && cd "ocaml-mqtt" && git reset --hard ee6f43c2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-77-amd64-ocaml-4.14
# openbsd-77-amd64-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.5 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e d18d14011e4188f5c398421e2e99b297dd8150fb || git fetch origin master) && git reset -q --hard d18d14011e4188f5c398421e2e99b297dd8150fb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mqtt.opam /home/opam/src/./
RUN opam pin add -yn mqtt.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.2.1 cohttp-lwt.6.2.1 cohttp-lwt-unix.6.2.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.21.1 dune-configurator.3.21.1 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.2.1 ipaddr.5.6.2 ipaddr-sexp.5.6.2 kdf.1.0.0 logs.0.10.0 lwt.5.9.2 lwt_ppx.5.9.1 macaddr.5.6.2 magic-mime.1.3.1 mirage-crypto.2.0.3 mirage-crypto-ec.2.0.3 mirage-crypto-pk.2.0.3 mirage-crypto-rng.2.0.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 tls.2.0.3 tls-lwt.2.0.3 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y mqtt.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-02-20 10:08.37: Using cache hint "hyper-systems/ocaml-mqtt-openbsd-77-amd64-ocaml-4.14-openbsd-77-amd64-4.14_opam-2.5-62091f8515fb2bf978ea87a0aca26175"
2026-02-20 10:08.37: Using OBuilder spec:
((from openbsd-77-amd64-ocaml-4.14)
(comment openbsd-77-amd64-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d18d14011e4188f5c398421e2e99b297dd8150fb || git fetch origin master) && git reset -q --hard d18d14011e4188f5c398421e2e99b297dd8150fb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mqtt.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn mqtt.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "alcotest.1.9.1 alcotest-lwt.1.9.1 angstrom.0.16.1 asn1-combinators.0.3.2 astring.0.8.5 base.v0.16.4 base-bigarray.base base-bytes.base base-threads.base base-unix.base base64.3.5.2 bigstringaf.0.10.0 bos.0.2.1 ca-certs.1.0.1 cmdliner.2.1.0 cohttp.6.2.1 cohttp-lwt.6.2.1 cohttp-lwt-unix.6.2.1 conduit.8.0.0 conduit-lwt.8.0.0 conduit-lwt-unix.8.0.0 conf-gmp.5 conf-gmp-powm-sec.4 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 digestif.1.3.0 domain-name.0.5.0 dune.3.21.1 dune-configurator.3.21.1 duration.0.2.1 eqaf.0.10 fmt.0.11.0 fpath.0.7.3 gmap.0.3.0 http.6.2.1 ipaddr.5.6.2 ipaddr-sexp.5.6.2 kdf.1.0.0 logs.0.10.0 lwt.5.9.2 lwt_ppx.5.9.1 macaddr.5.6.2 magic-mime.1.3.1 mirage-crypto.2.0.3 mirage-crypto-ec.2.0.3 mirage-crypto-pk.2.0.3 mirage-crypto-rng.2.0.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ohex.0.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.35.0 ptime.1.2.0 re.1.14.0 rresult.0.7.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 stringext.1.6.0 tls.2.0.3 tls-lwt.2.0.3 topkg.1.1.1 uri.4.4.0 uri-sexp.4.4.0 uutf.1.0.4 x509.1.0.6 zarith.1.14")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y mqtt.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2026-02-20 10:08.37: Waiting for resource in pool OCluster
2026-02-20 10:08.37: Waiting for worker…
2026-02-20 11:26.59: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at ee6f43c Merge pull request #20 from hyper-systems/rizo-opam-install


(from openbsd-77-amd64-ocaml-4.14)
2026-02-20 11:26.59 ---> using "00579f8dea230f94ca5972e50ed0dc70167d1c0e96cfe76e645642677774f17f" from cache


/: (comment openbsd-77-amd64-4.14_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "doas ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-02-20 11:26.59 ---> using "da141ce924dbdf0e0442253d076446a1e9daf01a696ee1da60c117d1744ba343" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file:///home/opam/opam-repository
2026-02-20 11:26.59 ---> using "b47c7195b64a0fbbfb2ac6be89bc5d4169c21972d78277da851cf2b727db2a25" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.7
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-20 11:26.59 ---> using "e55220d038fe41141e2145e0c421187821ce842a2e5f51ea535be80bbba79f5e" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d18d14011e4188f5c398421e2e99b297dd8150fb || git fetch origin master) && git reset -q --hard d18d14011e4188f5c398421e2e99b297dd8150fb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
93a7bce43a..d18d14011e  master     -> origin/master
d18d14011e Merge pull request #29430 from hannesm/release-ipaddr-v5.6.2


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.1"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-02-20 11:26.59 ---> using "f9ad0274aa1f32b4c5ceb80ffdac77f84ecaf254995960522fbb4db2c11a05de" from cache


/: (copy (src mqtt.opam) (dst /home/opam/src/./))
2026-02-20 11:27.56 ---> saved as "1e454364d66db064e94e4dba88321984e1d61e4de90c60495ff207f24747ae64"


/: (run (network host)
(shell "opam pin add -yn mqtt.dev '/home/opam/src/./'"))
[mqtt.dev] synchronised (file:///home/opam/src)
[ERROR] At /home/opam/.opam/4.14.2/.opam-switch/sources/mqtt/mqtt.opam:1:0-1:1::
Parse error [skipped]


[ERROR] Invalid opam file in mqtt source from file:///home/opam/src:
error  2: File format error at line 1, column 0: Parse error
[ERROR] No valid package definition found for mqtt
"opam pin add -yn mqtt.dev '/home/opam/src/./'" failed with exit status 5
2026-02-20 11:28.51: Job failed: Failed: Build failed