Build:
- 0
2025-12-22 20:52.44: New job: Build Dockerfile using linux-x86_64 in
[https://github.com/ocaml-opam/opam2web.git#refs/pull/203/head (fdbc059af2677a426a36be35e3289a81467e7fb5)]
2025-12-22 20:52.44: Using cache hint "https://github.com/ocaml-opam/opam2web.git-Dockerfile"
2025-12-22 20:52.44: Waiting for resource in pool OCluster
2025-12-22 20:52.44: Waiting for worker…
2025-12-22 20:52.44: Got resource from pool OCluster
Building on asteria.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
Synchronizing 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.1s
#2 resolve image config for docker-image://docker.io/docker/dockerfile:1.3
#2 DONE 0.8s
#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 ...
#6 [internal] load metadata for docker.io/ocaml/opam.ocaml.org-legacy:latest
#6 DONE 0.5s
#7 [internal] load metadata for docker.io/library/alpine:3.15
#7 DONE 0.5s
#8 [internal] load metadata for docker.io/ocaml/opam:archive
#8 DONE 0.5s
#5 [internal] load metadata for docker.io/ocaml/opam:alpine-3.15-ocaml-4.14
#5 DONE 0.5s
#9 [internal] load metadata for docker.io/library/caddy:2.5.2-alpine
#9 DONE 0.5s
#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 [opam-legacy 1/1] FROM docker.io/ocaml/opam.ocaml.org-legacy@sha256:8441c99108b7628c4b3a222a5b61aef39dc1f9638f2b9bc991b4eb5314b58865
#12 DONE 0.0s
#13 [stage-5 2/3] WORKDIR /srv
#13 CACHED
#14 [build-opam-doc 1/14] FROM docker.io/ocaml/opam:alpine-3.15-ocaml-4.14@sha256:6e944a352012058a8e8d9e44019c2a827acd5ba42be51437b697e3630a608bdc
#14 DONE 0.0s
#15 [build-opam2web 4/12] WORKDIR /home/opam/opam2web
#15 CACHED
#16 [build-opam2web 9/12] RUN rm -rf /opt/opam2web/share/opam2web/lib
#16 CACHED
#17 [build-opam2web 2/12] RUN sudo apk add g++ gmp-dev
#17 CACHED
#18 [build-opam2web 8/12] RUN cp -r content /opt/opam2web/share/opam2web/
#18 CACHED
#19 [opam2web 3/12] COPY --from=opam-legacy . /www
#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 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
#21 CACHED
#22 [opam2web 2/12] RUN apk add --update git curl rsync libstdc++ rdfind
#22 CACHED
#23 [build-opam2web 3/12] RUN git clone https://github.com/ocaml/opam2web.git --depth 1 /home/opam/opam2web
#23 CACHED
#24 [build-opam2web 5/12] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#24 CACHED
#25 [build-opam2web 7/12] RUN opam install . --destdir /opt/opam2web
#25 CACHED
#26 [build-opam2web 10/12] RUN rm -rf /opt/opam2web/share/opam2web/doc
#26 CACHED
#27 [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
#27 CACHED
#28 [build-opam-doc 2/14] RUN sudo apk add cgit groff
#28 CACHED
#29 [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
#29 CACHED
#30 [opam2web 4/12] COPY --from=build-opam2web /opt/opam2web /usr/local
#30 CACHED
#31 [build-opam-doc 4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#31 CACHED
#32 [opam-archive 1/1] FROM docker.io/ocaml/opam:archive@sha256:bb474c0811906f47c82e117932b40bc071b2f584c6138d83b5a5eb04ea8f618a
#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.313 The following actions will be performed:
#34 7.313 - install dune 3.6.1 [required by odoc]
#34 7.313 - install ocamlfind 1.9.5 [required by fmt, astring, fpath]
#34 7.313 - install cmdliner 1.1.1 [required by odoc]
#34 7.313 - install seq base [required by tyxml]
#34 7.313 - install ocamlbuild 0.14.2 [required by fmt, astring, fpath]
#34 7.313 - install result 1.5 [required by odoc]
#34 7.313 - install cppo 1.6.9 [required by odoc]
#34 7.313 - install camlp-streams 5.0.1 [required by odoc-parser]
#34 7.313 - install re 1.10.4 [required by tyxml]
#34 7.313 - install topkg 1.0.6 [required by fmt, astring, fpath]
#34 7.313 - install uutf 1.0.3 [required by tyxml]
#34 7.313 - install fmt 0.9.0 [required by odoc]
#34 7.313 - install astring 0.8.5 [required by odoc]
#34 7.313 - install tyxml 4.5.0 [required by odoc]
#34 7.313 - install odoc-parser 1.0.1 [required by odoc]
#34 7.313 - install fpath 0.7.3 [required by odoc]
#34 7.314 - install odoc 2.1.1
#34 7.314 ===== 17 to install =====
#34 7.314
#34 7.314 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#34 7.502 -> retrieved astring.0.8.5 (https://erratique.ch/software/astring/releases/astring-0.8.5.tbz)
#34 7.528 -> retrieved cmdliner.1.1.1 (https://erratique.ch/software/cmdliner/releases/cmdliner-1.1.1.tbz)
#34 22.31 -> retrieved camlp-streams.5.0.1 (https://github.com/ocaml/camlp-streams/archive/v5.0.1.tar.gz)
#34 22.33 -> retrieved cppo.1.6.9 (https://github.com/ocaml-community/cppo/archive/v1.6.9.tar.gz)
#34 22.49 -> retrieved fmt.0.9.0 (https://erratique.ch/software/fmt/releases/fmt-0.9.0.tbz)
#34 22.51 -> retrieved fpath.0.7.3 (https://erratique.ch/software/fpath/releases/fpath-0.7.3.tbz)
#34 22.98 -> retrieved ocamlbuild.0.14.2 (https://github.com/ocaml/ocamlbuild/archive/refs/tags/0.14.2.tar.gz)
#34 23.90 -> retrieved dune.3.6.1 (https://github.com/ocaml/dune/releases/download/3.6.1/dune-3.6.1.tbz)
#34 25.96 -> 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 26.00 -> installed cmdliner.1.1.1
#34 26.27 -> retrieved odoc.2.1.1 (https://github.com/ocaml/odoc/releases/download/2.1.1/odoc-2.1.1.tbz)
#34 26.35 -> retrieved re.1.10.4 (https://github.com/ocaml/ocaml-re/releases/download/1.10.4/re-1.10.4.tbz)
#34 26.35 -> installed seq.base
#34 26.54 -> retrieved result.1.5 (https://github.com/janestreet/result/releases/download/1.5/result-1.5.tbz)
#34 26.57 -> retrieved topkg.1.0.6 (https://erratique.ch/software/topkg/releases/topkg-1.0.6.tbz)
#34 26.74 -> retrieved uutf.1.0.3 (https://erratique.ch/software/uutf/releases/uutf-1.0.3.tbz)
#34 27.05 -> retrieved tyxml.4.5.0 (https://github.com/ocsigen/tyxml/releases/download/4.5.0/tyxml-4.5.0.tbz)
#34 31.50 -> installed ocamlbuild.0.14.2
#34 39.00 -> installed dune.3.6.1
#34 39.34 -> installed result.1.5
#34 39.40 -> installed camlp-streams.5.0.1
#34 40.09 -> installed re.1.10.4
#34 40.19 -> installed cppo.1.6.9
#34 268.7 [ERROR] Failed to get sources of ocamlfind.1.9.5: curl error code 504
#34 268.7
#34 268.7 #=== ERROR while fetching sources for ocamlfind.1.9.5 =========================#
#34 268.7 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.1
#34 269.1
#34 269.1 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
#34 269.1 +- The following actions failed
#34 269.1 | - fetch ocamlfind 1.9.5
#34 269.1 +-
#34 269.1 +- The following changes have been performed (the rest was aborted)
#34 269.1 | - install camlp-streams 5.0.1
#34 269.1 | - install cmdliner 1.1.1
#34 269.1 | - install cppo 1.6.9
#34 269.1 | - install dune 3.6.1
#34 269.1 | - install ocamlbuild 0.14.2
#34 269.1 | - install re 1.10.4
#34 269.1 | - install result 1.5
#34 269.1 | - install seq base
#34 269.1 +-
#34 269.1
#34 269.1 The former state can be restored with:
#34 269.1 /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20251222205247.export"
#34 269.1 # Run eval $(opam env) to update the current shell environment
#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.1 | - install dune 3.6.1
269.1 | - install ocamlbuild 0.14.2
269.1 | - install re 1.10.4
269.1 | - install result 1.5
269.1 | - install seq base
269.1 +-
269.1
269.1 The former state can be restored with:
269.1 /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20251222205247.export"
269.1 # Run eval $(opam env) to update the current shell environment
------
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
2025-12-22 20:57.23: Job failed: Failed: Build failed