Building on ltsc2025-3
(from ocaml/opam:windows-server-mingw-ltsc2025-opam)
2026-03-07 18:03.55 ---> 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 18:03.55 ---> 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 18:03.55 ---> 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 18:03.55 ---> 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-07 18:03.55 ---> using "bde3e22405d3d4b8eb936b6a5924016abe757c72ef4284f806d0ffa633cf6608" from cache
C:/: (run (network host)
(shell "opam update --depexts"))
2026-03-07 18:03.55 ---> using "52107e23401ba5a409505a63e9d96ae2fb84390238c362f7049829fa18c5671f" from cache
C:/: (run (cache (opam-archives (target "c:\\opam\\.opam\\download-cache")))
(network host)
(shell "opam remove -y gettext.0.5.0\
\nopam install -vy gettext.0.5.0\
\nres=$?\
\nif [ $res = 31 ]; then\
\n if opam show -f x-ci-accept-failures: gettext.0.5.0 | 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"))
Nothing to do.
[NOTE] gettext.0.5.0 is not installed.
The following actions will be performed:
=== install 13 packages
- install cppo 1.8.0 [required by gettext]
- install csexp 1.5.2 [required by dune-private-libs]
- install dune 3.21.1 [required by gettext]
- install dune-private-libs 3.21.1 [required by dune-site]
- install dune-site 3.21.1 [required by gettext]
- install dyn 3.21.1 [required by dune-private-libs]
- install fileutils 0.6.6 [required by gettext]
- install fs-io 3.21.1 [required by stdune]
- install gettext 0.5.0
- install ordering 3.21.1 [required by dyn, stdune]
- install pp 2.0.0 [required by dune-private-libs]
- install stdune 3.21.1 [required by dune-private-libs]
- install top-closure 3.21.1 [required by stdune]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/32: [cppo.1.8.0: extract]
Processing 2/32: [cppo.1.8.0: extract] [csexp.1.5.2: extract]
Processing 3/32: [cppo.1.8.0: extract] [csexp.1.5.2: extract] [dune.3.21.1 + 7 others: extract]
-> retrieved cppo.1.8.0 (cached)
Processing 3/32: [csexp.1.5.2: extract] [dune.3.21.1 + 7 others: extract]
Processing 4/32: [csexp.1.5.2: extract] [dune.3.21.1 + 7 others: extract] [fileutils.0.6.6: http]
-> retrieved csexp.1.5.2 (cached)
Processing 4/32: [dune.3.21.1 + 7 others: extract] [fileutils.0.6.6: http]
Processing 5/32: [dune.3.21.1 + 7 others: extract] [fileutils.0.6.6: http] [gettext.0.5.0: http]
Processing 5/32: [dune.3.21.1 + 7 others: extract] [fileutils.0.6.6: extract] [gettext.0.5.0: http]
Processing 5/32: [dune.3.21.1 + 7 others: extract] [fileutils.0.6.6: extract] [gettext.0.5.0: extract]
-> retrieved fileutils.0.6.6 (https://github.com/gildor478/ocaml-fileutils/releases/download/v0.6.6/fileutils-0.6.6.tbz)
Processing 5/32: [dune.3.21.1 + 7 others: extract] [gettext.0.5.0: extract]
Processing 6/32: [dune.3.21.1 + 7 others: extract] [gettext.0.5.0: extract] [pp.2.0.0: extract]
-> retrieved pp.2.0.0 (cached)
Processing 6/32: [dune.3.21.1 + 7 others: extract] [gettext.0.5.0: extract]
-> retrieved gettext.0.5.0 (https://github.com/gildor478/ocaml-gettext/releases/download/v0.5.0/gettext-0.5.0.tbz)
Processing 6/32: [dune.3.21.1 + 7 others: extract]
-> retrieved dune.3.21.1, dune-private-libs.3.21.1, dune-site.3.21.1, dyn.3.21.1, fs-io.3.21.1, ordering.3.21.1, stdune.3.21.1, top-closure.3.21.1 (cached)
Processing 7/32: [dune: ocaml 15]
+ C:\opam\.opam\mingw-5.4\bin\ocaml.exe "boot/bootstrap.ml" "-j" "15" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dune.3.21.1)
- ocamlc -output-complete-exe -intf-suffix .dummy -g -o .duneboot.exe -I boot -I +unix unix.cma boot/types.ml boot/libs.ml boot/duneboot.ml
- .\.duneboot.exe -j 15
Processing 7/32: [dune: ./_boot/dune.exe build]
+ C:\opam\.opam\mingw-5.4\.opam-switch\build\dune.3.21.1\./_boot/dune.exe "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "15" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dune.3.21.1)
-> compiled dune.3.21.1
-> installed dune.3.21.1
Processing 9/32: [cppo: dune build]
Processing 10/32: [cppo: dune build] [csexp: dune build]
Processing 11/32: [cppo: dune build] [csexp: dune build] [fileutils: dune build]
Processing 12/32: [cppo: dune build] [csexp: dune build] [fileutils: dune build] [fs-io: rm]
Processing 13/32: [cppo: dune build] [csexp: dune build] [fileutils: dune build] [fs-io: rm] [ordering: rm]
Processing 14/32: [cppo: dune build] [csexp: dune build] [fileutils: dune build] [fs-io: rm] [ordering: rm] [pp: dune build]
Processing 15/32: [cppo: dune build] [csexp: dune build] [fileutils: dune build] [fs-io: rm] [ordering: rm] [pp: dune build] [top-closure: rm]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "cppo" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\cppo.1.8.0)
-> compiled cppo.1.8.0
Processing 15/32: [csexp: dune build] [fileutils: dune build] [fs-io: rm] [ordering: rm] [pp: dune build] [top-closure: rm]
-> installed cppo.1.8.0
Processing 16/32: [csexp: dune build] [fileutils: dune build] [fs-io: rm] [ordering: rm] [pp: dune build] [top-closure: rm]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "csexp" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\csexp.1.5.2)
- (cd _build/default && C:\opam\.opam\mingw-5.4\bin\ocamlc.opt.exe -w -40 -g -bin-annot -bin-annot-occurrences -I src/.csexp.objs/byte -cmi-file src/.csexp.objs/byte/csexp.cmi -no-alias-deps -o src/.csexp.objs/byte/csexp.cmo -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 | [@@inlined always]
- ^^^^^^^
- Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
- (cd _build/default && C:\opam\.opam\mingw-5.4\bin\ocamlopt.opt.exe -w -40 -g -I src/.csexp.objs/byte -I src/.csexp.objs/native -cmi-file src/.csexp.objs/byte/csexp.cmi -no-alias-deps -o src/.csexp.objs/native/csexp.cmx -c -impl src/csexp.ml)
- File "src/csexp.ml", line 236, characters 7-14:
- 236 | [@@inlined always]
- ^^^^^^^
- Warning 53 [misplaced-attribute]: the inlined attribute cannot appear in this context
-> compiled csexp.1.5.2
Processing 16/32: [fileutils: dune build] [fs-io: rm] [ordering: rm] [pp: dune build] [top-closure: rm]
-> installed csexp.1.5.2
Processing 17/32: [fileutils: dune build] [fs-io: rm] [ordering: rm] [pp: dune build] [top-closure: rm]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "fileutils" "-j" "15" "--promote-install-files=false" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\fileutils.0.6.6)
Processing 17/32: [fileutils: dune install] [fs-io: rm] [ordering: rm] [pp: dune build] [top-closure: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\fs-io.3.21.1)
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\ordering.3.21.1)
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "install" "-p" "fileutils" "--create-install-files" "fileutils" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\fileutils.0.6.6)
-> compiled fileutils.0.6.6
Processing 17/32: [fs-io: rm] [ordering: rm] [pp: dune build] [top-closure: rm]
-> installed fileutils.0.6.6
Processing 18/32: [fs-io: rm] [ordering: rm] [pp: dune build] [top-closure: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\fs-io.3.21.1)
Processing 18/32: [fs-io: dune build] [ordering: rm] [pp: dune build] [top-closure: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\ordering.3.21.1)
Processing 18/32: [fs-io: dune build] [ordering: dune build] [pp: dune build] [top-closure: rm]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "pp" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\pp.2.0.0)
-> compiled pp.2.0.0
Processing 18/32: [fs-io: dune build] [ordering: dune build] [top-closure: rm]
-> installed pp.2.0.0
Processing 19/32: [fs-io: dune build] [ordering: dune build] [top-closure: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\top-closure.3.21.1)
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\top-closure.3.21.1)
Processing 19/32: [fs-io: dune build] [ordering: dune build] [top-closure: dune build]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "ordering" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\ordering.3.21.1)
-> compiled ordering.3.21.1
Processing 19/32: [fs-io: dune build] [top-closure: dune build]
-> installed ordering.3.21.1
Processing 20/32: [fs-io: dune build] [top-closure: dune build]
Processing 21/32: [dyn: rm] [fs-io: dune build] [top-closure: dune build]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "fs-io" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\fs-io.3.21.1)
-> compiled fs-io.3.21.1
Processing 21/32: [dyn: rm] [top-closure: dune build]
-> installed fs-io.3.21.1
Processing 22/32: [dyn: rm] [top-closure: dune build]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dyn.3.21.1)
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "top-closure" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\top-closure.3.21.1)
-> compiled top-closure.3.21.1
Processing 22/32: [dyn: rm]
-> installed top-closure.3.21.1
Processing 23/32: [dyn: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dyn.3.21.1)
Processing 23/32: [dyn: dune build]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "dyn" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dyn.3.21.1)
-> compiled dyn.3.21.1
-> installed dyn.3.21.1
Processing 25/32: [stdune: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\stdune.3.21.1)
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\stdune.3.21.1)
Processing 25/32: [stdune: dune build]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "stdune" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\stdune.3.21.1)
-> compiled stdune.3.21.1
-> installed stdune.3.21.1
Processing 27/32: [dune-private-libs: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dune-private-libs.3.21.1)
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dune-private-libs.3.21.1)
Processing 27/32: [dune-private-libs: dune build]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "dune-private-libs" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dune-private-libs.3.21.1)
-> compiled dune-private-libs.3.21.1
-> installed dune-private-libs.3.21.1
Processing 29/32: [dune-site: rm]
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/csexp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dune-site.3.21.1)
+ C:\cygwin64\bin\rm.exe "-rf" "vendor/pp" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dune-site.3.21.1)
Processing 29/32: [dune-site: dune build]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "dune-site" "-j" "15" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\dune-site.3.21.1)
-> compiled dune-site.3.21.1
-> installed dune-site.3.21.1
Processing 31/32: [gettext: dune build]
+ C:\opam\.opam\mingw-5.4\bin\dune.exe "build" "-p" "gettext" "-j" "15" "--promote-install-files=false" "@install" (CWD=C:\opam\.opam\mingw-5.4\.opam-switch\build\gettext.0.5.0)
- (cd _build/default && C:\opam\.opam\mingw-5.4\bin\ocamlyacc.exe src/lib/gettext/base/gettextMo_parser.mly)
- 14 shift/reduce conflicts.
- (cd _build/default && C:\opam\.opam\mingw-5.4\bin\ocamlyacc.exe src/lib/gettext/extension/gettextPo_parser.mly)
- 12 shift/reduce conflicts.
- (cd _build/default && C:\opam\.opam\mingw-5.4\bin\ocamlopt.opt.exe -w -40 -g -I src/bin/ocaml-xgettext/.xgettext.eobjs/byte -I src/bin/ocaml-xgettext/.xgettext.eobjs/native -I C:/opam/.opam/mingw-5.4/lib/ocaml\compiler-libs -I C:/opam/.opam/mingw-5.4/lib/ocaml\unix -I C:\opam\.opam\mingw-5.4\lib\dune-private-libs\dune-section -I C:\opam\.opam\mingw-5.4\lib\dune-site -I C:\opam\.opam\mingw-5.4\lib\dune-site\private -I C:\opam\.opam\mingw-5.4\lib\fileutils -H src/lib/gettext/base/.gettextBase.objs/byte -I src/lib/gettext/base/.gettextBase.objs/native -I src/lib/gettext/base/.gettextBase.objs/public_cmi -H src/lib/gettext/extension/.gettextExtension.objs/byte -I src/lib/gettext/extension/.gettextExtension.objs/native -I src/lib/gettext/extension/.gettextExtension.objs/public_cmi -cmi-file src/bin/ocaml-xgettext/.xgettext.eobjs/byte/dune__exe__Xgettext.cmi -no-alias-deps -o src/bin/ocaml-xgettext/.xgettext.eobjs/native/dune__exe__Xgettext.cmx -c -impl src/bin/ocaml-xgettext/xgettext.pp.ml)
- File "src/bin/ocaml-xgettext/xgettext.ml", line 115, characters 8-32:
- Error: The variable f on the left-hand side of this or-pattern has type
- string
- but on the right-hand side it has type string Location.loc
[ERROR] The compilation of gettext.0.5.0 failed at "dune build -p gettext -j 15 --promote-install-files=false @install".
#=== ERROR while compiling gettext.0.5.0 ======================================#
# context 2.5.0 | win32/x86_64 | ocaml-base-compiler.5.4.0 | git+file://C:/cygwin64/home/opam/opam-repository
# path C:\opam\.opam\mingw-5.4\.opam-switch\build\gettext.0.5.0
# command C:\opam\.opam\mingw-5.4\bin\dune.exe build -p gettext -j 15 --promote-install-files=false @install
# exit-code 1
# env-file C:\opam\.opam\log\gettext-18304-2ee7af.env
# output-file C:\opam\.opam\log\gettext-18304-2ee7af.out
### output ###
# (cd _build/default && C:\opam\.opam\mingw-5.4\bin\ocamlyacc.exe src/lib/gettext/base/gettextMo_parser.mly)
# 14 shift/reduce conflicts.
# (cd _build/default && C:\opam\.opam\mingw-5.4\bin\ocamlyacc.exe src/lib/gettext/extension/gettextPo_parser.mly)
# 12 shift/reduce conflicts.
# (cd _build/default && C:\opam\.opam\mingw-5.4\bin\ocamlopt.opt.exe -w -40 -g -I src/bin/ocaml-xgettext/.xgettext.eobjs/byte -I src/bin/ocaml-xgettext/.xgettext.eobjs/native -I C:/opam/.opam/mingw-5.4/lib/ocaml\compiler-libs -I C:/opam/.opam/mingw-5.4/lib/ocaml\unix -I C:\opam\.opam\mingw-5.4\lib\dune-private-libs\dune-section -I C:\opam\.opam\mingw-5.4\lib\dune-site -I C:\opam\.opam\mingw-5.4[...]
# File "src/bin/ocaml-xgettext/xgettext.ml", line 115, characters 8-32:
# Error: The variable f on the left-hand side of this or-pattern has type
# string
# but on the right-hand side it has type string Location.loc
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build gettext 0.5.0
+-
+- The following changes have been performed
| - install cppo 1.8.0
| - install csexp 1.5.2
| - install dune 3.21.1
| - install dune-private-libs 3.21.1
| - install dune-site 3.21.1
| - install dyn 3.21.1
| - install fileutils 0.6.6
| - install fs-io 3.21.1
| - install ordering 3.21.1
| - install pp 2.0.0
| - install stdune 3.21.1
| - install top-closure 3.21.1
+-
# 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-20260307180433.export"
'C:\cygwin64\usr\local\bin\opam.exe install -vy gettext.0.5.0' failed.
"C:\cygwin64\bin\bash.exe" "-lc" "opam remove -y gettext.0.5.0
opam install -vy gettext.0.5.0
res=$?
if [ $res = 31 ]; then
if opam show -f x-ci-accept-failures: gettext.0.5.0 | 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