Organisationsocaml-gospelgospelc17ee8 ()freebsd-14.2-4.14_opam-2.3

freebsd-14.2-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-06-11 16:20.33: New job: test ocaml-gospel/gospel https://github.com/ocaml-gospel/gospel.git#refs/pull/449/head (c17ee8362d0137cdf239b237ae0958f78c30faa0) (freebsd-x86_64:freebsd-14.2-4.14_opam-2.3)
Base: freebsd-14.2-ocaml-4.14
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocaml-gospel/gospel.git" && cd "gospel" && git fetch origin "refs/pull/449/head" && git reset --hard c17ee836
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.2-ocaml-4.14
# freebsd-14.2-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.3 /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 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gospel.opam ./
RUN opam pin add -yn gospel.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.19.0 dune-build-info.3.19.0 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y gospel.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


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


2025-06-11 16:20.33: Using cache hint "ocaml-gospel/gospel-freebsd-14.2-ocaml-4.14-freebsd-14.2-4.14_opam-2.3-bbb7ed91f644190eab3159b33f1df097"
2025-06-11 16:20.33: Using OBuilder spec:
((from freebsd-14.2-ocaml-4.14)
(comment freebsd-14.2-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.3 /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 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gospel.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gospel.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.19.0 dune-build-info.3.19.0 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.3.0.0")
(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 gospel.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 @install @check @runtest && rm -rf _build"))
)


2025-06-11 16:20.33: Waiting for resource in pool OCluster
2025-06-11 16:20.34: Waiting for worker…
2025-06-11 16:20.34: Got resource from pool OCluster
Building on rosemary
All commits already cached
HEAD is now at c17ee83 Add pretty printer for typed AST


(from freebsd-14.2-ocaml-4.14)
2025-06-11 16:20.36 ---> using "e232d73c9161ea3ff94ff4ae2b5a6983da9a9ca98d5185b2db1dbadeae5228e2" from cache


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


/: (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.3 /usr/local/bin/opam"))
2025-06-11 16:20.37 ---> using "5aedfaeff2bc60ce09298f87624d557fac4c416addb6915ab987317e95fa6323" 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-06-11 16:20.38 ---> using "33d10a393b3f49c5577becd825d2bcab91e98bdde15eb554bf0dba345ccb7809" 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.3.0
2025-06-11 16:21.10 ---> using "318cf18a0512582a14a586ceb7ba02273510347df5896f5e5d533054ff3c99cc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-06-11 16:21.11 ---> using "6fc646c578a950069629f2a24c45eb1d012bef32c9d3cba5f25029d6618e05d7" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 0e1a25ffde388b436cc1998777c138d69666193d || git fetch origin master) && git reset -q --hard 0e1a25ffde388b436cc1998777c138d69666193d && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
0d013e603b..c037675bed  master     -> origin/master
0e1a25ffde Merge pull request #27956 from Leonidas-from-XIV/release-yojson-3.0.0


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


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.5.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2025-06-11 16:21.12 ---> using "40f60ac21cf641a15246e695e9d21748db7e9c6ff6f5a1f74670f9d5fd6298b2" from cache


/src: (copy (src gospel.opam) (dst ./))
2025-06-11 16:21.13 ---> using "cfaa53bc2dc662f25c1f1c01d577d8013e13b7e493f8fe0cc8a20625232da84a" from cache


/src: (run (network host)
(shell "opam pin add -yn gospel.dev './'"))
[gospel.dev] synchronised (file:///src)
gospel is now pinned to file:///src (version dev)
2025-06-11 16:21.14 ---> using "1f8628e70fda7ddda90c6018c895fa6933ce774f20964d9ba60b40db6f1ac029" from cache


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-11 16:21.15 ---> using "e4f634b6d5d207c7259d3795e4acb309052949f8412f44ee56d6e2f89c14892e" from cache


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.19.0 dune-build-info.3.19.0 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.3.0.0")


/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.3 --depext-only -y gospel.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gospel.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-06-11 16:21.16 ---> using "e0a4a660f21db6a5bb6297421bbc2840b01ff2d8c79cf2ba70b359c5b88ce31b" 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 36 packages
 astring             0.8.5
 camlp-streams       5.0.1
 cmdliner            1.3.0
 cppo                1.8.0
 crunch              4.0.0
 dune                3.19.0
 dune-build-info     3.19.0
 fmt                 0.10.0
 fpath               0.7.3
 inferno             20220603
 menhir              20240715
 menhirCST           20240715
 menhirLib           20240715
 menhirSdk           20240715
 ocaml-compiler-libs v0.12.4
 ocamlbuild          0.16.1
 ocamlfind           1.9.8
 odoc                3.0.0
 odoc-parser         3.0.0
 pp_loc              2.1.0
 pprint              20230830
 ppx_blob            0.9.0
 ppx_derivers        1.2.1
 ppx_deriving        6.1.0
 ppxlib              0.36.0
 ptime               1.2.0
 re                  1.12.0
 result              1.5
 seq                 base
 sexplib0            v0.17.0
 stdlib-shims        0.3.0
 topkg               1.0.8
 tyxml               4.6.0
 unionFind           20220122
 uutf                1.0.4
 yojson              3.0.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved camlp-streams.5.0.1  (cached)
 retrieved cmdliner.1.3.0  (cached)
 retrieved crunch.4.0.0  (cached)
 retrieved cppo.1.8.0  (cached)
 retrieved astring.0.8.5  (cached)
 retrieved fmt.0.10.0  (cached)
 retrieved fpath.0.7.3  (cached)
 retrieved inferno.20220603  (cached)
 retrieved ocaml-compiler-libs.v0.12.4  (cached)
 retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
 retrieved ocamlbuild.0.16.1  (cached)
 retrieved ocamlfind.1.9.8  (cached)
 retrieved pp_loc.2.1.0  (cached)
 retrieved pprint.20230830  (cached)
 installed cmdliner.1.3.0
 retrieved ppx_blob.0.9.0  (cached)
 retrieved ppx_derivers.1.2.1  (cached)
 retrieved odoc.3.0.0, odoc-parser.3.0.0  (cached)
 retrieved ppx_deriving.6.1.0  (cached)
 installed ocamlbuild.0.16.1
 retrieved ptime.1.2.0  (cached)
 retrieved dune.3.19.0, dune-build-info.3.19.0  (cached)
 retrieved result.1.5  (cached)
 retrieved seq.base  (cached)
 installed seq.base
 retrieved sexplib0.v0.17.0  (cached)
 retrieved re.1.12.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved topkg.1.0.8  (cached)
 retrieved tyxml.4.6.0  (cached)
 retrieved unionFind.20220122  (cached)
 retrieved uutf.1.0.4  (cached)
 retrieved yojson.3.0.0  (cached)
 retrieved ppxlib.0.36.0  (cached)
 installed ocamlfind.1.9.8
 installed topkg.1.0.8
 installed uutf.1.0.4
 installed fmt.0.10.0
 installed ptime.1.2.0
 installed astring.0.8.5
 installed fpath.0.7.3
 installed dune.3.19.0
 installed unionFind.20220122
 installed stdlib-shims.0.3.0
 installed sexplib0.v0.17.0
 installed result.1.5
 installed ppx_derivers.1.2.1
 installed pprint.20230830
 installed re.1.12.0
 installed yojson.3.0.0
 installed inferno.20220603
 installed pp_loc.2.1.0
 installed ocaml-compiler-libs.v0.12.4
 installed tyxml.4.6.0
 installed menhirSdk.20240715
 installed menhirLib.20240715
 installed menhirCST.20240715
 installed crunch.4.0.0
 installed cppo.1.8.0
 installed camlp-streams.5.0.1
 installed dune-build-info.3.19.0
 installed odoc-parser.3.0.0
 installed ppxlib.0.36.0
 installed ppx_blob.0.9.0
 installed ppx_deriving.6.1.0
 installed menhir.20240715
[ERROR] The compilation of odoc.3.0.0 failed at "dune build -p odoc -j 39 @install".


#=== ERROR while compiling odoc.3.0.0 =========================================#
# context     2.3.0 | freebsd/x86_64 | ocaml-base-compiler.4.14.2 | git+file:///home/opam/opam-repository
# path        ~/.opam/4.14.2/.opam-switch/build/odoc.3.0.0
# command     ~/.opam/4.14.2/bin/dune build -p odoc -j 39 @install
# exit-code   1
# env-file    ~/.opam/log/odoc-52890-82a0bf.env
# output-file ~/.opam/log/odoc-52890-82a0bf.out
### output ###
# (cd _build/default/src/html_support_files && /home/opam/.opam/4.14.2/bin/ocaml-crunch . -e js -e css -e ttf -e woff2 -o odoc_html_support_files.ml -m plain)
# Generating odoc_html_support_files.ml
# Skipping generation of .mli
# File "src/html/.odoc_html.objs/byte/_unknown_", line 1, characters 0-0:
# Error: Rule failed to generate the following targets:
# - src/html/.odoc_html.objs/byte/odoc_html__Link.cmt


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
λ build odoc 3.0.0
└─ 
┌─ The following changes have been performed
 install astring             0.8.5
 install camlp-streams       5.0.1
 install cmdliner            1.3.0
 install cppo                1.8.0
 install crunch              4.0.0
 install dune                3.19.0
 install dune-build-info     3.19.0
 install fmt                 0.10.0
 install fpath               0.7.3
 install inferno             20220603
 install menhir              20240715
 install menhirCST           20240715
 install menhirLib           20240715
 install menhirSdk           20240715
 install ocaml-compiler-libs v0.12.4
 install ocamlbuild          0.16.1
 install ocamlfind           1.9.8
 install odoc-parser         3.0.0
 install pp_loc              2.1.0
 install pprint              20230830
 install ppx_blob            0.9.0
 install ppx_derivers        1.2.1
 install ppx_deriving        6.1.0
 install ppxlib              0.36.0
 install ptime               1.2.0
 install re                  1.12.0
 install result              1.5
 install seq                 base
 install sexplib0            v0.17.0
 install stdlib-shims        0.3.0
 install topkg               1.0.8
 install tyxml               4.6.0
 install unionFind           20220122
 install uutf                1.0.4
 install yojson              3.0.0
└─ 


The former state can be restored with:
/usr/local/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20250611162125.export"
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.19.0 dune-build-info.3.19.0 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.3.0.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS': failed
"jail" "-c" "name=obuilder_11788_23780" "mount.fstab=/tmp/obuilder-jail-ef8427/fstab" "mount.devfs" "path=/obuilder/result/2989371d213af6db1847417b8ed0bdec1800e4ea678ef8cde974899548a55bbd/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='astring.0.8.5 base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 cmdliner.1.3.0 cppo.1.8.0 crunch.4.0.0 dune.3.19.0 dune-build-info.3.19.0 fmt.0.10.0 fpath.0.7.3 inferno.20220603 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 odoc.3.0.0 odoc-parser.3.0.0 pp_loc.2.1.0 pprint.20230830 ppx_blob.0.9.0 ppx_derivers.1.2.1 ppx_deriving.6.1.0 ppxlib.0.36.0 ptime.1.2.0 re.1.12.0 result.1.5 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 tyxml.4.6.0 unionFind.20220122 uutf.1.0.4 yojson.3.0.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam install $DEPS'" failed with exit status 1
2025-06-11 16:43.08: Job failed: Failed: Build failed