Organisationsocurrentocaml-version994cfa ()openbsd-78-amd64-4.14_opam-2.5

openbsd-78-amd64-4.14_opam-2.5

Logs

Show full logs
2026-06-25 14:41.54: New job: test ocurrent/ocaml-version https://github.com/ocurrent/ocaml-version.git#refs/pull/89/head (994cfa73bc44a5ce576ebd62e48acb8337512c69) (openbsd-amd64:openbsd-78-amd64-4.14_opam-2.5)
Base: openbsd-78-amd64-ocaml-4.14
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/ocurrent/ocaml-version.git" && cd "ocaml-version" && git fetch origin "refs/pull/89/head" && git reset --hard 994cfa73
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-78-amd64-ocaml-4.14
# openbsd-78-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 cd ~/opam-repository && (git cat-file -e fa4294b92f08ab37c30a1292aac58b5f0405b90b || git fetch origin master) && git reset -q --hard fa4294b92f08ab37c30a1292aac58b5f0405b90b && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN opam update -u
COPY --chown=1000:1000 ocaml-version.opam /home/opam/src/./
RUN opam pin add -yn ocaml-version.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.4.14.4 ocaml-base-compiler.4.14.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y ocaml-version.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-06-25 14:41.54: Using cache hint "ocurrent/ocaml-version-openbsd-78-amd64-ocaml-4.14-openbsd-78-amd64-4.14_opam-2.5-c864ff5f95638cbae2164c011db60309"
2026-06-25 14:41.54: Using OBuilder spec:
((from openbsd-78-amd64-ocaml-4.14)
 (comment openbsd-78-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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell "cd ~/opam-repository && (git cat-file -e fa4294b92f08ab37c30a1292aac58b5f0405b90b || git fetch origin master) && git reset -q --hard fa4294b92f08ab37c30a1292aac58b5f0405b90b && git log --no-decorate -n1 --oneline"))
 (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 "opam update -u"))
 (copy (src ocaml-version.opam) (dst /home/opam/src/./))
 (run (network host)
      (shell "opam pin add -yn ocaml-version.dev '/home/opam/src/./'"))
 (run (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
 (env DEPS "alcotest.1.9.1 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base cmdliner.2.1.1 dune.3.23.1 fmt.0.11.0 ocaml.4.14.4 ocaml-base-compiler.4.14.4 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 re.1.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
 (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 ocaml-version.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-06-25 14:41.54: Waiting for resource in pool OCluster
2026-06-25 15:20.29: Connecting to build cluster…
2026-06-25 15:20.45: Waiting for worker…
2026-06-25 15:52.35: Got resource from pool OCluster
Building on oregano.caelum.ci.dev
All commits already cached
HEAD is now at 994cfa7 tweak version now that opam-repository lower OCaml bound is 4.11

(from openbsd-78-amd64-ocaml-4.14)
2026-06-25 15:52.35 ---> using "8f070c393252618f9000040e24edb84715c1a77871dc70b8d312e18d58fd37ee" from cache

/: (comment openbsd-78-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-06-25 15:52.35 ---> using "8b37a46f8ee9b07555ce46cb4c8db926568dff6fd00d38612e390d391558cbd5" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e fa4294b92f08ab37c30a1292aac58b5f0405b90b || git fetch origin master) && git reset -q --hard fa4294b92f08ab37c30a1292aac58b5f0405b90b && git log --no-decorate -n1 --oneline"))
fa4294b92f Merge pull request #30067 from hannesm/ocaml-4-14-4-no-avoid
2026-06-25 15:52.35 ---> using "b23faac09aacd69ab92901636dcd2e64cc272afe0c9a9e11e1a125ad0f0b7904" 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] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository): 
    [WARNING] opam is out-of-date. Please consider updating it (https://opam.ocaml.org/doc/Install.html)

default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.5.1 includes security fixes; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-06-25 15:52.35 ---> using "e273865a0e561b7f567fa49e6c164d4c2ac6a41999a15a0904c32f09048a1397" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.8
The OCaml toplevel, version 4.14.4
2.5.0
2026-06-25 15:52.35 ---> using "a3b51068122878b80c3e565101bcd56dbc400de3f17187197f855a422350964e" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "opam update -u"))

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes 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.5.0"), 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-06-25 15:52.35 ---> using "b22cb4882d0c33caaff45dd0530075189e546923909d047f7f9cdfb261fa1014" from cache

/: (copy (src ocaml-version.opam) (dst /home/opam/src/./))
2026-06-25 15:53.34 ---> saved as "bc1afedd80cb7b33e0c05e4152d0acfa33c5d71da8fba09ca3d041cb9f5dea5f"

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

[ERROR] Invalid opam file in ocaml-version source from file:///home/opam/src:
    error  2: File format error at line 1, column 1: Parse error
[ERROR] No valid package definition found for ocaml-version
"opam pin add -yn ocaml-version.dev '/home/opam/src/./'" failed with exit status 5
2026-06-25 15:54.27: Job failed: Failed: Build failed