Organisationsmbarbincmdlang1b43c5 ()freebsd-14.2-4.14_opam-2.4

freebsd-14.2-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-19 08:40.01: New job: test mbarbin/cmdlang https://github.com/mbarbin/cmdlang.git#refs/heads/main (1b43c520f69742fc689e49d7b4e5b3995857b364) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.4)
Base: freebsd-14.2-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 1b43c520
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-4.14
# freebsd-14.2-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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 ./
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 './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 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.4 --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


2025-09-19 08:40.01: Using cache hint "mbarbin/cmdlang-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.4-666c13f0263d3e6defc02cd01a587c68"
2025-09-19 08:40.01: Using OBuilder spec:
((from freebsd-14.2-ocaml-4.14)
(comment freebsd-14.2-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && 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)
(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 './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 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.4 --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"))
)


2025-09-19 08:40.01: Waiting for resource in pool OCluster
2025-09-19 08:40.01: Waiting for worker…
2025-09-19 08:40.01: Got resource from pool OCluster
Building on rosemary
HEAD is now at 746ac33 Merge pull request #31 from mbarbin/create-with-pp
HEAD is now at 1b43c52 Remove unused deps from cmdlang-to-base


(from freebsd-14.2-ocaml-4.14)
2025-09-19 08:38.46 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache


/: (comment freebsd-14.2-4.14_opam-2.4)


/: (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.4 /usr/local/bin/opam"))
2025-09-19 08:38.46 ---> using "ab3b72ff1bef5200ab51bf41b5ce466d603a607c082bc77b8cb9a89bd0ee8e2b" 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
2025-09-19 08:38.47 ---> using "4f5272944a297469599fadae70be6af0a741315c350ad35dc552c1741ce274b4" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.2-RELEASE-p1
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-19 08:38.47 ---> using "07a4e313abba0673771074c9860cdd9543e4761d68d2fb7c6d7221bc739a7e75" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-19 08:38.47 ---> using "3a9f22eefbfbdecb5fa973f708084041cdbe652271a081208757b5e926d582b0" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
4028320478..7949ff40d8  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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.3.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-09-19 08:38.47 ---> using "7725261d76654d1dd37a3cb5fdf4f69d667ba527d60d14c45d86c8dd0154d0d1" 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)
(dst ./))
2025-09-19 08:38.47 ---> saved as "060e345f4e7ec79f8aa02598e6fa403fcee459ecc20d73b9c7e23d8876c50016"


/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 './'"))
[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)
2025-09-19 08:38.51 ---> saved as "b7e5b6e15c3d3548f92ce52b4763a24f7afb442dc906b78c473f1945668d52e8"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-19 08:38.51 ---> saved as "2345a30489e9eafdbbb0675fea0578e8594cb8c51a0a74d979f04bb0082fa115"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base climate.0.8.3 cmdliner.1.3.0 dune.3.20.2 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.4 --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-stdlib-runner.dev] synchronised (file:///src)
[cmdlang.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).
2025-09-19 08:38.57 ---> saved as "90fa12aa08d55bc3bdf504aab7b8b55b757e85a5b811241ccca0a0b6279cc733"


/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.8.3
 cmdliner 1.3.0
 dune     3.20.2


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved cmdliner.1.3.0  (cached)
 retrieved climate.0.8.3  (cached)
 retrieved dune.3.20.2  (cached)
 installed cmdliner.1.3.0
 installed dune.3.20.2
 installed climate.0.8.3
Done.
2025-09-19 08:39.25 ---> saved as "a2d5f7a2c9dc40eb19b0dcef17c9c5365e22c50570eb1fe443b2e8c346ac381a"


/src: (copy (src .) (dst /src))
2025-09-19 08:39.25 ---> saved as "a5ab27c13bce7d8c5369cd3bc0856087a7fffb8edea5595c2ad127142c99755e"


/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"))
File "lib/cmdlang_to_base/test/cram/bin/dune", line 6, characters 2-24:
6 |   core_unix.command_unix
^^^^^^^^^^^^^^^^^^^^^^
Error: Library "core_unix.command_unix" not found.
-> required by
_build/default/lib/cmdlang_to_base/test/cram/bin/.main_base.eobjs/byte/dune__exe__Main_base.cmi
-> required by alias lib/cmdlang_to_base/test/cram/bin/check
File "test/cram/bin/stdlib-runner/dune", line 4, characters 34-51:
4 |  (libraries cmdlang_stdlib_runner cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/stdlib-runner/.main_stdlib_runner.eobjs/byte/dune__exe__Main_stdlib_runner.cmi
-> required by alias test/cram/bin/stdlib-runner/check
File "test/cram/bin/base/dune", line 4, characters 51-68:
4 |  (libraries cmdlang_to_base core_unix.command_unix cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/base/.main_base.eobjs/byte/dune__exe__Main_base.cmi
-> required by alias test/cram/bin/base/check
File "test/cram/bin/climate/dune", line 4, characters 39-56:
4 |  (libraries climate cmdlang_to_climate cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/climate/.main_climate.eobjs/byte/dune__exe__Main_climate.cmi
-> required by alias test/cram/bin/climate/check
File "test/cram/bin/cmdliner/dune", line 4, characters 41-58:
4 |  (libraries cmdlang_to_cmdliner cmdliner cram_test_command)
^^^^^^^^^^^^^^^^^
Error: Library "cram_test_command" not found.
-> required by
_build/default/test/cram/bin/cmdliner/.main_cmdliner.eobjs/byte/dune__exe__Main_cmdliner.cmi
-> required by alias test/cram/bin/cmdliner/check
File "doc/docs/tutorials/getting-started/bin/dune", line 4, characters 41-56:
4 |  (libraries cmdlang-to-cmdliner cmdliner getting_started)
^^^^^^^^^^^^^^^
Error: Library "getting_started" not found.
-> required by
_build/default/doc/docs/tutorials/getting-started/bin/.main.eobjs/byte/dune__exe__Main.cmi
-> required by alias doc/docs/tutorials/getting-started/bin/check
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.8.3 cmdliner.1.3.0 dune.3.20.2 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 exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_853_1072" "mount.devfs" "path=/obuilder/result/109d32e12461d64ccd368b166243f013d7d7e7e80913ccff02eab1649c95c6b5/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "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.8.3 cmdliner.1.3.0 dune.3.20.2 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 exec -- dune build --only-packages=cmdlang,cmdlang-to-cmdliner,cmdlang-to-climate,cmdlang-stdlib-runner @install @check @runtest && rm -rf _build'" failed with exit status 1
2025-09-19 08:40.42: Job failed: Failed: Build failed