Build:
  1. 0
2025-01-20 14:54.43: New job: docker build {
                                             "commit": "fdbc059af2677a426a36be35e3289a81467e7fb5",
                                             "dockerfile": {
                                               "file": "Dockerfile"
                                             },
                                             "docker_context": "registry.ci.dev",
                                             "squash": false,
                                             "buildx": false,
                                             "build_args": [
                                               "--build-arg",
                                               "OPAM_REPO_GIT_SHA=4bd1cb78d92499036ff9660d5daf6c3d4a2b42e9",
                                               "--build-arg",
                                               "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6",
                                               "--build-arg",
                                               "OPAM_GIT_SHA=0a73eab708fa08ec3ae5562907137d994550ea61"
                                             ],
                                             "path": null
                                           }
2025-01-20 14:54.43: Waiting for resource in pool registry-build-pool
2025-01-20 14:54.46: Got resource from pool registry-build-pool
2025-01-20 14:54.46: Checking out commit fdbc059a. To reproduce:
                       git clone --recursive "https://github.com/ocaml-opam/opam2web.git" && cd "opam2web" && git fetch origin "refs/pull/203/head" && git reset --hard fdbc059a
2025-01-20 14:54.46: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git" 
                           "/tmp/git-checkout26a9ce9a"
2025-01-20 14:54.46: Exec: "git" "-C" "/tmp/git-checkout26a9ce9a" "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-01-20 14:54.46: Exec: "git" "-C" "/tmp/git-checkout26a9ce9a" "reset" 
                           "--hard" "-q" "fdbc059af2677a426a36be35e3289a81467e7fb5"
2025-01-20 14:54.47: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout26a9ce9a" "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-01-20 14:54.47: Exec: "docker" "--context" "registry.ci.dev" "build" 
                           "--pull" "--build-arg" "OPAM_REPO_GIT_SHA=4bd1cb78d92499036ff9660d5daf6c3d4a2b42e9" 
                           "--build-arg" "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6" 
                           "--build-arg" "OPAM_GIT_SHA=0a73eab708fa08ec3ae5562907137d994550ea61" 
                           "-f" "/tmp/git-checkout26a9ce9a/Dockerfile" 
                           "--iidfile" "/tmp/git-checkout26a9ce9a/docker-iid" 
                           "--" "/tmp/git-checkout26a9ce9a"
2025/01/20 14:54:59 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.3s done
#1 DONE 1.4s

#2 [auth] docker/dockerfile:pull token for registry-1.docker.io
#2 DONE 0.0s

#3 resolve image config for docker-image://docker.io/docker/dockerfile:1.3
#3 DONE 0.5s

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

#5 [internal] load .dockerignore
#5 transferring context: 32B 0.1s
#5 transferring context: 53B 0.2s done
#5 DONE 0.3s

#6 [auth] ocaml/opam:pull token for registry-1.docker.io
#6 DONE 0.0s

#7 [auth] library/alpine:pull token for registry-1.docker.io
#7 DONE 0.0s

#8 [auth] library/caddy:pull token for registry-1.docker.io
#8 DONE 0.0s

#9 [auth] ocaml/opam.ocaml.org-legacy:pull token for registry-1.docker.io
#9 DONE 0.0s

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

#11 [internal] load metadata for docker.io/ocaml/opam.ocaml.org-legacy:latest
#11 ...

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

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

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

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

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

#16 [opam-archive 1/1] FROM docker.io/ocaml/opam:archive@sha256:5c9d3483d70f6e316677ec2f3aac79f7490c0d1e9c1fb1271fb7afba1d2fb1c3
#16 CACHED

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

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

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

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

#21 [build-opam2web 12/12] RUN git clone https://github.com/ocaml/opam --depth 1 -b 1.2 /tmp/opam-1.2     && mv /tmp/opam-1.2/doc/pages /opt/opam2web/share/opam2web/content/doc/1.2     && rm -rf /tmp/opam-1.2
#21 CACHED

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

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

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

#25 [build-opam2web  9/12] RUN rm -rf /opt/opam2web/share/opam2web/lib
#25 CACHED

#26 [build-opam2web  7/12] RUN opam install . --destdir /opt/opam2web
#26 CACHED

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

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

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

#30 [build-opam2web 11/12] RUN git clone https://github.com/ocaml/opam.wiki.git --depth 1 -b old_wiki /opt/opam2web/share/opam2web/content/doc/1.1     && rm -rf /opt/opam2web/share/opam2web/content/doc/1.1/.git
#30 CACHED

#31 [build-opam2web 10/12] RUN rm -rf /opt/opam2web/share/opam2web/doc
#31 CACHED

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

