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

ubuntu-25.04-4.14_opam-2.5

Link Copied
Code Copied

Logs

2026-01-16 11:40.30: 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.5)
Base: ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098
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:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098
# ubuntu-25.04-4.14_opam-2.5
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && 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.21.0 dune-configurator.3.21.0 integers.0.7.0 lwt.6.0.0 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.5 --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


2026-01-16 11:40.30: Using cache hint "avsm/ocaml-ctypes-ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098-ubuntu-25.04-4.14_opam-2.5-40651050b9b8964a487673598cc21eec"
2026-01-16 11:40.30: Using OBuilder spec:
((from ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098)
(comment ubuntu-25.04-4.14_opam-2.5)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.5 /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 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && 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.21.0 dune-configurator.3.21.0 integers.0.7.0 lwt.6.0.0 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.5 --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"))
)


2026-01-16 11:40.30: Waiting for resource in pool OCluster
2026-01-16 15:37.32: Waiting for worker…
2026-01-16 15:40.12: Got resource from pool OCluster
Building on laodoke.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:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098)
Unable to find image 'ocaml/opam:ubuntu-25.04-ocaml-4.14@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098' locally
docker.io/ocaml/opam@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098: Pulling from ocaml/opam
c62190a9ab61: Already exists
8c22c3a9fee5: Already exists
b6a3881708c6: Already exists
181330b22b7e: Already exists
506bc07f54fb: Already exists
445a1d2e706e: Already exists
7a1946ec19c4: Already exists
98b064112b67: Already exists
1aec4bda6ddc: Already exists
76877c886107: Already exists
b702cfeb6615: Already exists
099ebca02eb1: Already exists
94b85c014d20: Already exists
e00c8f8334dc: Already exists
9a9581a3a202: Already exists
0ab820126803: Already exists
e578d8d3689b: Already exists
e578d8d3689b: Already exists
37286d2d5f81: Already exists
90223cbaf085: Already exists
c788b16891b0: Already exists
81346b5ad6e3: Already exists
4f4fb700ef54: Already exists
e654b9dd0f7f: Already exists
e08cf68499fe: Already exists
6bb38bef3de3: Already exists
5cc64a03c4df: Already exists
4dafc3bf5bc1: Already exists
79ef16461777: Already exists
51a91543f56b: Already exists
649cda3295cf: Already exists
b1c66dda0dac: Already exists
48e1615134a1: Already exists
a504a74d82d4: Already exists
1660d21f3d44: Already exists
5f3e1a987f27: Pulling fs layer
f0c14d70a9d6: Pulling fs layer
a19ccd39b1fe: Pulling fs layer
4b66343d864a: Pulling fs layer
3b60985d75a6: Pulling fs layer
edd26009aeb2: Pulling fs layer
120c8b7a756e: Pulling fs layer
8d86138940ee: Pulling fs layer
a8e3ed887769: Pulling fs layer
7dfb1fed1eb1: Pulling fs layer
4b66343d864a: Waiting
3b60985d75a6: Waiting
edd26009aeb2: Waiting
120c8b7a756e: Waiting
8d86138940ee: Waiting
a8e3ed887769: Waiting
7dfb1fed1eb1: Waiting
f0c14d70a9d6: Download complete
4b66343d864a: Verifying Checksum
4b66343d864a: Download complete
3b60985d75a6: Verifying Checksum
3b60985d75a6: Download complete
edd26009aeb2: Verifying Checksum
edd26009aeb2: Download complete
a19ccd39b1fe: Verifying Checksum
a19ccd39b1fe: Download complete
8d86138940ee: Download complete
a8e3ed887769: Verifying Checksum
a8e3ed887769: Download complete
7dfb1fed1eb1: Verifying Checksum
7dfb1fed1eb1: Download complete
120c8b7a756e: Verifying Checksum
120c8b7a756e: Download complete
5f3e1a987f27: Verifying Checksum
5f3e1a987f27: Download complete
5f3e1a987f27: Pull complete
f0c14d70a9d6: Pull complete
a19ccd39b1fe: Pull complete
4b66343d864a: Pull complete
3b60985d75a6: Pull complete
edd26009aeb2: Pull complete
120c8b7a756e: Pull complete
8d86138940ee: Pull complete
a8e3ed887769: Pull complete
7dfb1fed1eb1: Pull complete
Digest: sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098
Status: Downloaded newer image for ocaml/opam@sha256:42dfa2b5c4338ad976cd25cf95a645bcb4cd44a61f89962961892cb3ef6c6098
2026-01-16 15:40.13 ---> using "082e0472106a0ff59c8974d4d0e4121fd1996105440d72ec9c14bd8a6570be24" from cache


