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

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


(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0)
2025-04-04 01:09.06 ---> using "dacbb842f0a2d29eaad3e832c76ea718382fa9cd05776a3fdb8016e465aa5e7b" from cache


/: (comment alpine-3.21-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:09.06 ---> using "4d575331d18a103bb0cc6f4a0dd61826f91da9419ba321b0b1320c4ec539b0db" 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
[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
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:09.06 ---> using "6937929ef5611e557c4991cd8189eebf46058c4ee81139f68d15319429555db6" 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:09.06 ---> using "bb90a277fb48150bfb58577b4b61ca2e911fa7d8ff44939da041b865bac9afe8" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-04 01:09.06 ---> using "dc9101c084e576ab6dcbeea601d2b330166d0d274d8fdcaf9cff106e658a7bf6" 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:09.06 ---> using "8fcf786126fb624e04592779bd1a0973177a260d1fd11ebfb468816de5c70c91" from cache


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


/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:09.15 ---> saved as "a173c864518036fb51409cbf9cb284b7ae22ebe7bcc5e8ba7fb6fde8efc0676a"


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


/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 "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 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-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 109 packages
2025-04-04 01:09.41 ---> saved as "881baa56cf591f9196b2fb9e7f46752af89af2118104da052438e7b77a400c76"


/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 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:11.56 ---> saved as "d7c45407f003bdc4fa338b44a738033fad4b76968b90b14c9a1c56faaa742f58"


/src: (copy (src .) (dst /src))
2025-04-04 01:11.57 ---> saved as "95e995e0e8ee680edf1df6e8df8e77993137e99bb2e9bbbc290b0fcdafe9ae2a"


/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.45 seconds.
OK
2025-04-04 01:12.00 ---> saved as "2f1e4de96eadc6dee614e88d2c2ad762dddb15d4b3773c305a1c24063f202908"
Job succeeded
2025-04-04 01:12.01: Job succeeded