Build:
  1. 1
  2. 0
2024-12-23 02:38.33: New job: Build using windows-1809-x86_64 in
                                []
2024-12-23 02:38.33: Will push staging image to ocurrent/opam-staging:windows-mingw-ltsc2019-ocaml-4.10-amd64

Dockerfile:

# escape=`

FROM ocurrent/opam-staging@sha256:05a3731a0cbddc78e75dd31cdc673d8573aceaffb71b772f457170a320626a02
ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
RUN ocaml-env exec --64 --no-opam -- opam switch create 4.10 --packages=ocaml-variants.4.10.2+mingw64
RUN ocaml-env exec --64 -- opam pin add -k version ocaml-variants 4.10.2+mingw64
RUN ocaml-env exec --64 -- opam install -y depext depext-cygwinports
ENTRYPOINT [ "ocaml-env", "exec", "--64", "--" ]
CMD [ "cmd.exe" ]
COPY [ "Dockerfile", "/Dockerfile.ocaml" ]


2024-12-23 02:38.33: Using cache hint "4.10.2-amd64-ocurrent/opam-staging@sha256:05a3731a0cbddc78e75dd31cdc673d8573aceaffb71b772f457170a320626a02"
2024-12-23 02:38.33: Waiting for resource in pool OCluster
2024-12-23 02:38.33: Waiting for worker…
2024-12-25 02:04.09: Got resource from pool OCluster
Building on ltsc2019-1
Sending build context to Docker daemon   2.56kB

Step 1/8 : FROM ocurrent/opam-staging@sha256:05a3731a0cbddc78e75dd31cdc673d8573aceaffb71b772f457170a320626a02
docker.io/ocurrent/opam-staging@sha256:05a3731a0cbddc78e75dd31cdc673d8573aceaffb71b772f457170a320626a02: Pulling from ocurrent/opam-staging
Digest: sha256:05a3731a0cbddc78e75dd31cdc673d8573aceaffb71b772f457170a320626a02
Status: Image is up to date for ocurrent/opam-staging@sha256:05a3731a0cbddc78e75dd31cdc673d8573aceaffb71b772f457170a320626a02
 ---> ba0ab3ebfc9f
Step 2/8 : ENV OPAMYES="1" OPAMCONFIRMLEVEL="unsafe-yes" OPAMERRLOGLEN="0" OPAMPRECISETRACKING="1"
 ---> Using cache
 ---> d9ac5cf805d6
Step 3/8 : RUN ocaml-env exec --64 --no-opam -- opam switch create 4.10 --packages=ocaml-variants.4.10.2+mingw64
 ---> Running in 26e34eaf6ccc
tzset: can't find matching POSIX timezone for Windows timezone ""

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ocaml-variants.4.10.2+mingw64] downloaded from https://github.com/ocaml/ocaml/archive/4.10.2.tar.gz
[ocaml-variants.4.10.2+mingw64/inline-flexdll.patch] downloaded from https://gist.githubusercontent.com/fdopen/fdc645a61a208552ebac76a67eafd3ee/raw/9f521e91c8f0e9490652651ccdbfae88da701919/inline-flexdll.patch
[ocaml-variants.4.10.2+mingw64/ocaml-4.10.2.patch] downloaded from https://gist.githubusercontent.com/fdopen/0d8f2cd8a9f54a4280ce639c6071ff98/raw/447cdf58c3ed18b202c5babc3fcd8979f2006356/ocaml-4.10.2.patch

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed ocaml-variants.4.10.2+mingw64
-> installed ocaml-config.2
-> installed ocaml.4.10.2
Done.
# Run eval $(opam env --root=C:/opam/.opam) to update the current shell environment
Removing intermediate container 26e34eaf6ccc
 ---> a37df8e32d1f
Step 4/8 : RUN ocaml-env exec --64 -- opam pin add -k version ocaml-variants 4.10.2+mingw64
 ---> Running in a29f8a412744
tzset: can't find matching POSIX timezone for Windows timezone ""
ocaml-variants is now pinned to version 4.10.2+mingw64

No package build needed.
Nothing to do.
Removing intermediate container a29f8a412744
 ---> 54905354a322
Step 5/8 : RUN ocaml-env exec --64 -- opam install -y depext depext-cygwinports
 ---> Running in bb7daf188a1a
tzset: can't find matching POSIX timezone for Windows timezone ""
The following actions will be performed:
  - install opam-depext        1.1.5      [required by depext]
  - install depext-cygwinports 0.0.9
  - install depext             transition
===== 3 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[depext-cygwinports.0.0.9] downloaded from https://github.com/fdopen/depext-cygwinports/archive/0.0.9.tar.gz
[opam-depext.1.1.5] downloaded from https://github.com/ocaml-opam/opam-depext/releases/download/v1.1.5/opam-depext-full-v1.1.5.tbz

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed depext-cygwinports.0.0.9
-> installed opam-depext.1.1.5
-> installed depext.transition
Done.

<><> depext-cygwinports.0.0.9 installed successfully ><><><><><><><><><><><><><>
=> Don't forget to add either /usr/x86_64-w64-mingw32/sys-root/mingw/bin (or
    /usr/i686-w64-mingw32/sys-root/mingw/bin for 32-bit builds) to your PATH.
    Otherwise many packages can't be built.
Removing intermediate container bb7daf188a1a
 ---> be3e9c637bd2
Step 6/8 : ENTRYPOINT [ "ocaml-env", "exec", "--64", "--" ]
 ---> Running in 7d5377f924f8
Removing intermediate container 7d5377f924f8
 ---> 15ccef7daaa7
Step 7/8 : CMD [ "cmd.exe" ]
 ---> Running in 75376dc37445
Removing intermediate container 75376dc37445
 ---> 7317b01de510
Step 8/8 : COPY [ "Dockerfile", "/Dockerfile.ocaml" ]
 ---> aa64f6a77d7e
Successfully built aa64f6a77d7e
Pushing "sha256:aa64f6a77d7eb8354b8dc062210a5dffae741c4582ffbb031dbe70e965f2a84c" to "ocurrent/opam-staging:windows-mingw-ltsc2019-ocaml-4.10-amd64" as user "ocurrentbuilder"
2024-12-26 01:30.30: Job failed: Disconnected: Switch turned off