2025-06-17 18:28.33: New job: test avsm/ocaml-ctypes https://github.com/avsm/ocaml-ctypes.git#refs/heads/master (8e58a54e3d8b4657e856570ffecf4941d8d676ab) (linux-x86_64:ubuntu-24.04-4.14_opam-2.3)
Base: ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498
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-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498
# ubuntu-24.04-4.14_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 dune-configurator.3.19.1 integers.0.7.0 lwt.5.9.1 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.3 --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-06-17 18:28.33: Using cache hint "avsm/ocaml-ctypes-ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498-ubuntu-24.04-4.14_opam-2.3-59051ad36840e9d6bf42f1650a1504d3"
2025-06-17 18:28.33: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498)
(comment ubuntu-24.04-4.14_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 a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && 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.19.1 dune-configurator.3.19.1 integers.0.7.0 lwt.5.9.1 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.3 --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-06-17 18:28.33: Waiting for resource in pool OCluster
2025-06-17 20:25.14: Waiting for worker…
2025-06-17 20:28.20: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 8e58a54 ctypes-foreign: add win32 depext
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:3dbac5def7b0152a5bc0ed65bbf067083686f3255a31bec492079c20a2c9b498)
2025-06-17 20:28.21 ---> using "e5afc2ae3625d287ff6ad11e1ee8e8c8b323aef4830c05f394017983edb5ece1" from cache
/: (comment ubuntu-24.04-4.14_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-06-17 20:28.21 ---> using "5378c45e1f53f35b8a2cc57978b8510a8e388e87b11ddebc0a2ef8672782fc07" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-17 20:28.21 ---> using "870a79a9cdb1deb7840ad725d9ab2efecd423034bce03d66f2a18be97b573a87" from cache
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-59-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-06-17 20:28.21 ---> using "10bc4f77583933fc22d09fff3b6119e5ecf7914e9ab7174dfb7ce9292e5cbc7a" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2025-06-17 20:28.21 ---> using "929a7cbd5251e9c159ca9dac600cdedb0ee70ea98d87bda1e61823b61e3558c1" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e a28eb8a148feb4fbc6466fa0791668993513dbde || git fetch origin master) && git reset -q --hard a28eb8a148feb4fbc6466fa0791668993513dbde && git log --no-decorate -n1 --oneline && opam update -u"))
a28eb8a148 Merge pull request #28017 from maiste/release-dune-3.19.1
<><> 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, 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-06-17 20:28.21 ---> using "b40e04ac7123af4570c874af0e319ec57b89f6486e9a880675258eda564c0391" from cache
/src: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
2025-06-17 20:28.21 ---> saved as "2f28fb7e0ec4d2ce74165aac6c85b75795a4b32d47103d05ef615eecc0d8a81b"
/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
[WARNING] Failed checks on ctypes-foreign package definition from source at file:///src:
[ctypes-foreign.dev] synchronised (file:///src)
ctypes-foreign is now pinned to file:///src (version dev)
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'
2025-06-17 20:28.29 ---> saved as "f42af3a9c562f4a39c200a17ee22effe1bbbfa252175f904810c61a07190d0f9"
/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-06-17 20:28.30 ---> saved as "d05296508c87a1098e695e8c030e18b9cd3574216afc6f27f276f8603b418b56"
/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.19.1 dune-configurator.3.19.1 integers.0.7.0 lwt.5.9.1 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.3 --depext-only -y ctypes.dev ctypes-foreign.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1403 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1509 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1425 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1100 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1094 kB]
- Fetched 6909 kB in 1s (5578 kB/s)
- Reading package lists...
-
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[ctypes-foreign.dev] synchronised (file:///src)
[ctypes.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"
- debconf: delaying package configuration, since apt-utils is not installed
- 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 ... 16335 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.4+20240113-1ubuntu2_amd64.deb ...
- Unpacking libncurses6:amd64 (6.4+20240113-1ubuntu2) ...
- Selecting previously unselected package libncurses-dev:amd64.
- Preparing to unpack .../2-libncurses-dev_6.4+20240113-1ubuntu2_amd64.deb ...
- Unpacking libncurses-dev:amd64 (6.4+20240113-1ubuntu2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-2build1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../4-pkgconf-bin_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-2build1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../5-pkgconf_1.8.1-2build1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../6-pkg-config_1.8.1-2build1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-2build1) ...
- Selecting previously unselected package libffi-dev:amd64.
- Preparing to unpack .../7-libffi-dev_3.4.6-1build1_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.6-1build1) ...
- Setting up libgpm2:amd64 (1.20.7-11) ...
- Setting up libffi-dev:amd64 (3.4.6-1build1) ...
- Setting up libpkgconf3:amd64 (1.8.1-2build1) ...
- Setting up libncurses6:amd64 (6.4+20240113-1ubuntu2) ...
- Setting up pkgconf-bin (1.8.1-2build1) ...
- Setting up libncurses-dev:amd64 (6.4+20240113-1ubuntu2) ...
- Setting up pkgconf:amd64 (1.8.1-2build1) ...
- Setting up pkg-config:amd64 (1.8.1-2build1) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.4) ...
2025-06-17 20:29.05 ---> saved as "b90b93d5531804064c97d77f8af47f105aeef3b9d04d9a464b838bb173d1261c"
/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.19.1
- install dune-configurator 3.19.1
- install integers 0.7.0
- install lwt 5.9.1
- 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.1 (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.19.1, dune-configurator.3.19.1 (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed dune.3.19.1
-> 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.19.1
-> installed lwt.5.9.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-17 20:30.17 ---> saved as "b0efdef081d9bc9cd8e8a8f553b041ce94712f6a0e3f8d1f268093e39817bea0"
/src: (copy (src .) (dst /src))
2025-06-17 20:30.18 ---> saved as "979207ba7f20d86d945297044994c766e858e736c1982f3cbb62e7116fb38286"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-06-17 20:30.19 ---> saved as "87628084ffb184411bddbfee4ed086128b56c0c6233f065b9ca87ee631766887"
Job succeeded
2025-06-17 20:30.19: Job succeeded