Build:
  1. 0
2026-07-09 21:13.48: New job: Build Dockerfile using linux-x86_64 in
                                [https://github.com/ocaml-opam/opam2web.git#refs/pull/252/head (2789afbdf591efed9a722f28b3c9b04880dfa735)]
2026-07-09 21:13.48: Using cache hint "https://github.com/ocaml-opam/opam2web.git-Dockerfile"
2026-07-09 21:13.48: Waiting for resource in pool OCluster
2026-07-09 21:13.49: Waiting for worker…
2026-07-09 21:13.57: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
HEAD is now at 2789afb lowercase opam where appropriate
Synchronising submodule url for 'content/doc'
Cleared directory 'content/doc'
Submodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) unregistered for path 'content/doc'
Submodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) registered for path 'content/doc'
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
#0 building with "default" instance using docker driver

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 3.32kB done
#1 DONE 0.0s

#2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3
#2 DONE 0.1s

#3 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#3 CACHED

#4 [internal] load .dockerignore
#4 transferring context: 53B done
#4 DONE 0.0s

#5 [internal] load metadata for docker.io/ocaml/opam:archive
#5 DONE 0.1s

#6 [internal] load metadata for docker.io/ocaml/opam:alpine-3.20-ocaml-4.14
#6 DONE 0.3s

#7 [stage-2  1/13] FROM docker.io/ocaml/opam:archive@sha256:48ea95f4a062e9f9b3e7c2e14f0cac86c6dfc3ba51b87c139365a34451433829
#7 DONE 0.0s

#8 [build-opam-doc  1/15] FROM docker.io/ocaml/opam:alpine-3.20-ocaml-4.14@sha256:f92b268390a2ea23f1e5a779f5cf75454639ec00650fa9def72c458bec72ddf4
#8 DONE 0.0s

#9 [build-opam-doc  2/15] RUN sudo apk add cgit groff
#9 CACHED

#10 [build-opam-doc  3/15] RUN sudo mkdir -p /usr/local/bin     && echo -e '#!/bin/sh\n                set -euo pipefail\n                echo\n                echo\n                echo "<!DOCTYPE html>"\n                echo "<HTML><HEAD><TITLE>$(basename $2 .1) manpage</TITLE></HEAD><BODY>"\n                /usr/lib/cgit/filters/html-converters/man2html <$2\n                echo "</BODY></HTML>"\n'        | sudo tee /usr/local/bin/man2html     && sudo chmod a+x /usr/local/bin/man2html
#10 CACHED

#11 [build-opam-doc  4/15] RUN sudo mv /usr/bin/opam-2.3 /usr/bin/opam && opam update
#11 CACHED

#12 [build-opam-doc  5/15] RUN opam option --global 'archive-mirrors+="https://opam.ocaml.org/cache"'
#12 CACHED

#13 [build-opam-doc  6/15] RUN opam install odoc
#13 CACHED

#14 [internal] load build context
#14 transferring context: 1.16MB 0.0s done
#14 DONE 0.1s

#15 [build-opam-doc  7/15] RUN git clone https://github.com/ocaml/opam /home/opam/opam     && git -C /home/opam/opam checkout e163eac9277fa26bd86e2ef755f4e21570fc74f0
#15 ...

#16 [build-opam2web  2/14] RUN sudo apk add g++ gmp-dev
#16 CACHED

#17 [build-opam2web  3/14] COPY --chown=opam:opam . /home/opam/opam2web
#17 CACHED

#18 [build-opam2web  5/14] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#18 CACHED

#19 [build-opam2web  4/14] WORKDIR /home/opam/opam2web
#19 CACHED

#20 [build-opam2web  6/14] RUN sudo mv /usr/bin/opam-2.3 /usr/bin/opam && opam update
#20 CACHED

#15 [build-opam-doc  7/15] RUN git clone https://github.com/ocaml/opam /home/opam/opam     && git -C /home/opam/opam checkout e163eac9277fa26bd86e2ef755f4e21570fc74f0
#15 0.196 Cloning into '/home/opam/opam'...
#15 ...

#21 [build-opam2web  7/14] RUN opam repo set-url default git+https://github.com/ocaml/opam-repository.git#d11c8a8ee7c99ef626965174e32e899356d490fd
#21 ...

