2025-01-25 11:34.25: New job: test ocsigen/lwt https://github.com/ocsigen/lwt.git#refs/heads/release-5-8-1 (69eff1fc2cf8dbd7a63c04723612f6afea09316c) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/ocsigen/lwt.git" -b "release-5-8-1" && cd "lwt" && git reset --hard 69eff1fc
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 lwt_react.opam lwt_ppx_let.opam lwt_ppx.opam lwt.opam /home/opam/src/./
RUN opam pin add -yn lwt_react.dev '/home/opam/src/./' && \
opam pin add -yn lwt_ppx_let.dev '/home/opam/src/./' && \
opam pin add -yn lwt_ppx.dev '/home/opam/src/./' && \
opam pin add -yn lwt.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-bash.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.16.0 ppx_let.v0.16.0 ppxlib.0.34.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y lwt_react.dev lwt_ppx_let.dev lwt_ppx.dev lwt.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
2025-01-25 11:34.25: Using cache hint "ocsigen/lwt-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-0cc074e5412f3f94565967ece496b03a"
2025-01-25 11:34.25: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas ln -f /usr/bin/opam-2.3 /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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src lwt_react.opam lwt_ppx_let.opam lwt_ppx.opam lwt.opam)
(dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn lwt_react.dev '/home/opam/src/./' && \
\nopam pin add -yn lwt_ppx_let.dev '/home/opam/src/./' && \
\nopam pin add -yn lwt_ppx.dev '/home/opam/src/./' && \
\nopam pin add -yn lwt.dev '/home/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
(env DEPS "base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-bash.1 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocplib-endian.1.2 ppx_derivers.1.2.1 ppx_here.v0.16.0 ppx_let.v0.16.0 ppxlib.0.34.0 react.1.2.2 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7")
(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.3 --depext-only -y lwt_react.dev lwt_ppx_let.dev lwt_ppx.dev lwt.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"))
)
2025-01-25 11:34.25: Waiting for resource in pool OCluster
2025-01-25 11:34.25: Waiting for worker…
2025-01-25 11:34.25: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 69eff1fc2 add package version to dune-project
(from openbsd-76-amd64-ocaml-4.14)
2025-01-25 11:34.25 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-01-25 11:34.25 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" 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
2025-01-25 11:34.25 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0
2025-01-25 11:34.25 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..12d8668654 master -> origin/master
d1a3803c0c Merge pull request #27313 from maiste/release-dune-3.17.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, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-01-25 11:39.01 ---> saved as "dfb255102954d941896ac7b9a8713f49c89c120471f554cff43bda53539da074"
/: (copy (src lwt_react.opam lwt_ppx_let.opam lwt_ppx.opam lwt.opam)
(dst /home/opam/src/./))
2025-01-25 11:40.01 ---> saved as "f395c36717c028adebb6771d46ce4cdcdd0d807cfd89a24e20481b9310fa10e6"
/: (run (network host)
(shell "opam pin add -yn lwt_react.dev '/home/opam/src/./' && \
\nopam pin add -yn lwt_ppx_let.dev '/home/opam/src/./' && \
\nopam pin add -yn lwt_ppx.dev '/home/opam/src/./' && \
\nopam pin add -yn lwt.dev '/home/opam/src/./'"))
[lwt_react.dev] synchronised (file:///home/opam/src)
[ERROR] At /home/opam/.opam/4.14.2/.opam-switch/sources/lwt_react/lwt_react.opam:25:34-25:34::
Parse error [skipped]
[ERROR] Invalid opam file in lwt_react source from file:///home/opam/src:
error 2: File format error at line 25, column 34: Parse error
[NOTE] No package definition found for lwt_react.dev: please complete the template
sh: nano: not found
[ERROR] Empty file or editor error, aborting.
[ERROR] No valid package definition found
"opam pin add -yn lwt_react.dev '/home/opam/src/./' &&
opam pin add -yn lwt_ppx_let.dev '/home/opam/src/./' &&
opam pin add -yn lwt_ppx.dev '/home/opam/src/./' &&
opam pin add -yn lwt.dev '/home/opam/src/./'" failed with exit status 5
2025-01-25 11:41.00: Job failed: Failed: Build failed