Organisationssanettegl-legacy0d955c ()debian-11-5.3_opam-2.4

debian-11-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-09-23 07:16.32: New job: test sanette/gl-legacy https://github.com/sanette/gl-legacy.git#refs/heads/main (0d955c2a5acf39946f7cd93f83b6479802be9613) (linux-x86_64:debian-11-5.3_opam-2.4)
Base: ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/gl-legacy.git" -b "main" && cd "gl-legacy" && git reset --hard 0d955c2a
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4
# debian-11-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 gl-legacy.opam ./
RUN opam pin add -yn gl-legacy.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y gl-legacy.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-09-23 07:16.32: Using cache hint "sanette/gl-legacy-ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4-debian-11-5.3_opam-2.4-b38fc5a688352a8aa7d0afb848d394ad"
2025-09-23 07:16.32: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4)
(comment debian-11-5.3_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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src gl-legacy.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn gl-legacy.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 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 gl-legacy.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-09-23 07:16.32: Waiting for resource in pool OCluster
2025-09-23 07:16.32: Waiting for worker…
2025-09-23 07:16.32: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 0d955c2 add devopts


(from ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4)
Unable to find image 'ocaml/opam:debian-11-ocaml-5.3@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4' locally
docker.io/ocaml/opam@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4: Pulling from ocaml/opam
03b89cf7ea2e: Pulling fs layer
62acbc304f7d: Pulling fs layer
052317663a7c: Pulling fs layer
27e590140c70: Pulling fs layer
11abd46ac8ef: Pulling fs layer
c426267e29e5: Pulling fs layer
cd9df5d48b7f: Pulling fs layer
823094e9358b: Pulling fs layer
cd9df5d48b7f: Waiting
27e590140c70: Waiting
11abd46ac8ef: Waiting
c426267e29e5: Waiting
823094e9358b: Waiting
62acbc304f7d: Verifying Checksum
62acbc304f7d: Download complete
052317663a7c: Verifying Checksum
052317663a7c: Download complete
27e590140c70: Verifying Checksum
27e590140c70: Download complete
c426267e29e5: Verifying Checksum
c426267e29e5: Download complete
cd9df5d48b7f: Verifying Checksum
cd9df5d48b7f: Download complete
823094e9358b: Verifying Checksum
823094e9358b: Download complete
11abd46ac8ef: Verifying Checksum
11abd46ac8ef: Download complete
03b89cf7ea2e: Verifying Checksum
03b89cf7ea2e: Download complete
03b89cf7ea2e: Pull complete
62acbc304f7d: Pull complete
052317663a7c: Pull complete
27e590140c70: Pull complete
11abd46ac8ef: Pull complete
c426267e29e5: Pull complete
cd9df5d48b7f: Pull complete
823094e9358b: Pull complete
Digest: sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4
Status: Downloaded newer image for ocaml/opam@sha256:d22ca7442798dbbf8f67cf30ddcad95b123af4815bf71f15a1e3b77ac03c63f4
2025-09-23 07:16.33 ---> using "aecf21de7093771dcd4921d5bf691dc9303081df1bf9c9c43966805889cd1304" from cache


/: (comment debian-11-5.3_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-09-23 07:16.33 ---> using "6953879d6c76a9fc0c641d7869dd6e24d0cde89dd1be7cb44b09e8abf4624314" 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-09-23 07:16.33 ---> using "7600f0d514b303110dc6d3ab07113df124ae8cba62b508f8ea6da4e38403529b" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-153-generic
The OCaml toplevel, version 5.3.0
2.4.1
2025-09-23 07:16.33 ---> using "54743e99253f61499bcb5d426bf2de41046d174bc5468c2826bb6397d1984ef3" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-23 07:16.33 ---> using "d0f46657015c9dd8bb340311f07fa8ab0c09a977e4413cab1a6dca7da3c0e0a0" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee24528071..3f21ebe342  master     -> origin/master
6ef6813522 Merge pull request #28449 from dra27/ocaml-compiler-msvc


<><> 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-09-23 07:16.33 ---> using "e4bd32da6638392e99c4b2ef94c1b74153f6a2cce8e695a5cd68a46d874de08d" from cache


/src: (copy (src gl-legacy.opam) (dst ./))
2025-09-23 07:16.33 ---> saved as "499180045fc76e8c6a7dfbb9b02d2236fddd5473ce212091fd56ad9909b00a9f"


/src: (run (network host)
(shell "opam pin add -yn gl-legacy.dev './'"))
[NOTE] Package gl-legacy does not exist in opam repositories registered in the current switch.
[gl-legacy.dev] synchronised (file:///src)
gl-legacy is now pinned to file:///src (version dev)
2025-09-23 07:16.34 ---> saved as "596e124c1470fb626aef60b2384413382d18b9d56db09fbc873db9075fa09121"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-23 07:16.35 ---> saved as "eca5dd14113818eb308b54523075839da9657c7c05391200b56f01e659a552ee"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 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 gl-legacy.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [406 kB]
- Fetched 433 kB in 1s (671 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[gl-legacy.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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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-dev pkg-config


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libffi-dev: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 ... 18367 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.3-6_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.3-6) ...
- Selecting previously unselected package libglib2.0-0:amd64.
- Preparing to unpack .../1-libglib2.0-0_2.66.8-1+deb11u6_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.66.8-1+deb11u6) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../2-libglib2.0-data_2.66.8-1+deb11u6_all.deb ...
- Unpacking libglib2.0-data (2.66.8-1+deb11u6) ...
- Selecting previously unselected package libicu67:amd64.
- Preparing to unpack .../3-libicu67_67.1-7+deb11u1_amd64.deb ...
- Unpacking libicu67:amd64 (67.1-7+deb11u1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../4-libxml2_2.9.10+dfsg-6.7+deb11u8_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-6.7+deb11u8) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../5-pkg-config_0.29.2-1_amd64.deb ...
- Unpacking pkg-config (0.29.2-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../6-shared-mime-info_2.0-1_amd64.deb ...
- Unpacking shared-mime-info (2.0-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../7-xdg-user-dirs_0.17-2_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2) ...
- Setting up libicu67:amd64 (67.1-7+deb11u1) ...
- Setting up xdg-user-dirs (0.17-2) ...
- Setting up libglib2.0-0:amd64 (2.66.8-1+deb11u6) ...
- No schema files found: doing nothing.
- Setting up libffi-dev:amd64 (3.3-6) ...
- Setting up libglib2.0-data (2.66.8-1+deb11u6) ...
- Setting up pkg-config (0.29.2-1) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-6.7+deb11u8) ...
- Setting up shared-mime-info (2.0-1) ...
- Processing triggers for libc-bin (2.31-13+deb11u13) ...
2025-09-23 07:16.47 ---> saved as "65e3ad8a2988d26b9ceef591814512a02aa141f660af50e4b4150c652b32626b"


/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.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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 10 packages
- install bigarray-compat   1.1.0
- install conf-libffi       2.0.0
- install conf-pkg-config   4
- install csexp             1.5.2
- install ctypes            0.23.0
- install ctypes-foreign    0.23.0
- install dune              3.20.2
- install dune-configurator 3.20.2
- install integers          0.7.0
- install stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0  (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0  (cached)
-> installed conf-libffi.2.0.0
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.23.0
-> installed ctypes-foreign.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-09-23 07:17.24 ---> saved as "04cc549d057415e6e306731bdf27f37f0211f006563816e2891542b544510957"


/src: (copy (src .) (dst /src))
2025-09-23 07:17.24 ---> saved as "c1dc2d365850184ba93a969ec0eb9a7542b93963daddd22d5ccf1497126af44f"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "bin/dune", line 3, characters 12-16:
3 |  (libraries tsdl gl_legacy))
^^^^
Error: Library "tsdl" not found.
-> required by _build/default/bin/example.exe
-> required by alias bin/runtest-example in bin/dune:2
-> required by alias bin/runtest
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-09-23 07:17.25: Job failed: Failed: Build failed