Organisationsmbarbincmdlang676d80 ()freebsd-14.3-4.14_opam-2.5

freebsd-14.3-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-02-01 14:52.07: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (676d80815ff8abb693fb66b5665ef8d745bb3644) (freebsd-x86_64:freebsd-14.3-4.14_opam-2.5)
Base: freebsd-14.3-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mbarbin/cmdlang.git" -b "main" && cd "cmdlang" && git reset --hard 676d8081
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-4.14
# freebsd-14.3-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam cmdlang-dev.opam ./
RUN opam pin add -yn cmdlang.dev './' && \
opam pin add -yn cmdlang-to-cmdliner.dev './' && \
opam pin add -yn cmdlang-to-climate.dev './' && \
opam pin add -yn cmdlang-to-base.dev './' && \
opam pin add -yn cmdlang-tests.dev './' && \
opam pin add -yn cmdlang-stdlib-runner.dev './' && \
opam pin add -yn cmdlang-dev.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.5 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2026-02-01 14:52.07: Using cache hint "mbarbin/cmdlang-freebsd-14.3-ocaml-4.14-freebsd-14.3-4.14_opam-2.5-693d87b89e135645c82c527fc90ef295"
2026-02-01 14:52.07: Using OBuilder spec:
((from freebsd-14.3-ocaml-4.14)
(comment freebsd-14.3-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam cmdlang-dev.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn cmdlang.dev './' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './' && \
\nopam pin add -yn cmdlang-to-climate.dev './' && \
\nopam pin add -yn cmdlang-to-base.dev './' && \
\nopam pin add -yn cmdlang-tests.dev './' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './' && \
\nopam pin add -yn cmdlang-dev.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")
(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 cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build"))
)


2026-02-01 14:52.07: Waiting for resource in pool OCluster
2026-02-01 14:52.08: Waiting for worker…
2026-02-01 14:52.08: Got resource from pool OCluster
Building on rosemary
Updating files: 100% (195/195), done.
HEAD is now at cd9ee39 Upgrade dunolint workflow
HEAD is now at 676d808 Remove root dune-workspace file


(from freebsd-14.3-ocaml-4.14)
2026-02-01 14:49.26 ---> using "7e5247e9853d1c2fb95ef9ffdfdb895ef70516f48155f08a9b10db936cb8c6c6" from cache


/: (comment freebsd-14.3-4.14_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.5 /usr/local/bin/opam"))
2026-02-01 14:49.26 ---> using "cc65ce37998b2d98fc767b9dc7c3b5c83138e1952bec339ac27a7bb4d9d920d3" from cache


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


This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-02-01 14:49.27 ---> using "87889fea7d09081125d96054d270a07df14f9b2a5c081c0c9434b9f215ecc218" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 4.14.2
2.5.0
2026-02-01 14:49.27 ---> using "4a6e16f39bb2fab11842c96050ea21902749c68aefdffcd64774b8b7640a3492" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-02-01 14:49.28 ---> using "ca1b89b4fcfce73b3b6ab80b797b154eda5f870ad814c498da3e18daf8f4b36f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
71325ac6ed..75005aaa52  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Everything as up-to-date as possible


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.4.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2026-02-01 14:49.28 ---> using "ff9d687398e31f8631a6fc5f7b86db8899aa21df99d4af5cfd65df4bb71d7ea3" from cache


/src: (copy (src cmdlang.opam cmdlang-to-cmdliner.opam cmdlang-to-climate.opam cmdlang-to-base.opam cmdlang-tests.opam cmdlang-stdlib-runner.opam cmdlang-dev.opam)
(dst ./))
2026-02-01 14:49.29 ---> using "11e0aa90a3e0d66a7bddfc94c273246f4be2a5ae9a07ff0049e18d2c9db4da40" from cache


/src: (run (network host)
(shell  "opam pin add -yn cmdlang.dev './' && \
\nopam pin add -yn cmdlang-to-cmdliner.dev './' && \
\nopam pin add -yn cmdlang-to-climate.dev './' && \
\nopam pin add -yn cmdlang-to-base.dev './' && \
\nopam pin add -yn cmdlang-tests.dev './' && \
\nopam pin add -yn cmdlang-stdlib-runner.dev './' && \
\nopam pin add -yn cmdlang-dev.dev './'"))
[cmdlang.dev] synchronised (file:///src)
cmdlang is now pinned to file:///src (version dev)
[cmdlang-to-cmdliner.dev] synchronised (file:///src)
cmdlang-to-cmdliner is now pinned to file:///src (version dev)
[cmdlang-to-climate.dev] synchronised (file:///src)
cmdlang-to-climate is now pinned to file:///src (version dev)
[cmdlang-to-base.dev] synchronised (file:///src)
cmdlang-to-base is now pinned to file:///src (version dev)
[NOTE] Package cmdlang-tests does not exist in opam repositories registered in the current switch.
[cmdlang-tests.dev] synchronised (file:///src)
cmdlang-tests is now pinned to file:///src (version dev)
[cmdlang-stdlib-runner.dev] synchronised (file:///src)
cmdlang-stdlib-runner is now pinned to file:///src (version dev)
[NOTE] Package cmdlang-dev does not exist in opam repositories registered in the current switch.
[cmdlang-dev.dev] synchronised (file:///src)
cmdlang-dev is now pinned to file:///src (version dev)
2026-02-01 14:49.29 ---> using "3ed1d62721745f2fcd1a68b453c26c6b6cc97f24cc0660673df5abbc7bd91743" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-02-01 14:49.29 ---> using "2534270ea179f8aa4d62782a401fa6269e138173a1d5a641c2f5c977f7bb91b9" from cache


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.5 --depext-only -y cmdlang.dev cmdlang-to-cmdliner.dev cmdlang-to-climate.dev cmdlang-stdlib-runner.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[cmdlang-to-climate.dev] synchronised (file:///src)
[cmdlang.dev] synchronised (file:///src)
[cmdlang-stdlib-runner.dev] synchronised (file:///src)
[cmdlang-to-cmdliner.dev] synchronised (file:///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).
2026-02-01 14:49.30 ---> using "e9b362544bf3ce41c8f7425b69ccf7ced618b876f2502c0a1862307fe417857c" from cache


/src: (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 3 packages
 climate  0.9.0
 cmdliner 2.1.0
 dune     3.21.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved cmdliner.2.1.0  (cached)
 retrieved climate.0.9.0  (https://github.com/gridbugs/climate/archive/refs/tags/0.9.0.tar.gz)
 installed cmdliner.2.1.0


#=== ERROR while fetching sources for dune.3.21.0 =============================#
OpamSolution.Fetch_fail("Cannot remove /tmp/opam-79581-441b02/dune-3.21.0/test/blackbox-tests/test-cases/findlib-dynload.t/main_auto.ml (/usr/local/bin/opam: \"unlink\" failed on /tmp/opam-79581-441b02/dune-3.21.0/test/blackbox-tests/test-cases/findlib-dynload.t/main_auto.ml: No such file or directory).")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
 fetch dune 3.21.0
└─ 
┌─ The following changes have been performed (the rest was aborted)
 install cmdliner 2.1.0
└─ 


The former state can be restored with:
/usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20260201144052.export"
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS': failed
"jail" "-c" "name=obuilder_56181_101866" "mount.fstab=/tmp/obuilder-jail-fc7a9d/fstab" "mount.devfs" "path=/obuilder/result/2d372be7d7f88c944135faf4ac786d22d5418730f8e2da6dc0f14f5c1c4fde51/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-threads.base base-unix.base climate.0.9.0 cmdliner.2.1.0 dune.3.21.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS'" failed with exit status 1
2026-02-01 15:12.19: Job failed: Failed: Build failed