Build:
- 0
2026-01-02 14:57.24: New job: Build Dockerfile using linux-x86_64 in
[https://github.com/ocaml-opam/opam2web.git#refs/pull/203/head (fdbc059af2677a426a36be35e3289a81467e7fb5)]
2026-01-02 14:57.24: Using cache hint "https://github.com/ocaml-opam/opam2web.git-Dockerfile"
2026-01-02 14:57.24: Waiting for resource in pool OCluster
2026-01-02 14:57.24: Waiting for worker…
2026-01-02 14:57.24: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
HEAD is now at fdbc059 Remove opam-repository’s .git directory from the served files
Synchronising submodule url for 'content/doc'
Cleared directory 'content/doc'
Submodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) unregistered for path 'content/doc'
Submodule 'content/doc' (https://github.com/ocaml/opam.wiki.git) registered for path 'content/doc'
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 3.11kB done
#1 DONE 0.0s
#2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3
#2 DONE 0.2s
#3 docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2
#3 CACHED
#4 [internal] load .dockerignore
#4 transferring context: 53B done
#4 DONE 0.0s
#5 [internal] load metadata for docker.io/ocaml/opam:alpine-3.15-ocaml-4.14
#5 DONE 0.3s
#6 [internal] load metadata for docker.io/library/caddy:2.5.2-alpine
#6 DONE 0.3s
#7 [internal] load metadata for docker.io/ocaml/opam.ocaml.org-legacy:latest
#7 DONE 0.3s
#8 [internal] load metadata for docker.io/library/alpine:3.15
#8 DONE 0.3s
#9 [internal] load metadata for docker.io/ocaml/opam:archive
#9 DONE 0.3s
#10 [stage-5 1/3] FROM docker.io/library/caddy:2.5.2-alpine@sha256:b31ff95e98737b849d6af1fb9d9cb54a66ba3684564b3310541f60b12b1dd619
#10 DONE 0.0s
#11 [opam2web 1/12] FROM docker.io/library/alpine:3.15@sha256:19b4bcc4f60e99dd5ebdca0cbce22c503bbcff197549d7e19dab4f22254dc864
#11 DONE 0.0s
#12 [stage-5 2/3] WORKDIR /srv
#12 CACHED
#13 [opam-legacy 1/1] FROM docker.io/ocaml/opam.ocaml.org-legacy@sha256:8441c99108b7628c4b3a222a5b61aef39dc1f9638f2b9bc991b4eb5314b58865
#13 DONE 0.0s
#14 [build-opam2web 1/12] FROM docker.io/ocaml/opam:alpine-3.15-ocaml-4.14@sha256:6e944a352012058a8e8d9e44019c2a827acd5ba42be51437b697e3630a608bdc
#14 DONE 0.0s
#15 [build-opam2web 10/12] RUN rm -rf /opt/opam2web/share/opam2web/doc
#15 CACHED
#16 [build-opam2web 8/12] RUN cp -r content /opt/opam2web/share/opam2web/
#16 CACHED
#17 [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
#17 CACHED
#18 [build-opam2web 7/12] RUN opam install . --destdir /opt/opam2web
#18 CACHED
#19 [build-opam2web 3/12] RUN git clone https://github.com/ocaml/opam2web.git --depth 1 /home/opam/opam2web
#19 CACHED
#20 [build-opam2web 6/12] RUN opam repo set-url default git+https://github.com/ocaml/opam-repository.git#${OPAM_GIT_SHA}
#20 CACHED
#21 [build-opam2web 9/12] RUN rm -rf /opt/opam2web/share/opam2web/lib
#21 CACHED
#22 [build-opam2web 4/12] WORKDIR /home/opam/opam2web
#22 CACHED
#23 [opam2web 3/12] COPY --from=opam-legacy . /www
#23 CACHED
#24 [build-opam2web 5/12] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#24 CACHED
#25 [opam2web 2/12] RUN apk add --update git curl rsync libstdc++ rdfind
#25 CACHED
#26 [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
#26 CACHED
#27 [build-opam2web 2/12] RUN sudo apk add g++ gmp-dev
#27 CACHED
#28 [opam2web 4/12] COPY --from=build-opam2web /opt/opam2web /usr/local
#28 CACHED
#29 [build-opam-doc 2/14] RUN sudo apk add cgit groff
#29 CACHED
#30 [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
#30 CACHED
#31 [build-opam-doc 4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#31 CACHED
#32 [stage-2 1/16] FROM docker.io/ocaml/opam:archive@sha256:cedac7403c140652d8487d880e14ddd37ff796bea05377685896f4f1ccb54a6c
#32 CACHED
#33 [internal] load build context
#33 transferring context: 4.95kB done
#33 DONE 0.1s
#34 [build-opam-doc 5/14] RUN opam install odoc
#34 7.769 The following actions will be performed:
#34 7.770 - install dune 3.6.1 [required by odoc]
#34 7.770 - install ocamlfind 1.9.5 [required by fmt, astring, fpath]
#34 7.770 - install cmdliner 1.1.1 [required by odoc]
#34 7.770 - install seq base [required by tyxml]
#34 7.770 - install ocamlbuild 0.14.2 [required by fmt, astring, fpath]
#34 7.770 - install result 1.5 [required by odoc]
#34 7.770 - install cppo 1.6.9 [required by odoc]
#34 7.770 - install camlp-streams 5.0.1 [required by odoc-parser]
#34 7.770 - install re 1.10.4 [required by tyxml]
#34 7.770 - install topkg 1.0.6 [required by fmt, astring, fpath]
#34 7.770 - install uutf 1.0.3 [required by tyxml]
#34 7.770 - install fmt 0.9.0 [required by odoc]
#34 7.770 - install astring 0.8.5 [required by odoc]
#34 7.770 - install tyxml 4.5.0 [required by odoc]
#34 7.770 - install odoc-parser 1.0.1 [required by odoc]
#34 7.770 - install fpath 0.7.3 [required by odoc]
#34 7.770 - install odoc 2.1.1
#34 7.770 ===== 17 to install =====
#34 7.771
#34 7.771 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#34 8.302 -> retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
#34 8.353 -> retrieved cmdliner.1.1.1 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.1.1.tbz)
#34 21.59 -> retrieved camlp-streams.5.0.1 (https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
#34 21.60 -> retrieved cppo.1.6.9 (https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz)
#34 21.77 -> retrieved fmt.0.9.0 (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
#34 23.08 -> retrieved dune.3.6.1 (https://github.com/ocaml/dune/releases/download/3.6.1/dune-3.6.1.tbz)
#34 23.78 -> retrieved ocamlbuild.0.14.2 (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.2.tar.gz)
#34 25.74 -> installed cmdliner.1.1.1
#34 26.05 -> retrieved odoc.2.1.1 (https://github.com/ocaml/odoc/releases/download/2.1.1/odoc-2.1.1.tbz)
#34 27.45 -> retrieved odoc-parser.1.0.1 (https://github.com/ocaml-doc/odoc-parser/releases/download/1.0.1/odoc-parser-1.0.1.tbz)
#34 27.87 -> retrieved re.1.10.4 (https://github.com/ocaml/ocaml-re/releases/download/1.10.4/re-1.10.4.tbz)
#34 28.17 -> retrieved result.1.5 (https://github.com/janestreet/result/releases/download/1.5/result-1.5.tbz)
#34 28.17 -> installed seq.base
#34 28.43 -> retrieved topkg.1.0.6 (https://erratique.ch/software/topkg/releases/topkg-1.0.6.tbz)
#34 28.81 -> retrieved tyxml.4.5.0 (https://github.com/ocsigen/tyxml/releases/download/4.5.0/tyxml-4.5.0.tbz)
#34 29.02 -> retrieved uutf.1.0.3 (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
#34 31.27 -> installed ocamlbuild.0.14.2
#34 39.78 -> installed dune.3.6.1
#34 40.34 -> installed result.1.5
#34 40.41 -> installed camlp-streams.5.0.1
#34 41.19 -> installed re.1.10.4
#34 41.32 -> installed cppo.1.6.9
#34 82.85 [ERROR] Failed to get sources of fpath.0.7.3: Curl failed
#34 269.3 [ERROR] Failed to get sources of ocamlfind.1.9.5: curl error code 504
#34 269.3
#34 269.3 #=== ERROR while fetching sources for ocamlfind.1.9.5 =========================#
#34 269.3 OpamSolution.Fetch_fail("http://download.camlcity.org/download/findlib-1.9.5.tar.gz (curl: code 504 while downloading http://download.camlcity.org/download/findlib-1.9.5.tar.gz)")
#34 269.3
#34 269.3 #=== ERROR while fetching sources for fpath.0.7.3 =============================#
#34 269.3 OpamSolution.Fetch_fail("https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz (Curl failed: \"/usr/bin/curl --write-out %{http_code}\\\\n --retry 3 --retry-delay 2 --user-agent opam/2.1.3 -L -o /home/opam/.opam/4.14/.opam-switch/sources/fpath.0.7.3/fpath-0.7.3.tbz.part -- https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz\" exited with code 52)")
#34 269.9
#34 269.9
#34 269.9 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#34 269.9 +- The following actions failed
#34 269.9 | - fetch fpath 0.7.3
#34 269.9 | - fetch ocamlfind 1.9.5
#34 269.9 +-
#34 269.9 +- The following changes have been performed (the rest was aborted)
#34 269.9 | - install camlp-streams 5.0.1
#34 269.9 | - install cmdliner 1.1.1
#34 269.9 | - install cppo 1.6.9
#34 269.9 | - install dune 3.6.1
#34 269.9 | - install ocamlbuild 0.14.2
#34 269.9 | - install re 1.10.4
#34 269.9 | - install result 1.5
#34 269.9 | - install seq base
#34 269.9 +-
#34 270.0 # Run eval $(opam env) to update the current shell environment
#34 270.0
#34 270.0 The former state can be restored with:
#34 270.0 /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260102145435.export"
#34 ERROR: process "/bin/sh -c opam install odoc" did not complete successfully: exit code: 40
------
> [build-opam-doc 5/14] RUN opam install odoc:
269.9 | - install dune 3.6.1
269.9 | - install ocamlbuild 0.14.2
269.9 | - install re 1.10.4
269.9 | - install result 1.5
269.9 | - install seq base
269.9 +-
270.0 # Run eval $(opam env) to update the current shell environment
270.0
270.0 The former state can be restored with:
270.0 /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20260102145435.export"
------
ERROR: failed to solve: process "/bin/sh -c opam install odoc" did not complete successfully: exit code: 40
docker-build failed with exit-code 1
2026-01-02 14:59.15: Job failed: Failed: Build failed