2025-04-03 16:17.52: New job: test gildor478/ocaml-gettext https://github.com/gildor478/ocaml-gettext.git#refs/heads/master (999e85cadbe675f8e60083241b403438f8d2c869) (macos-x86_64:macos-homebrew-4.14_opam-2.3)
Base: macos-homebrew-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/gildor478/ocaml-gettext.git" -b "master" && cd "ocaml-gettext" && git reset --hard 999e85ca
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-4.14
# macos-homebrew-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN ln -f ~/local/bin/opam-2.3 ~/local/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gettext.opam gettext-stub.opam gettext-camomile.opam ./src/./
RUN opam pin add -yn gettext.dev './src/./' && \
opam pin add -yn gettext-stub.dev './src/./' && \
opam pin add -yn gettext-camomile.dev './src/./'
RUN echo '(lang dune 3.0)' > './src/./dune-project'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 camomile.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 dune-private-libs.3.18.0 dune-site.3.18.0 dyn.3.18.0 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.18.0 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.18.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y gettext.dev gettext-stub.dev gettext-camomile.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . ./src
RUN cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-04-03 16:17.52: Using cache hint "gildor478/ocaml-gettext-macos-homebrew-ocaml-4.14-macos-homebrew-4.14_opam-2.3-c0fa218942b55a69b1e242b301f10e40"
2025-04-03 16:17.52: Using OBuilder spec:
((from macos-homebrew-ocaml-4.14)
(comment macos-homebrew-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./src/./))
(run (network host)
(shell "opam pin add -yn gettext.dev './src/./' && \
\nopam pin add -yn gettext-stub.dev './src/./' && \
\nopam pin add -yn gettext-camomile.dev './src/./'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 camomile.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 dune-private-libs.3.18.0 dune-site.3.18.0 dyn.3.18.0 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.18.0 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.18.0")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y gettext.dev gettext-stub.dev gettext-camomile.dev $DEPS"))
(run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst ./src))
(run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-04-03 16:17.52: Waiting for resource in pool OCluster
2025-04-03 16:17.52: Waiting for worker…
2025-04-03 19:22.56: Got resource from pool OCluster
Building on i7-worker-03
All commits already cached
HEAD is now at 999e85c Prepare release 0.5.0.
(from macos-homebrew-ocaml-4.14)
2025-04-03 19:22.57 ---> using "0c60f117aee57abea8364cb033d47bb1d63ff0f68e5ee97378e032498e8442af" from cache
/: (comment macos-homebrew-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-04-03 19:22.58 ---> using "d185bb362ab7a62e22c76fe28c4578fe7a4e17f7cc7bc09a3073972dfb5efd3b" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using built-in defaults.
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.
This version of opam requires an update to the layout of /Users/mac1000/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-04-03 19:22.58 ---> using "1a239dab0512a5f76e4948de67b26faca67b4de935df003aa7f81d4e2d68958d" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-03 19:22.58 ---> using "f52eecff7be584d99550d2f8c42b8f22f9135c2276c46c827a485f089226c5ac" from cache
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
11bdbee611..1b767795a4 master -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///Users/mac1000/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
The following packages are not being upgraded because the new versions conflict with other installed packages:
- ocaml.5.4.0
- ocaml-config.3
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-04-03 19:22.59 ---> using "ed64e1bc0aa7abf84c7688032c36d7dfd408260533e1c388a42b58a5e2f22783" from cache
/: (copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./src/./))
2025-04-03 19:23.01 ---> saved as "d2656123395065eb037f2abd5274199dcbec26e14e4bd82f4b7d685a373ddbc7"
/: (run (network host)
(shell "opam pin add -yn gettext.dev './src/./' && \
\nopam pin add -yn gettext-stub.dev './src/./' && \
\nopam pin add -yn gettext-camomile.dev './src/./'"))
[gettext.dev] synchronised (file:///Users/mac1000/src)
gettext is now pinned to file:///Users/mac1000/src (version dev)
[gettext-stub.dev] synchronised (file:///Users/mac1000/src)
gettext-stub is now pinned to file:///Users/mac1000/src (version dev)
[gettext-camomile.dev] synchronised (file:///Users/mac1000/src)
gettext-camomile is now pinned to file:///Users/mac1000/src (version dev)
2025-04-03 19:24.00 ---> saved as "04cf5e33027cd3290e618e5f9fbd3a505d98694b36c438490b421f1af12c500e"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-04-03 19:24.02 ---> saved as "f92097c5626a3b71f97006080af8ac93576886eab91c6e954bfa3bcb2084b94e"
/: (env DEPS "base-bigarray.base base-threads.base base-unix.base camlp-streams.5.0.1 camomile.2.0.0 cppo.1.8.0 csexp.1.5.2 dune.3.18.0 dune-configurator.3.18.0 dune-private-libs.3.18.0 dune-site.3.18.0 dyn.3.18.0 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.18.0 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.18.0")
/: (env CI true)
/: (env OCAMLCI true)
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam update --depexts && opam install --cli=2.3 --depext-only -y gettext.dev gettext-stub.dev gettext-camomile.dev $DEPS"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- Already up-to-date.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gettext.dev] synchronised (file:///Users/mac1000/src)
[gettext-camomile.dev] synchronised (file:///Users/mac1000/src)
[gettext-stub.dev] synchronised (file:///Users/mac1000/src)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following system packages will first need to be installed:
gettext
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/brew "install" "gettext"
- ==> Downloading https://ghcr.io/v2/homebrew/core/gettext/manifests/0.24
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/8abb4a73a097ce307663b52d2da2d1d9b10df035244eb566425042eee157d0b3--gettext-0.24.bottle_manifest.json
- ==> Fetching dependencies for gettext: libunistring
- ==> Downloading https://ghcr.io/v2/homebrew/core/libunistring/manifests/1.3
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/a570da63bc1839c7e217f203abd54d4d873ebd6b99f6e88994d0e79e2ebe987c--libunistring-1.3.bottle_manifest.json
- ==> Fetching libunistring
- ==> Downloading https://ghcr.io/v2/homebrew/core/libunistring/blobs/sha256:e919f6ee2fe8a40addea1e1840eab8855e66812e18dfe05c130618ce517e2880
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/51b1870972ff42fdcab2f6974918fbbb5f8472e43ef5793eb5d10e21781830af--libunistring--1.3.sonoma.bottle.tar.gz
- ==> Fetching gettext
- ==> Downloading https://ghcr.io/v2/homebrew/core/gettext/blobs/sha256:f4d648eb039e20e1cd0ac5f0fc33b4a5375e63c1e40b90c52ef19d1783556a92
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/3dd4bdd5e56a93436b58be82b0de240b3a390179a4dd3211f49b9364fcc062f1--gettext--0.24.sonoma.bottle.tar.gz
- ==> Installing dependencies for gettext: libunistring
- ==> Installing gettext dependency: libunistring
- ==> Downloading https://ghcr.io/v2/homebrew/core/libunistring/manifests/1.3
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/a570da63bc1839c7e217f203abd54d4d873ebd6b99f6e88994d0e79e2ebe987c--libunistring-1.3.bottle_manifest.json
- ==> Pouring libunistring--1.3.sonoma.bottle.tar.gz
- 🍺 /usr/local/Cellar/libunistring/1.3: 59 files, 5.5MB
- ==> Installing gettext
- ==> Pouring gettext--0.24.sonoma.bottle.tar.gz
- 🍺 /usr/local/Cellar/gettext/0.24: 2,189 files, 18.7MB
- ==> Running `brew cleanup gettext`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
2025-04-03 19:25.13 ---> saved as "f3317c15462bad7f817f17ca056ad5d7a653c2d148ad54ecf3d4454c0b6e04e4"
/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 16 packages
- install camlp-streams 5.0.1
- install camomile 2.0.0
- install cppo 1.8.0
- install csexp 1.5.2
- install dune 3.18.0
- install dune-configurator 3.18.0
- install dune-private-libs 3.18.0
- install dune-site 3.18.0
- install dyn 3.18.0
- install fileutils 0.6.6
- install ordering 3.18.0
- install ounit2 2.2.7
- install pp 2.0.0
- install seq base
- install stdlib-shims 0.3.0
- install stdune 3.18.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved fileutils.0.6.6 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved camomile.2.0.0 (cached)
-> retrieved dune.3.18.0, dune-configurator.3.18.0, dune-private-libs.3.18.0, dune-site.3.18.0, dyn.3.18.0, ordering.3.18.0, stdune.3.18.0 (cached)
-> installed dune.3.18.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed pp.2.0.0
-> installed cppo.1.8.0
-> installed camlp-streams.5.0.1
-> installed fileutils.0.6.6
-> installed ordering.3.18.0
-> installed dune-configurator.3.18.0
-> installed ounit2.2.2.7
-> installed dyn.3.18.0
-> installed stdune.3.18.0
-> installed dune-private-libs.3.18.0
-> installed dune-site.3.18.0
-> installed camomile.2.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-03 19:27.07 ---> saved as "611bd6cb684d1e09d282b39709f4e7ec7ee142c4746b20311d80fd81112c1eb4"
/: (copy (src .) (dst ./src))
2025-04-03 19:27.08 ---> saved as "0e77f34656ec652cfd2eccbe8ef233d8c7f2d96e8b8ceb2c993741c84e5f6db4"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/4.14.2/bin/ocamlyacc src/lib/gettext/base/gettextMo_parser.mly)
14 shift/reduce conflicts.
(cd _build/default && /Users/mac1000/.opam/4.14.2/bin/ocamlyacc src/lib/gettext/extension/gettextPo_parser.mly)
12 shift/reduce conflicts.
(cd _build/default/test/test-camomile && ./test.exe -test-dir ../testdata)
........................
Ran: 24 tests in: 0.12 seconds.
OK
(cd _build/default/test && ./test.exe -runner sequential -ocaml-gettext ../src/bin/ocaml-gettext/OCamlGettext.exe -ocaml-xgettext ../src/bin/ocaml-xgettext/xgettext.exe)
.....................................................................................................................................................................
Ran: 165 tests in: 0.29 seconds.
OK
(cd _build/default/test/test-stub && ./test.exe -test-dir ../testdata)
...................
Ran: 19 tests in: 0.27 seconds.
OK
2025-04-03 19:27.13 ---> saved as "c470d3192f3447b4e18e03dd26b2c16e34dbf772eb9edb09501b2cf8118a7238"
Job succeeded
2025-04-03 19:27.25: Job succeeded