Build:
  1. 0
2025-06-13 12:14.32: New job: docker build {
                                             "commit": "7f831ac1da077fec54fd8c63c33b079694c15288",
                                             "dockerfile": {
                                               "file": "Dockerfile"
                                             },
                                             "docker_context": "registry.ci.dev",
                                             "squash": false,
                                             "buildx": false,
                                             "build_args": [
                                               "--build-arg",
                                               "OPAM_REPO_GIT_SHA=59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77",
                                               "--build-arg",
                                               "BLOG_GIT_SHA=bdef1bbf939db6797dcd51faef2ea9ac1826f4a5",
                                               "--build-arg",
                                               "OPAM_GIT_SHA=778a7fce8356fc33696d102c8727263491ee3f30"
                                             ],
                                             "path": null
                                           }
2025-06-13 12:14.32: Waiting for resource in pool registry-build-pool
2025-06-13 12:40.34: Got resource from pool registry-build-pool
2025-06-13 12:40.34: Checking out commit 7f831ac1. To reproduce:
                       git clone --recursive "https://github.com/ocaml-opam/opam2web.git" && cd "opam2web" && git fetch origin "refs/pull/185/head" && git reset --hard 7f831ac1
2025-06-13 12:40.34: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git" 
                           "/tmp/git-checkout3f13473f"
2025-06-13 12:40.34: Exec: "git" "-C" "/tmp/git-checkout3f13473f" "submodule" 
                           "deinit" "--force" "--all"
could not create empty submodule directory content/docSubmodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) unregistered for path 'content/doc'
2025-06-13 12:40.34: Exec: "git" "-C" "/tmp/git-checkout3f13473f" "reset" 
                           "--hard" "-q" "7f831ac1da077fec54fd8c63c33b079694c15288"
2025-06-13 12:40.34: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout3f13473f" "submodule" "update" 
                           "--recursive" "--init" "--no-fetch"
Submodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) registered for path 'content/doc'
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
2025-06-13 12:40.34: Exec: "docker" "--context" "registry.ci.dev" "build" 
                           "--pull" "--build-arg" "OPAM_REPO_GIT_SHA=59e7a58f9d7d6cc1f4da2e23f40e7e0ac1426f77" 
                           "--build-arg" "BLOG_GIT_SHA=bdef1bbf939db6797dcd51faef2ea9ac1826f4a5" 
                           "--build-arg" "OPAM_GIT_SHA=778a7fce8356fc33696d102c8727263491ee3f30" 
                           "-f" "/tmp/git-checkout3f13473f/Dockerfile" 
                           "--iidfile" "/tmp/git-checkout3f13473f/docker-iid" 
                           "--" "/tmp/git-checkout3f13473f"
2025/06/13 12:40:39 http2: server: error reading preface from client dummy-1: read |0: file already closed
#0 building with "registry.ci.dev" instance using docker driver

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

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

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

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

#5 [internal] load metadata for docker.io/ocaml/opam:alpine-3.15-ocaml-4.14
#5 ...

#6 [internal] load metadata for docker.io/library/caddy:2.5.2-alpine
#6 DONE 0.3s

#7 [internal] load metadata for docker.io/library/alpine:3.15
#7 DONE 0.3s

#8 [internal] load metadata for docker.io/ocaml/opam.ocaml.org-legacy:latest
#8 DONE 0.3s

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

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

#10 [stage-5 1/3] FROM docker.io/library/caddy:2.5.2-alpine@sha256:b31ff95e98737b849d6af1fb9d9cb54a66ba3684564b3310541f60b12b1dd619
#10 DONE 0.0s

#11 [opam-archive 1/1] FROM docker.io/ocaml/opam:archive@sha256:9908db8d7a12d4222ec6e98ac47b20c044f54fda8d2297f1969903b36581a8c6
#11 DONE 0.0s

#12 [opam-legacy 1/1] FROM docker.io/ocaml/opam.ocaml.org-legacy@sha256:8441c99108b7628c4b3a222a5b61aef39dc1f9638f2b9bc991b4eb5314b58865
#12 DONE 0.0s

#13 [opam2web  1/12] FROM docker.io/library/alpine:3.15@sha256:19b4bcc4f60e99dd5ebdca0cbce22c503bbcff197549d7e19dab4f22254dc864
#13 DONE 0.0s

#14 [stage-5 2/3] WORKDIR /srv
#14 CACHED

#15 [opam2web  2/12] RUN apk add --update git curl rsync libstdc++ rdfind
#15 CACHED

#16 [opam2web  3/12] COPY --from=opam-legacy . /www
#16 CACHED

#17 [build-opam-doc  1/14] FROM docker.io/ocaml/opam:alpine-3.15-ocaml-4.14@sha256:6e944a352012058a8e8d9e44019c2a827acd5ba42be51437b697e3630a608bdc
#17 DONE 0.0s

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

#19 [build-opam2web  3/12] RUN git clone https://github.com/ocaml/opam2web.git --depth 1 /home/opam/opam2web
#19 CACHED

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

#21 [build-opam2web  4/12] WORKDIR /home/opam/opam2web
#21 CACHED

#22 [build-opam-doc  4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#22 CACHED

#23 [build-opam-doc  6/14] RUN git clone https://github.com/ocaml/opam --single-branch --depth 1 --branch master /home/opam/opam
#23 CACHED

#24 [build-opam-doc  5/14] RUN opam install odoc
#24 CACHED

#25 [build-opam-doc  3/14] 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
#25 CACHED

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

