Organisationssanettegl-legacy752200 ()windows-server-2022-amd64-5.3_opam-2.4

windows-server-2022-amd64-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-27 15:51.15: New job: test sanette/gl-legacy https://github.com/sanette/gl-legacy.git#refs/heads/main (7522005ec1548798cad41b803b2293956687ee9c) (windows-amd64:windows-server-2022-amd64-5.3_opam-2.4)
Base: windows-server-2022-amd64-ocaml-5.3
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/gl-legacy.git" -b "main" && cd "gl-legacy" && git reset --hard 7522005e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM windows-server-2022-amd64-ocaml-5.3
# windows-server-2022-amd64-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gl-legacy.opam /Users/opam/src/./
RUN opam pin add -yn gl-legacy.dev '/Users/opam/src/./'
RUN echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'
ENV DEPS="arch-x86_64.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-libgl.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 mingw-w64-shims.0.2.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 stdlib-shims.0.3.0 system-mingw.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y gl-legacy.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /Users/opam/src
RUN cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-09-27 15:51.15: Using cache hint "sanette/gl-legacy-windows-server-2022-amd64-ocaml-5.3-windows-server-2022-amd64-5.3_opam-2.4-8d3a41ab0446824458761cea5a4f5238"
2025-09-27 15:51.15: Using OBuilder spec:
((from windows-server-2022-amd64-ocaml-5.3)
(comment windows-server-2022-amd64-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gl-legacy.opam) (dst /Users/opam/src/./))
(run (network host)
(shell "opam pin add -yn gl-legacy.dev '/Users/opam/src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
(env DEPS "arch-x86_64.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-libgl.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 mingw-w64-shims.0.2.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 stdlib-shims.0.3.0 system-mingw.1")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y gl-legacy.dev $DEPS"))
(run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /Users/opam/src))
(run (shell "cd /cygdrive/c/Users/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-09-27 15:51.15: Waiting for resource in pool OCluster
2025-09-27 15:51.16: Waiting for worker…
2025-09-27 15:52.29: Got resource from pool OCluster
Building on thyme
HEAD is now at 657d0da add enums
HEAD is now at 7522005 readme


(from windows-server-2022-amd64-ocaml-5.3)
2025-09-27 15:52.32 ---> using "1d6ffeb5a52124df73b2e951323e99615c52ca4f9bdf0f65039be6146fabdaab" from cache


/: (comment windows-server-2022-amd64-5.3_opam-2.4)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (run (shell "ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-27 15:52.32 ---> using "1e2d14b3062f84a7d6f6f169887d274097a3ceefc9654f3a38ec7d8793bb5864" from cache


/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.


<><> Unix support infrastructure ><><><><><><><><><><><><><><><><><><><><><><><>


opam and the OCaml ecosystem in general require various Unix tools in order to operate correctly. At present, this requires the installation of Cygwin to provide these tools.


How should opam obtain Unix tools?
> 1. Use tools found in PATH (Cygwin installation at C:\cygwin64)
2. Automatically create an internal Cygwin installation that will be managed by opam (recommended)
3. Use Cygwin installation found in C:\cygwin64
4. Use another existing Cygwin/MSYS2 installation
5. Abort initialisation


[1/2/3/4/5] 1
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from file://C:/Users/opam/opam-repository
2025-09-27 15:52.32 ---> using "6dbdca3e6c2df003f6cebaa139aa227252a76195aef4f258913cc7da8ee795b2" from cache


/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
CYGWIN_NT-10.0-20348 3.6.4-1.x86_64
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-27 15:52.32 ---> using "dd7e0e07f915e027f7b9342b70fd32de99a0178469368b94a3f981825bdf3d42" from cache


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
f1d3c77350..ece8667156  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file://C:/Users/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-09-27 15:52.32 ---> using "10893445dfa72f73f3c2eb32ba65e9f677cf915b3f53a0f3022bc8a2d2100300" from cache


/: (copy (src gl-legacy.opam) (dst /Users/opam/src/./))
2025-09-27 15:52.32 ---> using "b151a30ee09185ec89b35f91290a608963a1c12a45f9f926cf4f5f47ab20f36c" from cache


/: (run (network host)
(shell "opam pin add -yn gl-legacy.dev '/Users/opam/src/./'"))
[NOTE] Package gl-legacy does not exist in opam repositories registered in the current switch.
[gl-legacy.dev] synchronised (file://C:/Users/opam/src/.)
gl-legacy is now pinned to file://C:/Users/opam/src/. (version dev)
2025-09-27 15:52.32 ---> using "e587ef2b386f6c6854e034235fcd09870533d33aa13ac7a8dde151e23260b5e5" from cache


/: (run (network host)
(shell "echo '(lang dune 3.0)' > '/cygdrive/c/Users/opam/src/./dune-project'"))
2025-09-27 15:52.32 ---> using "5f688c5bc4d06014744506bea62387388ef36b40c171baae418592e2a0040415" from cache


/: (env DEPS "arch-x86_64.1 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-libgl.1 conf-mingw-w64-gcc-x86_64.1 conf-mingw-w64-libffi-x86_64.1 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 flexdll.0.44 host-arch-x86_64.1 host-system-mingw.1 integers.0.7.0 mingw-w64-shims.0.2.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-env-mingw64.1 ocaml-options-vanilla.1 stdlib-shims.0.3.0 system-mingw.1")


/: (env CI true)


/: (env OCAMLCI true)


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y gl-legacy.dev $DEPS"))


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gl-legacy.dev] synchronised (file://C:/Users/opam/src/.)


[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).


The following system packages will first need to be installed:
mingw64-x86_64-libffi


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ C:\Users\opam\AppData\Local\opam\.cygwin\setup-x86_64.exe "--root" "C:\\cygwin64" "--quiet-mode" "unattended" "--no-shortcuts" "--no-startmenu" "--no-desktop" "--no-admin" "--no-version-check" "--no-write-registry" "--packages" "mingw64-x86_64-libffi"
- Starting cygwin install, version 2.934
- User has backup/restore rights
- User has symlink creation right
- Current Directory: C:\Windows\system32
- root: C:\cygwin64 system
- Changing gid to Administrators
- Selected local directory: C:\Windows\system32
- net: Preconfig
- site: https://cygwin.mirror.constant.com/
- solving: 1 tasks, update: no, use test packages: no
- solving: 1 tasks, update: no, use test packages: no
- Augmented Transaction List:
-    0 install mingw64-x86_64-libffi 3.2.1-2
- Downloaded C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libffi/mingw64-x86_64-libffi-3.2.1-2.tar.xz
- Extracting from file://C:\Windows\system32/https%3a%2f%2fcygwin.mirror.constant.com%2f/noarch/release/mingw64-x86_64-libffi/mingw64-x86_64-libffi-3.2.1-2.tar.xz
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
- running: C:\cygwin64\bin\dash.exe "/etc/postinstall/zp_man-db-update-index.dash"
- Ending cygwin install
- NOTE: you should run 'diskperf -y' to enable the disk statistics
- NOTE: you should run 'diskperf -y' to enable the disk statistics
2025-09-27 15:52.32 ---> using "56655c97f2c57291a588a6d3c2a8ecbbb178ae50e5c72f69c5fb1cfd39327f43" from cache


/: (run (cache (opam-archives (target "c:\\Users\\opam\\AppData\\local\\opam\\download-cache")))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package system-mingw is already installed (current version is 1).
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-env-mingw64 is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[NOTE] Package mingw-w64-shims is already installed (current version is 0.2.0).
[NOTE] Package host-system-mingw is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[NOTE] Package flexdll is already installed (current version is 0.44).
[NOTE] Package conf-mingw-w64-gcc-x86_64 is already installed (current version is 1).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[NOTE] Package arch-x86_64 is already installed (current version is 1).
The following actions will be performed:
=== recompile 1 package
- recompile mingw-w64-shims              0.2.0
=== install 12 packages
- install   bigarray-compat              1.1.0
- install   conf-libffi                  2.0.0
- install   conf-libgl                   1
- install   conf-mingw-w64-libffi-x86_64 1
- install   conf-pkg-config              4
- install   csexp                        1.5.2
- install   ctypes                       0.23.0
- install   ctypes-foreign               0.23.0
- install   dune                         3.20.2
- install   dune-configurator            3.20.2
- install   integers                     0.7.0
- install   stdlib-shims                 0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved mingw-w64-shims.0.2.0  (cached)
-> removed   mingw-w64-shims.0.2.0
-> installed conf-pkg-config.4
-> retrieved stdlib-shims.0.3.0  (cached)


#=== ERROR while compiling conf-libgl.1 =======================================#
"pkg-config": command not found.


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - fetch dune.3.20.2, dune-configurator.3.20.2
| - build conf-libgl                            1
+- 
+- The following changes have been performed (the rest was aborted)
| - remove  mingw-w64-shims 0.2.0
| - install conf-pkg-config 4
+- 
# To update the current shell environment, run: eval $(opam env)


The former state can be restored with:
C:\cygwin64\bin\opam.exe switch import "C:\\Users\\opam\\AppData\\Local\\opam\\5.3.0\\.opam-switch\\backup\\state-20250927155436.export"
"opam install $DEPS" failed with exit status 31
2025-09-27 15:55.26: Job failed: Failed: Build failed