Build:
- 0
2024-12-12 18:04.50: New job: docker build {
"commit": "6fbb2ca641a8935fbcf17bb28fb57a1e79bd4108",
"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=a61bc928ff9fd1033e91bea3fd1db1f2c255e545"
],
"path": null
}
2024-12-12 18:04.50: Waiting for resource in pool registry-build-pool
2024-12-12 20:03.17: Got resource from pool registry-build-pool
2024-12-12 20:03.17: Checking out commit 6fbb2ca6. To reproduce:
git clone --recursive "https://github.com/ocaml-opam/opam2web.git" && cd "opam2web" && git fetch origin "refs/pull/211/head" && git reset --hard 6fbb2ca6
2024-12-12 20:03.17: Exec: "cp" "-a" "--" "/var/lib/ocurrent/var/git/opam2web.git-92f5aef4aeaf008827874a1aeed7b6c5b12b428905c908be59865256584f033a/.git"
"/tmp/git-checkout2a303137"
2024-12-12 20:03.17: Exec: "git" "-C" "/tmp/git-checkout2a303137" "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 20:03.17: Exec: "git" "-C" "/tmp/git-checkout2a303137" "reset"
"--hard" "-q" "6fbb2ca641a8935fbcf17bb28fb57a1e79bd4108"
2024-12-12 20:03.17: Exec: "git" "-c" "protocol.file.allow=always" "-C"
"/tmp/git-checkout2a303137" "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 20:03.17: 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=a61bc928ff9fd1033e91bea3fd1db1f2c255e545"
"-f" "/tmp/git-checkout2a303137/Dockerfile"
"--iidfile" "/tmp/git-checkout2a303137/docker-iid"
"--" "/tmp/git-checkout2a303137"
#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.3s
#2 [internal] load build definition from Dockerfile
#2 transferring dockerfile: 2.48kB 0.3s done
#2 DONE 1.4s
#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.5s
#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 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 20)
#6 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 43)
#6 DONE 0.0s
#7 [internal] load metadata for docker.io/library/alpine:3.14
#7 DONE 0.2s
#8 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
#8 DONE 0.2s
#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 2/14] RUN sudo apk add cgit groff
#13 CACHED
#14 [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
#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-opam2web 4/13] WORKDIR /home/opam/opam2web
#16 CACHED
#17 [build-opam2web 2/13] RUN sudo apk add g++
#17 CACHED
#18 [build-opam2web 5/13] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#18 CACHED
#19 [build-opam2web 3/13] RUN git clone https://github.com/ocaml/opam2web --depth 1 /home/opam/opam2web
#19 CACHED
#20 [build-opam2web 6/13] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
#20 CACHED
#21 [build-opam2web 7/13] RUN opam repo set-url default https://opam-dev.ocaml.org/
#21 CACHED
#22 [internal] load build context
#22 transferring context: 2.59kB 0.2s done
#22 DONE 0.3s
#23 [build-opam2web 8/13] RUN opam install . --destdir /opt/opam2web
#23 1.492 Package opam2web does not exist, create as a NEW package? [Y/n] y
#23 1.494 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
#23 1.495 [ERROR] Package conflict!
#23 1.495 * Missing dependency:
#23 1.495 - dune
#23 1.495 unknown package
#23 1.495
#23 1.495 No solution found, exiting
#23 ERROR: process "/bin/sh -c opam install . --destdir /opt/opam2web" did not complete successfully: exit code: 20
#24 [build-opam-doc 5/14] RUN opam install odoc
#24 9.772 The following actions will be performed:
#24 9.772 - install ocamlfind 1.9.5 [required by fmt, astring, fpath]
#24 9.772 - install cmdliner 1.1.1 [required by odoc]
#24 9.772 - install dune 3.4.1 [required by odoc]
#24 9.772 - install seq base [required by tyxml]
#24 9.772 - install ocamlbuild 0.14.2 [required by fmt, astring, fpath]
#24 9.772 - install result 1.5 [required by odoc]
#24 9.772 - install cppo 1.6.9 [required by odoc]
#24 9.772 - install camlp-streams 5.0.1 [required by odoc-parser]
#24 9.772 - install re 1.10.4 [required by tyxml]
#24 9.772 - install topkg 1.0.5 [required by fmt, astring, fpath]
#24 9.772 - install uutf 1.0.3 [required by tyxml]
#24 9.772 - install fmt 0.9.0 [required by odoc]
#24 9.773 - install astring 0.8.5 [required by odoc]
#24 9.773 - install tyxml 4.5.0 [required by odoc]
#24 9.773 - install odoc-parser 1.0.1 [required by odoc]
#24 9.773 - install fpath 0.7.3 [required by odoc]
#24 9.773 - install odoc 2.1.1
#24 9.773 ===== 17 to install =====
#24 9.774
#24 9.774 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#24 10.03 -> retrieved camlp-streams.5.0.1 (https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
#24 10.14 -> retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
#24 10.23 -> retrieved cmdliner.1.1.1 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.1.1.tbz)
#24 46.79 -> retrieved cppo.1.6.9 (https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz)
#24 46.80 -> retrieved fmt.0.9.0 (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
#24 47.16 -> retrieved fpath.0.7.3 (https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz)
#24 47.26 -> retrieved ocamlbuild.0.14.2 (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.2.tar.gz)
#24 49.37 -> retrieved dune.3.4.1 (https://github.com/ocaml/dune/releases/download/3.4.1/dune-3.4.1.tbz)
#24 52.23 -> retrieved odoc.2.1.1 (https://github.com/ocaml/odoc/releases/download/2.1.1/odoc-2.1.1.tbz)
#24 52.31 -> retrieved ocamlfind.1.9.5 (http://download.camlcity.org/download/findlib-1.9.5.tar.gz)
#24 52.38 -> retrieved odoc-parser.1.0.1 (https://github.com/ocaml-doc/odoc-parser/releases/download/1.0.1/odoc-parser-1.0.1.tbz)
#24 52.43 -> installed cmdliner.1.1.1
#24 52.43 -> installed seq.base
#24 52.52 -> retrieved re.1.10.4 (https://github.com/ocaml/ocaml-re/releases/download/1.10.4/re-1.10.4.tbz)
#24 52.55 -> retrieved result.1.5 (https://github.com/janestreet/result/releases/download/1.5/result-1.5.tbz)
#24 52.85 -> retrieved tyxml.4.5.0 (https://github.com/ocsigen/tyxml/releases/download/4.5.0/tyxml-4.5.0.tbz)
#24 52.89 -> retrieved topkg.1.0.5 (https://erratique.ch/software/topkg/releases/topkg-1.0.5.tbz)
#24 52.93 -> retrieved uutf.1.0.3 (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
#24 53.90 -> installed ocamlbuild.0.14.2
#24 55.84 -> installed ocamlfind.1.9.5
#24 61.16 -> installed topkg.1.0.5
#24 62.43 -> installed uutf.1.0.3
#24 62.68 -> installed fmt.0.9.0
#24 62.97 -> installed astring.0.8.5
#24 63.89 -> installed fpath.0.7.3
#24 69.42 -> installed dune.3.4.1
#24 69.79 -> installed result.1.5
#24 69.83 -> installed camlp-streams.5.0.1
#24 70.51 -> installed odoc-parser.1.0.1
#24 70.62 -> installed re.1.10.4
#24 70.82 -> installed cppo.1.6.9
#24 74.81 -> installed tyxml.4.5.0
#24 82.81 -> installed odoc.2.1.1
#24 83.66 Done.
#24 83.66 # Run eval $(opam env) to update the current shell environment
#24 DONE 94.6s
------
> [build-opam2web 8/13] RUN opam install . --destdir /opt/opam2web:
1.492 Package opam2web does not exist, create as a NEW package? [Y/n] y
1.494 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
1.495 [ERROR] Package conflict!
1.495 * Missing dependency:
1.495 - dune
1.495 unknown package
1.495
1.495 No solution found, exiting
------
4 warnings found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 2)
- 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)
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 20:05.07: Job failed: Docker build exited with status 1