Build:
- 0
2024-12-12 17:37.01: 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=e6519a37f29f88feda03504219c84ea7844868b4", "--build-arg", "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6", "--build-arg", "OPAM_GIT_SHA=659e4ad6c6311184ca6226b84f146b46cf22824e" ], "path": null } 2024-12-12 17:37.01: Waiting for resource in pool registry-build-pool 2024-12-12 17:37.01: Got resource from pool registry-build-pool 2024-12-12 17:37.01: 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 2024-12-12 17:37.01: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git" "/tmp/git-checkout24c821f0" 2024-12-12 17:37.01: Exec: "git" "-C" "/tmp/git-checkout24c821f0" "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' 2024-12-12 17:37.01: Exec: "git" "-C" "/tmp/git-checkout24c821f0" "reset" "--hard" "-q" "fdbc059af2677a426a36be35e3289a81467e7fb5" 2024-12-12 17:37.01: Exec: "git" "-c" "protocol.file.allow=always" "-C" "/tmp/git-checkout24c821f0" "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' 2024-12-12 17:37.02: Exec: "docker" "--context" "registry.ci.dev" "build" "--pull" "--build-arg" "OPAM_REPO_GIT_SHA=e6519a37f29f88feda03504219c84ea7844868b4" "--build-arg" "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6" "--build-arg" "OPAM_GIT_SHA=659e4ad6c6311184ca6226b84f146b46cf22824e" "-f" "/tmp/git-checkout24c821f0/Dockerfile" "--iidfile" "/tmp/git-checkout24c821f0/docker-iid" "--" "/tmp/git-checkout24c821f0" 2024/12/12 17:37:13 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 .dockerignore #1 transferring context: #1 transferring context: 53B 0.3s done #1 DONE 1.6s #2 [internal] load build definition from Dockerfile #2 transferring dockerfile: 3.11kB 0.3s done #2 DONE 1.6s #3 resolve image config for docker.io/docker/dockerfile:1.3 #3 DONE 0.0s #4 docker-image://docker.io/docker/dockerfile:1.3 #4 CACHED #5 [internal] load metadata for docker.io/ocaml/opam:archive #5 ... #6 [internal] load metadata for docker.io/library/alpine:3.15 #6 DONE 0.2s #7 [internal] load metadata for docker.io/ocaml/opam:alpine-3.15-ocaml-4.14 #7 DONE 0.2s #8 [internal] load metadata for docker.io/library/caddy:2.5.2-alpine #8 DONE 0.2s #9 [internal] load metadata for docker.io/ocaml/opam.ocaml.org-legacy:latest #9 DONE 0.2s #5 [internal] load metadata for docker.io/ocaml/opam:archive #5 DONE 0.2s #10 [opam-legacy 1/1] FROM docker.io/ocaml/opam.ocaml.org-legacy@sha256:8441c99108b7628c4b3a222a5b61aef39dc1f9638f2b9bc991b4eb5314b58865 #10 DONE 0.0s #11 [opam-archive 1/1] FROM docker.io/ocaml/opam:archive@sha256:35f988ff01165e7ef4fabd11a3ca0018abb2cf47bac7fe97eb77022293404e3d #11 DONE 0.0s #12 [stage-5 1/3] FROM docker.io/library/caddy:2.5.2-alpine@sha256:b31ff95e98737b849d6af1fb9d9cb54a66ba3684564b3310541f60b12b1dd619 #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 [build-opam-doc 1/14] FROM docker.io/ocaml/opam:alpine-3.15-ocaml-4.14@sha256:6e944a352012058a8e8d9e44019c2a827acd5ba42be51437b697e3630a608bdc #15 DONE 0.0s #16 [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 #16 CACHED #17 [build-opam2web 2/12] RUN sudo apk add g++ gmp-dev #17 CACHED #18 [build-opam2web 9/12] RUN rm -rf /opt/opam2web/share/opam2web/lib #18 CACHED #19 [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 #19 CACHED #20 [build-opam2web 5/12] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web #20 CACHED #21 [build-opam2web 10/12] RUN rm -rf /opt/opam2web/share/opam2web/doc #21 CACHED #22 [build-opam2web 3/12] RUN git clone https://github.com/ocaml/opam2web.git --depth 1 /home/opam/opam2web #22 CACHED #23 [build-opam2web 8/12] RUN cp -r content /opt/opam2web/share/opam2web/ #23 CACHED #24 [opam2web 2/12] RUN apk add --update git curl rsync libstdc++ rdfind #24 CACHED #25 [build-opam2web 7/12] RUN opam install . --destdir /opt/opam2web #25 CACHED #26 [build-opam2web 6/12] RUN opam repo set-url default git+https://github.com/ocaml/opam-repository.git#${OPAM_GIT_SHA} #26 CACHED #27 [opam2web 3/12] COPY --from=opam-legacy . /www #27 CACHED #28 [build-opam2web 4/12] WORKDIR /home/opam/opam2web #28 CACHED #29 [opam2web 4/12] COPY --from=build-opam2web /opt/opam2web /usr/local #29 CACHED #30 [build-opam-doc 4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update #30 CACHED #31 [build-opam-doc 5/14] RUN opam install odoc #31 CACHED #32 [build-opam-doc 2/14] RUN sudo apk add cgit groff #32 CACHED #33 [build-opam-doc 6/14] RUN git clone https://github.com/ocaml/opam --single-branch --depth 1 --branch master /home/opam/opam #33 CACHED #34 [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 #34 CACHED #35 [build-opam-doc 7/14] WORKDIR /home/opam/opam #35 CACHED #36 [internal] load build context #36 transferring context: 4.95kB 0.2s done #36 DONE 0.3s #37 [build-opam-doc 8/14] RUN opam exec -- ./configure --without-mccs && opam exec -- make lib-ext && opam exec -- make #37 0.316 checking for ocamlc... ocamlc #37 0.325 OCaml version is 4.14.0 #37 0.333 OCaml library path is /home/opam/.opam/4.14/lib/ocaml #37 0.333 checking for ocamlopt... ocamlopt #37 0.343 checking for ocamlc.opt... ocamlc.opt #37 0.351 checking for ocamlopt.opt... ocamlopt.opt #37 0.363 checking for ocaml... ocaml #37 0.363 checking for ocamldep... ocamldep #37 0.363 checking for ocamldep.opt... ocamldep.opt #37 0.371 checking for ocamlmktop... ocamlmktop #37 0.372 checking for ocamlmklib... ocamlmklib #37 0.372 checking for ocamldoc... ocamldoc #37 0.372 checking for ocamldoc.opt... ocamldoc.opt #37 0.384 checking for ocamlbuild... ocamlbuild #37 0.384 checking OCaml Sys.os_type... Unix #37 0.420 checking for gawk... no #37 0.420 checking for mawk... no #37 0.421 checking for nawk... no #37 0.421 checking for awk... awk #37 0.428 checking for compiler type... cc #37 0.855 checking for compiler architecture... amd64 #37 1.279 checking for compiler system... linux #37 1.707 checking for compiler target... x86_64-pc-linux-musl #37 2.150 checking for gcc... gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 #37 2.187 checking whether the C compiler works... yes #37 2.242 checking for C compiler default output file name... a.out #37 2.243 checking for suffix of executables... #37 2.298 checking whether we are cross compiling... no #37 2.359 checking for suffix of object files... o #37 2.399 checking whether the compiler supports GNU C... yes #37 2.437 checking whether gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 accepts -g... yes #37 2.477 checking for gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 option to enable C11 features... none needed #37 2.583 checking for ocamlobjinfo... ocamlobjinfo #37 2.584 checking for ocamlfind... ocamlfind #37 2.595 checking for curl... curl #37 2.595 checking for dune... dune #37 2.596 checking for patch... patch #37 2.596 checking for bunzip2... bunzip2 #37 2.603 checking for linking method... shared #37 2.604 #37 2.604 checking for OCaml findlib package unix... found #37 2.606 checking for OCaml findlib package re 1.9.0 or later... found 1.10.4 #37 2.616 checking for OCaml findlib package base64 3.1.0 or later... no #37 2.619 checking for OCaml findlib package cmdliner... found #37 2.622 checking for OCaml findlib package ocamlgraph... not found #37 2.624 checking for OCaml findlib package cudf 0.7 or later... no #37 2.626 checking for OCaml findlib package dose3.common 6.1 or later... no #37 2.629 checking for OCaml findlib package dose3.algo 6.1 or later... no #37 2.631 checking for OCaml findlib package opam-file-format 2.1.4 or later... no #37 2.633 checking for OCaml findlib package spdx_licenses... not found #37 2.636 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no #37 2.638 checking for OCaml findlib package jsonm... not found #37 2.640 checking for OCaml findlib package uutf... found #37 2.643 checking for OCaml findlib package sha... not found #37 2.645 checking for OCaml findlib package swhid_core... not found #37 2.647 checking for OCaml findlib package mccs 1.1+17 or later... no #37 2.650 #37 2.650 configure: error: Dependencies missing. Use --with-vendored-deps or --disable-checks #37 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.631 checking for OCaml findlib package opam-file-format 2.1.4 or later... no 2.633 checking for OCaml findlib package spdx_licenses... not found 2.636 checking for OCaml findlib package opam-0install-cudf 0.5.0 or later... no 2.638 checking for OCaml findlib package jsonm... not found 2.640 checking for OCaml findlib package uutf... found 2.643 checking for OCaml findlib package sha... not found 2.645 checking for OCaml findlib package swhid_core... not found 2.647 checking for OCaml findlib package mccs 1.1+17 or later... no 2.650 2.650 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 2024-12-12 17:37.21: Job failed: Docker build exited with status 1