Organisationsavsmocaml-ctypes8e58a5 (master)ubuntu-25.04-4.14_opam-2.4

ubuntu-25.04-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-10-29 07:20.18: New job: test avsm/ocaml-ctypes https://github.com/avsm/ocaml-ctypes.git#refs/heads/master (8e58a54e3d8b4657e856570ffecf4941d8d676ab) (linux-x86_64:ubuntu-25.04-4.14_opam-2.4)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/avsm/ocaml-ctypes.git" -b "master" && cd "ocaml-ctypes" && git reset --hard 8e58a54e
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab
# ubuntu-25.04-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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ctypes.opam ctypes-foreign.opam ./
RUN opam pin add -yn ctypes.dev './' && \
opam pin add -yn ctypes-foreign.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 lwt.5.9.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y ctypes.dev ctypes-foreign.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-10-29 07:20.18: Using cache hint "avsm/ocaml-ctypes-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab-ubuntu-25.04-4.14_opam-2.4-f2f15d4ec59d32a206784d2fe356284c"
2025-10-29 07:20.18: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab)
(comment ubuntu-25.04-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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ctypes.dev './' && \
\nopam pin add -yn ctypes-foreign.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 lwt.5.9.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.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.4 --depext-only -y ctypes.dev ctypes-foreign.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-10-29 07:20.18: Waiting for resource in pool OCluster
2025-10-29 07:36.43: Waiting for worker…
2025-10-29 07:41.22: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 8e58a54 ctypes-foreign: add win32 depext


(from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab' locally
docker.io/ocaml/opam@sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab: Pulling from ocaml/opam
c62190a9ab61: Already exists
c985a9864739: Already exists
9ce098ab566c: Already exists
1476b197f492: Already exists
3c6ed04c0489: Already exists
6c35591422f1: Already exists
fd754953a4a4: Already exists
582f1b7eb9db: Already exists
ee0bf2b6f429: Already exists
44cfa07f70cf: Already exists
0500902e0a7f: Already exists
139102ffb691: Already exists
c5d264c92501: Already exists
fdb293292cd5: Already exists
dd9629943482: Already exists
668a585b085a: Already exists
668a585b085a: Already exists
437905664ed1: Already exists
43f45aaaac82: Already exists
180a570ab61a: Already exists
26a649eafa9d: Already exists
4f4fb700ef54: Already exists
eb4fd44be1af: Already exists
79badd8522e1: Already exists
7fe338262e51: Already exists
d1c847a73d62: Already exists
a87c4d039a6d: Already exists
f257ac04b941: Already exists
978345f61ee1: Already exists
59c200edc318: Already exists
6f921f963f2a: Already exists
265e9497d570: Already exists
362513d0b5f7: Already exists
cfce339d2a35: Already exists
6c72907716a8: Pulling fs layer
fcafe65c09b9: Pulling fs layer
9e8f3794dbc5: Pulling fs layer
9fff2e6b0a74: Pulling fs layer
6699b365f545: Pulling fs layer
bb8edf0ef2db: Pulling fs layer
b4bd5a779bf1: Pulling fs layer
b22def43ea57: Pulling fs layer
5667844b3eba: Pulling fs layer
80971aaa9950: Pulling fs layer
9fff2e6b0a74: Waiting
5667844b3eba: Waiting
bb8edf0ef2db: Waiting
80971aaa9950: Waiting
b22def43ea57: Waiting
6699b365f545: Waiting
b4bd5a779bf1: Waiting
fcafe65c09b9: Download complete
9fff2e6b0a74: Verifying Checksum
9fff2e6b0a74: Download complete
6699b365f545: Download complete
bb8edf0ef2db: Verifying Checksum
bb8edf0ef2db: Download complete
9e8f3794dbc5: Verifying Checksum
9e8f3794dbc5: Download complete
b22def43ea57: Verifying Checksum
b22def43ea57: Download complete
5667844b3eba: Download complete
80971aaa9950: Verifying Checksum
80971aaa9950: Download complete
b4bd5a779bf1: Verifying Checksum
b4bd5a779bf1: Download complete
6c72907716a8: Verifying Checksum
6c72907716a8: Download complete
6c72907716a8: Pull complete
fcafe65c09b9: Pull complete
9e8f3794dbc5: Pull complete
9fff2e6b0a74: Pull complete
6699b365f545: Pull complete
bb8edf0ef2db: Pull complete
b4bd5a779bf1: Pull complete
b22def43ea57: Pull complete
5667844b3eba: Pull complete
80971aaa9950: Pull complete
Digest: sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab
Status: Downloaded newer image for ocaml/opam@sha256:cd2c4f77800c6ac7546bed1b698c10e9920a9a5b7c7714d0bbedc5893fce1bab
2025-10-29 07:41.22 ---> using "b3880acb1f044bad0fb715550e083a55c293cc9302e0d88f3f4362e442cf2403" from cache


/: (comment ubuntu-25.04-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-10-29 07:41.22 ---> using "3a54d6c37d9b4b10f61e4c12146363ea387165bda287b441d1ecd8f386d85bd1" 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-10-29 07:41.22 ---> using "648e7de9a7e1a60fca733bebce2d712538c29d2783341b4e988db1bf0a9cda38" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-85-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-10-29 07:41.22 ---> using "7d928896428d274ef09c2c9be29981e3c2d2f9dfcd9cd552830be2b19852b02e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-29 07:41.22 ---> using "b1f6a6952165f99fd9f0233fb687e78974f17574e72b4c4a19bd9a2536d4415b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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-10-29 07:41.22 ---> using "5bf766146af93273f5f710d5e7c22fa6ba33ff283fb1bb404b96d7265a193cc2" from cache


/src: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
2025-10-29 07:41.22 ---> saved as "6ce64cb2efea8d9df3ea90964839985356b41aba90942ccb558ef875b2c42b31"


/src: (run (network host)
(shell  "opam pin add -yn ctypes.dev './' && \
\nopam pin add -yn ctypes-foreign.dev './'"))
[ctypes.dev] synchronised (file:///src)
[WARNING] Failed checks on ctypes package definition from source at file:///src:
warning 48: The fields 'build-test:' and 'build-doc:' are deprecated, and should be replaced by uses of the 'with-test' and 'with-doc' filter variables in the 'build:' and 'install:' fields, and by the newer 'run-test:' field
error 52: Package is needlessly flagged "light-uninstall", since it has no remove instructions
ctypes is now pinned to file:///src (version dev)
[ctypes-foreign.dev] synchronised (file:///src)
[WARNING] Failed checks on ctypes-foreign package definition from source at file:///src:
error  3: File format error in 'depends' at line 47, column 0: Duplicate field depends
warning 47: Synopsis should start with a capital and not end with a dot
warning 68: Missing field 'license'
ctypes-foreign is now pinned to file:///src (version dev)
2025-10-29 07:41.25 ---> saved as "06282e8f73afeb4bcc48d7d1f17ca02fe5418ae5e229e63c9cdd177d8a54c258"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-29 07:41.25 ---> saved as "8d8b2aba8d461c05e1314a6fe79da9a40d217b84926af156b9758847d4fbfcd6"


/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base conf-ncurses.1 conf-pkg-config.4 cppo.1.8.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 lwt.5.9.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.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.4 --depext-only -y ctypes.dev ctypes-foreign.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
- Get:2 http://archive.ubuntu.com/ubuntu plucky-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu plucky-security/multiverse amd64 Packages [31.5 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [31.6 kB]
- Get:7 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [225 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [487 kB]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security/restricted amd64 Packages [344 kB]
- Get:10 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [364 kB]
- Get:11 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [336 kB]
- Get:12 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [299 kB]
- Fetched 2496 kB in 0s (13.4 MB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ctypes.dev] synchronised (file:///src)
[ctypes-foreign.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:
libffi-dev ncurses-dev pkg-config


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "ncurses-dev" "pkg-config"
- Selecting previously unselected package libgpm2:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 16503 files and directories currently installed.)
- Preparing to unpack .../0-libgpm2_1.20.7-11_amd64.deb ...
- Unpacking libgpm2:amd64 (1.20.7-11) ...
- Selecting previously unselected package libncurses6:amd64.
- Preparing to unpack .../1-libncurses6_6.5+20250216-2_amd64.deb ...
- Unpacking libncurses6:amd64 (6.5+20250216-2) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../2-libncurses-dev_6.5+20250216-2_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.5+20250216-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../7-libffi-dev_3.4.7-1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.7-1) ...
- Setting up libgpm2:amd64 (1.20.7-11) ...
- Setting up libffi-dev:amd64 (3.4.7-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libncurses6:amd64 (6.5+20250216-2) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up libncurses-dev:amd64 (6.5+20250216-2) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-6ubuntu1.2) ...
2025-10-29 07:41.35 ---> saved as "7f5eb4b73dd51afa8d861064a8085827a366f33f3351c7532ac32003bc878ce2"


/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 15 packages
- install base-bytes        base
- install conf-ncurses      1
- install conf-pkg-config   4
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.20.2
- install dune-configurator 3.20.2
- install integers          0.7.0
- install lwt               5.9.2
- install ocamlfind         1.9.8
- install ocplib-endian     1.2
- install ounit             2.2.7
- install ounit2            2.2.7
- install seq               base
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0  (cached)
-> retrieved lwt.5.9.2  (cached)
-> installed conf-ncurses.1
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed integers.0.7.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed ocplib-endian.1.2
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-29 07:42.02 ---> saved as "ea345843c9aa4ad6d9bed346297dab3808532c7d1704cb13de48a6ac10a4debd"


/src: (copy (src .) (dst /src))
2025-10-29 07:42.03 ---> saved as "548d239e941ba9d9c4aa9aa3cb39319cebebbb71c71bfddd02483e972965b369"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-29 07:42.03 ---> saved as "bdbc718109edfcc9a4fd95fb02a6bde4d9bb858fe61549f06b5e75a591dd3489"
Job succeeded
2025-10-29 07:42.03: Job succeeded