#27 [build-opam2web  6/12] RUN opam repo set-url default git+https://github.com/ocaml/opam-repository.git#${OPAM_GIT_SHA}
#27 CACHED

#28 [build-opam-doc  7/14] WORKDIR /home/opam/opam
#28 CACHED

#29 [internal] load build context
#29 transferring context: 4.97kB 0.0s done
#29 DONE 0.1s

#30 [build-opam2web  7/12] RUN opam install . --destdir /opt/opam2web
#30 0.929 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
#30 ...

#31 [build-opam-doc  8/14] RUN opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make
#31 0.366 checking for ocamlc... ocamlc
#31 0.375 OCaml version is 4.14.0
#31 0.383 OCaml library path is /home/opam/.opam/4.14/lib/ocaml
#31 0.383 checking for ocamlopt... ocamlopt
#31 0.393 checking for ocamlc.opt... ocamlc.opt
#31 0.400 checking for ocamlopt.opt... ocamlopt.opt
#31 0.410 checking for ocaml... ocaml
#31 0.411 checking for ocamldep... ocamldep
#31 0.412 checking for ocamldep.opt... ocamldep.opt
#31 0.419 checking for ocamlmktop... ocamlmktop
#31 0.419 checking for ocamlmklib... ocamlmklib
#31 0.420 checking for ocamldoc... ocamldoc
#31 0.420 checking for ocamldoc.opt... ocamldoc.opt
#31 0.431 checking for ocamlbuild... ocamlbuild
#31 0.431 checking OCaml Sys.os_type... Unix
#31 0.464 checking for gawk... no
#31 0.464 checking for mawk... no
#31 0.465 checking for nawk... no
#31 0.465 checking for awk... awk
#31 0.472 checking for compiler type... cc
#31 0.828 checking for compiler architecture... amd64
#31 1.152 checking for compiler system... linux
#31 1.507 checking for compiler target... x86_64-pc-linux-musl
#31 1.895 checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64
#31 1.934 checking whether the C compiler works... yes
#31 1.985 checking for C compiler default output file name... a.out
#31 1.988 checking for suffix of executables... 
#31 2.038 checking whether we are cross compiling... no
#31 2.096 checking for suffix of object files... o
#31 2.133 checking whether the compiler supports GNU C... yes
#31 2.168 checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 accepts -g... yes
#31 2.206 checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 option to enable C11 features... none needed
#31 2.307 checking for ocamlobjinfo... ocamlobjinfo
#31 2.308 checking for ocamlfind... ocamlfind
#31 2.322 checking for curl... curl
#31 2.323 checking for dune... dune
#31 2.324 checking for patch... patch
#31 2.325 checking for bunzip2... bunzip2
#31 2.332 checking for linking method... shared
#31 2.332 
#31 2.332 checking for OCaml findlib package unix... found
#31 2.335 checking for OCaml findlib package re 1.9.0 or later... found 1.10.4
#31 2.343 checking for OCaml findlib package base64 3.1.0 or later... no
#31 2.345 checking for OCaml findlib package cmdliner... found
#31 2.348 checking for OCaml findlib package ocamlgraph... not found
#31 2.351 checking for OCaml findlib package cudf 0.7 or later... no
#31 2.353 checking for OCaml findlib package dose3.common 6.1 or later... no
#31 2.355 checking for OCaml findlib package dose3.algo 6.1 or later... no
#31 2.358 checking for OCaml findlib package opam-file-format 2.1.4 or later... no
#31 2.361 checking for OCaml findlib package spdx_licenses... not found
#31 2.364 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
#31 2.367 checking for OCaml findlib package jsonm... not found
#31 2.369 checking for OCaml findlib package uutf... found
#31 2.371 checking for OCaml findlib package sha... not found
#31 2.373 checking for OCaml findlib package swhid_core... not found
#31 2.375 checking for OCaml findlib package patch... not found
#31 2.377 checking for OCaml findlib package mccs 1.1+17 or later... no
#31 2.379 
#31 2.379 configure: error: Dependencies missing. Use --with-vendored-deps or --disable-checks
#31 ERROR: process "/bin/sh -c opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make" did not complete successfully: exit code: 1

#30 [build-opam2web  7/12] RUN opam install . --destdir /opt/opam2web
#30 CANCELED
------
 > [build-opam-doc  8/14] RUN opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make:
2.361 checking for OCaml findlib package spdx_licenses... not found
2.364 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
2.367 checking for OCaml findlib package jsonm... not found
2.369 checking for OCaml findlib package uutf... found
2.371 checking for OCaml findlib package sha... not found
2.373 checking for OCaml findlib package swhid_core... not found
2.375 checking for OCaml findlib package patch... not found
2.377 checking for OCaml findlib package mccs 1.1+17 or later... no
2.379 
2.379 configure: error: Dependencies missing. Use --with-vendored-deps or --disable-checks
------
Dockerfile:36
--------------------
  34 |     RUN git clone https://github.com/ocaml/opam --single-branch --depth 1 --branch master /home/opam/opam
  35 |     WORKDIR /home/opam/opam
  36 | >>> RUN opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make
  37 |     RUN echo '(vendored_dirs src_ext)' >> dune
  38 |     RUN opam exec -- make -C doc html man-html DUNE=dune
--------------------
ERROR: failed to solve: process "/bin/sh -c opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make" did not complete successfully: exit code: 1
2025-06-13 12:40.44: Job failed: Docker build exited with status 1