#33 [build-opam2web  8/12] RUN cp -r content /opt/opam2web/share/opam2web/
#33 CACHED

#34 [opam2web  4/12] COPY --from=build-opam2web /opt/opam2web /usr/local
#34 CACHED

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

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

#37 [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
#37 CACHED

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

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

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

#41 [internal] load build context
#41 transferring context: 4.95kB 0.2s done
#41 DONE 0.2s

#42 [build-opam-doc  8/14] RUN opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make
#42 0.341 checking for ocamlc... ocamlc
#42 0.350 OCaml version is 4.14.0
#42 0.359 OCaml library path is /home/opam/.opam/4.14/lib/ocaml
#42 0.359 checking for ocamlopt... ocamlopt
#42 0.370 checking for ocamlc.opt... ocamlc.opt
#42 0.379 checking for ocamlopt.opt... ocamlopt.opt
#42 0.391 checking for ocaml... ocaml
#42 0.391 checking for ocamldep... ocamldep
#42 0.392 checking for ocamldep.opt... ocamldep.opt
#42 0.400 checking for ocamlmktop... ocamlmktop
#42 0.400 checking for ocamlmklib... ocamlmklib
#42 0.401 checking for ocamldoc... ocamldoc
#42 0.401 checking for ocamldoc.opt... ocamldoc.opt
#42 0.425 checking for ocamlbuild... ocamlbuild
#42 0.425 checking OCaml Sys.os_type... Unix
#42 0.471 checking for gawk... no
#42 0.471 checking for mawk... no
#42 0.471 checking for nawk... no
#42 0.472 checking for awk... awk
#42 0.479 checking for compiler type... cc
#42 0.946 checking for compiler architecture... amd64
#42 1.369 checking for compiler system... linux
#42 1.793 checking for compiler target... x86_64-pc-linux-musl
#42 2.240 checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64
#42 2.278 checking whether the C compiler works... yes
#42 2.341 checking for C compiler default output file name... a.out
#42 2.343 checking for suffix of executables... 
#42 2.396 checking whether we are cross compiling... no
#42 2.458 checking for suffix of object files... o
#42 2.497 checking whether the compiler supports GNU C... yes
#42 2.534 checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 accepts -g... yes
#42 2.573 checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64 option to enable C11 features... none needed
#42 2.678 checking for ocamlobjinfo... ocamlobjinfo
#42 2.679 checking for ocamlfind... ocamlfind
#42 2.691 checking for curl... curl
#42 2.692 checking for dune... dune
#42 2.692 checking for patch... patch
#42 2.692 checking for bunzip2... bunzip2
#42 2.700 checking for linking method... shared
#42 2.700 
#42 2.700 checking for OCaml findlib package unix... found
#42 2.703 checking for OCaml findlib package re 1.9.0 or later... found 1.10.4
#42 2.712 checking for OCaml findlib package base64 3.1.0 or later... no
#42 2.715 checking for OCaml findlib package cmdliner... found
#42 2.718 checking for OCaml findlib package ocamlgraph... not found
#42 2.720 checking for OCaml findlib package cudf 0.7 or later... no
#42 2.722 checking for OCaml findlib package dose3.common 6.1 or later... no
#42 2.725 checking for OCaml findlib package dose3.algo 6.1 or later... no
#42 2.727 checking for OCaml findlib package opam-file-format 2.1.4 or later... no
#42 2.729 checking for OCaml findlib package spdx_licenses... not found
#42 2.732 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
#42 2.734 checking for OCaml findlib package jsonm... not found
#42 2.736 checking for OCaml findlib package uutf... found
#42 2.739 checking for OCaml findlib package sha... not found
#42 2.741 checking for OCaml findlib package swhid_core... not found
#42 2.744 checking for OCaml findlib package mccs 1.1+17 or later... no
#42 2.747 
#42 2.747 configure: error: Dependencies missing. Use --with-vendored-deps or --disable-checks
#42 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
------
 > [build-opam-doc  8/14] RUN opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make:
2.727 checking for OCaml findlib package opam-file-format 2.1.4 or later... no
2.729 checking for OCaml findlib package spdx_licenses... not found
2.732 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no
2.734 checking for OCaml findlib package jsonm... not found
2.736 checking for OCaml findlib package uutf... found
2.739 checking for OCaml findlib package sha... not found
2.741 checking for OCaml findlib package swhid_core... not found
2.744 checking for OCaml findlib package mccs 1.1+17 or later... no
2.747 
2.747 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-01-20 14:55.06: Job failed: Docker build exited with status 1