Building on ltsc2025-3
(from ocaml/opam:windows-server-mingw-ltsc2025-opam)
2026-03-06 18:57.57 ---> 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-06 18:57.57 ---> 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-06 18:57.57 ---> 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-06 18:57.57 ---> 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)
-> retrieved flexdll.0.44 (https://github.com/ocaml/flexdll/archive/refs/tags/0.44.tar.gz)
-> installed flexdll.0.44
-> installed ocaml-options-vanilla.1
-> installed conf-mingw-w64-gcc-x86_64.1
-> installed ocaml-env-mingw64.1
-> installed system-mingw.1
-> retrieved ocaml-config.3 (2 extra sources)
-> retrieved ocaml-config.3 (2 extra sources)
-> installed mingw-w64-shims.0.2.0
-> 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-06 18:57.57 ---> using "bde3e22405d3d4b8eb936b6a5924016abe757c72ef4284f806d0ffa633cf6608" from cache
C:/: (run (network host)
(shell "opam update --depexts"))
2026-03-06 18:57.57 ---> using "52107e23401ba5a409505a63e9d96ae2fb84390238c362f7049829fa18c5671f" from cache
C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam remove -y apron.v0.9.15\
\nopam install -vy apron.v0.9.15\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: apron.v0.9.15 | 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] apron.v0.9.15 is not installed.
Nothing to do.
The following actions will be performed:
=== install 12 packages
- install apron v0.9.15
- install bigarray-compat 1.1.0 [required by mlgmpidl]
- install camlidl 1.13 [required by apron]
- install conf-findutils 1 [required by ez-conf-lib]
- install conf-gmp-paths 1 [required by mlgmpidl]
- install conf-mpfr-paths 1 [required by mlgmpidl]
- install conf-perl 2 [required by apron]
- install dune 3.21.1 [required by bigarray-compat]
- install ez-conf-lib 2 [required by conf-gmp-paths, conf-mpfr-paths]
- install mlgmpidl 1.3.0 [required by apron]
- install ocamlbuild 0.16.1 [required by apron]
- install ocamlfind 1.9.8 [required by apron]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/36: [apron.v0.9.15: http]
Processing 2/36: [apron.v0.9.15: http] [bigarray-compat.1.1.0: extract]
Processing 3/36: [apron.v0.9.15: http] [bigarray-compat.1.1.0: extract] [camlidl.1.13: http]
Processing 3/36: [apron.v0.9.15: extract] [bigarray-compat.1.1.0: extract] [camlidl.1.13: http]
-> retrieved bigarray-compat.1.1.0 (cached)
Processing 3/36: [apron.v0.9.15: extract] [camlidl.1.13: http]
Processing 4/36: [apron.v0.9.15: extract] [camlidl.1.13: http]
Processing 5/36: [apron.v0.9.15: extract] [camlidl.1.13: http] [conf-gmp-paths.1/test-gmp.c: dl]
Processing 6/36: [apron.v0.9.15: extract] [camlidl.1.13: http] [conf-gmp-paths.1/test-gmp.c: dl] [conf-findutils: sh find . -name .]
Processing 6/36: [apron.v0.9.15: extract] [camlidl.1.13: extract] [conf-gmp-paths.1/test-gmp.c: dl] [conf-findutils: sh find . -name .]
-> retrieved conf-gmp-paths.1 (https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-gmp-paths/test-gmp.c)
Processing 6/36: [apron.v0.9.15: extract] [camlidl.1.13: extract] [conf-findutils: sh find . -name .]
Processing 7/36: [apron.v0.9.15: extract] [camlidl.1.13: extract] [conf-mpfr-paths.1/test-mpfr.c: dl] [conf-findutils: sh find . -name .]
-> retrieved apron.v0.9.15 (https://github.com/antoinemine/apron/archive/refs/tags/v0.9.15.tar.gz)
Processing 7/36: [camlidl.1.13: extract] [conf-mpfr-paths.1/test-mpfr.c: dl] [conf-findutils: sh find . -name .]
Processing 8/36: [camlidl.1.13: extract] [conf-mpfr-paths.1/test-mpfr.c: dl] [conf-findutils: sh find . -name .]
Processing 9/36: [camlidl.1.13: extract] [conf-mpfr-paths.1/test-mpfr.c: dl] [dune.3.21.1: extract] [conf-findutils: sh find . -name .]
Processing 10/36: [camlidl.1.13: extract] [conf-mpfr-paths.1/test-mpfr.c: dl] [dune.3.21.1: extract] [conf-findutils: sh find . -name .] [conf-perl: perl]
-> retrieved camlidl.1.13 (https://github.com/xavierleroy/camlidl/archive/camlidl113.tar.gz)
Processing 10/36: [conf-mpfr-paths.1/test-mpfr.c: dl] [dune.3.21.1: extract] [conf-findutils: sh find . -name .] [conf-perl: perl]
Processing 11/36: [conf-mpfr-paths.1/test-mpfr.c: dl] [dune.3.21.1: extract] [ez-conf-lib.2: http] [conf-findutils: sh find . -name .] [conf-perl: perl]
Processing 12/36: [conf-mpfr-paths.1/test-mpfr.c: dl] [dune.3.21.1: extract] [ez-conf-lib.2: http] [camlidl: mv] [conf-findutils: sh find . -name .] [conf-perl: perl]
-> retrieved conf-mpfr-paths.1 (https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-mpfr-paths/test-mpfr.c)
Processing 12/36: [dune.3.21.1: extract] [ez-conf-lib.2: http] [camlidl: mv] [conf-findutils: sh find . -name .] [conf-perl: perl]
Processing 13/36: [dune.3.21.1: extract] [ez-conf-lib.2: http] [mlgmpidl.1.3.0: http] [camlidl: mv] [conf-findutils: sh find . -name .] [conf-perl: perl]
Processing 13/36: [dune.3.21.1: extract] [ez-conf-lib.2: extract] [mlgmpidl.1.3.0: http] [camlidl: mv] [conf-findutils: sh find . -name .] [conf-perl: perl]
+ C:\cygwin64\bin\mv.exe "config/Makefile.mingw" "config/Makefile" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\camlidl.1.13)
- /usr/bin/mv: cannot stat 'config/Makefile.mingw': No such file or directory
Processing 13/36: [dune.3.21.1: extract] [ez-conf-lib.2: extract] [mlgmpidl.1.3.0: http] [conf-findutils: sh find . -name .] [conf-perl: perl]
[ERROR] The compilation of camlidl.1.13 failed at "mv config/Makefile.mingw config/Makefile".
Processing 14/36: [dune.3.21.1: extract] [ez-conf-lib.2: extract] [mlgmpidl.1.3.0: http] [conf-findutils: sh find . -name .] [conf-perl: perl]
+ C:\cygwin64\bin\sh.exe "-exc" "find . -name ." (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\conf-findutils.1)
- + find . -name .
- .
-> compiled conf-findutils.1
Processing 14/36: [dune.3.21.1: extract] [ez-conf-lib.2: extract] [mlgmpidl.1.3.0: http] [conf-perl: perl]
-> installed conf-findutils.1
Processing 15/36: [dune.3.21.1: extract] [ez-conf-lib.2: extract] [mlgmpidl.1.3.0: http] [conf-perl: perl]
-> retrieved ez-conf-lib.2 (https://github.com/nberth/ez-conf-lib/archive/2.tar.gz)
Processing 15/36: [dune.3.21.1: extract] [mlgmpidl.1.3.0: http] [conf-perl: perl]
Processing 16/36: [dune.3.21.1: extract] [mlgmpidl.1.3.0: http] [ocamlbuild.0.16.1: extract] [conf-perl: perl]
Processing 17/36: [dune.3.21.1: extract] [mlgmpidl.1.3.0: http] [ocamlbuild.0.16.1: extract] [conf-perl: perl] [ez-conf-lib: sh]
Processing 17/36: [dune.3.21.1: extract] [mlgmpidl.1.3.0: extract] [ocamlbuild.0.16.1: extract] [conf-perl: perl] [ez-conf-lib: sh]
+ C:\cygwin64\bin\perl.exe "--version" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\conf-perl.2)
-
- This is perl 5, version 40, subversion 3 (v5.40.3) built for x86_64-cygwin-threads-multi
- (with 3 registered patches, see perl -V for more detail)
-
- Copyright 1987-2025, Larry Wall
-
- Perl may be copied only under the terms of either the Artistic License or the
- GNU General Public License, which may be found in the Perl 5 source kit.
-
- Complete documentation for Perl, including FAQ lists, should be found on
- this system using "man perl" or "perldoc perl". If you have access to the
- Internet, point your browser at https://www.perl.org/, the Perl Home Page.
-
-> compiled conf-perl.2
Processing 17/36: [dune.3.21.1: extract] [mlgmpidl.1.3.0: extract] [ocamlbuild.0.16.1: extract] [ez-conf-lib: sh]
-> installed conf-perl.2
Processing 18/36: [dune.3.21.1: extract] [mlgmpidl.1.3.0: extract] [ocamlbuild.0.16.1: extract] [ez-conf-lib: sh]
-> retrieved mlgmpidl.1.3.0 (https://github.com/nberth/mlgmpidl/archive/1.3.0.tar.gz)
Processing 18/36: [dune.3.21.1: extract] [ocamlbuild.0.16.1: extract] [ez-conf-lib: sh]
Processing 19/36: [dune.3.21.1: extract] [ocamlbuild.0.16.1: extract] [ocamlfind.1.9.8: extract] [ez-conf-lib: sh]
-> retrieved ocamlbuild.0.16.1 (cached)
Processing 19/36: [dune.3.21.1: extract] [ocamlfind.1.9.8: extract] [ez-conf-lib: sh]
Processing 20/36: [dune.3.21.1: extract] [ocamlfind.1.9.8: extract] [ez-conf-lib: sh] [ocamlbuild: make configure.make]
-> retrieved ocamlfind.1.9.8 (cached)
Processing 20/36: [dune.3.21.1: extract] [ez-conf-lib: sh] [ocamlbuild: make configure.make]
Processing 21/36: [dune.3.21.1: extract] [ez-conf-lib: sh] [ocamlbuild: make configure.make] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
+ C:\cygwin64\bin\sh.exe "-ecx" "./gen-config 'C:\\opam\\.opam\\mingw-5.4\\lib\\ez-conf-lib'" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\ez-conf-lib.2)
- + ./gen-config 'C:\opam\.opam\mingw-5.4\lib\ez-conf-lib'
- generating ez-conf-lib.config
-> compiled ez-conf-lib.2
Processing 21/36: [dune.3.21.1: extract] [ocamlbuild: make configure.make] [ocamlfind: ./configure C:\opam\.opam\mingw-5.4\bin]
- (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
#=== ERROR while installing ez-conf-lib.2 =====================================#
At C:\opam\.opam\mingw-5.4\.opam-switch\build\ez-conf-lib.2\ez-conf-lib.config:3:11-3:11::
illegal escape sequence
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions were aborted
| - install apron v0.9.15
| - install bigarray-compat 1.1.0
| - install conf-gmp-paths 1
| - install conf-mpfr-paths 1
| - install mlgmpidl 1.3.0
+-
+- The following actions failed
| - fetch dune 3.21.1
| - build ocamlbuild 0.16.1
| - build ocamlfind 1.9.8
| - install ez-conf-lib 2
+-
+- The following changes have been performed (the rest was aborted)
| - install camlidl 1.13
| - install conf-findutils 1
| - install conf-perl 2
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
C:\cygwin64\usr\local\bin\opam.exe switch import "C:\\opam\\.opam\\mingw-5.4\\.opam-switch\\backup\\state-20260306185822.export"
'C:\cygwin64\usr\local\bin\opam.exe install -vy apron.v0.9.15' failed.
"C:\cygwin64\bin\bash.exe" "-lc" "opam remove -y apron.v0.9.15
opam install -vy apron.v0.9.15
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: apron.v0.9.15 | grep -q 'ocaml/opam:windows-server-mingw-ltsc2025-opam'; then
echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field."
exit 69
fi
fi
exit $res" failed with exit status 31
Failed: Build failed