2025-04-03 16:17.51: New job: test gildor478/ocaml-gettext https://github.com/gildor478/ocaml-gettext.git#refs/heads/master (999e85cadbe675f8e60083241b403438f8d2c869) (macos-x86_64:macos-homebrew-5.3_opam-2.3)
Base: macos-homebrew-ocaml-5.3
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-5.3
# macos-homebrew-5.3_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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.51: Using cache hint "gildor478/ocaml-gettext-macos-homebrew-ocaml-5.3-macos-homebrew-5.3_opam-2.3-9516389a9224ca6888fe5a2bfa534819"
2025-04-03 16:17.51: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
(comment macos-homebrew-5.3_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-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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.51: Waiting for resource in pool OCluster
2025-04-03 16:17.52: Waiting for worker…
2025-04-03 19:16.12: 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-5.3)
2025-04-03 19:16.13 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache
/: (comment macos-homebrew-5.3_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:16.14 ---> using "8efc335cb5004a650aab29e72b9849a2b2e2f0853bc55d3a74763c7cceed5d74" 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:16.14 ---> using "e29fa6de89fe919799ac81fd4a1c768d8341cedf873c17042854467d2aebeceb" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Darwin 23.4.0
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-03 19:16.14 ---> using "a268524b45b0c90a951719c2a6c8c78c0b8a0fec90c9f437befd49b0008dc673" 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
67e940587b..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
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:16.15 ---> using "46480ef44783440aee7d14bfd9a83b1c157389b39eb64d6462a6a880afa41512" from cache
/: (copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./src/./))
2025-04-03 19:16.16 ---> saved as "bb9e413e65051cd9ed1fb9a4593a345782f8bd39f584dcce779059bc07bf6105"
/: (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:16.35 ---> saved as "825e786f38a3dd8395bfc1a0aeeb04f8d3c8200c0adff9e89892baa19b593b49"
/: (run (network host)
(shell "echo '(lang dune 3.0)' > './src/./dune-project'"))
2025-04-03 19:16.37 ---> saved as "04f726ce57abe1884b9671ba9dd1df24792ca94afc7f7eca9c4984e690f3765c"
/: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.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.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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:17.16 ---> saved as "1382d4cd488189b686c36a4003283b15a4b5abd41eabb732dbcb99a6cfae0f5d"
/: (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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.0).
[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-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains 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:19.15 ---> saved as "5495287b42a39705d84fb504048afa7c1373294c03cf32afe03c455fe36e689e"
/: (copy (src .) (dst ./src))
2025-04-03 19:19.17 ---> saved as "9ab5621465ef989f59c9cbc70e96d0b9cffd4ea375a95c9a5ae3bb31690c9b75"
/: (run (shell "cd ./src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /Users/mac1000/.opam/5.3.0/bin/ocamlyacc src/lib/gettext/base/gettextMo_parser.mly)
14 shift/reduce conflicts.
(cd _build/default && /Users/mac1000/.opam/5.3.0/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.13 seconds.
OK
(cd _build/default/test/test-stub && ./test.exe -test-dir ../testdata)
...................
Ran: 19 tests in: 0.26 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.35 seconds.
OK
2025-04-03 19:19.22 ---> saved as "d731088425c7687c927e7fd3cf3da111296fd0e9d3f5cc7c01642af2a0ef63b3"
Job succeeded
2025-04-03 19:19.33: Job succeeded