Build:
  1. 0
2024-12-12 18:00.15: New job: docker build {
                                             "commit": "e92b06099caeec8aa43ce1a8b24e3cd1086e5425",
                                             "dockerfile": {
                                               "file": "Dockerfile"
                                             },
                                             "docker_context": "registry.ci.dev",
                                             "squash": false,
                                             "buildx": false,
                                             "build_args": [
                                               "--build-arg",
                                               "OPAM_REPO_GIT_SHA=a2f34adbafe25265cf1f94c8530bdb143605d084",
                                               "--build-arg",
                                               "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6",
                                               "--build-arg",
                                               "OPAM_GIT_SHA=c6f86e980fdc2e925d874089ae6f018e84acda6c"
                                             ],
                                             "path": null
                                           }
2024-12-12 18:00.15: Waiting for resource in pool registry-build-pool
2024-12-12 18:00.35: Got resource from pool registry-build-pool
2024-12-12 18:00.35: Checking out commit e92b0609. To reproduce:
                       git clone --recursive "https://github.com/ocaml-opam/opam2web.git" -b "kit-ty-kate-patch-2" && cd "opam2web" && git reset --hard e92b0609
2024-12-12 18:00.35: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git" 
                           "/tmp/git-checkout35c4f41d"
2024-12-12 18:00.35: Exec: "git" "-C" "/tmp/git-checkout35c4f41d" "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 18:00.35: Exec: "git" "-C" "/tmp/git-checkout35c4f41d" "reset" 
                           "--hard" "-q" "e92b06099caeec8aa43ce1a8b24e3cd1086e5425"
2024-12-12 18:00.35: Exec: "git" "-c" "protocol.file.allow=always" "-C" 
                           "/tmp/git-checkout35c4f41d" "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 18:00.35: Exec: "docker" "--context" "registry.ci.dev" "build" 
                           "--pull" "--build-arg" "OPAM_REPO_GIT_SHA=a2f34adbafe25265cf1f94c8530bdb143605d084" 
                           "--build-arg" "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6" 
                           "--build-arg" "OPAM_GIT_SHA=c6f86e980fdc2e925d874089ae6f018e84acda6c" 
                           "-f" "/tmp/git-checkout35c4f41d/Dockerfile" 
                           "--iidfile" "/tmp/git-checkout35c4f41d/docker-iid" 
                           "--" "/tmp/git-checkout35c4f41d"
2024/12/12 18:00:47 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: 30B 0.1s
#1 ...

#2 [internal] load .dockerignore
#2 transferring context: 2B 0.2s done
#2 DONE 1.4s

#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 2.50kB 0.3s done
#1 DONE 1.5s

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

#4 resolve image config for docker.io/docker/dockerfile:1
#4 DONE 0.7s

#5 docker-image://docker.io/docker/dockerfile:1@sha256:db1ff77fb637a5955317c7a3a62540196396d565f3dd5742e76dddbb6d75c4c5
#5 CACHED

#6 [internal] load build definition from Dockerfile
#6 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
#6 DONE 0.0s

#7 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
#7 DONE 0.2s

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

#9 [internal] load .dockerignore
#9 DONE 0.0s

#10 [opam2web 1/6] FROM docker.io/library/alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
#10 DONE 0.0s

#11 [opam2web 2/6] RUN apk add git curl rsync libstdc++
#11 CACHED

#12 [build-opam-doc  1/14] FROM docker.io/ocaml/opam:alpine-3.14-ocaml-4.10@sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707
#12 DONE 0.0s

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

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

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

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

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

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

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

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

#21 [build-opam2web  6/13] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
#21 CACHED

#22 [build-opam2web  4/13] WORKDIR /home/opam/opam2web
#22 CACHED

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

#24 [build-opam2web  7/13] RUN opam repo set-url default https://opam-dev.ocaml.org/
#24 CACHED

#25 [internal] load build context
#25 transferring context: 2.59kB 0.2s done
#25 DONE 0.3s

#26 [build-opam-doc  8/14] RUN opam exec -- ./configure --with-vendored-deps ---without-mccs && opam exec -- make lib-ext && opam exec -- make
#26 0.354 configure: error: unrecognized option: `---without-mccs'
#26 0.354 Try `./configure --help' for more information
#26 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: 1

#27 [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web
#27 1.542 Package opam2web does not exist, create as a NEW package? [Y/n] y
#27 1.544 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
#27 1.545 [ERROR] Package conflict!
#27 1.545   * Missing dependency:
#27 1.545     - dune
#27 1.545     unknown package
#27 1.545 
#27 1.545 No solution found, exiting
#27 CANCELED
------
 > [build-opam-doc  8/14] RUN opam exec -- ./configure --with-vendored-deps ---without-mccs && opam exec -- make lib-ext && opam exec -- make:
0.354 configure: error: unrecognized option: `---without-mccs'
0.354 Try `./configure --help' for more information
------
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 --with-vendored-deps ---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 --with-vendored-deps ---without-mccs && opam exec -- make lib-ext && opam exec -- make" did not complete successfully: exit code: 1
2024-12-12 18:00.53: Job failed: Docker build exited with status 1