Build:
  1. 0
2026-07-03 15:09.43: New job: Build Dockerfile using linux-x86_64 in
                                [https://github.com/ocaml-opam/opam2web.git#refs/pull/252/head (2789afbdf591efed9a722f28b3c9b04880dfa735)]
2026-07-03 15:09.43: Using cache hint "https://github.com/ocaml-opam/opam2web.git-Dockerfile"
2026-07-03 15:09.43: Waiting for resource in pool OCluster
2026-07-03 15:09.43: Waiting for worker…
2026-07-03 15:09.44: 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.4s

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

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

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

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

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

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

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

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

#11 [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
#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  4/15] RUN sudo mv /usr/bin/opam-2.3 /usr/bin/opam && opam update
#13 CACHED

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

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

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

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

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

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

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

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

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

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

#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.343 checking for ocamlc... ocamlc
#23 0.351 OCaml version is 4.14.2
#23 0.358 OCaml library path is /home/opam/.opam/4.14/lib/ocaml
#23 0.358 checking for ocamlopt... ocamlopt
#23 0.367 checking for ocamlc.opt... ocamlc.opt
#23 0.376 checking for ocamlopt.opt... ocamlopt.opt
#23 0.386 checking for ocaml... ocaml
#23 0.387 checking for ocamldep... ocamldep
#23 0.387 checking for ocamldep.opt... ocamldep.opt
#23 0.394 checking for ocamlmktop... ocamlmktop
#23 0.395 checking for ocamlmklib... ocamlmklib
#23 0.395 checking for ocamldoc... ocamldoc
#23 0.396 checking for ocamldoc.opt... ocamldoc.opt
#23 0.407 checking for ocamlbuild... ocamlbuild
#23 0.407 checking OCaml Sys.os_type... Unix
#23 0.437 checking for gawk... no
#23 0.437 checking for mawk... no
#23 0.438 checking for nawk... no
#23 0.438 checking for awk... awk
#23 0.446 checking for compiler type... cc
#23 0.766 checking for compiler architecture... amd64
#23 1.079 checking for compiler system... linux
#23 1.392 checking for compiler target... x86_64-pc-linux-musl
#23 1.735 checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64
#23 1.782 checking whether the C compiler works... yes
#23 1.838 checking for C compiler default output file name... a.out
#23 1.842 checking for suffix of executables... 
#23 1.899 checking whether we are cross compiling... no
#23 1.954 checking for suffix of object files... o
#23 1.991 checking whether the compiler supports GNU C... yes
#23 2.028 checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 accepts -g... yes
#23 2.065 checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 option to enable C11 features... none needed
#23 2.158 checking for ocamlobjinfo... ocamlobjinfo
#23 2.159 checking for ocamlfind... ocamlfind
#23 2.171 checking for curl... curl
#23 2.172 checking for dune... dune
#23 2.173 checking for patch... patch
#23 2.173 checking for bunzip2... bunzip2
#23 2.182 checking for linking method... shared
#23 2.183 
#23 2.183 checking for OCaml findlib package unix... found
#23 2.186 checking for OCaml findlib package re 1.10.0 or later... found 1.12.0
#23 2.196 checking for OCaml findlib package base64 3.1.0 or later... no
#23 2.198 checking for OCaml findlib package ocamlgraph 1.8.8 or later... no
#23 2.201 checking for OCaml findlib package cudf 0.7 or later... no
#23 2.203 checking for OCaml findlib package dose3.common 6.1 or later... no
#23 2.206 checking for OCaml findlib package dose3.algo 6.1 or later... no
#23 2.209 checking for OCaml findlib package opam-file-format 2.1.4 or later... no
#23 2.211 checking for OCaml findlib package spdx_licenses 1.4.0 or later... no
#23 2.214 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
#23 2.217 checking for OCaml findlib package jsonm 1.0.2 or later... no
#23 2.220 checking for OCaml findlib package uutf 1.0.3 or later... found 1.0.3
#23 2.229 checking for OCaml findlib package sha 1.13 or later... no
#23 2.232 checking for OCaml findlib package swhid_core 0.1 or later... no
#23 2.235 checking for OCaml findlib package patch 3.0.0 or later... no
#23 2.238 checking for OCaml findlib package tar 3.3.0 or later... no
#23 2.240 checking for OCaml findlib package checkseum 0.5.2 or later... no
#23 2.243 checking for OCaml findlib package decompress 1.5.1 or later... no
#23 2.245 checking for OCaml findlib package mccs 1.1+17 or later... no
#23 2.249 
#23 2.275 configure: creating ./config.status
#23 2.404 config.status: creating Makefile.config
#23 2.419 config.status: creating src/ocaml-flags-configure.sexp
#23 2.437 config.status: creating src/core/c-flags.sexp
#23 2.457 
#23 2.460 Opam will be built WITHOUT its default built-in solver
#23 2.460 
#23 2.460 Executables will be installed in /usr/local/bin
#23 2.460 Manual pages will be installed in /usr/local/share/man
#23 2.460 
#23 2.460 Downloading vendored source dependencies...
#23 2.473  * Downloading cppo...
#23 2.865  * Downloading base64...
#23 3.138  * Downloading extlib...
#23 3.399  * Downloading re...
#23 3.801  * Downloading ocamlgraph...
#23 4.104  * Downloading cudf...
#23 4.247  * Downloading dose3...
#23 4.437  * Downloading opam-file-format...
#23 4.755  * Downloading stdlib-shims...
#23 5.043  * Downloading spdx_licenses...
#23 5.363  * Downloading opam-0install-cudf...
#23 5.618  * Downloading 0install-solver...
#23 5.922  * Downloading uutf...
#23 6.079  * Downloading jsonm...
#23 6.233  * Downloading sha...
#23 6.500  * Downloading swhid_core...
#23 6.952  * Downloading menhir...
#23 7.356  * Downloading patch...
#23 7.635  * Downloading checkseum...
#23 7.948  * Downloading optint...
#23 8.197  * Downloading decompress...
#23 8.502  * Downloading tar...
#23 8.787  * Downloading dune-local...
#23 9.083 done
#23 9.083 Extracting vendored source dependencies in src_ext/... done
#23 11.12 make -j -C src_ext lib-ext
#23 11.12 make[1]: Entering directory '/home/opam/opam/src_ext'
#23 11.12 NOTE: make lib-ext is no longer required
#23 11.12 make[1]: Leaving directory '/home/opam/opam/src_ext'
#23 11.21 dune build --profile=release --root .  --promote-install-files -- opam-installer.install opam.install
#23 11.26 File "src_ext/dune-local/dune-project", line 1, characters 11-15:
#23 11.26 1 | (lang dune 3.20)
#23 11.26                ^^^^
#23 11.26 Error: Version 3.20 of the dune language is not supported.
#23 11.26 Supported versions of this extension in version 3.20 of the dune language:
#23 11.26 - 1.0 to 1.12
#23 11.26 - 2.0 to 2.9
#23 11.26 - 3.0 to 3.17
#23 11.30 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

#20 [build-opam2web  7/14] RUN opam repo set-url default git+https://github.com/ocaml/opam-repository.git#e5bad6c27f60c89b4ebf8b47a296d4c06f5f548f
#20 CANCELED
------
 > [build-opam-doc  9/15] RUN opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make:
11.21 dune build --profile=release --root .  --promote-install-files -- opam-installer.install opam.install
11.26 File "src_ext/dune-local/dune-project", line 1, characters 11-15:
11.26 1 | (lang dune 3.20)
11.26                ^^^^
11.26 Error: Version 3.20 of the dune language is not supported.
11.26 Supported versions of this extension in version 3.20 of the dune language:
11.26 - 1.0 to 1.12
11.26 - 2.0 to 2.9
11.26 - 3.0 to 3.17
11.30 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-03 15:10.14: Job failed: Failed: Build failed