Build:
  1. 0
2025-11-23 12:42.10: New job: Build Dockerfile using linux-x86_64 in
                                [https://github.com/ocaml-opam/opam2web.git#refs/heads/kit-ty-kate-patch-2 (e92b06099caeec8aa43ce1a8b24e3cd1086e5425)]
2025-11-23 12:42.10: Using cache hint "https://github.com/ocaml-opam/opam2web.git-Dockerfile"
2025-11-23 12:42.10: Waiting for resource in pool OCluster
2025-11-23 12:42.10: Waiting for worker…
2025-11-23 12:42.10: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
Submodule path 'content/doc': checked out '13a77b2bc576763bfa469ca3ef6f139402b7357b'
HEAD is now at e92b060 Fix Dockerfile to match opam master's expecations
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: 2.50kB done
#1 DONE 0.0s

#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 0.4s

#3 docker-image://docker.io/docker/dockerfile:1@sha256:b6afd42430b15f2d2a4c5a02b919e98a525b785b1aaff16747d2f623364e39b6
#3 CACHED

#4 [internal] load metadata for docker.io/ocaml/opam:alpine-3.14-ocaml-4.10
#4 DONE 0.5s

#5 [internal] load metadata for docker.io/library/alpine:3.14
#5 DONE 0.6s

#6 [internal] load .dockerignore
#6 transferring context: 2B done
#6 DONE 0.0s

#7 [opam2web 1/6] FROM docker.io/library/alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed
#7 DONE 0.0s

#8 [build-opam-doc  1/14] FROM docker.io/ocaml/opam:alpine-3.14-ocaml-4.10@sha256:cac160603d123f71e9109c5de9ad1ff8eeda4c75be369ca27c3eb745dd0f4707
#8 DONE 0.0s

#9 [opam2web 2/6] RUN apk add git curl rsync libstdc++
#9 CACHED

#10 [build-opam2web  3/13] RUN git clone https://github.com/ocaml/opam2web --depth 1 /home/opam/opam2web
#10 CACHED

#11 [build-opam2web  5/13] RUN sudo mkdir -p /opt/opam2web && sudo chown opam:opam /opt/opam2web
#11 CACHED

#12 [build-opam2web  4/13] WORKDIR /home/opam/opam2web
#12 CACHED

#13 [build-opam2web  6/13] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam
#13 CACHED

#14 [build-opam2web  2/13] RUN sudo apk add g++
#14 CACHED

#15 [build-opam-doc  2/14] RUN sudo apk add cgit groff
#15 CACHED

#16 [build-opam2web  7/13] RUN opam repo set-url default https://opam-dev.ocaml.org/
#16 CACHED

#17 [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
#17 CACHED

#18 [internal] load build context
#18 transferring context: 2.59kB done
#18 DONE 0.1s

#19 [build-opam-doc  4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#19 0.685 This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, which can't be reverted.
#19 0.685 You may want to back it up before going further.
#19 0.685 
#19 0.685 Continue? [Y/n] y
#19 0.686 Format upgrade done.
#19 ...

#20 [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web
#20 1.521 Package opam2web does not exist, create as a NEW package? [Y/n] y
#20 1.542 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
#20 1.543 [NOTE] It seems you have not updated your repositories for a while. Consider updating them with:
#20 1.543        opam update
#20 1.543 
#20 1.543 [ERROR] Package conflict!
#20 1.543   * Missing dependency:
#20 1.543     - ocaml >= 4.13.0
#20 1.543     no matching version
#20 1.543 
#20 1.543 No solution found, exiting
#20 ERROR: process "/bin/sh -c opam install . --destdir /opt/opam2web" did not complete successfully: exit code: 20

#19 [build-opam-doc  4/14] RUN sudo mv /usr/bin/opam-2.1 /usr/bin/opam && opam update
#19 CANCELED
------
 > [build-opam2web  8/13] RUN opam install . --destdir /opt/opam2web:
1.542 opam2web is now pinned to git+file:///home/opam/opam2web#master (version ~dev)
1.543 [NOTE] It seems you have not updated your repositories for a while. Consider updating them with:
1.543        opam update
1.543 
1.543 [ERROR] Package conflict!
1.543   * Missing dependency:
1.543     - ocaml >= 4.13.0
1.543     no matching version
1.543 
1.543 No solution found, exiting
------
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
docker-build failed with exit-code 1
2025-11-23 12:42.14: Job failed: Failed: Build failed