2025-03-04 21:54.14: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (f293e64792819268894a575dd18b6aa836ce0807) (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/jmid/mutaml.git" -b "main" && cd "mutaml" && git reset --hard f293e647
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 f90215803a7685163b9d99ec926c4efac6cd671a || git fetch origin master) && git reset -q --hard f90215803a7685163b9d99ec926c4efac6cd671a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mutaml.opam /home/opam/src/./
RUN opam pin add -yn mutaml.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-threads.base base-unix.base conf-bash.1 conf-diffutils.2 conf-timeout.1 conf-which.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 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 yojson.2.2.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mutaml.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-03-04 21:54.14: Using cache hint "jmid/mutaml-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-e672dab5ae5acf48d877bb9771b5d2f0"
2025-03-04 21:54.14: 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 f90215803a7685163b9d99ec926c4efac6cd671a || git fetch origin master) && git reset -q --hard f90215803a7685163b9d99ec926c4efac6cd671a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mutaml.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn mutaml.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-threads.base base-unix.base conf-bash.1 conf-diffutils.2 conf-timeout.1 conf-which.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 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 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 mutaml.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-03-04 21:54.14: Waiting for resource in pool OCluster
2025-03-04 21:54.14: Waiting for worker…
2025-03-04 21:54.33: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at f293e64 Merge pull request #37 from jmid/add-dependabot
(from openbsd-76-amd64-ocaml-4.14)
2025-03-04 21:54.33 ---> 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-03-04 21:54.33 ---> 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-03-04 21:54.33 ---> 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-03-04 21:54.33 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e f90215803a7685163b9d99ec926c4efac6cd671a || git fetch origin master) && git reset -q --hard f90215803a7685163b9d99ec926c4efac6cd671a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
727427c1e7..a263eb47bd master -> origin/master
f90215803a Merge pull request #27486 from NathanReb/prep-for-ppxlib.0.36.0
<><> 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-03-04 21:54.33 ---> using "9cc4d3422ba81dc76cc87743b4c5b96d6a062908631045695e799b9612a393da" from cache
/: (copy (src mutaml.opam) (dst /home/opam/src/./))
2025-03-04 21:54.33 ---> using "eb8e4c0a2ced90aa6a0485d8efe185278679d793930833d899bbdd63c8015888" from cache
/: (run (network host)
(shell "opam pin add -yn mutaml.dev '/home/opam/src/./'"))
[mutaml.dev] synchronised (file:///home/opam/src)
mutaml is now pinned to file:///home/opam/src (version dev)
2025-03-04 21:54.33 ---> using "5cdf7d2823b1bdbeff3b692b89d4b134ee071a38b5cebccd7e4b81e1206fdb29" from cache
/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-03-04 21:54.33 ---> using "a817aec66e2f3e19d1af18749ffc0eebba5dc9ea1217d594aa455f7e93725e5a" from cache
/: (env DEPS "base.v0.16.3 base-bigarray.base base-threads.base base-unix.base conf-bash.1 conf-diffutils.2 conf-timeout.1 conf-which.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 ocamlfind.1.9.8 octavius.1.2.2 ounit2.2.2.7 ppx_derivers.1.2.1 ppx_deriving.6.0.3 ppx_js_style.v0.16.0 ppx_yojson_conv.v0.16.0 ppx_yojson_conv_lib.v0.16.0 ppxlib.0.35.0 seq.base sexplib0.v0.16.0 stdlib-random.1.2.0 stdlib-shims.0.3.0 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 mutaml.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mutaml.dev] synchronised (file:///home/opam/src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
2025-03-04 21:54.33 ---> using "f7b24dd5ba72a16e6238a9a58df403f0d561c8db3db4151251b6e28a4cad339b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 24 packages
- install base v0.16.3
- install conf-bash 1
- install conf-diffutils 2
- install conf-timeout 1
- install conf-which 1
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.17.2
- install dune-configurator 3.17.2
- install ocaml-compiler-libs v0.12.4
- install ocamlfind 1.9.8
- install octavius 1.2.2
- install ounit2 2.2.7
- install ppx_derivers 1.2.1
- install ppx_deriving 6.0.3
- install ppx_js_style v0.16.0
- install ppx_yojson_conv v0.16.0
- install ppx_yojson_conv_lib v0.16.0
- install ppxlib 0.35.0
- install seq base
- install sexplib0 v0.16.0
- install stdlib-random 1.2.0
- install stdlib-shims 0.3.0
- install yojson 2.2.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-bash.1
[ERROR] The compilation of conf-diffutils.2 failed at "diff --help".
-> retrieved csexp.1.5.2 (cached)
-> installed conf-timeout.1
-> installed conf-which.1
-> retrieved cppo.1.8.0 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved octavius.1.2.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved ppx_deriving.6.0.3 (cached)
-> retrieved ppx_js_style.v0.16.0 (cached)
-> retrieved ppx_yojson_conv.v0.16.0 (cached)
-> retrieved ppx_yojson_conv_lib.v0.16.0 (cached)
-> retrieved seq.base (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-random.1.2.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved yojson.2.2.2 (cached)
-> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.17.2
-> installed seq.base
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed dune-configurator.3.17.2
-> installed octavius.1.2.2
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.16.0
-> installed stdlib-random.1.2.0
-> installed base.v0.16.3
-> installed stdlib-shims.0.3.0
-> installed yojson.2.2.2
-> installed ounit2.2.2.7
-> installed ppx_yojson_conv_lib.v0.16.0
-> installed ppxlib.0.35.0
-> installed ppx_deriving.6.0.3
-> installed ppx_js_style.v0.16.0
-> installed ppx_yojson_conv.v0.16.0
#=== ERROR while compiling conf-diffutils.2 ===================================#
# context 2.3.0 | openbsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14.2/.opam-switch/build/conf-diffutils.2
# command /usr/bin/diff --help
# exit-code 2
# env-file ~/.opam/log/conf-diffutils-6970-3c9a0b.env
# output-file ~/.opam/log/conf-diffutils-6970-3c9a0b.out
### output ###
# diff: unknown option -- help
# usage: diff [-abdipTtw] [-c | -e | -f | -n | -q | -u] [-I pattern] [-L label]
# file1 file2
# diff [-abdipTtw] [-I pattern] [-L label] -C number file1 file2
# diff [-abditw] [-I pattern] -D string file1 file2
# diff [-abdipTtw] [-I pattern] [-L label] -U number file1 file2
# diff [-abdiNPprsTtw] [-c | -e | -f | -n | -q | -u] [-I pattern]
# [-L label] [-S name] [-X file] [-x pattern] dir1 dir2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-diffutils 2
+-
+- The following changes have been performed
| - install base v0.16.3
| - install conf-bash 1
| - install conf-timeout 1
| - install conf-which 1
| - install cppo 1.8.0
| - install csexp 1.5.2
| - install dune 3.17.2
| - install dune-configurator 3.17.2
| - install ocaml-compiler-libs v0.12.4
| - install ocamlfind 1.9.8
| - install octavius 1.2.2
| - install ounit2 2.2.7
| - install ppx_derivers 1.2.1
| - install ppx_deriving 6.0.3
| - install ppx_js_style v0.16.0
| - install ppx_yojson_conv v0.16.0
| - install ppx_yojson_conv_lib v0.16.0
| - install ppxlib 0.35.0
| - install seq base
| - install sexplib0 v0.16.0
| - install stdlib-random 1.2.0
| - install stdlib-shims 0.3.0
| - install yojson 2.2.2
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20250304215501.export"
"opam install $DEPS" failed with exit status 31
2025-03-04 22:05.39: Job failed: Failed: Build failed