/: (comment ubuntu-25.04-4.14_opam-2.5)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.5 /usr/bin/opam"))
2026-01-16 15:40.13 ---> using "f9b395e37832af02679355f9b62379bb37f1ac21e2508db79a49dd7a85d41320" 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.


[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
Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-16 15:40.13 ---> using "cb56f026206f5b38c5ccb8a1f4c5272d6364fa09b2c84c4cc7fc9c0ca4f9edd8" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-90-generic
The OCaml toplevel, version 4.14.2
2.5.0
2026-01-16 15:40.13 ---> using "e92cdb9e0b46e08fa49567bceb3629bef601da322fc63094f2bd055a3d9bc8f5" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-16 15:40.13 ---> using "50179c3816fc8fb81c66d10069ff63ff3f96b4f5f32dcbcb03f55cddc58b92bd" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 873cb18c37b308713d11ad3894c4bb78d73fb3e7 || git fetch origin master) && git reset -q --hard 873cb18c37b308713d11ad3894c4bb78d73fb3e7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
235b964523..92679ed614  master     -> origin/master
873cb18c37 Merge pull request #29216 from shonfeder/release-dune-3.21.0


<><> 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.4.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)
2026-01-16 15:40.13 ---> using "c274f3817d27d81278e4c8a85ffe3292f35238447af385c43abf041c12d937c3" from cache


/src: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
2026-01-16 15:40.13 ---> saved as "099c2acf3258ad5b3ef62ed50ef1d26c82d75e69dcc409561e5fbab7bed9f66e"


/src: (run (network host)
(shell  "opam pin add -yn ctypes.dev './' && \
\nopam pin add -yn ctypes-foreign.dev './'"))
[ctypes.dev] synchronised (file:///src)
ctypes is now pinned to file:///src (version dev)
[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-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)
2026-01-16 15:40.21 ---> saved as "f5722b035df91a780829e7f9d109eb654be1b62eb4f2f82cc3be704f89c45671"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 15:40.21 ---> saved as "ca8c59f3ab97aa1d3870ffff21e7ab4c721a6f51c24e69923bae690b0eb3219b"


/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.21.0 dune-configurator.3.21.0 integers.0.7.0 lwt.6.0.0 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.5 --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://archive.ubuntu.com/ubuntu plucky-backports InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu plucky-updates/universe amd64 Packages [335 kB]
- Get:5 http://archive.ubuntu.com/ubuntu plucky-updates/main amd64 Packages [481 kB]
- Get:6 http://archive.ubuntu.com/ubuntu plucky-updates/restricted amd64 Packages [429 kB]
- Get:7 http://archive.ubuntu.com/ubuntu plucky-updates/multiverse amd64 Packages [31.6 kB]
- Get:8 http://archive.ubuntu.com/ubuntu plucky-backports/universe amd64 Packages [4040 B]
- Get:9 http://security.ubuntu.com/ubuntu plucky-security InRelease [126 kB]
- Get:10 http://security.ubuntu.com/ubuntu plucky-security/universe amd64 Packages [247 kB]
- Get:11 http://security.ubuntu.com/ubuntu plucky-security/main amd64 Packages [333 kB]
- Fetched 2239 kB in 1s (2021 kB/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) ...
# To update the current shell environment, run: eval $(opam env)
2026-01-16 15:41.00 ---> saved as "c5cf1988ec7781de2c8ee5147067927a99666815ea12731d42804f269034d1b9"


/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.21.0
- install dune-configurator 3.21.0
- install integers          0.7.0
- install lwt               6.0.0
- 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.6.0.0  (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 stdlib-shims.0.3.0  (cached)
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved dune.3.21.0, dune-configurator.3.21.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.21.0
-> 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.21.0
-> installed lwt.6.0.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-16 15:43.24 ---> saved as "c4d35b0ecce5abf5b9e7a8046356fb9637fd964a43bbf421c4bd60fffc382c16"


/src: (copy (src .) (dst /src))
2026-01-16 15:43.25 ---> saved as "aa268ba0c4582c4bf99624ecfa035bcaba095d6081702d3d7bdf0512aee47127"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-01-16 15:43.25 ---> saved as "e995b34ca0d8c0e2b12c1255b9c301c192b88d8412aa71d5edfbb25909a75e36"
Job succeeded
2026-01-16 15:43.26: Job succeeded