Building on ltsc2025-1
(from ocaml/opam:windows-server-mingw-ltsc2025-opam)
2026-03-29 07:36.39 ---> using "63e5ddb9687855d0a0c4c5e0088f813758807605401f3a88b07751088826ddff" from cache
C:/: (user (uid 1000) (gid 1000))
C:/: (env OPAMPRECISETRACKING 1)
C:/: (env OPAMUTF8 never)
C:/: (env OPAMEXTERNALSOLVER builtin-0install)
C:/: (env OPAMCRITERIA +removed)
C:/: (env CI true)
C:/: (env OPAM_HEALTH_CHECK_CI true)
C:/: (run (shell "ln -f /usr/local/bin/opam-dev.exe /usr/local/bin/opam.exe"))
2026-03-29 07:36.39 ---> using "eb751f1617949fccf400da87a349c508e73323f3f0e3482f2cce8c46fbcb6c21" from cache
C:/: (run (network host)
(shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 65664dc5b276cda6cf6908fce5d2f7df2d434246"))
2026-03-29 07:36.39 ---> using "a1e705b8eccfc593b4fbc230ee7712cb183e42874d3459594f007e83ba548a84" from cache
C:/: (run (shell "rm -rf ~/.opam && opam init -ya --bare ~/opam-repository"))
User configuration:
Updating ~\.bashrc.
[NOTE] Make sure that ~/.bashrc is well sourced in your ~\.bash_profile.
Added 9 lines after line 1 in ~\.bashrc.
2026-03-29 07:36.39 ---> using "94b92ded6f6a914e0c8cf60eb04427886c3a380cc0b69761979305cc893fbb67" from cache
C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam switch create --repositories=default 'mingw-5.4' '5.4.0'"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-base-compiler" {= "5.4.0"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed arch-x86_64.1
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> installed host-arch-x86_64.1
-> installed host-system-mingw.1
-> retrieved flexdll.0.44 (cached)
-> retrieved ocaml-config.3 (cached)
-> installed flexdll.0.44
-> installed ocaml-options-vanilla.1
-> retrieved mingw-w64-shims.0.2.0 (cached)
-> installed conf-mingw-w64-gcc-x86_64.1
-> installed ocaml-env-mingw64.1
-> installed system-mingw.1
-> installed mingw-w64-shims.0.2.0
-> retrieved ocaml-compiler.5.4.0 (cached)
-> installed ocaml-compiler.5.4.0
-> installed ocaml-base-compiler.5.4.0
-> installed ocaml-config.3
-> installed ocaml.5.4.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
Done.
# To update the current shell environment, run: eval $(opam env --switch=mingw-5.4)
2026-03-29 07:36.39 ---> using "fef9a386bcc007a13a835243258296c6fba53ee56a7f3e7d366a20891bb1dbf6" from cache
C:/: (run (network host)
(shell "opam update --depexts"))
2026-03-29 07:36.39 ---> using "c1b87f3ba265cc602c17b1d72cdbd101c4febb3b928180288e5808ce3e9dbec0" from cache
C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam remove -y file-rewriter.0.0.3\
\nopam install -vy file-rewriter.0.0.3\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: file-rewriter.0.0.3 | grep -q 'ocaml/opam:windows-server-mingw-ltsc2025-opam'; then\
\n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\
\n exit 69\
\n fi\
\nfi \
\n\
\n\
\nexit $res"))
[NOTE] file-rewriter.0.0.3 is not installed.
Nothing to do.
The following actions will be performed:
=== install 16 packages
- install astring 0.8.5 [required by fpath]
- install csexp 1.5.2 [required by stdune]
- install dune 3.21.1 [required by file-rewriter]
- install dyn 3.21.1 [required by loc]
- install file-rewriter 0.0.3
- install fpath 0.7.3 [required by file-rewriter]
- install fs-io 3.21.1 [required by stdune]
- install loc 0.3.3 [required by file-rewriter]
- install ocamlbuild 0.16.1 [required by fpath]
- install ocamlfind 1.9.8 [required by fpath]
- install ordering 3.21.1 [required by dyn, stdune]
- install pp 2.0.0 [required by dyn, stdune]
- install sexplib0 v0.17.0 [required by file-rewriter]
- install stdune 3.21.1 [required by loc]
- install top-closure 3.21.1 [required by stdune]
- install topkg 1.1.1 [required by fpath]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/43: [astring.0.8.5: extract]
Processing 2/43: [astring.0.8.5: extract] [csexp.1.5.2: extract]
Processing 3/43: [astring.0.8.5: extract] [csexp.1.5.2: extract] [dune.3.21.1 + 5 others: extract]
-> retrieved astring.0.8.5 (cached)
Processing 3/43: [csexp.1.5.2: extract] [dune.3.21.1 + 5 others: extract]
Processing 4/43: [csexp.1.5.2: extract] [dune.3.21.1 + 5 others: extract] [file-rewriter.0.0.3: http]
-> retrieved csexp.1.5.2 (cached)
Processing 4/43: [dune.3.21.1 + 5 others: extract] [file-rewriter.0.0.3: http]
Processing 5/43: [dune.3.21.1 + 5 others: extract] [file-rewriter.0.0.3: http] [fpath.0.7.3: extract]
-> retrieved fpath.0.7.3 (cached)
Processing 5/43: [dune.3.21.1 + 5 others: extract] [file-rewriter.0.0.3: http]
Processing 6/43: [dune.3.21.1 + 5 others: extract] [file-rewriter.0.0.3: http] [loc.0.3.3: extract]
Processing 6/43: [dune.3.21.1 + 5 others: extract] [file-rewriter.0.0.3: extract] [loc.0.3.3: extract]
-> retrieved loc.0.3.3 (cached)
Processing 6/43: [dune.3.21.1 + 5 others: extract] [file-rewriter.0.0.3: extract]
Processing 7/43: [dune.3.21.1 + 5 others: extract] [file-rewriter.0.0.3: extract] [ocamlbuild.0.16.1: extract]
-> retrieved file-rewriter.0.0.3 (https://github.com/mbarbin/file-rewriter/releases/download/0.0.3/file-rewriter-0.0.3.tbz)
Processing 7/43: [dune.3.21.1 + 5 others: extract] [ocamlbuild.0.16.1: extract]
Processing 8/43: [dune.3.21.1 + 5 others: extract] [ocamlbuild.0.16.1: extract] [ocamlfind.1.9.8: extract]
-> retrieved ocamlbuild.0.16.1 (cached)
Processing 8/43: [dune.3.21.1 + 5 others: extract] [ocamlfind.1.9.8: extract]
Processing 9/43: [dune.3.21.1 + 5 others: extract] [ocamlfind.1.9.8: extract] [pp.2.0.0: extract]
Processing 10/43: [dune.3.21.1 + 5 others: extract] [ocamlfind.1.9.8: extract] [pp.2.0.0: extract] [ocamlbuild: make configure.make]
-> retrieved ocamlfind.1.9.8 (cached)
Processing 10/43: [dune.3.21.1 + 5 others: extract] [pp.2.0.0: extract] [ocamlbuild: make configure.make]
Processing 11/43: [dune.3.21.1 + 5 others: extract] [pp.2.0.0: extract] [sexplib0.v0.17.0: extract] [ocamlbuild: make configure.make]
Processing 12/43: [dune.3.21.1 + 5 others: extract] [pp.2.0.0: extract] [sexplib0.v0.17.0: extract] [ocamlbuild: make configure.make] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
-> retrieved pp.2.0.0 (cached)
Processing 12/43: [dune.3.21.1 + 5 others: extract] [sexplib0.v0.17.0: extract] [ocamlbuild: make configure.make] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
Processing 13/43: [dune.3.21.1 + 5 others: extract] [sexplib0.v0.17.0: extract] [topkg.1.1.1: extract] [ocamlbuild: make configure.make] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
-> retrieved sexplib0.v0.17.0 (cached)
Processing 13/43: [dune.3.21.1 + 5 others: extract] [topkg.1.1.1: extract] [ocamlbuild: make configure.make] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
+ C:\cygwin64\bin\make.exe "-f" "configure.make" "all" "OCAMLBUILD_PREFIX=C:\\opam\\.opam\\mingw-5.4" "OCAMLBUILD_BINDIR=C:\\opam\\.opam\\mingw-5.4\\bin" "OCAMLBUILD_LIBDIR=C:\\opam\\.opam\\mingw-5.4\\lib" "OCAMLBUILD_MANDIR=C:\\opam\\.opam\\mingw-5.4\\man" "OCAML_NATIVE=true" "OCAML_NATIVE_TOOLS=true" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\ocamlbuild.0.16.1)
- echo ;\
- echo "OCAML_PREFIX="; \
- echo "OCAML_BINDIR=C:/opam/.opam/mingw-5.4/bin"; \
- echo "OCAML_LIBDIR=C:/opam/.opam/mingw-5.4/lib/ocaml"; \
- echo "OCAML_MANDIR=C:/opam/.opam/mingw-5.4/man"; \
- echo ;\
- echo "EXT_OBJ=.o"; \
- echo "EXT_ASM=.s"; \
- echo "EXT_LIB=.a"; \
- echo "EXT_DLL=.dll"; \
- echo "EXE=.exe"; \
- echo ;\
- echo "OCAML_NATIVE=true"; \
- echo "OCAML_NATIVE_TOOLS=true"; \
- echo "NATDYNLINK=true"; \
- echo "SUPPORT_SHARED_LIBRARIES=true"; \
- echo ;\
- echo "PREFIX=C:\opam\.opam\mingw-5.4"; \
- echo "BINDIR=C:\opam\.opam\mingw-5.4\bin"; \
- echo "LIBDIR=C:\opam\.opam\mingw-5.4\lib"; \
- echo "MANDIR=C:\opam\.opam\mingw-5.4\man"; \
- ) > Makefile.config
- (echo "(* This file was generated from ../configure.make *)"; \
- echo ;\
- echo 'let bindir = {|C:\opam\.opam\mingw-5.4\bin|}'; \
- echo 'let libdir = {|C:\opam\.opam\mingw-5.4\lib|}'; \
- echo 'let ocaml_libdir = {|C:/opam/.opam/mingw-5.4/lib/ocaml|}'; \
- echo 'let libdir_abs = {|C:/opam/.opam/mingw-5.4/lib|}'; \
- echo 'let ocaml_native = true'; \
- echo 'let ocaml_native_tools = true'; \
- echo 'let supports_shared_libraries = true';\
- echo 'let a = "a"'; \
- echo 'let o = "o"'; \
- echo 'let so = "dll"'; \
- echo 'let ext_dll = ".dll"'; \
- echo 'let exe = ".exe"'; \
- echo 'let version = "0.16.1"'; \
- ) > src/ocamlbuild_config.ml
.1.1: extract] [ocamlbuild: make check-if-preinstalled] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
Uncaught exception: Unix.Unix_error(Unix.EUNKNOWNERR -38, "pread", "")
Failed: Internal error