Build:
- 0
2026-07-24 16:09.16: New job: Build Dockerfile using linux-x86_64 in
[https://github.com/ocaml-opam/opam2web.git#refs/pull/247/head (4b93f80debf83ce3bd825495738af474a2ed7e9d)]
2026-07-24 16:09.16: Using cache hint "https://github.com/ocaml-opam/opam2web.git-Dockerfile"
2026-07-24 16:09.16: Waiting for resource in pool OCluster
2026-07-24 16:09.16: Waiting for worker…
2026-07-24 16:09.21: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
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.0s
#2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3
#2 DONE 0.2s
#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:alpine-3.20-ocaml-4.14
#5 DONE 0.1s
#6 [internal] load metadata for docker.io/ocaml/opam:archive
#6 DONE 0.2s
#7 [stage-2 1/13] FROM docker.io/ocaml/opam:archive@sha256:2b4f381a5f07223a681d5e789f6d58549a0a6eea153c1d493028881eb972fc3a
#7 DONE 0.0s
#8 [build-opam2web 1/14] FROM docker.io/ocaml/opam:alpine-3.20-ocaml-4.14@sha256:f92b268390a2ea23f1e5a779f5cf75454639ec00650fa9def72c458bec72ddf4
#8 DONE 0.0s
#9 [build-opam-doc 6/15] RUN opam install odoc
#9 CACHED
#10 [build-opam-doc 4/15] RUN sudo mv /usr/bin/opam-2.3 /usr/bin/opam && opam update
#10 CACHED
#11 [build-opam-doc 5/15] RUN opam option --global 'archive-mirrors+="https://opam.ocaml.org/cache"'
#11 CACHED
#12 [build-opam-doc 7/15] RUN git clone https://github.com/ocaml/opam /home/opam/opam && git -C /home/opam/opam checkout afebe93c6620feb717bd6d1b678c2f15ed247aa7
#12 CACHED
#13 [build-opam-doc 2/15] RUN sudo apk add cgit groff
#13 CACHED
#14 [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
#14 CACHED
#15 [build-opam-doc 8/15] WORKDIR /home/opam/opam
#15 CACHED
#16 [internal] load build context
#16 transferring context: 1.16MB 0.0s done
#16 DONE 0.0s
#17 [build-opam2web 5/14] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#17 CACHED
#18 [build-opam2web 4/14] WORKDIR /home/opam/opam2web
#18 CACHED
#19 [build-opam2web 2/14] RUN sudo apk add g++ gmp-dev
#19 CACHED
#20 [build-opam2web 3/14] COPY --chown=opam:opam . /home/opam/opam2web
#20 CACHED
#21 [build-opam2web 6/14] RUN sudo mv /usr/bin/opam-2.3 /usr/bin/opam && opam update
#21 CACHED
#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.341 checking for ocamlc... ocamlc
#22 0.349 OCaml version is 4.14.2
#22 0.357 OCaml library path is /home/opam/.opam/4.14/lib/ocaml
#22 0.357 checking for ocamlopt... ocamlopt
#22 0.366 checking for ocamlc.opt... ocamlc.opt
#22 0.374 checking for ocamlopt.opt... ocamlopt.opt
#22 0.385 checking for ocaml... ocaml
#22 0.386 checking for ocamldep... ocamldep
#22 0.386 checking for ocamldep.opt... ocamldep.opt
#22 0.394 checking for ocamlmktop... ocamlmktop
#22 0.394 checking for ocamlmklib... ocamlmklib
#22 0.395 checking for ocamldoc... ocamldoc
#22 0.395 checking for ocamldoc.opt... ocamldoc.opt
#22 0.412 checking for ocamlbuild... ocamlbuild
#22 0.412 checking OCaml Sys.os_type... Unix
#22 0.448 checking for gawk... no
#22 0.448 checking for mawk... no
#22 0.449 checking for nawk... no
#22 0.449 checking for awk... awk
#22 0.458 checking for compiler type... cc
#22 0.912 checking for compiler architecture... amd64
#22 1.357 checking for compiler system... linux
#22 1.819 checking for compiler target... x86_64-pc-linux-musl
#22 2.314 checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64
#22 2.362 checking whether the C compiler works... yes
#22 2.417 checking for C compiler default output file name... a.out
#22 2.420 checking for suffix of executables...
#22 2.478 checking whether we are cross compiling... no
#22 2.540 checking for suffix of object files... o
#22 2.582 checking whether the compiler supports GNU C... yes
#22 2.621 checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 accepts -g... yes
#22 2.663 checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 option to enable C11 features... none needed
#22 2.784 checking for ocamlobjinfo... ocamlobjinfo
#22 2.785 checking for ocamlfind... ocamlfind
#22 2.796 checking for curl... curl
#22 2.797 checking for dune... dune
#22 2.797 checking for patch... patch
#22 2.798 checking for bunzip2... bunzip2
#22 2.806 checking for linking method... shared
#22 2.807
#22 2.807 checking for OCaml findlib package unix... found
#22 2.809 checking for OCaml findlib package re 1.10.0 or later... found 1.12.0
#22 2.821 checking for OCaml findlib package base64 3.1.0 or later... no
#22 2.823 checking for OCaml findlib package ocamlgraph 1.8.8 or later... no
#22 2.826 checking for OCaml findlib package cudf 0.7 or later... no
#22 2.828 checking for OCaml findlib package dose3.common 6.1 or later... no
#22 2.830 checking for OCaml findlib package dose3.algo 6.1 or later... no
#22 2.833 checking for OCaml findlib package opam-file-format 2.1.4 or later... no
#22 2.836 checking for OCaml findlib package spdx_licenses 1.4.0 or later... no
#22 2.838 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
#22 2.840 checking for OCaml findlib package jsonm 1.0.2 or later... no
#22 2.842 checking for OCaml findlib package uutf 1.0.3 or later... found 1.0.3
#22 2.852 checking for OCaml findlib package sha 1.13 or later... no
#22 2.854 checking for OCaml findlib package swhid_core 0.1 or later... no
#22 2.857 checking for OCaml findlib package patch 3.0.0 or later... no
#22 2.859 checking for OCaml findlib package tar 3.3.0 or later... no
#22 2.861 checking for OCaml findlib package checkseum 0.5.2 or later... no
#22 2.864 checking for OCaml findlib package decompress 1.5.1 or later... no
#22 2.866 checking for OCaml findlib package mccs 1.1+17 or later... no
#22 2.870
#22 2.894 configure: creating ./config.status
#22 3.022 config.status: creating Makefile.config
#22 3.037 config.status: creating src/ocaml-flags-configure.sexp
#22 3.057 config.status: creating src/core/c-flags.sexp
#22 3.084
#22 3.086 Opam will be built WITHOUT its default built-in solver
#22 3.086
#22 3.086 Executables will be installed in /usr/local/bin
#22 3.086 Manual pages will be installed in /usr/local/share/man
#22 3.086
#22 3.087 Downloading vendored source dependencies...
#22 3.100 * Downloading cppo...
#22 3.564 * Downloading base64...
#22 3.888 * Downloading extlib...
#22 4.278 * Downloading re...
#22 4.723 * Downloading ocamlgraph...
#22 5.053 * Downloading cudf...
#22 5.496 * Downloading dose3...
#22 5.954 * Downloading opam-file-format...
#22 6.315 * Downloading stdlib-shims...
#22 ...
#23 [build-opam2web 7/14] RUN opam repo set-url default git+https://github.com/ocaml/opam-repository.git#22c4d84c93fefe47d4c48df5f18b60becb121732
#23 ...
#22 [build-opam-doc 9/15] RUN opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make
#22 16.52 * Downloading spdx_licenses...
#22 16.81 * Downloading opam-0install-cudf...
#22 27.91 MD5 for opam-0install-cudf.tar.gz differs:
#22 27.91 expected: 75419722aa839f518a25cae1b3c6efd4
#22 27.91 actual: dda6a9bf091d412cbdc2226ce3eb1059
#22 27.91 Failed to download https://github.com/ocaml-opam/opam-0install-cudf/releases/download/v0.5.0/opam-0install-cudf-0.5.0.tar.gz
#22 28.06 Warning: downloaded https://github.com/ocaml-opam/opam-0install-cudf/releases/download/v0.5.0/opam-0install-cudf-0.5.0.tar.gz from opam cache
#22 28.07 * Downloading 0install-solver...
#22 39.31 MD5 for 0install-solver.tbz differs:
#22 39.31 expected: 030edc9b1d3676c06d51397ffb5a737d
#22 39.31 actual: dda6a9bf091d412cbdc2226ce3eb1059
#22 39.31 Failed to download https://github.com/0install/0install/releases/download/v2.18/0install-2.18.tbz
#22 39.44 MD5 for 0install-solver.tbz differs:
#22 39.44 expected: 030edc9b1d3676c06d51397ffb5a737d
#22 39.44 actual: d41d8cd98f00b204e9800998ecf8427e
#22 39.44 Failed to download 0install-solver from opam cache
#22 39.44 gmake: *** [Makefile:128: 0install-solver.download] Error 1
#22 39.44 done
#22 39.44 Extracting vendored source dependencies in src_ext/... * Downloading 0install-solver...
#22 39.92 MD5 for 0install-solver.tbz differs:
#22 39.92 expected: 030edc9b1d3676c06d51397ffb5a737d
#22 39.92 actual: dda6a9bf091d412cbdc2226ce3eb1059
#22 39.93 Failed to download https://github.com/0install/0install/releases/download/v2.18/0install-2.18.tbz
#22 40.02 MD5 for 0install-solver.tbz differs:
#22 40.02 expected: 030edc9b1d3676c06d51397ffb5a737d
#22 40.02 actual: d41d8cd98f00b204e9800998ecf8427e
#22 40.02 Failed to download 0install-solver from opam cache
#22 40.02 gmake: *** [Makefile:128: 0install-solver.download] Error 1
#22 40.02 done
#22 40.08 make -j -C src_ext lib-ext
#22 40.08 make[1]: Entering directory '/home/opam/opam/src_ext'
#22 40.09 NOTE: make lib-ext is no longer required
#22 40.09 make[1]: Leaving directory '/home/opam/opam/src_ext'
#22 40.16 dune build --profile=release --root . --promote-install-files -- opam-installer.install opam.install
#22 40.60 File "src/core/dune", line 6, characters 72-77:
#22 40.60 6 | (libraries re (re_export ocamlgraph) unix sha jsonm swhid_core uutf patch)
#22 40.60 ^^^^^
#22 40.60 Error: Library "patch" not found.
#22 40.60 -> required by library "opam-core" in _build/default/src/core
#22 40.60 -> required by executable opam_installer in src/tools/dune:28
#22 40.60 -> required by _build/default/src/tools/opam_installer.exe
#22 40.60 -> required by _build/install/default/bin/opam-installer
#22 40.60 -> required by _build/default/opam-installer.install
#22 41.18 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#22c4d84c93fefe47d4c48df5f18b60becb121732
#23 CANCELED
------
> [build-opam-doc 9/15] RUN opam exec -- ./configure --with-vendored-deps --without-mccs && opam exec -- make lib-ext && opam exec -- make:
40.60 File "src/core/dune", line 6, characters 72-77:
40.60 6 | (libraries re (re_export ocamlgraph) unix sha jsonm swhid_core uutf patch)
40.60 ^^^^^
40.60 Error: Library "patch" not found.
40.60 -> required by library "opam-core" in _build/default/src/core
40.60 -> required by executable opam_installer in src/tools/dune:28
40.60 -> required by _build/default/src/tools/opam_installer.exe
40.60 -> required by _build/install/default/bin/opam-installer
40.60 -> required by _build/default/opam-installer.install
41.18 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-24 16:10.11: Job failed: Failed: Build failed