Organisationsjmidmutaml517b00 ()openbsd-76-amd64-4.14_opam-2.3

openbsd-76-amd64-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-03-17 09:28.25: New job: test jmid/mutaml https://github.com/jmid/mutaml.git#refs/heads/main (517b00b64840232336266aa994e37bdd26257c25) (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 517b00b6
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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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-17 09:28.25: Using cache hint "jmid/mutaml-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-e672dab5ae5acf48d877bb9771b5d2f0"
2025-03-17 09:28.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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && 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-17 09:28.25: Waiting for resource in pool OCluster
2025-03-17 09:28.25: Waiting for worker…
2025-03-17 09:55.09: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at 517b00b Merge pull request #38 from jmid/dependabot/github_actions/actions/checkout-4


(from openbsd-76-amd64-ocaml-4.14)
2025-03-17 09:55.10 ---> 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-17 09:55.10 ---> 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-17 09:55.10 ---> 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-17 09:55.10 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache


/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
727427c1e7..4f8517f5b7  master     -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2


<><> 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-17 09:55.10 ---> using "dddfbfb2e06a6960620f1f2bee7f3b2bbbbff388141d56e81747449e150f3662" from cache


/: (copy (src mutaml.opam) (dst /home/opam/src/./))
2025-03-17 09:55.52 ---> saved as "21446c0032d77ebbc4e8531b1370feec022f5a185457488456f9829e1776feb3"


/: (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-17 09:56.36 ---> saved as "dc71de69f7d6e9558a634046f8d8e7a09223fdde4ff015838a676729bb738712"


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-03-17 09:57.17 ---> saved as "2219cd68da1e461ca13e947419e35edaee8dc8612b1ca7779dd953425b4d28ba"


/: (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).


The following system packages will first need to be installed:
textproc/gdiff


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/doas "pkg_add" "-I" "textproc/gdiff"
- file:textproc/: empty
- quirks-7.50 signed on 2025-03-16T20:27:32Z
2025-03-17 09:58.18 ---> saved as "5cfd0b18615b6275c2c8cfba451ff30b70a15c2daee881dc2c1c5a27be7f233a"


/: (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 ppxlib.0.35.0  (cached)
-> retrieved stdlib-random.1.2.0  (cached)
-> retrieved stdlib-shims.0.3.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-2885-050720.env
# output-file ~/.opam/log/conf-diffutils-2885-050720.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-20250317095847.export"
"opam install $DEPS" failed with exit status 31
2025-03-17 10:09.38: Job failed: Failed: Build failed