2025-04-03 16:17.51: New job: test gildor478/ocaml-gettext https://github.com/gildor478/ocaml-gettext.git#refs/heads/master (999e85cadbe675f8e60083241b403438f8d2c869) (linux-x86_64:ubuntu-20.04-5.3_opam-2.3)
Base: ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195
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 ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195
# ubuntu-20.04-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 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 ./
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-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 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-ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195-ubuntu-20.04-5.3_opam-2.3-9516389a9224ca6888fe5a2bfa534819"
2025-04-03 16:17.51: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195)
(comment ubuntu-20.04-5.3_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 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 ./))
(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-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 /home/opam/.opam/download-cache)))
(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 /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-04-03 16:17.51: Waiting for resource in pool OCluster
2025-04-04 01:04.54: Waiting for worker…
2025-04-04 01:08.36: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
HEAD is now at 999e85c Prepare release 0.5.0.
(from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:b17e49d15bc5e9c8bb55d8197645b3abbae6798fad8fcc1a8e062a46a94d5195)
2025-04-04 01:08.37 ---> using "d6a86a5fa580a511bc47b9f81c505c664d6b1fdcbe9f7d39069ac2ba53948f98" from cache
/: (comment ubuntu-20.04-5.3_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-04 01:08.37 ---> using "e4c559ecd8860c61f49fce7cdb885f97ef6263360730db125d45927dd3160847" 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 development 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-04 01:08.37 ---> using "9ff49ff109128f81f17ecaa56bc121fa8be57aeb2ced8b0a9487d633ee898d4a" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-04-04 01:08.37 ---> using "738c3c1c23d535dbab62f668ede1ce97e62d7c350f7cb276ff4a9c0a6d842a7f" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-04-04 01:08.37 ---> using "e976b87820c4a8df89b999905db18252fae5f37ebe74ccfae6ed3810af338a29" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(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
862a7640b1..1b767795a4 master -> origin/master
1b767795a4 Merge pull request #27704 from maiste/release-dune-3.18.0
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from 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, 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-04 01:08.37 ---> using "8a532ec4c46fb951c162022f2c343bd1acc89792eca2f96453b2c8297e25ab38" from cache
/src: (copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./))
2025-04-04 01:08.37 ---> saved as "99467bf4ab1090b88311cb0d67dd6e65c333c53e0ee9e8fe94ac9271792f2f73"
/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-04-04 01:08.52 ---> saved as "d09cdb78a6fe6a383c5009d47165c85f04628e6fc369c1f2727d355b3675bf41"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-04 01:08.52 ---> saved as "553600d40ee9e501ddcf0f1d8b8858d29d5e13c6f953bf07ae89946eb91bb155"
/src: (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")
/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.3 --depext-only -y gettext.dev gettext-stub.dev gettext-camomile.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4317 kB]
- Get:6 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1306 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [33.2 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4540 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [36.8 kB]
- Get:10 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1603 kB]
- Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4807 kB]
- Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4744 kB]
- Fetched 21.8 MB in 3s (7880 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 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).
2025-04-04 01:09.22 ---> saved as "148377387301337249d88dc76a7cb8cdd646b83574871a3e38f3224ca6c91949"
/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 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 cppo.1.8.0 (cached)
-> retrieved csexp.1.5.2 (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 camomile.2.0.0 (cached)
-> retrieved stdlib-shims.0.3.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 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.18.0
-> installed ounit2.2.2.7
-> installed dune-configurator.3.18.0
-> 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-04 01:11.22 ---> saved as "54fb2e821c81c68a0269bc9f8e5a518b84ef2eb49c9f35def7fd64b6beaa6bba"
/src: (copy (src .) (dst /src))
2025-04-04 01:11.22 ---> saved as "0ec4eeca9e57b4e73cc77e9ecf3c886b486d5655236c6b72e5ab13b05903633a"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default && /home/opam/.opam/5.3/bin/ocamlyacc src/lib/gettext/base/gettextMo_parser.mly)
14 shift/reduce conflicts.
(cd _build/default && /home/opam/.opam/5.3/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-stub && ./test.exe -test-dir ../testdata)
...................
Ran: 19 tests in: 0.11 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.30 seconds.
OK
2025-04-04 01:11.25 ---> saved as "8d0956aff82d378726c8a7c68c788dc7e8b0636c3bae6f6fa2cad4fe44995d8c"
Job succeeded
2025-04-04 01:11.25: Job succeeded