Build:
  1. 0
2026-08-01 10:11.42: New job: Build Dockerfile using linux-x86_64 in
                                [https://github.com/ocaml-opam/opam2web.git#refs/pull/247/head (4b93f80debf83ce3bd825495738af474a2ed7e9d)]
2026-08-01 10:11.42: Using cache hint "https://github.com/ocaml-opam/opam2web.git-Dockerfile"
2026-08-01 10:11.42: Waiting for resource in pool OCluster
2026-08-01 10:11.43: Waiting for worker…
2026-08-01 10:11.44: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Submodule path 'content/doc': checked out 'e54731062f4cb140f96c56fad47cdcc5c1d70cf7'
HEAD is now at 4b93f80 Avoid duplicated archive-mirrors: field in the repo file
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.29kB done
#1 DONE 0.1s

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

#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.1s

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

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

#7 [build-opam2web  1/14] FROM docker.io/ocaml/opam:alpine-3.20-ocaml-4.14@sha256:f92b268390a2ea23f1e5a779f5cf75454639ec00650fa9def72c458bec72ddf4
#7 DONE 0.0s

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

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

#10 [build-opam-doc  6/15] RUN opam install odoc
#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  3/15] RUN sudo mkdir -p /usr/local/bin     && echo -e '#!/bin/sh -e\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
#12 CACHED

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

#14 [build-opam-doc  8/15] WORKDIR /home/opam/opam
#14 CACHED

#15 [opam-archive 1/1] FROM docker.io/ocaml/opam:archive@sha256:06872330a3515d7e0107aa23c848e1d1a4f39795e3e6e03817faed8e40cc5f87
#15 resolve docker.io/ocaml/opam:archive@sha256:06872330a3515d7e0107aa23c848e1d1a4f39795e3e6e03817faed8e40cc5f87 done
#15 sha256:06872330a3515d7e0107aa23c848e1d1a4f39795e3e6e03817faed8e40cc5f87 402B / 402B done
#15 sha256:2b80633206db65fe465489d6bc28db32d7c93c14b88638b87604979b83cdc0ce 957B / 957B done
#15 sha256:b0d1a1cb9fb58fb9734ab2899a6554386c2f51fd279ca154b2e6fa5bfb46076c 1.07kB / 1.07kB done
#15 sha256:c90c0833ac7ebf3b6a41a4f9e53fd55df4c10b36b9988accdee801962b9b0b0f 1.05MB / 8.19GB 2.2s
#15 sha256:13dd332f748d9ca9fabcae4c1fa4997d0056c90b6f2e09e67622c8f58b09e8ac 0B / 18.97GB 2.2s
#15 ...

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

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

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

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

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

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

#15 [opam-archive 1/1] FROM docker.io/ocaml/opam:archive@sha256:06872330a3515d7e0107aa23c848e1d1a4f39795e3e6e03817faed8e40cc5f87
#15 sha256:c90c0833ac7ebf3b6a41a4f9e53fd55df4c10b36b9988accdee801962b9b0b0f 18.87MB / 8.19GB 7.3s
#15 sha256:13dd332f748d9ca9fabcae4c1fa4997d0056c90b6f2e09e67622c8f58b09e8ac 2.10MB / 18.97GB 7.3s
#15 ...

#22 [build-opam-doc  9/15] RUN opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make
#22 0.346 checking for ocamlc... ocamlc
#22 0.355 OCaml version is 4.14.2
#22 0.362 OCaml library path is /home/opam/.opam/4.14/lib/ocaml
#22 0.362 checking for ocamlopt... ocamlopt
#22 0.372 checking for ocamlc.opt... ocamlc.opt
#22 0.380 checking for ocamlopt.opt... ocamlopt.opt
#22 0.389 checking for ocaml... ocaml
#22 0.389 checking for ocamldep... ocamldep
#22 0.390 checking for ocamldep.opt... ocamldep.opt
#22 0.397 checking for ocamlmktop... ocamlmktop
#22 0.398 checking for ocamlmklib... ocamlmklib
#22 0.398 checking for ocamldoc... ocamldoc
#22 0.398 checking for ocamldoc.opt... ocamldoc.opt
#22 0.413 checking for ocamlbuild... ocamlbuild
#22 0.413 checking OCaml Sys.os_type... Unix
#22 0.444 checking for gawk... no
#22 0.444 checking for mawk... no
#22 0.445 checking for nawk... no
#22 0.445 checking for awk... awk
#22 0.454 checking for compiler type... cc
#22 0.844 checking for compiler architecture... amd64
#22 1.190 checking for compiler system... linux
#22 1.545 checking for compiler target... x86_64-pc-linux-musl
#22 1.928 checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64
#22 1.972 checking whether the C compiler works... yes
#22 2.027 checking for C compiler default output file name... a.out
#22 2.030 checking for suffix of executables... 
#22 2.075 checking whether we are cross compiling... no
#22 2.126 checking for suffix of object files... o
#22 2.162 checking whether the compiler supports GNU C... yes
#22 2.201 checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 accepts -g... yes
#22 2.238 checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 option to enable C11 features... none needed
#22 2.340 checking for ocamlobjinfo... ocamlobjinfo
#22 2.340 checking for ocamlfind... ocamlfind
#22 2.354 checking for curl... curl
#22 2.355 checking for dune... dune
#22 2.355 checking for patch... patch
#22 2.356 checking for bunzip2... bunzip2
#22 2.365 checking for linking method... shared
#22 2.366 
#22 2.366 checking for OCaml findlib package unix... found
#22 2.370 checking for OCaml findlib package re 1.10.0 or later... found 1.12.0
#22 2.381 checking for OCaml findlib package base64 3.1.0 or later... no
#22 2.384 checking for OCaml findlib package ocamlgraph 1.8.8 or later... no
#22 2.386 checking for OCaml findlib package cudf 0.7 or later... no
#22 2.389 checking for OCaml findlib package dose3.common 6.1 or later... no
#22 2.391 checking for OCaml findlib package dose3.algo 6.1 or later... no
#22 2.394 checking for OCaml findlib package opam-file-format 2.1.4 or later... no
#22 2.397 checking for OCaml findlib package spdx_licenses 1.4.0 or later... no
#22 2.399 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
#22 2.401 checking for OCaml findlib package jsonm 1.0.2 or later... no
#22 2.404 checking for OCaml findlib package uutf 1.0.3 or later... found 1.0.3
#22 2.414 checking for OCaml findlib package sha 1.13 or later... no
#22 2.417 checking for OCaml findlib package swhid_core 0.1 or later... no
#22 2.420 checking for OCaml findlib package patch 3.0.0 or later... no
#22 2.422 checking for OCaml findlib package tar 3.3.0 or later... no
#22 2.424 checking for OCaml findlib package checkseum 0.5.2 or later... no
#22 2.427 checking for OCaml findlib package decompress 1.5.1 or later... no
#22 2.429 checking for OCaml findlib package mccs 1.1+17 or later... no
#22 2.433 
#22 2.456 configure: creating ./config.status
#22 2.564 config.status: creating Makefile.config
#22 2.579 config.status: creating src/ocaml-flags-configure.sexp
#22 2.597 config.status: creating src/core/c-flags.sexp
#22 2.619 
#22 2.622 Opam will be built WITHOUT its default built-in solver
#22 2.622 
#22 2.622 Executables will be installed in /usr/local/bin
#22 2.622 Manual pages will be installed in /usr/local/share/man
#22 2.622 
#22 2.622 Downloading vendored source dependencies...
#22 2.634  * Downloading cppo...
#22 3.091  * Downloading base64...
#22 3.311  * Downloading extlib...
#22 3.562  * Downloading re...
#22 3.924  * Downloading ocamlgraph...
#22 6.922  * Downloading cudf...
#22 7.522  * Downloading dose3...
#22 8.974  * Downloading opam-file-format...
#22 9.200  * Downloading stdlib-shims...
#22 9.472  * Downloading spdx_licenses...
#22 9.872  * Downloading opam-0install-cudf...
#22 10.11  * Downloading 0install-solver...
#22 ...

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

#15 [opam-archive 1/1] FROM docker.io/ocaml/opam:archive@sha256:06872330a3515d7e0107aa23c848e1d1a4f39795e3e6e03817faed8e40cc5f87
#15 sha256:c90c0833ac7ebf3b6a41a4f9e53fd55df4c10b36b9988accdee801962b9b0b0f 19.92MB / 8.19GB 12.5s
#15 sha256:13dd332f748d9ca9fabcae4c1fa4997d0056c90b6f2e09e67622c8f58b09e8ac 3.15MB / 18.97GB 12.5s
#15 sha256:c90c0833ac7ebf3b6a41a4f9e53fd55df4c10b36b9988accdee801962b9b0b0f 20.97MB / 8.19GB 17.6s
#15 sha256:13dd332f748d9ca9fabcae4c1fa4997d0056c90b6f2e09e67622c8f58b09e8ac 3.15MB / 18.97GB 17.6s
#15 CANCELED

#22 [build-opam-doc  9/15] RUN opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make
#22 10.44  * Downloading uutf...
#22 10.63  * Downloading jsonm...
#22 10.83  * Downloading sha...
#22 11.08  * Downloading swhid_core...
#22 11.41  * Downloading menhir...
#22 12.03  * Downloading patch...
#22 12.19  * Downloading checkseum...
#22 14.49  * Downloading optint...
#22 14.65  * Downloading decompress...
#22 14.95  * Downloading tar...
#22 15.11  * Downloading dune-local...
#22 16.77 done
#22 16.77 Extracting vendored source dependencies in src_ext/... done
#22 18.83 make -j -C src_ext lib-ext
#22 18.83 make[1]: Entering directory '/home/opam/opam/src_ext'
#22 18.83 NOTE: make lib-ext is no longer required
#22 18.83 make[1]: Leaving directory '/home/opam/opam/src_ext'
#22 18.90 dune build --profile=release --root .  --promote-install-files -- opam-installer.install opam.install
#22 19.03 File "src_ext/dune-local/dune-project", line 1, characters 11-15:
#22 19.03 1 | (lang dune 3.20)
#22 19.03                ^^^^
#22 19.03 Error: Version 3.20 of the dune language is not supported.
#22 19.03 Supported versions of this extension in version 3.20 of the dune language:
#22 19.03 - 1.0 to 1.12
#22 19.03 - 2.0 to 2.9
#22 19.03 - 3.0 to 3.17
#22 19.09 make: *** [Makefile:147: build-opam] Error 1
#22 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

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