Organisationsmefyltimmya566ff (feature/dune-pkg)openbsd-76-amd64-5.2_opam-2.3

openbsd-76-amd64-5.2_opam-2.3

Link Copied
Code Copied

Logs

2024-12-19 16:00.58: New job: test mefyl/timmy https://github.com/mefyl/timmy.git#refs/heads/feature/dune-pkg (a566ff2f56ac076df4fed2fae9b21ec8bc92e366) (openbsd-amd64:openbsd-76-amd64-5.2_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.2
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mefyl/timmy.git" -b "feature/dune-pkg" && cd "timmy" && git reset --hard a566ff2f
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-5.2
# openbsd-76-amd64-5.2_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 40261e81b0d4449cd32f7834e272aa9d38a28c49 || git fetch origin master) && git reset -q --hard 40261e81b0d4449cd32f7834e272aa9d38a28c49 && git log --no-decorate -n1 --oneline && opam update -u
RUN mkdir -p 'opam/'
COPY --chown=1000:1000 timmy.opam timmy-unix.opam timmy-lwt.opam timmy-jsoo.opam /home/opam/src/./
COPY --chown=1000:1000 opam/timmy-windows.opam opam/timmy-unix-windows.opam opam/timmy-unix-macos.opam opam/timmy-macos.opam opam/timmy-lwt-windows.opam opam/timmy-lwt-macos.opam opam/timmy-jsoo-windows.opam opam/timmy-jsoo-macos.opam /home/opam/src/opam/
RUN opam pin add -yn timmy.dev '/home/opam/src/./' && \
opam pin add -yn timmy-unix.dev '/home/opam/src/./' && \
opam pin add -yn timmy-lwt.dev '/home/opam/src/./' && \
opam pin add -yn timmy-jsoo.dev '/home/opam/src/./' && \
opam pin add -yn timmy-windows.dev '/home/opam/src/opam/' && \
opam pin add -yn timmy-unix-windows.dev '/home/opam/src/opam/' && \
opam pin add -yn timmy-unix-macos.dev '/home/opam/src/opam/' && \
opam pin add -yn timmy-macos.dev '/home/opam/src/opam/' && \
opam pin add -yn timmy-lwt-windows.dev '/home/opam/src/opam/' && \
opam pin add -yn timmy-lwt-macos.dev '/home/opam/src/opam/' && \
opam pin add -yn timmy-jsoo-windows.dev '/home/opam/src/opam/' && \
opam pin add -yn timmy-jsoo-macos.dev '/home/opam/src/opam/'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project' && \
echo '(lang dune 3.0)' > '/home/opam/src/opam/dune-project'
ENV DEPS="alcotest.1.8.0 alcotest-lwt.1.8.0 astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 conf-npm.1 conf-tzdata.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.17.1 dune-build-info.3.17.1 dune-configurator.3.17.1 either.1.0.0 ezjsonm.1.3.0 fix.20230505 fmt.0.9.0 fpath.0.7.3 gen.1.1 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 js_of_ocaml-ppx.5.9.1 jsonm.1.0.2 logs.0.7.0 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.5-1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.2 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlformat.0.26.2 ocamlformat-lib.0.26.2 ocp-indent.1.8.1 ocplib-endian.1.2 opam-file-format.2.1.6 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_here.v0.17.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 sedlex.3.3 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.3 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y timmy.dev timmy-unix.dev timmy-lwt.dev timmy-jsoo.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


