Organisationsdune-universeZarith9b19c5 (master)debian-12-4.04_opam-2.1

debian-12-4.04_opam-2.1

Link Copied
Code Copied

Logs

2024-05-14 13:15.12: New job: test dune-universe/Zarith https://github.com/dune-universe/Zarith.git#refs/heads/master (9b19c59b7d8eb76bf45994f122863050a63fa506) (linux-x86_64:debian-12-4.04_opam-2.1)
Base: ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/dune-universe/Zarith.git" -b "master" && cd "Zarith" && git reset --hard 9b19c59b
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
# debian-12-4.04_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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 zarith.opam ./
RUN opam pin add -yn zarith.dev './'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base conf-gmp.4 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlfind.1.9.6"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y zarith.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 13:15.12: Using cache hint "dune-universe/Zarith-ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8-debian-12-4.04_opam-2.1-1c91bd213b42e2941508506d2f273994"
2024-05-14 13:15.12: Using OBuilder spec:
((from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
 (comment debian-12-4.04_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 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src zarith.opam) (dst ./))
 (run (network host)
      (shell "opam pin add -yn zarith.dev './'"))
 (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-gmp.4 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlfind.1.9.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 zarith.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 13:15.12: Waiting for resource in pool OCluster
2024-05-14 13:15.15: Waiting for worker…
2024-05-14 13:15.15: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint: 
hint: 	git config --global init.defaultBranch <name>
hint: 
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint: 
hint: 	git branch -m <name>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/Zarith.git-a8af7f7df05eadf24c3e897997a4448953d12678/.git/
HEAD is now at 9b19c59 Merge pull request #144 from hhugo/jsoo-doc


(from ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8)
Unable to find image 'ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8' locally
docker.io/ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8: Pulling from ocaml/opam
e58cd26576ff: Pulling fs layer
e58cd26576ff: Verifying Checksum
e58cd26576ff: Download complete
e58cd26576ff: Pull complete
Digest: sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
Status: Downloaded newer image for ocaml/opam@sha256:0f5d0fd19d091a9ec4cf32d28835940452b6ae3fd14d05f4b88a8f660fd3f4f8
2024-05-14 13:17.34 ---> saved as "f8cc879b8fa41146f4d68824f571af48d0fc242fa563e6c44aad42da2480e773"


/: (comment debian-12-4.04_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-14 13:17.34 ---> saved as "7acf9c20e3a294f65eec146d2b0278d86ac3011a3aaf14f981174ab68667921e"


/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-14 13:18.39 ---> saved as "eb9e02ecfcb5ba37a004cedecf7a30bca11d30398ed5232984b27dff3d577897"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-106-generic
The OCaml toplevel, version 4.04.2
2.1.5
2024-05-14 13:18.39 ---> saved as "1c1947f6600fe344049c423f5d475e2bbcf469ba4d40ccfe151b45e81f7382fc"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-05-14 13:18.39 ---> saved as "cac506b2ad2021f1ddbd68db7b37261e0a93bd2be740791bb6297e219b96903b"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 819388d34cb9356eecd0223a468956daaae1705a || git fetch origin master) && git reset -q --hard 819388d34cb9356eecd0223a468956daaae1705a && git log --no-decorate -n1 --oneline && opam update -u"))
819388d34c @dra27 maintains the OCaml Museum


<><> 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-14 13:19.43 ---> saved as "9bbc8a346c35d66f849e3eeabfa81e895c893b813af311f59f7b650e469fbb02"


/src: (copy (src zarith.opam) (dst ./))
2024-05-14 13:19.43 ---> saved as "17f19614a4817b7dec3ff87cf502846944d1ce4b62c47db560ac4520c9b6de95"


/src: (run (network host)
           (shell "opam pin add -yn zarith.dev './'"))
[zarith.dev] synchronised (file:///src)
zarith is now pinned to file:///src (version dev)
2024-05-14 13:19.45 ---> saved as "1f74f0ed47520cc11edd78f5ca95568e2fbc447a8c5cf71275bfc3afe5bf14c6"


/src: (env DEPS "base-bigarray.base base-threads.base base-unix.base conf-gmp.4 ocaml.4.04.2 ocaml-base-compiler.4.04.2 ocaml-config.1 ocamlfind.1.9.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 zarith.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]
- Fetched 103 kB in 0s (442 kB/s)
- Reading package lists...


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[zarith.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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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:
    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-05-14 13:20.02 ---> saved as "53a5893cee63bd0679cc5f6849fc56d4ec2733abb12926863d865b8dd6bfdd1d"


/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.04.2).
[NOTE] Package ocaml is already installed (current version is 4.04.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-gmp  4
  - install ocamlfind 1.9.6
===== 2 to install =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ocamlfind.1.9.6  (cached)
-> installed conf-gmp.4
-> installed ocamlfind.1.9.6
Done.
# Run eval $(opam env) to update the current shell environment
2024-05-14 13:20.29 ---> saved as "e2b4754ae88cbed5ca2ed18c2f42786260d39ff2daf735bfb0b26b63c314ad5f"


/src: (copy (src .) (dst /src))
2024-05-14 13:20.29 ---> saved as "bd08a5b593a5be4b3de9496cabfd37daefdfe5431f56dbd28729cfa80b928f75"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
[ERROR] Command not found 'dune'
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 127
2024-05-14 13:20.29: Job failed: Failed: Build failed