Build:
- 0
2025-01-20 14:54.43: 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=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:55.06: Got resource from pool registry-build-pool
2025-01-20 14:55.06: 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
2025-01-20 14:55.06: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git"
"/tmp/git-checkout228bf1f"
2025-01-20 14:55.06: Exec: "git" "-C" "/tmp/git-checkout228bf1f" "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:55.06: Exec: "git" "-C" "/tmp/git-checkout228bf1f" "reset"
"--hard" "-q" "e92b06099caeec8aa43ce1a8b24e3cd1086e5425"
2025-01-20 14:55.06: Exec: "git" "-c" "protocol.file.allow=always" "-C"
"/tmp/git-checkout228bf1f" "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:55.07: 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-checkout228bf1f/Dockerfile"
"--iidfile" "/tmp/git-checkout228bf1f/docker-iid"
"--" "/tmp/git-checkout228bf1f"
2025/01/20 14:55:18 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: 2.50kB 0.3s done
#1 DONE 1.4s
#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 0.2s
#3 docker-image://docker.io/docker/dockerfile:1@sha256:93bfd3b68c109427185cd78b4779fc82b484b0b7618e36d0f104d4d801e66d25
#3 CACHED
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 2.50kB 0.3s done
#1 DONE 1.4s
#4 [internal] load build definition from Dockerfile
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)
#4 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 43)
#4 DONE 0.0s
#5 [internal] load metadata for docker.io/library/alpine:3.14
#5 DONE 0.2s
#6 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
#6 DONE 0.2s
#7 [internal] load .dockerignore
#7 transferring context: 0.1s
#7 transferring context: 2B 0.2s done
#7 DONE 0.2s
#8 [opam2web 1/6] FROM docker.io/library/alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
#8 DONE 0.0s
#9 [build-opam-doc 1/14] FROM docker.io/ocaml/opam:alpine-3.14-ocaml-4.10@sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707
#9 DONE 0.0s
#10 [opam2web 2/6] RUN apk add git curl rsync libstdc++
#10 CACHED
#11 [build-opam-doc 5/14] RUN opam install odoc
#11 CACHED
#12 [build-opam-doc 4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#12 CACHED
#13 [build-opam-doc 2/14] RUN sudo apk add cgit groff
#13 CACHED
#14 [build-opam-doc 6/14] RUN git clone https://github.com/ocaml/opam --single-branch --depth 1 --branch master /home/opam/opam
#14 CACHED
#15 [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
#15 CACHED
#16 [build-opam-doc 7/14] WORKDIR /home/opam/opam
#16 CACHED
#17 [build-opam2web 4/13] WORKDIR /home/opam/opam2web
#17 CACHED
#18 [build-opam2web 5/13] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#18 CACHED
#19 [build-opam2web 6/13] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
#19 CACHED
#20 [build-opam2web 3/13] RUN git clone https://github.com/ocaml/opam2web --depth 1 /home/opam/opam2web
#20 CACHED
#21 [build-opam2web 2/13] RUN sudo apk add g++
#21 CACHED
#22 [build-opam2web 7/13] RUN opam repo set-url default https://opam-dev.ocaml.org/
#22 CACHED
#23 [internal] load build context
#23 transferring context: 2.59kB 0.2s done
#23 DONE 0.3s
#24 [build-opam-doc 8/14] RUN opam exec -- ./configure --with-vendored-deps ---without-mccs && opam exec -- make lib-ext && opam exec -- make
#24 0.324 configure: error: unrecognized option: `---without-mccs'
#24 0.324 Try `./configure --help' for more information
#24 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
#25 [build-opam2web 8/13] RUN opam install . --destdir /opt/opam2web
#25 1.536 Package opam2web does not exist, create as a NEW package? [Y/n] y
#25 1.538 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
#25 1.539 [ERROR] Package conflict!
#25 1.539 * Missing dependency:
#25 1.539 - dune
#25 1.539 unknown package
#25 1.539
#25 1.539 No solution found, exiting
#25 CANCELED
------
> [build-opam-doc 8/14] RUN opam exec -- ./configure --with-vendored-deps ---without-mccs && opam exec -- make lib-ext && opam exec -- make:
0.324 configure: error: unrecognized option: `---without-mccs'
0.324 Try `./configure --help' for more information
------
4 warnings found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 43)
- LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 6)
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
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
2025-01-20 14:55.24: Job failed: Docker build exited with status 1