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

opensuse-15.6-5.4_opam-2.4

Link Copied
Code Copied

Logs

2025-10-27 22:42.50: 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.4)
Base: ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97
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:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97
# opensuse-15.6-5.4_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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && 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.20.2 dune-configurator.3.20.2 integers.0.7.0 lwt.5.9.2 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.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-27 22:42.50: Using cache hint "avsm/ocaml-ctypes-ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97-opensuse-15.6-5.4_opam-2.4-53e41b37fa9b47be6d3808505142edcb"
2025-10-27 22:42.50: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97)
(comment opensuse-15.6-5.4_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 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && 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.20.2 dune-configurator.3.20.2 integers.0.7.0 lwt.5.9.2 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.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-27 22:42.50: Waiting for resource in pool OCluster
2025-10-28 00:00.29: Waiting for worker…
2025-10-28 00:19.35: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 8e58a54 ctypes-foreign: add win32 depext


(from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97' locally
docker.io/ocaml/opam@sha256:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97: Pulling from ocaml/opam
fc8a24cc533c: Pulling fs layer
90cd161318ac: Pulling fs layer
a6ee25031616: Pulling fs layer
388350438afb: Pulling fs layer
10cb99b51569: Pulling fs layer
a6e883ede098: Pulling fs layer
fc8a24cc533c: Waiting
2c40aeca1b5f: Pulling fs layer
ee8a2db70249: Pulling fs layer
a6e883ede098: Waiting
2c40aeca1b5f: Waiting
ee8a2db70249: Waiting
10cb99b51569: Waiting
90cd161318ac: Verifying Checksum
90cd161318ac: Download complete
a6ee25031616: Verifying Checksum
a6ee25031616: Download complete
388350438afb: Verifying Checksum
388350438afb: Download complete
10cb99b51569: Verifying Checksum
10cb99b51569: Download complete
a6e883ede098: Download complete
2c40aeca1b5f: Download complete
ee8a2db70249: Download complete
fc8a24cc533c: Verifying Checksum
fc8a24cc533c: Download complete
fc8a24cc533c: Pull complete
90cd161318ac: Pull complete
a6ee25031616: Pull complete
388350438afb: Pull complete
10cb99b51569: Pull complete
a6e883ede098: Pull complete
2c40aeca1b5f: Pull complete
ee8a2db70249: Pull complete
Digest: sha256:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97
Status: Downloaded newer image for ocaml/opam@sha256:1c982b8e935613488ca327cafdf3cbfc336773f6c28e0c189ba034de067dba97
2025-10-28 00:19.35 ---> using "ae1cf7874d1348db516956c3b0f04d2e72f623ebde5436869fa3fbfc5bad9e6d" from cache


/: (comment opensuse-15.6-5.4_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-28 00:19.35 ---> using "bcdc17b3ac77279cc0d22245f3d4882045d63fca79a0088cf9f8b9a4bdad354d" 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-28 00:19.35 ---> using "bb715596ca145bfa6cd68223417ee352ad0ffd2c5802210c32b1340ab12475ac" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-157-generic
The OCaml toplevel, version 5.4.0
2.4.1
2025-10-28 00:19.35 ---> using "2ad2a6ec92abda11867bb601b151ab3e60260ae1cdefbdf9cbd2c57a5f276391" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-28 00:19.35 ---> using "666d928111f3644c7d7e3ce175c6d1dee44967a51cf2d50712c3e9353eaaccc6" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 7f9c784b97b368cd82ee80890d9866b8e66b7c1b || git fetch origin master) && git reset -q --hard 7f9c784b97b368cd82ee80890d9866b8e66b7c1b && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
5bf570252b..7f9c784b97  master     -> origin/master
7f9c784b97 Merge pull request #28787 from ocaml/mseri-patch-1


<><> 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)
2025-10-28 00:19.35 ---> using "9d4cc55ada4a1fc4a3df567e98b26f1b660e425749581b7b857ed337c29c659a" from cache


/src: (copy (src ctypes.opam ctypes-foreign.opam) (dst ./))
2025-10-28 00:19.35 ---> saved as "386995393a723b35ff741c8f5845ff0af6277154488c06d01d6817b3c3bd60b3"


/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-28 00:19.37 ---> saved as "e822ddcfba939942367f6aa57e78b3b344945533dff7bbdd22bec13d3687d94a"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-28 00:19.37 ---> saved as "c5c32285d4328d3c14a2864df189f3344aeece9c0849a1b1011210dcad790593"


/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.20.2 dune-configurator.3.20.2 integers.0.7.0 lwt.5.9.2 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.4 --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]
- Repository 'Update Repository (Non-Oss)' is up to date.
- 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]
2025-10-28 00:20.40 ---> saved as "c41081ec0705c8a65b5163a86142310081eb7d2fc0c96251be1997941face642"


/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.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 csexp.1.5.2
-> installed cppo.1.8.0
-> installed stdlib-shims.0.3.0
-> installed ocplib-endian.1.2
-> installed integers.0.7.0
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed dune-configurator.3.20.2
-> installed lwt.5.9.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-28 00:21.14 ---> saved as "79af0263831d7c3c33271b25d2f5d83eea5f08e6cd2a825a492ce3f9912c4ac4"


/src: (copy (src .) (dst /src))
2025-10-28 00:21.15 ---> saved as "ef6429762a67a4b287e4de42bfa6432173e9aaa28ffb48808c308c6110c5bfd3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-28 00:21.15 ---> saved as "4f6025c82149f4d6a0daa2b5f26849d7cb741823c65c47aa8736148de50ed08a"
Job succeeded
2025-10-28 00:21.15: Job succeeded