2025-07-31 07:27.48: New job: test gildor478/ocaml-gettext https://github.com/gildor478/ocaml-gettext.git#refs/heads/master (86ed8809490a5226f225fab58971179e2162da43) (linux-x86_64:debian-12-4.14_opam-2.4)
Base: ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/gildor478/ocaml-gettext.git" -b "master" && cd "ocaml-gettext" && git reset --hard 86ed8809
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc
# debian-12-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gettext.opam gettext-stub.opam gettext-camomile.opam ./
RUN opam pin add -yn gettext.dev './' && \
opam pin add -yn gettext-stub.dev './' && \
opam pin add -yn gettext-camomile.dev './'
RUN echo '(lang dune 3.0)' > './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.19.1 dune-configurator.3.19.1 dune-private-libs.3.19.1 dune-site.3.19.1 dyn.3.19.1 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.19.1"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y gettext.dev gettext-stub.dev gettext-camomile.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2025-07-31 07:27.48: Using cache hint "gildor478/ocaml-gettext-ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc-debian-12-4.14_opam-2.4-c49c045a4d1704870ef3e1fd0a21e909"
2025-07-31 07:27.48: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc)
(comment debian-12-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gettext.opam gettext-stub.opam gettext-camomile.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gettext.dev './' && \
\nopam pin add -yn gettext-stub.dev './' && \
\nopam pin add -yn gettext-camomile.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './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.19.1 dune-configurator.3.19.1 dune-private-libs.3.19.1 dune-site.3.19.1 dyn.3.19.1 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.19.1")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y gettext.dev gettext-stub.dev gettext-camomile.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2025-07-31 07:27.48: Waiting for resource in pool OCluster
2025-07-31 09:03.30: Waiting for worker…
2025-07-31 09:06.00: Got resource from pool OCluster
Building on phoebe
All commits already cached
HEAD is now at 86ed880 Merge pull request #37 from glondu/no-dune-site
(from ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc' locally
docker.io/ocaml/opam@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc: Pulling from ocaml/opam
2b437dab448b: Already exists
a2c99602167c: Pulling fs layer
66deb4cf7a3c: Pulling fs layer
48e936736765: Pulling fs layer
04833b9bb797: Pulling fs layer
66deb4cf7a3c: Waiting
48e936736765: Waiting
04833b9bb797: Waiting
66deb4cf7a3c: Verifying Checksum
66deb4cf7a3c: Download complete
48e936736765: Verifying Checksum
48e936736765: Download complete
04833b9bb797: Download complete
a2c99602167c: Verifying Checksum
a2c99602167c: Download complete
a2c99602167c: Pull complete
66deb4cf7a3c: Pull complete
48e936736765: Pull complete
04833b9bb797: Pull complete
Digest: sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc
Status: Downloaded newer image for ocaml/opam@sha256:288fd5f9a1ea6e902f595976d15ac1ec018ec29d1eef2e63f78b0f6297933ecc
2025-07-31 09:06.01 ---> using "142100138a91f890d28d70e008b081a84bdd607cd5d8f8de3ee28b415bda950d" from cache
/: (comment debian-12-4.14_opam-2.4)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-07-31 09:06.01 ---> using "e7ef1ab5d72bc3878cd9cd9c8c92e02e8756dc4553455ce08375017d7fa98b99" from cache
/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then from 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 /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-07-31 09:06.01 ---> using "a00eaa7d6e20b2842d2d0a756d83e11cfa01c393bbdfe1614e5e7ef66cc31d7f" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-63-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-07-31 09:06.01 ---> using "5647ab45ba026b994ed399c0ca07168f94cbd24594308c3674ee719bb6818277" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-07-31 09:06.01 ---> using "7c203636209f7eeac807dc77915feba49206ddb0c0d8c07e107dda3fc65cf32c" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e b8021439f8c57ba6435bc2263f6596671f4f4466 || git fetch origin master) && git reset -q --hard b8021439f8c57ba6435bc2263f6596671f4f4466 && git log --no-decorate -n1 --oneline && opam update -u"))
b8021439f8 Merge pull request #28261 from kit-ty-kate/deploy-fix-25819
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-07-31 09:06.01 ---> using "bb8b00bb3b1a844b3a3653491cf74782175301b7e5d491116b6dee5ef2efcb46" from cache
/src: (copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./))
2025-07-31 09:06.01 ---> saved as "aea3214c0ac05168f306b6686c90e3a000a48980d15bfc1ed5998c128ac0322a"
/src: (run (network host)
(shell "opam pin add -yn gettext.dev './' && \
\nopam pin add -yn gettext-stub.dev './' && \
\nopam pin add -yn gettext-camomile.dev './'"))
[gettext.dev] synchronised (file:///src)
gettext is now pinned to file:///src (version dev)
[gettext-stub.dev] synchronised (file:///src)
gettext-stub is now pinned to file:///src (version dev)
[gettext-camomile.dev] synchronised (file:///src)
gettext-camomile is now pinned to file:///src (version dev)
2025-07-31 09:06.09 ---> saved as "54ad277742a13403f361f236fb4af9907c0d65e0d42d58367c4f0f4ed44d8b32"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 09:06.10 ---> saved as "e872fcccd6fb8f17f9e574214c2ed1e6eb3663e4f149a9a0418b6000d7c7ff86"
/src: (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.19.1 dune-configurator.3.19.1 dune-private-libs.3.19.1 dune-site.3.19.1 dyn.3.19.1 fileutils.0.6.6 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ordering.3.19.1 ounit2.2.2.7 pp.2.0.0 seq.base stdlib-shims.0.3.0 stdune.3.19.1")
/src: (env CI true)
/src: (env OCAMLCI true)
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y gettext.dev gettext-stub.dev gettext-camomile.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [19.6 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6916 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 402 kB in 1s (383 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gettext.dev] synchronised (file:///src)
[gettext-camomile.dev] synchronised (file:///src)
[gettext-stub.dev] synchronised (file:///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).
2025-07-31 09:06.31 ---> saved as "bde35a8046c253c041900a7e06b37ba54a913311a9d89ef91f1179cbae40bb98"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(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.19.1
- install dune-configurator 3.19.1
- install dune-private-libs 3.19.1
- install dune-site 3.19.1
- install dyn 3.19.1
- install fileutils 0.6.6
- install ordering 3.19.1
- install ounit2 2.2.7
- install pp 2.0.0
- install seq base
- install stdlib-shims 0.3.0
- install stdune 3.19.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved camlp-streams.5.0.1 (cached)
-> retrieved camomile.2.0.0 (cached)
-> retrieved cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved fileutils.0.6.6 (cached)
-> retrieved pp.2.0.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved dune.3.19.1, dune-configurator.3.19.1, dune-private-libs.3.19.1, dune-site.3.19.1, dyn.3.19.1, ordering.3.19.1, stdune.3.19.1 (cached)
-> installed dune.3.19.1
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed pp.2.0.0
-> installed stdlib-shims.0.3.0
-> installed fileutils.0.6.6
-> installed ordering.3.19.1
-> installed ounit2.2.2.7
-> installed dune-configurator.3.19.1
-> installed dyn.3.19.1
-> installed stdune.3.19.1
-> installed dune-private-libs.3.19.1
-> installed dune-site.3.19.1
-> installed camomile.2.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-31 09:09.54 ---> saved as "d4fe3ea45bf7fe83ae080c4e0488bd8c7e8186ca32d94a90a248bc41599ae8c0"
/src: (copy (src .) (dst /src))
2025-07-31 09:09.55 ---> saved as "1e440eacedf4fe5e3baa999d0190f92f3abbcee918a9ec1fac1d95ba1e527b51"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/4.14/bin/ocamlyacc src/lib/gettext/base/gettextMo_parser.mly)
14 shift/reduce conflicts.
(cd _build/default && /home/opam/.opam/4.14/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.29 seconds.
OK
(cd _build/default/test/test-stub && ./test.exe -test-dir ../testdata)
...................
Ran: 19 tests in: 0.19 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.45 seconds.
OK
2025-07-31 09:10.03 ---> saved as "3db18e639881170c827c51e7f643236c965779529e37883617ca49df1a3163d1"
Job succeeded
2025-07-31 09:10.03: Job succeeded