Organisationsgildor478ocaml-gettext999e85 ()alpine-3.21-4.14_opam-2.3

alpine-3.21-4.14_opam-2.3

Link Copied
Code Copied

Logs

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:alpine-3.21-4.14_opam-2.3)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
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:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec
# alpine-3.21-4.14_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-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 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:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec-alpine-3.21-4.14_opam-2.3-c0fa218942b55a69b1e242b301f10e40"
2025-04-03 16:17.51: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec)
(comment alpine-3.21-4.14_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-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 /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:05.17: Waiting for worker…
2025-04-04 01:08.32: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 999e85c Prepare release 0.5.0.


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:d388038c045b444892fac6ec1f36ca88a8060f2e05d39caeb449a880d6ec4dec)
2025-04-04 01:08.32 ---> using "1365d3d062370cdb3e23e0410421a094d8879b8f0dd4d3093d64147b4bfe4ff9" from cache


/: (comment alpine-3.21-4.14_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.32 ---> using "5be1ab3ea9e48bd2199383c0f25d4669eec253aa64c46238de9e36ed6f7e50cb" 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.32 ---> using "ca0f9b6308acc60ffbea931949e0e9fb7680afa32d2003099d5a7f217fa5486d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-04 01:08.32 ---> using "8e127786c3870968fda1dfe20835536dac15f3a82c303577d90f01ea7cc40e6d" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-04 01:08.32 ---> using "1106de8ba8163af5066c46218ad21da7ed722fff392921ab78c2a9189d06c86d" 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.32 ---> using "dd007c3b3794e1d336dbdd42cff59bffb5435c74cbd678c3209ea0ddc87e6c8f" from cache


/src: (copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./))
2025-04-04 01:08.33 ---> saved as "2c663364d6effacca85e1460919fcc44606c3bd07ec02326344979c943307832"


/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.41 ---> saved as "638e387fd7e7c68bfd55ea86953837ec9efa919c69c592dab82a91a1bdf6af2f"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-04-04 01:08.41 ---> saved as "2ef82c2da7bd92bb2034fc8128c284f099b65eed6478c4a4386e3d12d7992e07"


/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.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")


/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 "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-270-gc038d918979 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-269-g5b8582de9c3 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-5044-gfa14bf251c7 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-5049-gb8ff4a2ba6e [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-5045-g09ca5b971e3 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57498 distinct packages available


<><> 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).


The following system packages will first need to be installed:
gettext-dev


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/bin/sudo "apk" "add" "gettext-dev"
- (1/7) Installing gettext-asprintf (0.22.5-r0)
- (2/7) Installing libintl (0.22.5-r0)
- (3/7) Installing gettext-libs (0.22.5-r0)
- (4/7) Installing gettext-envsubst (0.22.5-r0)
- (5/7) Installing libxml2 (2.13.4-r5)
- (6/7) Installing gettext (0.22.5-r0)
- (7/7) Installing gettext-dev (0.22.5-r0)
- Executing busybox-1.37.0-r12.trigger
- OK: 310 MiB in 108 packages
2025-04-04 01:09.01 ---> saved as "cea9700aa10f6c85c0eb969918e7dea150c6939356510db60241bf12a4af842b"


/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.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 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 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:10.12 ---> saved as "f5e7a8a9424c26496581cb6d85986cdc09ac11be3f4328f17b863f369409ecc4"


/src: (copy (src .) (dst /src))
2025-04-04 01:10.13 ---> saved as "0229d065bdbec5d1ad8def70c7dac8d8a74c67eaa0f6ebdb39ab6d29b745b362"


/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.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.21 seconds.
OK
2025-04-04 01:10.15 ---> saved as "423c7cee25fa3e412b90de81c6a61108989d8f1aa94720a709cbeba44f525091"
Job succeeded
2025-04-04 01:10.15: Job succeeded