Organisationssanetteoplotb4639f (master)debian-12-4.10_opam-2.1

debian-12-4.10_opam-2.1

Link Copied
Code Copied

Logs

2024-05-14 21:20.37: New job: test sanette/oplot https://github.com/sanette/oplot.git#refs/heads/master (b4639f010b83c88c0d1340b57775f4f481362a86) (linux-x86_64:debian-12-4.10_opam-2.1)
Base: ocaml/opam@sha256:980425fd21b39a87f66ee400aabb93d373a1f5d58e0fa878f7800212cb31d30f
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/oplot.git" -b "master" && cd "oplot" && git reset --hard b4639f01
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:980425fd21b39a87f66ee400aabb93d373a1f5d58e0fa878f7800212cb31d30f
# debian-12-4.10_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 c1bf247e3384f45e503dbb89dea9af63114b085f || git fetch origin master) && git reset -q --hard c1bf247e3384f45e503dbb89dea9af63114b085f && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 oplot.opam ./
RUN opam pin add -yn oplot.dev './'
ENV DEPS="astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 bos.0.2.1 camlp-streams.5.0.1 camlp5.8.02.01 camlp5-buildscripts.0.03 conf-bash.1 conf-freeglut.1 conf-libffi.2.0.0 conf-libgl.1 conf-libglu.1 conf-m4.1 conf-perl.2 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 conf-which.1 csexp.1.5.2 ctypes.0.22.0 ctypes-foreign.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 fpath.0.7.3 integers.0.7.0 lablgl.1.06 logs.0.7.0 not-ocamlfind.0.13 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlgraph.2.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 tsdl.1.0.0 tsdl-image.0.6 tsdl-ttf.0.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y oplot.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-05-14 21:20.37: Using cache hint "sanette/oplot-ocaml/opam@sha256:980425fd21b39a87f66ee400aabb93d373a1f5d58e0fa878f7800212cb31d30f-debian-12-4.10_opam-2.1-afea871e24842ebe52daf241cace2679"
2024-05-14 21:20.37: Using OBuilder spec:
((from ocaml/opam@sha256:980425fd21b39a87f66ee400aabb93d373a1f5d58e0fa878f7800212cb31d30f)
 (comment debian-12-4.10_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 c1bf247e3384f45e503dbb89dea9af63114b085f || git fetch origin master) && git reset -q --hard c1bf247e3384f45e503dbb89dea9af63114b085f && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src oplot.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn oplot.dev './'"))
 (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 bos.0.2.1 camlp-streams.5.0.1 camlp5.8.02.01 camlp5-buildscripts.0.03 conf-bash.1 conf-freeglut.1 conf-libffi.2.0.0 conf-libgl.1 conf-libglu.1 conf-m4.1 conf-perl.2 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 conf-which.1 csexp.1.5.2 ctypes.0.22.0 ctypes-foreign.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 fpath.0.7.3 integers.0.7.0 lablgl.1.06 logs.0.7.0 not-ocamlfind.0.13 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlgraph.2.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 tsdl.1.0.0 tsdl-image.0.6 tsdl-ttf.0.6")
 (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 oplot.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-05-14 21:20.37: Waiting for resource in pool OCluster
2024-05-15 16:46.08: Waiting for worker…
2024-05-15 16:49.46: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
HEAD is now at b4639f0 update doc v0.72


(from ocaml/opam@sha256:980425fd21b39a87f66ee400aabb93d373a1f5d58e0fa878f7800212cb31d30f)
2024-05-15 16:49.46 ---> using "3204dccede4ada7247031416c9a3ce5a65cccadc30366f79b6c482182a97c51f" from cache


/: (comment debian-12-4.10_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-05-15 16:49.46 ---> using "3e57c624baabfd19ffbb7e50c6eecda254001faf897cdcf552f3300f14e619a6" 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.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-05-15 16:49.46 ---> using "4e083d1f4ba1bf2248fc39e691f8442b387fb1a2da8f57ffbaf874743e9c8ee9" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-107-generic
The OCaml toplevel, version 4.10.2
2.1.5
2024-05-15 16:49.46 ---> using "0f7bbbaf1abbad3c4aed58361344336650bf916ab1c91b95da2bf12d52f65443" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-15 16:49.46 ---> using "1230dedce79894d75ad8974f12c65afda46dad21d15cdb907f7713181db7e9d6" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e c1bf247e3384f45e503dbb89dea9af63114b085f || git fetch origin master) && git reset -q --hard c1bf247e3384f45e503dbb89dea9af63114b085f && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   eb2dcab0d8..0dc68a8b92  master     -> origin/master
c1bf247e33 Merge pull request #25794 from chetmurthy/release-not-ocamlfind-0.13


<><> 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-05-15 16:51.29 ---> saved as "82d786b167cb49daeba67da72f00d4e823687f0419685d19c6ed0376cd0979ef"


/src: (copy (src oplot.opam) (dst ./))
2024-05-15 16:51.30 ---> saved as "3d486bf41fa65b0bb5b4ed1833ab521f37a3397a772e19b5a9209499cbf01611"


/src: (run (network host)
           (shell "opam pin add -yn oplot.dev './'"))
[oplot.dev] synchronised (file:///src)
oplot is now pinned to file:///src (version dev)
2024-05-15 16:51.32 ---> saved as "ebdb9b0439318f22fab16f54436ea94de7d9eedb8b8caefc75ce5ef9d4dac384"


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bigarray-compat.1.1.0 bos.0.2.1 camlp-streams.5.0.1 camlp5.8.02.01 camlp5-buildscripts.0.03 conf-bash.1 conf-freeglut.1 conf-libffi.2.0.0 conf-libgl.1 conf-libglu.1 conf-m4.1 conf-perl.2 conf-pkg-config.3 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 conf-which.1 csexp.1.5.2 ctypes.0.22.0 ctypes-foreign.0.22.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 fpath.0.7.3 integers.0.7.0 lablgl.1.06 logs.0.7.0 not-ocamlfind.0.13 ocaml.4.10.2 ocaml-base-compiler.4.10.2 ocaml-config.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocamlgraph.2.1.0 re.1.11.0 rresult.0.7.0 seq.base stdlib-shims.0.3.0 topkg.1.0.7 tsdl.1.0.0 tsdl-image.0.6 tsdl-ttf.0.6")


/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 oplot.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-security bookworm-security/main amd64 Packages [156 kB]
- Fetched 259 kB in 0s (870 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[oplot.dev] synchronised (no changes)


[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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:
    freeglut3-dev libffi-dev libglu1-mesa-dev libsdl2-dev libsdl2-image-dev libsdl2-ttf-dev m4 mesa-common-dev pkg-config xdot


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


- Regenerating fonts cache... 


2024-05-15 16:52.32 ---> saved as "729a10829d0e252cef40d270c40d2fbf19795a286a41bbe9a30a1b653821caf9"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "opam install $DEPS"))
[NOTE] Package ocaml-config is already installed (current version is 1).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.10.2).
[NOTE] Package ocaml is already installed (current version is 4.10.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 conf-freeglut       1
  - install ocamlbuild          0.14.3
  - install conf-bash           1
  - install conf-m4             1
  - install ocamlfind           1.9.6
  - install seq                 base
  - install conf-libgl          1
  - install conf-perl           2
  - install conf-pkg-config     3
  - install dune                3.15.2
  - install conf-which          1
  - install topkg               1.0.7
  - install conf-sdl2-ttf       1
  - install conf-sdl2-image     1
  - install conf-sdl2           1
  - install conf-libglu         1
  - install conf-libffi         2.0.0
  - install stdlib-shims        0.3.0
  - install re                  1.11.0
  - install csexp               1.5.2
  - install camlp-streams       5.0.1
  - install bigarray-compat     1.1.0
  - install rresult             0.7.0
  - install fmt                 0.9.0
  - install astring             0.8.5
  - install ocamlgraph          2.1.0
  - install integers            0.7.0
  - install dune-configurator   3.15.2
  - install logs                0.7.0
  - install fpath               0.7.3
  - install not-ocamlfind       0.13
  - install ctypes              0.22.0
  - install bos                 0.2.1
  - install ctypes-foreign      0.22.0
  - install camlp5-buildscripts 0.03
  - install tsdl                1.0.0
  - install camlp5              8.02.01
  - install tsdl-ttf            0.6
  - install tsdl-image          0.6
  - install lablgl              1.06
===== 40 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> installed conf-freeglut.1
-> installed conf-libgl.1
-> retrieved camlp5-buildscripts.0.03  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-bash.1
-> installed conf-m4.1
-> installed conf-perl.2
-> installed conf-pkg-config.3
-> installed conf-which.1
-> retrieved ctypes.0.22.0  (cached)
-> retrieved camlp5.8.02.01  (https://github.com/camlp5/camlp5/archive/refs/tags/8.02.01.tar.gz)
-> retrieved ctypes-foreign.0.22.0  (cached)
-> installed conf-libffi.2.0.0
-> installed conf-libglu.1
-> installed conf-sdl2.1
-> installed conf-sdl2-image.1
-> installed conf-sdl2-ttf.1
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved dune.3.15.2  (cached)
-> retrieved dune-configurator.3.15.2  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved not-ocamlfind.0.13  (cached)
-> retrieved lablgl.1.06  (https://github.com/garrigue/lablgl/archive/v1.06.tar.gz)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved ocamlgraph.2.1.0  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved tsdl.1.0.0  (cached)
-> retrieved tsdl-image.0.6  (cached)
-> retrieved tsdl-ttf.0.6  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.15.2
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed camlp-streams.5.0.1
-> installed stdlib-shims.0.3.0
-> installed re.1.11.0
-> installed integers.0.7.0
-> installed dune-configurator.3.15.2
-> installed ocamlgraph.2.1.0
-> installed not-ocamlfind.0.13
-> installed camlp5-buildscripts.0.03
-> installed ctypes.0.22.0
-> installed ctypes-foreign.0.22.0
-> installed tsdl.1.0.0
-> installed tsdl-image.0.6
-> installed tsdl-ttf.0.6
-> installed camlp5.8.02.01
-> installed lablgl.1.06
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-15 16:56.02 ---> saved as "5caca7c5bd01a78479ac3c289f574a2d48998226a378d520629b0c0f7e28230d"


/src: (copy (src .) (dst /src))
2024-05-15 16:56.03 ---> saved as "4ccb08c2e8dcec48157fac567711e659fc3198d554ffde8a9b458b9f20359a52"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
(cd _build/default/test && ./test.exe)
WARNING: fig2ps not found. You will not be able to export to ps or pdf.
Output file: /tmp/build_95a5c7_dune/oplot9ef80c.fig
/bin/sh: 1: xdpyinfo: not found
/bin/sh: 1: xrandr: not found
/bin/sh: 1: xrandr: not found
2024-05-15 16:56.07 ---> saved as "1086c5654b6d29848bd417abffcee2f03c70d4b66b5f1d1bce3e131dde55a2ee"
Job succeeded
2024-05-15 16:56.08: Job succeeded