2024-12-19 16:00.58: Using cache hint "mefyl/timmy-openbsd-76-amd64-ocaml-5.2-openbsd-76-amd64-5.2_opam-2.3-34234e2dd07297d97c9f31e4a13de1c8"
2024-12-19 16:00.58: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.2)
(comment openbsd-76-amd64-5.2_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 40261e81b0d4449cd32f7834e272aa9d38a28c49 || git fetch origin master) && git reset -q --hard 40261e81b0d4449cd32f7834e272aa9d38a28c49 && git log --no-decorate -n1 --oneline && opam update -u"))
(run (shell "mkdir -p 'opam/'"))
(copy (src timmy.opam timmy-unix.opam timmy-lwt.opam timmy-jsoo.opam)
(dst /home/opam/src/./))
(copy (src opam/timmy-windows.opam opam/timmy-unix-windows.opam opam/timmy-unix-macos.opam opam/timmy-macos.opam opam/timmy-lwt-windows.opam opam/timmy-lwt-macos.opam opam/timmy-jsoo-windows.opam opam/timmy-jsoo-macos.opam)
(dst /home/opam/src/opam/))
(run (network host)
(shell  "opam pin add -yn timmy.dev '/home/opam/src/./' && \
\nopam pin add -yn timmy-unix.dev '/home/opam/src/./' && \
\nopam pin add -yn timmy-lwt.dev '/home/opam/src/./' && \
\nopam pin add -yn timmy-jsoo.dev '/home/opam/src/./' && \
\nopam pin add -yn timmy-windows.dev '/home/opam/src/opam/' && \
\nopam pin add -yn timmy-unix-windows.dev '/home/opam/src/opam/' && \
\nopam pin add -yn timmy-unix-macos.dev '/home/opam/src/opam/' && \
\nopam pin add -yn timmy-macos.dev '/home/opam/src/opam/' && \
\nopam pin add -yn timmy-lwt-windows.dev '/home/opam/src/opam/' && \
\nopam pin add -yn timmy-lwt-macos.dev '/home/opam/src/opam/' && \
\nopam pin add -yn timmy-jsoo-windows.dev '/home/opam/src/opam/' && \
\nopam pin add -yn timmy-jsoo-macos.dev '/home/opam/src/opam/'"))
(run (network host)
(shell  "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project' && \
\necho '(lang dune 3.0)' > '/home/opam/src/opam/dune-project'"))
(env DEPS "alcotest.1.8.0 alcotest-lwt.1.8.0 astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 conf-npm.1 conf-tzdata.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 dune.3.17.1 dune-build-info.3.17.1 dune-configurator.3.17.1 either.1.0.0 ezjsonm.1.3.0 fix.20230505 fmt.0.9.0 fpath.0.7.3 gen.1.1 hex.1.5.0 host-arch-x86_64.1 host-system-other.1 js_of_ocaml.5.9.1 js_of_ocaml-compiler.5.9.1 js_of_ocaml-ppx.5.9.1 jsonm.1.0.2 logs.0.7.0 lwt.5.9.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 num.1.5-1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocaml-version.3.7.2 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ocamlformat.0.26.2 ocamlformat-lib.0.26.2 ocp-indent.1.8.1 ocplib-endian.1.2 opam-file-format.2.1.6 parsexp.v0.17.0 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_here.v0.17.0 ppxlib.0.33.0 ptime.1.2.0 re.1.12.0 result.1.5 sedlex.3.3 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.7 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.3 yojson.2.2.2")
(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 timmy.dev timmy-unix.dev timmy-lwt.dev timmy-jsoo.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"))
)


2024-12-19 16:00.58: Waiting for resource in pool OCluster
2024-12-19 20:09.55: Waiting for worker…
2024-12-19 22:44.21: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at a566ff2 Migrate CI to `dune pkg`.


(from openbsd-76-amd64-ocaml-5.2)
2024-12-19 22:44.22 ---> using "4320665f99976787f90a9e18174d2737909e8978c44b8f3d46fb0aff097b06a4" from cache


/: (comment openbsd-76-amd64-5.2_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"))
2024-12-19 22:44.22 ---> using "22e2929b9a366c809ec816349aa6cb9a45b4649cad05d8c280efed2bc66c5069" 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
2024-12-19 22:44.22 ---> using "8ee85108de9d3aac6d892ef0faaf024ea14d13d761a327e4e4cd8f43a209bafa" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.2.1
2.3.0
2024-12-19 22:44.22 ---> using "52e1b1eb38389daf27ec5bb41e48ee2005bdbd80371e88d39094e253864006cb" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 40261e81b0d4449cd32f7834e272aa9d38a28c49 || git fetch origin master) && git reset -q --hard 40261e81b0d4449cd32f7834e272aa9d38a28c49 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
727427c1e7..d5d6349c47  master     -> origin/master
40261e81b0 Merge pull request #27148 from mtelvers/opam-publish-ocaml-version.3.7.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)
2024-12-19 22:44.22 ---> using "ccdaf82b70c09da953eea3e3c63a3cfe138f52bb092cb4850adb270ee09c30dc" from cache


/: (run (shell "mkdir -p 'opam/'"))
mkdir: opam: Permission denied
"mkdir -p 'opam/'" failed with exit status 1
2024-12-19 22:45.07: Job failed: Failed: Build failed