Organisationsavsmocaml-ctypes8e58a5 (master)opensuse-15.6-5.4_opam-2.5

opensuse-15.6-5.4_opam-2.5

Link Copied
Code Copied

Logs

2026-01-16 13:58.00: New job: test avsm/ocaml-ctypes https://github.com/avsm/ocaml-ctypes.git#refs/heads/master (8e58a54e3d8b4657e856570ffecf4941d8d676ab) (linux-x86_64:opensuse-15.6-5.4_opam-2.5)
Base: ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e
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:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e
# opensuse-15.6-5.4_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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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 13:58.00: Using cache hint "avsm/ocaml-ctypes-ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e-opensuse-15.6-5.4_opam-2.5-5c32101c3572180caa0ddc92a1380dfa"
2026-01-16 13:58.00: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e)
(comment opensuse-15.6-5.4_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-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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 13:58.00: Waiting for resource in pool OCluster
2026-01-16 17:37.07: Waiting for worker…
2026-01-16 17:41.04: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 8e58a54 ctypes-foreign: add win32 depext


(from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e' locally
docker.io/ocaml/opam@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e: Pulling from ocaml/opam
bda279763dd4: Already exists
3c0ad83811e0: Already exists
993a24bb2a91: Already exists
2361a40c83ee: Already exists
eb940a926d29: Already exists
706b78ba2c28: Already exists
8d31a58854d5: Already exists
88ff135c9e24: Already exists
20b7fd69972e: Already exists
de3ebe8e9aa0: Already exists
a3d2c9773717: Already exists
5e9f2456efd2: Already exists
75590365950e: Already exists
c77c8680ed71: Already exists
47e6b543e314: Already exists
e2884a169069: Already exists
fa121332de89: Already exists
28995ffe8f0e: Already exists
28995ffe8f0e: Already exists
4f4fb700ef54: Already exists
4f9440c5ea6c: Already exists
3888436df689: Already exists
7d6a7e5eeb4b: Already exists
70c75d201502: Already exists
d7fc77799b19: Already exists
769c169e20e5: Already exists
384c31d15508: Already exists
2ab704f88309: Already exists
ba5471b75ac5: Already exists
8a397a786bf2: Already exists
d0efcce756ae: Already exists
c550c123b37a: Already exists
6b2dc5f63275: Already exists
a2abff838657: Already exists
b64a70232a2d: Already exists
b3f01f597b41: Already exists
5d8330d550d8: Already exists
bc391a03af1f: Already exists
7c1b08c573c8: Already exists
7c6876ae0e45: Already exists
1b02ca60eb9e: Already exists
5cd2941e22cf: Already exists
58801b6ee8b3: Already exists
f8a036148965: Already exists
dfb0fe3de6b9: Already exists
Digest: sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e
Status: Downloaded newer image for ocaml/opam@sha256:d264460107c6d3e2f8985a5d118e650e094a56cfa6e08e5863583cb27018057e
2026-01-16 17:41.04 ---> using "28b3298281fb409c07f0d4d506c2c35a70f345c5fce05d1013d4fc371b3d3230" from cache


/: (comment opensuse-15.6-5.4_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 17:41.04 ---> using "93e2788d91fce7a43a25684b8a2e1fd65d4fe739480f3f24b17eb31c954bc9cc" 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
2026-01-16 17:41.04 ---> using "5abc49481029ab2da50d2e23b1e3e8fb248af78243612dbe8f8c502a027e3606" from cache


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


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2026-01-16 17:41.04 ---> using "33b86cced88aec2c6e267f93f5236ee331ed0e83fe5b19cbc29e10c8c377e8ba" 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
a6b2f19780..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


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2026-01-16 17:41.04 ---> using "4233249696fe4bce9ede0a13e705a276e3a7700db0ec4979b5f10f5efcbf19b6" from cache


/src: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
2026-01-16 17:41.05 ---> saved as "90cb0f13cfe39dbb3f7075c689d7dfaa0219b76a5b6fd383dfd514d52aa2c7f6"


/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-01-16 17:41.09 ---> saved as "8a44a0c0390feaa49066280197f3a1f97fe5556714eb43778efef6d16029a51b"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2026-01-16 17:41.09 ---> saved as "66650126b31858502139c6329e06c41118f9a52484383c1d3b519c1a77fbb02a"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.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.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-config.3 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 "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [.
- .
- Looking for gpg keys in repository Update repository of openSUSE Backports.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ............
- ..........
- ....done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [..
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- ....
- ....
- ....
- ....
- ....
- ....
- ....
- ....
- ....
- ............
- ..........
- .........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- .........
- ..........
- .........
- ..........
- ..........
- ..........
- .........
- ..........
- ..........
- ..........
- ..........
- ......
- .......
- .........
- .........
- .......
- done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Retrieving repository 'Main Update Repository' metadata [.
- .
- Looking for gpg keys in repository Main Update Repository.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/oss/repodata/repomd.xml.key
- .
- .....
- ....
- ....
- ....
- .....
- ......
- ....
- ....
- ...........done]
- Building repository 'Main Update Repository' cache [..
- ..done]
- Retrieving repository 'Update Repository (Non-Oss)' metadata [..
- Looking for gpg keys in repository Update Repository (Non-Oss).
-   gpgkey=http://download.opensuse.org/update/leap/15.6/non-oss/repodata/repomd.xml.key
- ..
- ....
- ....
- ....
- ....
- ........
- ..........done]
- Building repository 'Update Repository (Non-Oss)' cache [....done]
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.


<><> 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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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:
libffi-devel


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


+ /usr/bin/sudo "zypper" "--non-interactive" "install" "libffi-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
- 
- The following NEW package is going to be installed:
-   libffi-devel
- 
- 1 new package to install.
- 
- Package download size:    26.7 KiB
- 
- Package install size change:
-               |      29.1 KiB  required by packages that will be installed
-     29.1 KiB  |  -      0 B    released by packages that will be removed
- 
- Backend:  classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: libffi-devel-3.2.1.git259-10.8.x86_64 (Main Repository) (1/1),  26.7 KiB
- Retrieving: libffi-devel-3.2.1.git259-10.8.x86_64.rpm [.....
- ....
- ....
- ....
- ....
- ....
- ....
- .done]
- 
- Checking for file conflicts: [..done]
- (1/1) Installing: libffi-devel-3.2.1.git259-10.8.x86_64 [..done]
# To update the current shell environment, run: eval $(opam env)
2026-01-16 17:43.53 ---> saved as "a43bacf0dde78fdb4f211138e2b862f92e13b071efb851c6ac89190b9b67f9f2"


/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.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.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 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 ounit.2.2.7, ounit2.2.2.7  (cached)
-> retrieved stdlib-shims.0.3.0  (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 17:45.37 ---> saved as "e5c9dd5fc624b1a87943cf0bfa7cab06b0ff4afeb686a6b3fc4f1757c9be2d57"


/src: (copy (src .) (dst /src))
2026-01-16 17:45.37 ---> saved as "655c1e0be58977dd72c90387a109deb249fc4e20b9389b602815cdd0938b47c3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2026-01-16 17:45.38 ---> saved as "734c24573e0dae331f157d6df41f0fffa2a7bf8fd6030b97ac31138c15969455"
Job succeeded
2026-01-16 17:45.38: Job succeeded