#15 [build-opam-doc  7/15] RUN git clone https://github.com/ocaml/opam /home/opam/opam     && git -C /home/opam/opam checkout e163eac9277fa26bd86e2ef755f4e21570fc74f0
#15 8.530 Note: switching to 'e163eac9277fa26bd86e2ef755f4e21570fc74f0'.
#15 8.530 
#15 8.530 You are in 'detached HEAD' state. You can look around, make experimental
#15 8.530 changes and commit them, and you can discard any commits you make in this
#15 8.530 state without impacting any branches by switching back to a branch.
#15 8.530 
#15 8.530 If you want to create a new branch to retain commits you create, you may
#15 8.530 do so (now or later) by using -c with the switch command. Example:
#15 8.530 
#15 8.530   git switch -c <new-branch-name>
#15 8.530 
#15 8.530 Or undo this operation with:
#15 8.530 
#15 8.530   git switch -
#15 8.530 
#15 8.530 Turn off this advice by setting config variable advice.detachedHead to false
#15 8.530 
#15 8.530 HEAD is now at e163eac92 Merge pull request #6866 from toastal/darcs-weak-hash
#15 DONE 9.3s

#21 [build-opam2web  7/14] RUN opam repo set-url default git+https://github.com/ocaml/opam-repository.git#d11c8a8ee7c99ef626965174e32e899356d490fd
#21 ...

#22 [build-opam-doc  8/15] WORKDIR /home/opam/opam
#22 DONE 0.0s

