Build:
- 0
2024-12-12 17:22.17: 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=10dcbe70c23fddbfafb994501b3949204e047e83",
"--build-arg",
"BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6",
"--build-arg",
"OPAM_GIT_SHA=659e4ad6c6311184ca6226b84f146b46cf22824e"
],
"path": null
}
2024-12-12 17:22.17: Waiting for resource in pool registry-build-pool
2024-12-12 17:22.39: Got resource from pool registry-build-pool
2024-12-12 17:22.39: 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 17:22.39: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git"
"/tmp/git-checkout2ba128d0"
2024-12-12 17:22.39: Exec: "git" "-C" "/tmp/git-checkout2ba128d0" "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:22.39: Exec: "git" "-C" "/tmp/git-checkout2ba128d0" "reset"
"--hard" "-q" "e92b06099caeec8aa43ce1a8b24e3cd1086e5425"
2024-12-12 17:22.39: Exec: "git" "-c" "protocol.file.allow=always" "-C"
"/tmp/git-checkout2ba128d0" "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:22.39: Exec: "docker" "--context" "registry.ci.dev" "build"
"--pull" "--build-arg" "OPAM_REPO_GIT_SHA=10dcbe70c23fddbfafb994501b3949204e047e83"
"--build-arg" "BLOG_GIT_SHA=7c8baf56cb2ff5dcf9a2e43202ac676eb4f946f6"
"--build-arg" "OPAM_GIT_SHA=659e4ad6c6311184ca6226b84f146b46cf22824e"
"-f" "/tmp/git-checkout2ba128d0/Dockerfile"
"--iidfile" "/tmp/git-checkout2ba128d0/docker-iid"
"--" "/tmp/git-checkout2ba128d0"
2024/12/12 17:22:51 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: 0.1s
#1 transferring context: 2B 0.2s done
#1 DONE 1.4s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 30B 0.1s
#2 transferring dockerfile: 2.50kB 0.3s done
#2 DONE 1.4s
#3 resolve image config for docker.io/docker/dockerfile:1
#3 DONE 0.2s
#4 docker-image://docker.io/docker/dockerfile:1@sha256:db1ff77fb637a5955317c7a3a62540196396d565f3dd5742e76dddbb6d75c4c5
#4 CACHED
#5 [internal] load build definition from Dockerfile
#5 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
#5 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)
#5 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 43)
#5 DONE 0.0s
#6 [internal] load metadata for docker.io/library/alpine:3.14
#6 DONE 0.2s
#7 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
#7 DONE 0.2s
#8 [internal] load .dockerignore
#8 DONE 0.0s
#9 [opam2web 1/6] FROM docker.io/library/alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
#9 DONE 0.0s
#10 [opam2web 2/6] RUN apk add git curl rsync libstdc++
#10 CACHED
#11 [build-opam-doc 1/14] FROM docker.io/ocaml/opam:alpine-3.14-ocaml-4.10@sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707
#11 DONE 0.0s
#12 [build-opam-doc 2/14] RUN sudo apk add cgit groff
#12 CACHED
#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 4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#14 CACHED
#15 [build-opam2web 2/13] RUN sudo apk add g++
#15 CACHED
#16 [build-opam2web 5/13] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#16 CACHED
#17 [build-opam2web 6/13] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
#17 CACHED
#18 [build-opam2web 3/13] RUN git clone https://github.com/ocaml/opam2web --depth 1 /home/opam/opam2web
#18 CACHED
#19 [build-opam2web 4/13] WORKDIR /home/opam/opam2web
#19 CACHED
#20 [build-opam2web 7/13] RUN opam repo set-url default https://opam-dev.ocaml.org/
#20 CACHED
#21 [internal] load build context
#21 transferring context: 2.59kB 0.2s done
#21 DONE 0.3s
#22 [build-opam-doc 5/14] RUN opam install odoc
#22 ...
#23 [build-opam2web 8/13] RUN opam install . --destdir /opt/opam2web
#23 1.514 Package opam2web does not exist, create as a NEW package? [Y/n] y
#23 1.516 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
#23 1.517 [ERROR] Package conflict!
#23 1.517 * Missing dependency:
#23 1.517 - dune
#23 1.517 unknown package
#23 1.517
#23 1.517 No solution found, exiting
#23 ERROR: process "/bin/sh -c opam install . --destdir /opt/opam2web" did not complete successfully: exit code: 20
#22 [build-opam-doc 5/14] RUN opam install odoc
#22 9.977 The following actions will be performed:
#22 9.977 - install ocamlfind 1.9.5 [required by fmt, astring, fpath]
#22 9.977 - install cmdliner 1.1.1 [required by odoc]
#22 9.977 - install dune 3.4.1 [required by odoc]
#22 9.977 - install seq base [required by tyxml]
#22 9.977 - install ocamlbuild 0.14.2 [required by fmt, astring, fpath]
#22 9.977 - install result 1.5 [required by odoc]
#22 9.977 - install cppo 1.6.9 [required by odoc]
#22 9.977 - install camlp-streams 5.0.1 [required by odoc-parser]
#22 9.977 - install re 1.10.4 [required by tyxml]
#22 9.977 - install topkg 1.0.5 [required by fmt, astring, fpath]
#22 9.977 - install uutf 1.0.3 [required by tyxml]
#22 9.977 - install fmt 0.9.0 [required by odoc]
#22 9.977 - install astring 0.8.5 [required by odoc]
#22 9.977 - install tyxml 4.5.0 [required by odoc]
#22 9.977 - install odoc-parser 1.0.1 [required by odoc]
#22 9.977 - install fpath 0.7.3 [required by odoc]
#22 9.977 - install odoc 2.1.1
#22 9.977 ===== 17 to install =====
#22 9.978
#22 9.978 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#22 10.20 -> retrieved camlp-streams.5.0.1 (https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
#22 10.34 -> retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
#22 10.43 -> retrieved cmdliner.1.1.1 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.1.1.tbz)
#22 41.29 -> retrieved cppo.1.6.9 (https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz)
#22 41.33 -> retrieved fmt.0.9.0 (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
#22 41.66 -> retrieved fpath.0.7.3 (https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz)
#22 41.76 -> retrieved ocamlbuild.0.14.2 (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.2.tar.gz)
#22 43.55 -> retrieved dune.3.4.1 (https://github.com/ocaml/dune/releases/download/3.4.1/dune-3.4.1.tbz)
#22 46.36 -> retrieved odoc.2.1.1 (https://github.com/ocaml/odoc/releases/download/2.1.1/odoc-2.1.1.tbz)
#22 46.44 -> retrieved ocamlfind.1.9.5 (http://download.camlcity.org/download/findlib-1.9.5.tar.gz)
#22 46.51 -> retrieved odoc-parser.1.0.1 (https://github.com/ocaml-doc/odoc-parser/releases/download/1.0.1/odoc-parser-1.0.1.tbz)
#22 46.56 -> installed cmdliner.1.1.1
#22 46.56 -> installed seq.base
#22 46.68 -> retrieved re.1.10.4 (https://github.com/ocaml/ocaml-re/releases/download/1.10.4/re-1.10.4.tbz)
#22 46.69 -> retrieved result.1.5 (https://github.com/janestreet/result/releases/download/1.5/result-1.5.tbz)
#22 47.01 -> retrieved tyxml.4.5.0 (https://github.com/ocsigen/tyxml/releases/download/4.5.0/tyxml-4.5.0.tbz)
#22 47.06 -> retrieved topkg.1.0.5 (https://erratique.ch/software/topkg/releases/topkg-1.0.5.tbz)
#22 47.09 -> retrieved uutf.1.0.3 (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
#22 48.42 -> installed ocamlbuild.0.14.2
#22 49.99 -> installed ocamlfind.1.9.5
#22 55.34 -> installed topkg.1.0.5
#22 56.61 -> installed uutf.1.0.3
#22 56.88 -> installed fmt.0.9.0
#22 57.16 -> installed astring.0.8.5
#22 58.08 -> installed fpath.0.7.3
#22 63.59 -> installed dune.3.4.1
#22 63.95 -> installed result.1.5
#22 63.99 -> installed camlp-streams.5.0.1
#22 64.65 -> installed odoc-parser.1.0.1
#22 64.79 -> installed re.1.10.4
#22 64.98 -> installed cppo.1.6.9
#22 68.98 -> installed tyxml.4.5.0
#22 76.97 -> installed odoc.2.1.1
#22 77.84 Done.
#22 77.84 # Run eval $(opam env) to update the current shell environment
#22 DONE 89.3s
------
> [build-opam2web 8/13] RUN opam install . --destdir /opt/opam2web:
1.514 Package opam2web does not exist, create as a NEW package? [Y/n] y
1.516 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
1.517 [ERROR] Package conflict!
1.517 * Missing dependency:
1.517 - dune
1.517 unknown package
1.517
1.517 No solution found, exiting
------
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:10
--------------------
8 | RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
9 | RUN opam repo set-url default https://opam-dev.ocaml.org/
10 | >>> RUN opam install . --destdir /opt/opam2web
11 | RUN cp -r content /opt/opam2web/share/opam2web/
12 | RUN rm -rf /opt/opam2web/share/opam2web/lib
--------------------
ERROR: failed to solve: process "/bin/sh -c opam install . --destdir /opt/opam2web" did not complete successfully: exit code: 20
2024-12-12 17:24.24: Job failed: Docker build exited with status 1