Organisationssanettetsdl-ttfedb9b9 (master)debian-12-4.03_opam-2.1

debian-12-4.03_opam-2.1

Link Copied
Code Copied

Logs

2024-04-30 09:18.46: New job: test sanette/tsdl-ttf https://github.com/sanette/tsdl-ttf.git#refs/heads/master (edb9b925c0ddf4dd00fb90ef67c7132b7ee351f6) (linux-x86_64:debian-12-4.03_opam-2.1)
Base: ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/tsdl-ttf.git" -b "master" && cd "tsdl-ttf" && git reset --hard edb9b925
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
# debian-12-4.03_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.1 /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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 tsdl-ttf.opam ./
RUN opam pin add -yn tsdl-ttf.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-ttf.1 csexp.1.5.2 ctypes.0.20.2 ctypes-foreign.0.18.0 dune.3.15.2 dune-configurator.2.9.3 integers.0.7.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.5 stdlib-shims.0.3.0 topkg.1.0.4 tsdl.0.9.8"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y tsdl-ttf.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


2024-04-30 09:18.46: Using cache hint "sanette/tsdl-ttf-ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea-debian-12-4.03_opam-2.1-3b67644b1f0ac313f3819aa9a92ce209"
2024-04-30 09:18.46: Using OBuilder spec:
((from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
 (comment debian-12-4.03_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src tsdl-ttf.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn tsdl-ttf.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-ttf.1 csexp.1.5.2 ctypes.0.20.2 ctypes-foreign.0.18.0 dune.3.15.2 dune-configurator.2.9.3 integers.0.7.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.5 stdlib-shims.0.3.0 topkg.1.0.4 tsdl.0.9.8")
 (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.1 --depext-only -y tsdl-ttf.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"))
)


2024-04-30 09:18.46: Waiting for resource in pool OCluster
2024-04-30 22:17.27: Waiting for worker…
2024-04-30 22:22.26: Got resource from pool OCluster
Building on x86-bm-c18.sw.ocaml.org
All commits already cached
HEAD is now at edb9b92 version 0.6


(from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
2024-04-30 22:23.00 ---> saved as "5e746ce75e4437cb8305c3242b0b72bc201345168ee5141ebd6738538e1ece83"


/: (comment debian-12-4.03_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-30 22:23.00 ---> saved as "17730712d481f6de6d87f039733a29f54bc236fb415a7ed1b4487ab1828fae07"


/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.1, 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] synchronised from file:///home/opam/opam-repository
2024-04-30 22:24.25 ---> saved as "0daf33aedad7fb282aaac6c7833940bdb15b54d88d76fff8c6981e24105988f0"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.03.0
2.1.5
2024-04-30 22:24.25 ---> saved as "8ba57746c1588e360057937b5f9571685bd8a781186d299d6c3ac306404d108c"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-30 22:24.26 ---> saved as "8a972db9ab987a0f7ac5a95a1c0017fef21f56ba02eb320ff0446f680f19bec7"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 042d5efee9551e35990b2e8d849a354d082857d1 || git fetch origin master) && git reset -q --hard 042d5efee9551e35990b2e8d849a354d082857d1 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   fa727ddb20..bafea8d973  master     -> origin/master
042d5efee9 [new release] dune (15 packages) (3.15.2)


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from 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.
# Run eval $(opam env) to update the current shell environment
2024-04-30 22:25.44 ---> saved as "3b51c1434da9b893b19b4b7df6308ecb19d4b2d9f154f110ee0f30ecf771834f"


/src: (copy (src tsdl-ttf.opam) (dst ./))
2024-04-30 22:25.44 ---> saved as "daa83e447fb4cf9ce208737cc924fcfddb2177618519ed15243c1f3cc8c7299b"


/src: (run (network host)
           (shell "opam pin add -yn tsdl-ttf.dev './'"))
[tsdl-ttf.dev] synchronised (file:///src)
tsdl-ttf is now pinned to file:///src (version dev)
2024-04-30 22:25.46 ---> saved as "ac9d6d4e241635185a7c14ed9450c47ac7d1e9c64d03b84b461ca92a9d5206cf"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-ttf.1 csexp.1.5.2 ctypes.0.20.2 ctypes-foreign.0.18.0 dune.3.15.2 dune-configurator.2.9.3 integers.0.7.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocaml-secondary-compiler.4.08.1-1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlfind-secondary.1.9.6 result.1.5 stdlib-shims.0.3.0 topkg.1.0.4 tsdl.0.9.8")


/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.1 --depext-only -y tsdl-ttf.dev $DEPS"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [10.6 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-04-23-2036.10-F-2024-04-23-2036.10.pdiff [1595 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [155 kB]
- Fetched 270 kB in 0s (649 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[tsdl-ttf.dev] synchronised (no changes)


[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-bigarray is already installed (current version is base).


The following system packages will first need to be installed:
    libffi-dev libsdl2-dev libsdl2-ttf-dev pkg-config


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "libsdl2-dev" "libsdl2-ttf-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed


- Regenerating fonts cache... 


2024-04-30 22:26.36 ---> saved as "61cc148f8090a27b44d838fd53487304c028694974b74758db66b1d5d7c61277"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-secondary-compiler is already installed (current version is 4.08.1-1).
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.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-bigarray is already installed (current version is base).
The following actions will be performed:
  - install ocamlbuild          0.14.3
  - install conf-pkg-config     3
  - install ocamlfind           1.9.6
  - install conf-sdl2-ttf       1
  - install conf-sdl2           1
  - install conf-libffi         2.0.0
  - install topkg               1.0.4
  - install ocamlfind-secondary 1.9.6
  - install ctypes-foreign      0.18.0
  - install dune                3.15.2
  - install stdlib-shims        0.3.0
  - install result              1.5
  - install csexp               1.5.2
  - install bigarray-compat     1.1.0
  - install integers            0.7.0
  - install dune-configurator   2.9.3
  - install ctypes              0.20.2
  - install tsdl                0.9.8
===== 18 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved ctypes.0.20.2  (cached)
-> installed conf-pkg-config.3
-> retrieved integers.0.7.0  (cached)
-> installed conf-libffi.2.0.0
-> installed ctypes-foreign.0.18.0
-> installed conf-sdl2.1
-> installed conf-sdl2-ttf.1
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlfind-secondary.1.9.6  (cached)
-> retrieved result.1.5  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.4  (cached)
-> retrieved tsdl.0.9.8  (cached)
-> retrieved dune-configurator.2.9.3  (cached)
-> retrieved dune.3.15.2  (cached)
-> installed ocamlbuild.0.14.3
-> installed ocamlfind.1.9.6
-> installed ocamlfind-secondary.1.9.6
-> installed topkg.1.0.4
-> installed dune.3.15.2
-> installed result.1.5
-> 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.2.9.3
-> installed ctypes.0.20.2
-> installed tsdl.0.9.8
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-30 22:27.58 ---> saved as "2cca47c3fc327f41335566be70e15abf8aeaea4b3b059170f33a08da3121fce8"


/src: (copy (src .) (dst /src))
2024-04-30 22:27.58 ---> saved as "15d0e2e0b3532b08e199bf9a6f8fec863e384abe33ac4a099a50780b09c82af3"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./show_string.exe)
Dummy video driver
2024-04-30 22:27.58 ---> saved as "d4d29c7bb299e8933ed119a156c34a3ce4e82a133b5cc4d4ca6906eb7afabec0"
Job succeeded
2024-04-30 22:27.59: Job succeeded