#23 [build-opam-doc  9/15] RUN opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make
#23 0.359 checking for ocamlc... ocamlc
#23 0.373 OCaml version is 4.14.2
#23 0.379 OCaml library path is /home/opam/.opam/4.14/lib/ocaml
#23 0.379 checking for ocamlopt... ocamlopt
#23 0.397 checking for ocamlc.opt... ocamlc.opt
#23 0.402 checking for ocamlopt.opt... ocamlopt.opt
#23 0.414 checking for ocaml... ocaml
#23 0.414 checking for ocamldep... ocamldep
#23 0.414 checking for ocamldep.opt... ocamldep.opt
#23 0.428 checking for ocamlmktop... ocamlmktop
#23 0.429 checking for ocamlmklib... ocamlmklib
#23 0.429 checking for ocamldoc... ocamldoc
#23 0.430 checking for ocamldoc.opt... ocamldoc.opt
#23 0.446 checking for ocamlbuild... ocamlbuild
#23 0.447 checking OCaml Sys.os_type... Unix
#23 0.482 checking for gawk... no
#23 0.483 checking for mawk... no
#23 0.483 checking for nawk... no
#23 0.483 checking for awk... awk
#23 0.491 checking for compiler type... cc
#23 0.791 checking for compiler architecture... amd64
#23 1.104 checking for compiler system... linux
#23 1.412 checking for compiler target... x86_64-pc-linux-musl
#23 1.752 checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64
#23 1.804 checking whether the C compiler works... yes
#23 1.860 checking for C compiler default output file name... a.out
#23 1.863 checking for suffix of executables... 
#23 1.907 checking whether we are cross compiling... no
#23 1.956 checking for suffix of object files... o
#23 1.990 checking whether the compiler supports GNU C... yes
#23 2.020 checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 accepts -g... yes
#23 2.054 checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 option to enable C11 features... none needed
#23 2.140 checking for ocamlobjinfo... ocamlobjinfo
#23 2.141 checking for ocamlfind... ocamlfind
#23 2.157 checking for curl... curl
#23 2.158 checking for dune... dune
#23 2.159 checking for patch... patch
#23 2.159 checking for bunzip2... bunzip2
#23 2.166 checking for linking method... shared
#23 2.167 
#23 2.167 checking for OCaml findlib package unix... found
#23 2.169 checking for OCaml findlib package re 1.10.0 or later... found 1.12.0
#23 2.178 checking for OCaml findlib package base64 3.1.0 or later... no
#23 2.180 checking for OCaml findlib package ocamlgraph 1.8.8 or later... no
#23 2.183 checking for OCaml findlib package cudf 0.7 or later... no
#23 2.185 checking for OCaml findlib package dose3.common 6.1 or later... no
#23 2.187 checking for OCaml findlib package dose3.algo 6.1 or later... no
#23 2.190 checking for OCaml findlib package opam-file-format 2.1.4 or later... no
#23 2.193 checking for OCaml findlib package spdx_licenses 1.4.0 or later... no
#23 2.195 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
#23 2.198 checking for OCaml findlib package jsonm 1.0.2 or later... no
#23 2.201 checking for OCaml findlib package uutf 1.0.3 or later... found 1.0.3
#23 2.211 checking for OCaml findlib package sha 1.13 or later... no
#23 2.213 checking for OCaml findlib package swhid_core 0.1 or later... no
#23 2.214 checking for OCaml findlib package patch 3.0.0 or later... no
#23 2.216 checking for OCaml findlib package tar 3.3.0 or later... no
#23 2.218 checking for OCaml findlib package checkseum 0.5.2 or later... no
#23 2.220 checking for OCaml findlib package decompress 1.5.1 or later... no
#23 2.222 checking for OCaml findlib package mccs 1.1+17 or later... no
#23 2.225 
#23 2.245 configure: creating ./config.status
#23 2.352 config.status: creating Makefile.config
#23 2.366 config.status: creating src/ocaml-flags-configure.sexp
#23 2.382 config.status: creating src/core/c-flags.sexp
#23 2.403 
#23 2.405 Opam will be built WITHOUT its default built-in solver
#23 2.405 
#23 2.405 Executables will be installed in /usr/local/bin
#23 2.405 Manual pages will be installed in /usr/local/share/man
#23 2.405 
#23 2.405 Downloading vendored source dependencies...
#23 2.419  * Downloading cppo...
#23 2.836  * Downloading base64...
#23 3.119  * Downloading extlib...
#23 3.414  * Downloading re...
#23 3.799  * Downloading ocamlgraph...
#23 4.086  * Downloading cudf...
#23 4.184  * Downloading dose3...
#23 4.335  * Downloading opam-file-format...
#23 4.609  * Downloading stdlib-shims...
#23 4.907  * Downloading spdx_licenses...
#23 5.206  * Downloading opam-0install-cudf...
#23 5.495  * Downloading 0install-solver...
#23 5.797  * Downloading uutf...
#23 5.986  * Downloading jsonm...
#23 6.166  * Downloading sha...
#23 6.459  * Downloading swhid_core...
#23 6.927  * Downloading menhir...
#23 7.331  * Downloading patch...
#23 7.601  * Downloading checkseum...
#23 7.902  * Downloading optint...
#23 8.162  * Downloading decompress...
#23 8.470  * Downloading tar...
#23 8.763  * Downloading dune-local...
#23 9.074 done
#23 9.074 Extracting vendored source dependencies in src_ext/... done
#23 10.98 make -j -C src_ext lib-ext
#23 10.98 make[1]: Entering directory '/home/opam/opam/src_ext'
#23 10.99 NOTE: make lib-ext is no longer required
#23 10.99 make[1]: Leaving directory '/home/opam/opam/src_ext'
#23 11.07 dune build --profile=release --root .  --promote-install-files -- opam-installer.install opam.install
#23 11.20 File "src_ext/dune-local/dune-project", line 1, characters 11-15:
#23 11.20 1 | (lang dune 3.20)
#23 11.20                ^^^^
#23 11.20 Error: Version 3.20 of the dune language is not supported.
#23 11.20 Supported versions of this extension in version 3.20 of the dune language:
#23 11.20 - 1.0 to 1.12
#23 11.20 - 2.0 to 2.9
#23 11.20 - 3.0 to 3.17
#23 11.24 make: *** [Makefile:147: build-opam] Error 1
#23 ERROR: process "/bin/sh -c opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make" did not complete successfully: exit code: 2

#21 [build-opam2web  7/14] RUN opam repo set-url default git+https://github.com/ocaml/opam-repository.git#d11c8a8ee7c99ef626965174e32e899356d490fd
#21 CANCELED
------
 > [build-opam-doc  9/15] RUN opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make:
11.07 dune build --profile=release --root .  --promote-install-files -- opam-installer.install opam.install
11.20 File "src_ext/dune-local/dune-project", line 1, characters 11-15:
11.20 1 | (lang dune 3.20)
11.20                ^^^^
11.20 Error: Version 3.20 of the dune language is not supported.
11.20 Supported versions of this extension in version 3.20 of the dune language:
11.20 - 1.0 to 1.12
11.20 - 2.0 to 2.9
11.20 - 3.0 to 3.17
11.24 make: *** [Makefile:147: build-opam] Error 1
------
ERROR: failed to build: failed to solve: process "/bin/sh -c opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make" did not complete successfully: exit code: 2
docker-build failed with exit-code 1
2026-07-09 21:14.34: Job failed: Failed: Build failed