Organisationsavsmocaml-ctypes8e58a5 (master)ubuntu-26.04-5.5_opam-2.5

ubuntu-26.04-5.5_opam-2.5

Link Copied
Code Copied

Logs

2026-06-30 12:14.38: New job: test avsm/ocaml-ctypes https://github.com/avsm/ocaml-ctypes.git#refs/heads/master (8e58a54e3d8b4657e856570ffecf4941d8d676ab) (linux-x86_64:ubuntu-26.04-5.5_opam-2.5)
Base: ocaml/opam:ubuntu-26.04-ocaml-5.5@sha256:92b192ec4933c318aeb38ded7d8e08d62077ef9eba2d941400f7c13c0c59053a
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-26.04-ocaml-5.5@sha256:92b192ec4933c318aeb38ded7d8e08d62077ef9eba2d941400f7c13c0c59053a
# ubuntu-26.04-5.5_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 cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN 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-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-ncurses.1 conf-pkg-config.5 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 integers.0.8.0 lwt.6.1.2 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 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-06-30 12:14.38: Using cache hint "avsm/ocaml-ctypes-ocaml/opam:ubuntu-26.04-ocaml-5.5@sha256:92b192ec4933c318aeb38ded7d8e08d62077ef9eba2d941400f7c13c0c59053a-ubuntu-26.04-5.5_opam-2.5-55013467506b9be4cfd5502916553278"
2026-06-30 12:14.38: Using OBuilder spec:
((from ocaml/opam:ubuntu-26.04-ocaml-5.5@sha256:92b192ec4933c318aeb38ded7d8e08d62077ef9eba2d941400f7c13c0c59053a)
(comment ubuntu-26.04-5.5_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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline"))
(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 "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 (shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-ncurses.1 conf-pkg-config.5 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 integers.0.8.0 lwt.6.1.2 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 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-06-30 12:14.38: Waiting for resource in pool OCluster
2026-06-30 16:02.59: Waiting for worker…
2026-06-30 16:04.37: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 8e58a54 ctypes-foreign: add win32 depext


(from ocaml/opam:ubuntu-26.04-ocaml-5.5@sha256:92b192ec4933c318aeb38ded7d8e08d62077ef9eba2d941400f7c13c0c59053a)
2026-06-30 16:04.38 ---> using "b01ac08d9ec526f4000e955ff9d533642877783a58a159720d90d66d2ebde320" from cache


/: (comment ubuntu-26.04-5.5_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-06-30 16:04.38 ---> using "9dd286db5831ebbbded994eac86aa29a608951cf79d06a40eb3ae3dcf2c2428d" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8cd35acddd18fa903782ac90de78467ca3e3b506 || git fetch origin master) && git reset -q --hard 8cd35acddd18fa903782ac90de78467ca3e3b506 && git log --no-decorate -n1 --oneline"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
b85f65c75d..8cd35acddd  master     -> origin/master
8cd35acddd Merge pull request #30092 from shonfeder/release-dune-3.24.0
2026-06-30 16:04.38 ---> using "2ee88d6c51fddfb595b9f0485001cf6aa576fd31ac20d779934392e1234824f6" 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.1 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 1 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=1 --global
Continue? [Y/n] y
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository
2026-06-30 16:04.38 ---> using "fffd37205acd13a2b5a185761801238cc80842e935e1f064fee175fccb91d62e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 7.0.0-22-generic
The OCaml toplevel, version 5.5.0
2.5.1
2026-06-30 16:04.38 ---> using "bbca383dd09577a2d2a7904cc8ee963c5daa4f3f356df449ddaf78ca38c7feaf" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-06-30 16:04.38 ---> using "b82f67ba397c4ec03b8bd5c6ed1929a8764fd1fdac662cce862457ae836f252b" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update -u"))


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository


The following actions will be performed:
=== recompile 7 packages
- recompile base-domains        base           [uses ocaml]
- recompile base-effects        base           [uses ocaml]
- recompile base-nnp            base           [uses base-domains]
- recompile ocaml               5.5.0          [uses ocaml-base-compiler]
- recompile ocaml-base-compiler 5.5.0 (pinned) [uses ocaml-compiler]
- recompile ocaml-compiler      5.5.0          [upstream or system changes]
- recompile opam-depext         1.2.3          [uses ocaml]
=== install 1 package
- install   compiler-cloning    enabled        [required by ocaml-compiler]


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml.5.5.0  (cached)
-> removed   base-effects.base
-> removed   base-nnp.base
-> removed   base-domains.base
-> installed compiler-cloning.enabled
-> retrieved ocaml-compiler.5.5.0  (cached)
-> retrieved opam-depext.1.2.3  (cached)
-> removed   opam-depext.1.2.3
-> removed   ocaml.5.5.0
-> removed   ocaml-base-compiler.5.5.0
-> removed   ocaml-compiler.5.5.0
-> installed ocaml-compiler.5.5.0
-> installed ocaml-base-compiler.5.5.0
-> installed ocaml.5.5.0
-> installed base-domains.base
-> installed base-effects.base
-> installed base-nnp.base
-> installed opam-depext.1.2.3
Done.


<><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead


<><> ocaml-compiler.5.5.0 installed successfully ><><><><><><><><><><><><><><><>
=> This switch had to be compiled from sources, but future switches with the 🐌
same compiler version and configuration should assemble instantly.
# To update the current shell environment, run: eval $(opam env)
2026-06-30 16:04.38 ---> using "5abe76f4c18ca4eda0f520ad97f2f42c650f267192fd92467a492fe880ba8239" from cache


/src: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
2026-06-30 16:04.38 ---> saved as "48fd31da1e1a88da1def1e036635190e0433ca0e5753a848bcfb680cc1c41ced"


/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)
2026-06-30 16:04.41 ---> saved as "1b88cf7014eaef2c47491c20201763c57988bf482e120d40676f42f2142549fe"


/src: (run (shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-06-30 16:04.42 ---> saved as "3d7806c2371fa0aa58f9def2f692bec51f8df02e2da22e93e5fc1339f5a6f025"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base compiler-cloning.enabled conf-ncurses.1 conf-pkg-config.5 cppo.1.8.0 csexp.1.5.2 dune.3.24.0 dune-configurator.3.24.0 integers.0.8.0 lwt.6.1.2 ocaml.5.5.0 ocaml-base-compiler.5.5.0 ocaml-compiler.5.5.0 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 resolute InRelease
- Get:2 http://security.ubuntu.com/ubuntu resolute-security InRelease [137 kB]
- Get:3 http://security.ubuntu.com/ubuntu resolute-security/universe amd64 Packages [157 kB]
- Get:4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease [137 kB]
- Get:5 http://security.ubuntu.com/ubuntu resolute-security/main amd64 Packages [309 kB]
- Get:6 http://security.ubuntu.com/ubuntu resolute-security/restricted amd64 Packages [271 kB]
- Hit:7 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
- Get:8 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Packages [236 kB]
- Get:9 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 Packages [353 kB]
- Get:10 http://archive.ubuntu.com/ubuntu resolute-updates/restricted amd64 Packages [271 kB]
- Fetched 1872 kB in 1s (3203 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-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[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:
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 ... 22797 files and directories currently installed.)
- Preparing to unpack .../0-libgpm2_1.20.7-12build1_amd64.deb ...
- Unpacking libgpm2:amd64 (1.20.7-12build1) ...
- Selecting previously unselected package libncurses6:amd64.
- Preparing to unpack .../1-libncurses6_6.6+20251231-1_amd64.deb ...
- Unpacking libncurses6:amd64 (6.6+20251231-1) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../2-libncurses-dev_6.6+20251231-1_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.6+20251231-1) ...
- Selecting previously unselected package libpkgconf7:amd64.
- Preparing to unpack .../3-libpkgconf7_2.5.1-4_amd64.deb ...
- Unpacking libpkgconf7:amd64 (2.5.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_2.5.1-4_amd64.deb ...
- Unpacking pkgconf-bin (2.5.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_2.5.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (2.5.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_2.5.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (2.5.1-4) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../7-libffi-dev_3.5.2-4_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.5.2-4) ...
- Setting up libgpm2:amd64 (1.20.7-12build1) ...
- Setting up libpkgconf7:amd64 (2.5.1-4) ...
- Setting up libffi-dev:amd64 (3.5.2-4) ...
- Setting up libncurses6:amd64 (6.6+20251231-1) ...
- Setting up pkgconf-bin (2.5.1-4) ...
- Setting up libncurses-dev:amd64 (6.6+20251231-1) ...
- Setting up pkgconf:amd64 (2.5.1-4) ...
- Setting up pkg-config:amd64 (2.5.1-4) ...
- Processing triggers for libc-bin (2.43-2ubuntu2) ...
# To update the current shell environment, run: eval $(opam env)
2026-06-30 16:04.55 ---> saved as "c6996f40637cac527ac05573e24dc206633cd0276f8ba3789e1015ba488304c2"


/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-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.5.0).
[NOTE] Package ocaml is already installed (current version is 5.5.0).
[NOTE] Package compiler-cloning is already installed (current version is enabled).
[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 15 packages
- install base-bytes        base
- install conf-ncurses      1
- install conf-pkg-config   5
- install cppo              1.8.0
- install csexp             1.5.2
- install dune              3.24.0
- install dune-configurator 3.24.0
- install integers          0.8.0
- install lwt               6.1.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 conf-pkg-config.5  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved integers.0.8.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved lwt.6.1.2  (cached)
-> installed conf-pkg-config.5
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ounit.2.2.7, ounit2.2.2.7  (cached)
-> installed conf-ncurses.1
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.24.0, dune-configurator.3.24.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.24.0
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed integers.0.8.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed dune-configurator.3.24.0
-> installed lwt.6.1.2
Done.
# To update the current shell environment, run: eval $(opam env)
2026-06-30 16:05.37 ---> saved as "2c641bf9e0782c4cc2dc02fef036c274eb366736c31c142dd6be72e70437a45e"


/src: (copy (src .) (dst /src))
2026-06-30 16:05.38 ---> saved as "c7dce46425317607e29d9102496906c040a0034de2daee982a55def5dbe2aabd"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-06-30 16:05.38 ---> saved as "5911bb4fe56627a21d9cd453da6f7977eed10c9f146758ae0b01ca4b2784c865"
Job succeeded
2026-06-30 16:05.39: Job succeeded