Organisationshannesmocaml-otreacf55 (main)debian-12-4.14_opam-2.1

debian-12-4.14_opam-2.1

Link Copied
Code Copied

Logs

2024-06-17 15:15.00: New job: test hannesm/ocaml-otr https://github.com/hannesm/ocaml-otr.git#refs/heads/main (eacf55e0a89918a0b8fa9a53a114b94bbd2de9b3) (linux-x86_64:debian-12-4.14_opam-2.1)
Base: ocaml/opam@sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/hannesm/ocaml-otr.git" -b "main" && cd "ocaml-otr" && git reset --hard eacf55e0
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9
# debian-12-4.14_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 2f8c856c809d3a0c04be402b6e739c3d0a45af1c || git fetch origin master) && git reset -q --hard 2f8c856c809d3a0c04be402b6e739c3d0a45af1c && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 otr.opam ./
RUN opam pin add -yn otr.dev './'
ENV DEPS="astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 conf-gmp.4 conf-gmp-powm-sec.3 csexp.1.5.2 cstruct.6.2.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mirage-crypto.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 sexplib0.v0.17.0 topkg.1.0.7 zarith.1.13"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y otr.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-06-17 15:15.00: Using cache hint "hannesm/ocaml-otr-ocaml/opam@sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9-debian-12-4.14_opam-2.1-0f197788f3313d6e924cf285f10b6a14"
2024-06-17 15:15.00: Using OBuilder spec:
((from ocaml/opam@sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9)
 (comment debian-12-4.14_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 2f8c856c809d3a0c04be402b6e739c3d0a45af1c || git fetch origin master) && git reset -q --hard 2f8c856c809d3a0c04be402b6e739c3d0a45af1c && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src otr.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn otr.dev './'"))
 (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 conf-gmp.4 conf-gmp-powm-sec.3 csexp.1.5.2 cstruct.6.2.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mirage-crypto.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 sexplib0.v0.17.0 topkg.1.0.7 zarith.1.13")
 (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 otr.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-06-17 15:15.00: Waiting for resource in pool OCluster
2024-06-19 18:01.08: Waiting for worker…
2024-06-19 18:07.16: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at eacf55e opam: conflict with result < 1.5


(from ocaml/opam@sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9)
Unable to find image 'ocaml/opam@sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9' locally
docker.io/ocaml/opam@sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9: Pulling from ocaml/opam
af61bfd215fd: Pulling fs layer
af61bfd215fd: Waiting
af61bfd215fd: Verifying Checksum
af61bfd215fd: Download complete
af61bfd215fd: Pull complete
Digest: sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9
Status: Downloaded newer image for ocaml/opam@sha256:b1b5c86671e240e2739dde67d4d327ee0cf89bebffa93dba45219ca98803b6f9
2024-06-19 18:34.42 ---> using "22327db6310a09cba259b432d92e6415ec493b48c740f0afcc0608b880e599e2" from cache


/: (comment debian-12-4.14_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-06-19 18:34.42 ---> using "8b26b694222c35c0323ccc00fb56d1f2304aa9db1f293dd8fcd7de04fdf74d3d" 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-06-19 18:34.42 ---> using "239d36fcea5a4663c32b8256fb0d74e2d697cce9586755692b094b542cc9c6b1" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-112-generic
The OCaml toplevel, version 4.14.2
2.1.6
2024-06-19 18:34.42 ---> using "7abd4d5aefa6fda42808cdf0e15340e37a301125bec3f3e61599cec3ebed684e" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-06-19 18:34.42 ---> using "1464beac9fe4ad6ef67877332a1231552ea01d4f7d2daa981731466331b2cd82" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 2f8c856c809d3a0c04be402b6e739c3d0a45af1c || git fetch origin master) && git reset -q --hard 2f8c856c809d3a0c04be402b6e739c3d0a45af1c && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   c45f5bab71..59c0c54934  master     -> origin/master
2f8c856c80 Merge pull request #26099 from hannesm/eqaf-bounds


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository


The following actions will be performed:
  - install   host-arch-x86_64      1
  - install   host-system-other     1
  - recompile ocaml-options-vanilla 1       [upstream or system changes]
  - recompile ocaml-base-compiler   4.14.2* [upstream or system changes]
  - recompile ocaml-config          2       [upstream or system changes]
  - recompile ocaml                 4.14.2  [uses ocaml-base-compiler, ocaml-config]
  - recompile opam-depext           1.2.1-1 [uses ocaml]
===== 2 to install | 5 to recompile =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocaml-config.2  (cached)
-> removed   ocaml-options-vanilla.1
-> installed host-arch-x86_64.1
-> installed host-system-other.1
-> installed ocaml-options-vanilla.1
-> retrieved opam-depext.1.2.1-1  (cached)
-> retrieved ocaml-base-compiler.4.14.2  (cached)
-> removed   opam-depext.1.2.1-1
-> removed   ocaml.4.14.2
-> removed   ocaml-config.2
-> removed   ocaml-base-compiler.4.14.2
-> installed ocaml-base-compiler.4.14.2
-> installed ocaml-config.2
-> installed ocaml.4.14.2
-> installed opam-depext.1.2.1-1
Done.


<><> opam-depext.1.2.1-1 installed successfully <><><><><><><><><><><><><><><><>
=> opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead
# Run eval $(opam env) to update the current shell environment
2024-06-19 18:34.42 ---> using "12f4b966f8f5814e981b5d3f55e89a2d0d9c65b90c3456cf01e8246a87ddad20" from cache


/src: (copy (src otr.opam) (dst ./))
2024-06-19 18:34.42 ---> saved as "1f81c04ed275a08eed3eb9acc79f24cbc7d6cec1395f70fafe03368451cb35f1"


/src: (run (network host)
           (shell "opam pin add -yn otr.dev './'"))
[otr.dev] synchronised (file:///src)
otr is now pinned to file:///src (version dev)
2024-06-19 18:34.44 ---> saved as "49cfee3c0dcabd3abb737854a35be274c31db432b62118eb22134b0012512e9b"


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-threads.base base-unix.base base64.3.5.1 conf-gmp.4 conf-gmp-powm-sec.3 csexp.1.5.2 cstruct.6.2.0 dune.3.16.0 dune-configurator.3.16.0 duration.0.2.1 eqaf.0.9 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 logs.0.7.0 mirage-crypto.0.11.3 mirage-crypto-pk.0.11.3 mirage-crypto-rng.0.11.3 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 sexplib0.v0.17.0 topkg.1.0.7 zarith.1.13")


/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 otr.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 [160 kB]
- Fetched 263 kB in 0s (783 kB/s)
- Reading package lists...


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


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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:
    libgmp-dev


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


2024-06-19 18:34.57 ---> saved as "0f68390705b263b100f7e9653b6feb3d5ee22df3788c266c73eacd7445e01083"


/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 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-gmp          4
  - install dune              3.16.0
  - install ocamlfind         1.9.6
  - install conf-gmp-powm-sec 3
  - install sexplib0          v0.17.0
  - install duration          0.2.1
  - install csexp             1.5.2
  - install base64            3.5.1
  - install zarith            1.13
  - install topkg             1.0.7
  - install dune-configurator 3.16.0
  - install fmt               0.9.0
  - install astring           0.8.5
  - install logs              0.7.0
  - install cstruct           6.2.0
  - install eqaf              0.9
  - install mirage-crypto     0.11.3
  - install mirage-crypto-rng 0.11.3
  - install mirage-crypto-pk  0.11.3
===== 20 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.4
-> retrieved cstruct.6.2.0  (cached)
-> installed conf-gmp-powm-sec.3
-> retrieved duration.0.2.1  (cached)
-> retrieved eqaf.0.9  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved dune.3.16.0  (cached)
-> retrieved dune-configurator.3.16.0  (cached)
-> retrieved mirage-crypto.0.11.3  (cached)
-> retrieved mirage-crypto-pk.0.11.3  (cached)
-> retrieved ocamlbuild.0.14.3  (cached)
-> retrieved ocamlfind.1.9.6  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved zarith.1.13  (cached)
-> retrieved mirage-crypto-rng.0.11.3  (cached)
-> installed ocamlfind.1.9.6
-> installed ocamlbuild.0.14.3
-> installed zarith.1.13
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed dune.3.16.0
-> installed duration.0.2.1
-> installed csexp.1.5.2
-> installed base64.3.5.1
-> installed cstruct.6.2.0
-> installed sexplib0.v0.17.0
-> installed eqaf.0.9
-> installed dune-configurator.3.16.0
-> installed mirage-crypto.0.11.3
-> installed mirage-crypto-rng.0.11.3
-> installed mirage-crypto-pk.0.11.3
Done.
# Run eval $(opam env) to update the current shell environment
2024-06-19 18:35.43 ---> saved as "944bf59723b529b339c942ce5a3f730b5004a70323abbf0ea94fc0537441d37d"


/src: (copy (src .) (dst /src))
2024-06-19 18:35.43 ---> saved as "5c118e26c7a0f00d504693d9ed3d81791f19c26c5dfe3220fa019d3e11a3afa2"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2024-06-19 18:35.44 ---> saved as "f9e8128efe7a8b5aaa2690d0ee047a6e57250b9567cc838a3967711f9bd6c613"
Job succeeded
2024-06-19 18:35.44: Job succeeded