Building on ltsc2025-1
(from ocaml/opam:windows-server-mingw-ltsc2025-opam)
2026-03-07 20:38.10 ---> 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-07 20:38.10 ---> 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 31db989bcaf14647d9889b8903120d6202ac37a8"))
2026-03-07 20:38.10 ---> using "ef58fca6f6db70f2bdfd85579892df7c50e047d2e179a3be59dcaa5c5a2d773c" 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-07 20:38.10 ---> using "c700dfaf6f2da6800841bb961abfee8cd8858dee38ab51c0793b149f1795270d" 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 mingw-w64-shims.0.2.0 (cached)
-> installed conf-mingw-w64-gcc-x86_64.1
-> retrieved flexdll.0.44 (https://github.com/ocaml/flexdll/archive/refs/tags/0.44.tar.gz)
-> installed flexdll.0.44
-> installed ocaml-env-mingw64.1
-> installed ocaml-options-vanilla.1
-> installed system-mingw.1
-> installed mingw-w64-shims.0.2.0
-> retrieved ocaml-config.3 (2 extra sources)
-> retrieved ocaml-config.3 (2 extra sources)
-> retrieved ocaml-compiler.5.4.0 (https://github.com/ocaml/ocaml/releases/download/5.4.0/ocaml-5.4.0.tar.gz)
-> 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-07 20:38.10 ---> using "bde3e22405d3d4b8eb936b6a5924016abe757c72ef4284f806d0ffa633cf6608" from cache
C:/: (run (network host)
(shell "opam update --depexts"))
2026-03-07 20:38.10 ---> using "52107e23401ba5a409505a63e9d96ae2fb84390238c362f7049829fa18c5671f" from cache
C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam remove -y higher.0.3.1\
\nopam install -vy higher.0.3.1\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: higher.0.3.1 | 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] higher.0.3.1 is not installed.
Nothing to do.
The following actions will be performed:
=== install 4 packages
- install higher 0.3.1
- install ocamlbuild 0.16.1 [required by higher]
- install ocamlfind 1.9.8 [required by higher]
- install topkg 1.1.1 [required by higher]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/12: [higher.0.3.1: http]
Processing 2/12: [higher.0.3.1: http] [ocamlbuild.0.16.1: extract]
Processing 3/12: [higher.0.3.1: http] [ocamlbuild.0.16.1: extract] [ocamlfind.1.9.8: extract]
Processing 3/12: [higher.0.3.1: extract] [ocamlbuild.0.16.1: extract] [ocamlfind.1.9.8: extract]
-> retrieved ocamlbuild.0.16.1 (cached)
Processing 3/12: [higher.0.3.1: extract] [ocamlfind.1.9.8: extract]
Processing 4/12: [higher.0.3.1: extract] [ocamlfind.1.9.8: extract] [topkg.1.1.1: extract]
Processing 5/12: [higher.0.3.1: extract] [ocamlfind.1.9.8: extract] [topkg.1.1.1: extract] [ocamlbuild: make configure.make]
-> retrieved higher.0.3.1 (https://github.com/yallop/higher/archive/0.3.1.tar.gz)
Processing 5/12: [ocamlfind.1.9.8: extract] [topkg.1.1.1: extract] [ocamlbuild: make configure.make]
-> retrieved ocamlfind.1.9.8 (cached)
Processing 5/12: [topkg.1.1.1: extract] [ocamlbuild: make configure.make]
Processing 6/12: [topkg.1.1.1: extract] [ocamlbuild: make configure.make] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
-> retrieved topkg.1.1.1 (cached)
Processing 6/12: [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 "# This file was generated from configure.make"; \
- 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
Processing 6/12: [ocamlbuild: make check-if-preinstalled] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
+ C:\opam\.opam\mingw-5.4\.opam-switch\build\ocamlfind.1.9.8\./configure "-bindir" "C:\\opam\\.opam\\mingw-5.4\\bin" "-sitelib" "C:\\opam\\.opam\\mingw-5.4\\lib" "-mandir" "C:\\opam\\.opam\\mingw-5.4\\man" "-config" "C:\\opam\\.opam\\mingw-5.4\\lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\ocamlfind.1.9.8)
- Welcome to findlib version 1.9.8
- Configuring core...
- Cygwin build environment found; using .exe as suffix for binaries
- Checking for #remove_directory...
- Testing threading model...
- systhread_supported: true
- Testing DLLs...
- Testing whether ppxopt can be supported...
- Checking for ocamlc -opaque...
- Checking for ocamlopt -g...
- Configuring libraries...
- unix: found (in +unix)
- dynlink: found (in +dynlink)
- bigarray: not present (possible since 4.08)
- compiler-libs: found
- dbm: not present (normal since 4.00)
- graphics: not present (normal since 4.09)
- num: not present (normal since 4.06)
- ocamlbuild: not present (normal since 4.03)
- ocamldoc: found (in +ocamldoc)
- raw_spacetime: not present (normal since 4.12)
- threads: found (in +threads)
- str: found (in +str)
- labltk: not present (normal since 4.02)
- native dynlink: found
- camlp4: disabled
- bytes: found, installing fake library
- Configuration for bytes written to site-lib-src/bytes/META
- Detecting compiler arguments: (extractor built) ok
-
- About the OCAML core installation:
- Standard library: /cygdrive/c/opam/.opam/mingw-5.4/lib/ocaml
- Binaries: /cygdrive/c/opam/.opam/mingw-5.4/bin
- Manual pages: /usr/local/man
- Multi-threading type: posix
- The directory of site-specific packages will be
- site-lib: C:\opam\.opam\mingw-5.4\lib
- The configuration file is written to:
- findlib config file: C:\opam\.opam\mingw-5.4\lib/findlib.conf
- Software will be installed:
- Libraries: in <site-lib>/findlib
- Binaries: C:\opam\.opam\mingw-5.4\bin
- Manual pages: C:\opam\.opam\mingw-5.4\man
- topfind script: /cygdrive/c/opam/.opam/mingw-5.4/lib/ocaml
- Topfind ppxopt support: yes
- Toolbox: no
- Link custom runtime: no
- Need bytes compatibility: no
-
- Configuration has been written to Makefile.config
-
- You can now do 'make all', and optionally 'make opt', to build ocamlfind.
Processing 6/12: [ocamlbuild: make check-if-preinstalled] [ocamlfind: make all]
+ C:\cygwin64\bin\make.exe "all" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\ocamlfind.1.9.8)
- for p in findlib; do ( cd src/$p; /usr/bin/make all ) || exit; done
ib_top.cma topfind.cmo
ctory '/cygdrive/c/opam/.opam/mingw-5.4/.opam-switch/build/ocamlfind.1.9.8/src/findlib'
- ocamllex fl_meta.mll
- 22 states, 392 transitions, table size 1700 bytes
- USE_CYGPATH="1"; \
- export USE_CYGPATH; \
- cat findlib_config.mlp | \
- ../../tools/patch '@CONFIGFILE@' 'C:\opam\.opam\mingw-5.4\lib/findlib.conf' | \
- ../../tools/patch '@STDLIB@' '/cygdrive/c/opam/.opam/mingw-5.4/lib/ocaml' | \
- ../../tools/patch '@RELATIVE_PATHS@' 'false' | \
- sed -e 's;@AUTOLINK@;true;g' \
- -e 's;@SYSTEM@;mingw64;g' \
- >findlib_config.ml
- if [ "true" = "true" ]; then \
- cp topfind.ml.in topfind.ml; \
- else \
- sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \
- > topfind.ml ; \
- fi
- ocamldep *.ml *.mli >depend
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_compat.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib_config.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_lint.ml
- ocamlc -I +compiler-libs -a -o findlib.cma fl_compat.cmo fl_split.cmo findlib_config.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c ocaml_args.ml
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c frontend.ml
- ocamlc -I +compiler-libs -o ocamlfind.exe -g findlib.cma unix.cma \
- -I +unix -I +dynlink ocaml_args.cmo frontend.cmo
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c topfind.mli
- ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c topfind.ml
- File "topfind.ml", line 128, characters 40-63:
- 128 | match Hashtbl.find Toploop.directive_table "ppx" with
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 258, characters 4-27:
- 258 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 268, characters 4-27:
- 268 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 280, characters 4-27:
- 280 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 293, characters 4-27:
- 293 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 307, characters 4-27:
- 307 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
-
- File "topfind.ml", line 319, characters 4-27:
- 319 | Toploop.directive_table
- ^^^^^^^^^^^^^^^^^^^^^^^
- Alert deprecated: Toploop.directive_table
- ocamlc -I +compiler-libs -a -o findlUncaught exception: Unix.Unix_error(Unix.EUNKNOWNERR -38, "pread", "")
Failed: Internal error