Organisationsgildor478ocaml-gettext86ed88 (master)alpine-3.21-4.14_opam-2.4

alpine-3.21-4.14_opam-2.4

Link Copied
Code Copied

Logs

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:alpine-3.21-4.14_opam-2.4)
Base: ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d
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:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d
# alpine-3.21-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:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d-alpine-3.21-4.14_opam-2.4-c49c045a4d1704870ef3e1fd0a21e909"
2025-07-31 07:27.48: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d)
(comment alpine-3.21-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.35: Waiting for worker…
2025-07-31 09:06.03: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 86ed880 Merge pull request #37 from glondu/no-dune-site


(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:acda27c7e9ff770f0e09f53d730162c8ebf0f21b0ddc57f73b4cd1cf27c4af6d)
2025-07-31 09:06.03 ---> using "ea47f485ac5e3de6005676b139eead37b27580d3656da4cbc3286dafdec05f07" from cache


/: (comment alpine-3.21-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.03 ---> using "acd447e86e07a06b6cfdfeec91ba1182fdea45fe8ef8b02a1b8c31ad16443308" 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.04 ---> using "f46328e537971876b5ef1defadb0e9bc780150317475535320804e23c1f8948d" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-142-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-07-31 09:06.04 ---> using "48f4fffb369b47f483a7082f3e68ac2d5360643c397270b95cd1de8a15cb3eb1" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-07-31 09:06.04 ---> using "16fc103b2993579a9ebbd8fa6e532d679262e51eab4d0a26c4545d855eb0c490" 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.04 ---> using "067f9c3ce82aaf69d2e2db3b636adbddfa7594f82a34c4562332560d492cb05f" from cache


/src: (copy (src gettext.opam gettext-stub.opam gettext-camomile.opam)
(dst ./))
2025-07-31 09:06.04 ---> saved as "f93ebfa857a0e5dd9b0dd121ad13c8ae7a3c4f6521bd7c55a53f108d99911254"


/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.10 ---> saved as "dcaf0e098e6c2bdeced19c82d350791417dfe29b974fb36b8158a7910e29ccd8"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-07-31 09:06.10 ---> saved as "9018408af98214299737b8f37d42e0d247055b67879ff36b269a513bfee0618c"


/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 "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.4-24-g2d13e6f2c9c [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.4-22-gaa6bf2dd9cc [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-3599-g383c9b1a8b9 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-3606-gb77e5951003 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-3607-g3d7ab9eb467 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59233 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-r6)
- (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-07-31 09:06.21 ---> saved as "0a271b49166c1519033c7cda31cbef1e4c3a5210732b9294eaa8e8479d236189"


/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 ounit2.2.2.7  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved pp.2.0.0  (cached)
-> retrieved stdlib-shims.0.3.0  (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 cppo.1.8.0
-> installed csexp.1.5.2
-> 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:07.19 ---> saved as "4d011f265b154d0c71792b6d85658989c38e24d8f9f84591f92af66609235940"


/src: (copy (src .) (dst /src))
2025-07-31 09:07.20 ---> saved as "7de2741aeedbd274135e6de5c92adbd1bfc5c15785026107da6f56e950b92828"


/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.22 seconds.
OK
2025-07-31 09:07.22 ---> saved as "c65c385f4f1afa1202e8de9304f6df0c752c12d8009eb7f0d4053cf24fb8711a"
Job succeeded
2025-07-31 09:07.23: Job succeeded