2024-04-26 20:50.04: New job: test mirage/ocaml-vchan https://github.com/mirage/ocaml-vchan.git#refs/heads/master (5abbeb0c46667938f00476dfb38dd88a98fb88bc) (linux-x86_64:fedora-40-4.14_opam-2.1)
Base: ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-vchan.git" -b "master" && cd "ocaml-vchan" && git reset --hard 5abbeb0c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9
# fedora-40-4.14_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 bd8b82ee42dee1db2bfa4ebddfbe1506f4d7f763 || git fetch origin master) && git reset -q --hard bd8b82ee42dee1db2bfa4ebddfbe1506f4d7f763 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 vchan.opam vchan-xen.opam vchan-unix.opam ./
RUN opam pin add -yn vchan.dev './' && \
opam pin add -yn vchan-xen.dev './' && \
opam pin add -yn vchan-unix.dev './'
ENV DEPS="base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.2.0 conf-bash.1 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.0 dune-configurator.3.15.0 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-flow.4.0.2 mirage-profile.0.9.1 mirage-runtime.4.5.0 mirage-xen.8.0.2 num.1.5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.0.7 xen-evtchn.2.1.0 xen-evtchn-unix.2.1.0 xen-gnt.4.0.1 xen-gnt-unix.4.0.1 xenstore.2.2.0 xenstore_transport.1.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y vchan.dev vchan-xen.dev vchan-unix.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-26 20:50.04: Using cache hint "mirage/ocaml-vchan-ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9-fedora-40-4.14_opam-2.1-045902810cf382dec55ed4c75b77f4b8"
2024-04-26 20:50.04: Using OBuilder spec:
((from ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9)
(comment fedora-40-4.14_opam-2.1)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 bd8b82ee42dee1db2bfa4ebddfbe1506f4d7f763 || git fetch origin master) && git reset -q --hard bd8b82ee42dee1db2bfa4ebddfbe1506f4d7f763 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src vchan.opam vchan-xen.opam vchan-unix.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn vchan.dev './' && \
\nopam pin add -yn vchan-xen.dev './' && \
\nopam pin add -yn vchan-unix.dev './'"))
(env DEPS "base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.2.0 conf-bash.1 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.0 dune-configurator.3.15.0 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-flow.4.0.2 mirage-profile.0.9.1 mirage-runtime.4.5.0 mirage-xen.8.0.2 num.1.5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.0.7 xen-evtchn.2.1.0 xen-evtchn-unix.2.1.0 xen-gnt.4.0.1 xen-gnt-unix.4.0.1 xenstore.2.2.0 xenstore_transport.1.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.1 --depext-only -y vchan.dev vchan-xen.dev vchan-unix.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-26 20:50.04: Waiting for resource in pool OCluster
2024-04-26 20:50.04: Waiting for worker…
2024-04-26 20:50.04: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 5abbeb0 Merge pull request #140 from mirage/prepare-v6.0.1
(from ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9)
2024-04-26 20:50.52 ---> saved as "734939365ca49b277f590ce41c8d4d56e6ac1e187e29aa8fe4ddd810266ec9cf"
/: (comment fedora-40-4.14_opam-2.1)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (workdir /src)
/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Fedora 40 - x86_64 - Updates 162 kB/s | 19 kB 00:00
Fedora 40 - x86_64 - Updates 4.9 MB/s | 1.6 MB 00:00
Last metadata expiration check: 0:00:02 ago on Fri Apr 26 20:50:53 2024.
Package findutils-1:4.9.0-8.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-04-26 20:50.57 ---> saved as "27f125f8f9874760f522cedb21a2c5b03620375c8731fb3f496d760cdd2cb364"
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-26 20:50.58 ---> saved as "31dee9b2c2b3c177fa91b119394c49844294d7b96dbd38a1ef8f05dde637abb5"
/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-26 20:52.41 ---> saved as "769cb91d456d94573e687dc675037a6ace197e06d0f2fcaf82817c641e39f479"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.14.2
2.1.5
2024-04-26 20:52.41 ---> saved as "d47b804d5ae432c0bfb5d9e647b8c6d02aad94f10c345069ee85ddf4fab8a3d9"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-26 20:52.41 ---> saved as "5f1ee7a0295c519a4c376aaa91c28f8b0989c0c4b230f8d83ebda3575617f0c8"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e bd8b82ee42dee1db2bfa4ebddfbe1506f4d7f763 || git fetch origin master) && git reset -q --hard bd8b82ee42dee1db2bfa4ebddfbe1506f4d7f763 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
6a2ad82c27..fe363a9013 master -> origin/master
bd8b82ee42 shared-memory-ring: doesn't support riscv
<><> 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-26 20:54.22 ---> saved as "60c27aa35ac742d517c5fb8b33e261491a8c82e8269cd9b70379827446f6f81e"
/src: (copy (src vchan.opam vchan-xen.opam vchan-unix.opam) (dst ./))
2024-04-26 20:54.22 ---> saved as "0a9d386e5cee2cb9db7d4a083a9b204983d291e484063dd374d44084ff06a1b7"
/src: (run (network host)
(shell "opam pin add -yn vchan.dev './' && \
\nopam pin add -yn vchan-xen.dev './' && \
\nopam pin add -yn vchan-unix.dev './'"))
[vchan.dev] synchronised (file:///src)
vchan is now pinned to file:///src (version dev)
[vchan-xen.dev] synchronised (file:///src)
vchan-xen is now pinned to file:///src (version dev)
[vchan-unix.dev] synchronised (file:///src)
vchan-unix is now pinned to file:///src (version dev)
2024-04-26 20:54.25 ---> saved as "b40ef12fd9eb38637297efeaaa9402d63a34940e693e4772d2d8ae69f1560cc1"
/src: (env DEPS "base.v0.16.3 base-bigarray.base base-bytes.base base-threads.base base-unix.base bheap.2.0.0 cmdliner.1.2.0 conf-bash.1 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 domain-name.0.4.0 dune.3.15.0 dune-configurator.3.15.0 duration.0.2.1 fmt.0.9.0 io-page.3.0.0 ipaddr.5.5.0 logs.0.7.0 lwt.5.7.0 lwt-dllist.1.0.1 macaddr.5.5.0 metrics.0.4.1 metrics-lwt.0.4.1 mirage-flow.4.0.2 mirage-profile.0.9.1 mirage-runtime.4.5.0 mirage-xen.8.0.2 num.1.5 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.14.3 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppx_sexp_conv.v0.16.0 ppxlib.0.32.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 shared-memory-ring.3.2.1 shared-memory-ring-lwt.3.2.1 stdlib-shims.0.3.0 topkg.1.0.7 xen-evtchn.2.1.0 xen-evtchn-unix.2.1.0 xen-gnt.4.0.1 xen-gnt-unix.4.0.1 xenstore.2.2.0 xenstore_transport.1.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.1 --depext-only -y vchan.dev vchan-xen.dev vchan-unix.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64 246 kB/s | 23 kB 00:00
- Fedora 40 - x86_64 955 kB/s | 994 kB 00:01
- Fedora 40 openh264 (From Cisco) - x86_64 9.5 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 210 kB/s | 19 kB 00:00
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[vchan.dev] synchronised (no changes)
[vchan-unix.dev] synchronised (no changes)
[vchan-xen.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 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:
xen-devel
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "yum" "install" "-y" "xen-devel"
- Last metadata expiration check: 0:00:24 ago on Fri Apr 26 20:54:31 2024.
- Dependencies resolved.
- ================================================================================
- Package Architecture Version Repository Size
- ================================================================================
- Installing:
- xen-devel x86_64 4.18.2-1.fc40 updates 310 k
- Installing dependencies:
- e2fsprogs-libs x86_64 1.47.0-5.fc40 fedora 223 k
- libnl3 x86_64 3.9.0-3.fc40 fedora 346 k
- libuuid-devel x86_64 2.40-13.fc40 updates 34 k
- xen-libs x86_64 4.18.2-1.fc40 updates 647 k
- xen-licenses x86_64 4.18.2-1.fc40 updates 54 k
- yajl x86_64 2.1.0-23.fc40 fedora 38 k
-
- Transaction Summary
- ================================================================================
- Install 7 Packages
-
- Total download size: 1.6 M
- Installed size: 5.1 M
- Downloading Packages:
- (1/7): yajl-2.1.0-23.fc40.x86_64.rpm 1.2 MB/s | 38 kB 00:00
- (2/7): e2fsprogs-libs-1.47.0-5.fc40.x86_64.rpm 4.4 MB/s | 223 kB 00:00
- (3/7): libnl3-3.9.0-3.fc40.x86_64.rpm 6.0 MB/s | 346 kB 00:00
- (4/7): libuuid-devel-2.40-13.fc40.x86_64.rpm 574 kB/s | 34 kB 00:00
- (5/7): xen-licenses-4.18.2-1.fc40.x86_64.rpm 7.1 MB/s | 54 kB 00:00
- (6/7): xen-devel-4.18.2-1.fc40.x86_64.rpm 5.7 MB/s | 310 kB 00:00
- (7/7): xen-libs-4.18.2-1.fc40.x86_64.rpm 11 MB/s | 647 kB 00:00
- --------------------------------------------------------------------------------
- Total 5.6 MB/s | 1.6 MB 00:00
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
- Preparing : 1/1
- Installing : xen-licenses-4.18.2-1.fc40.x86_64 1/7
- Installing : libuuid-devel-2.40-13.fc40.x86_64 2/7
- Installing : yajl-2.1.0-23.fc40.x86_64 3/7
- Installing : libnl3-3.9.0-3.fc40.x86_64 4/7
- Installing : e2fsprogs-libs-1.47.0-5.fc40.x86_64 5/7
- Installing : xen-libs-4.18.2-1.fc40.x86_64 6/7
- Installing : xen-devel-4.18.2-1.fc40.x86_64 7/7
- Running scriptlet: xen-devel-4.18.2-1.fc40.x86_64 7/7
-
- Installed:
- e2fsprogs-libs-1.47.0-5.fc40.x86_64 libnl3-3.9.0-3.fc40.x86_64
- libuuid-devel-2.40-13.fc40.x86_64 xen-devel-4.18.2-1.fc40.x86_64
- xen-libs-4.18.2-1.fc40.x86_64 xen-licenses-4.18.2-1.fc40.x86_64
- yajl-2.1.0-23.fc40.x86_64
-
- Complete!
+ /usr/bin/sudo "rpm" "-q" "--whatprovides" "xen-devel"
- xen-devel-4.18.2-1.fc40.x86_64
2024-04-26 20:54.56 ---> saved as "55c0456e261e764173b8d8330ef43a6b4b51b8628b4ff09f76b6b45acd9671e4"
/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 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 dune 3.15.0
- install conf-bash 1
- install num 1.5
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install seq base
- install conf-pkg-config 3
- install conf-xen 1
- install stdlib-shims 0.3.0
- install sexplib0 v0.16.0
- install ppx_derivers 1.2.1
- install ocaml-compiler-libs v0.12.4
- install macaddr 5.5.0
- install lwt-dllist 1.0.1
- install duration 0.2.1
- install domain-name 0.4.0
- install csexp 1.5.2
- install cppo 1.6.9
- install bheap 2.0.0
- install topkg 1.0.7
- install base-bytes base
- install ounit2 2.2.7
- install parsexp v0.16.0
- install ppxlib 0.32.0
- install ipaddr 5.5.0
- install dune-configurator 3.15.0
- install fmt 0.9.0
- install ocplib-endian 1.2
- install ounit 2.2.7
- install sexplib v0.16.0
- install base v0.16.3
- install metrics 0.4.1
- install cstruct 6.2.0
- install lwt 5.7.0
- install ppx_sexp_conv v0.16.0
- install shared-memory-ring 3.2.1
- install ppx_cstruct 6.2.0
- install io-page 3.0.0
- install xen-evtchn 2.1.0
- install mirage-flow 4.0.2
- install logs 0.7.0
- install shared-memory-ring-lwt 3.2.1
- install xenstore 2.2.0
- install mirage-profile 0.9.1
- install xen-evtchn-unix 2.1.0
- install mirage-runtime 4.5.0
- install metrics-lwt 0.4.1
- install xenstore_transport 1.3.0
- install xen-gnt 4.0.1
- install mirage-xen 8.0.2
- install xen-gnt-unix 4.0.1
===== 52 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bheap.2.0.0 (cached)
-> retrieved base.v0.16.3 (cached)
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> installed conf-bash.1
-> installed conf-pkg-config.3
-> installed conf-xen.1
-> retrieved csexp.1.5.2 (cached)
-> retrieved cstruct.6.2.0 (cached)
-> retrieved domain-name.0.4.0 (cached)
-> retrieved duration.0.2.1 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved io-page.3.0.0 (cached)
-> retrieved ipaddr.5.5.0 (cached)
-> retrieved logs.0.7.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved lwt-dllist.1.0.1 (cached)
-> retrieved macaddr.5.5.0 (cached)
-> retrieved metrics.0.4.1 (cached)
-> retrieved metrics-lwt.0.4.1 (cached)
-> retrieved mirage-flow.4.0.2 (cached)
-> retrieved mirage-profile.0.9.1 (cached)
-> retrieved mirage-runtime.4.5.0 (cached)
-> retrieved mirage-xen.8.0.2 (cached)
-> retrieved num.1.5 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.14.3 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ocplib-endian.1.2 (cached)
-> retrieved ounit.2.2.7 (cached)
-> retrieved dune.3.15.0 (cached)
-> retrieved dune-configurator.3.15.0 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_cstruct.6.2.0 (cached)
-> installed seq.base
-> retrieved ppx_sexp_conv.v0.16.0 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved shared-memory-ring.3.2.1 (cached)
-> retrieved shared-memory-ring-lwt.3.2.1 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved xen-evtchn.2.1.0 (cached)
-> retrieved xen-evtchn-unix.2.1.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved xen-gnt.4.0.1 (cached)
-> retrieved ppxlib.0.32.0 (cached)
-> installed num.1.5
-> retrieved xen-gnt-unix.4.0.1 (cached)
-> retrieved xenstore.2.2.0 (cached)
-> retrieved xenstore_transport.1.3.0 (cached)
-> installed cmdliner.1.2.0
-> installed ocamlfind.1.9.6
-> installed base-bytes.base
-> installed ocamlbuild.0.14.3
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed dune.3.15.0
-> installed bheap.2.0.0
-> installed lwt-dllist.1.0.1
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed domain-name.0.4.0
-> installed duration.0.2.1
-> installed macaddr.5.5.0
-> installed metrics.0.4.1
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed io-page.3.0.0
-> installed shared-memory-ring.3.2.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.6.9
-> installed ipaddr.5.5.0
-> installed ocplib-endian.1.2
-> installed ounit2.2.2.7
-> installed ounit.2.2.7
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.15.0
-> installed sexplib.v0.16.0
-> installed lwt.5.7.0
-> installed mirage-flow.4.0.2
-> installed shared-memory-ring-lwt.3.2.1
-> installed xen-evtchn.2.1.0
[ERROR] The compilation of xen-evtchn-unix.2.1.0 failed at "dune build -p xen-evtchn-unix -j 39".
-> installed logs.0.7.0
-> installed metrics-lwt.0.4.1
-> installed mirage-runtime.4.5.0
-> installed base.v0.16.3
-> installed ppxlib.0.32.0
-> installed ppx_cstruct.6.2.0
-> installed ppx_sexp_conv.v0.16.0
-> installed mirage-profile.0.9.1
-> installed xen-gnt.4.0.1
[ERROR] The compilation of xen-gnt-unix.4.0.1 failed at "dune build -p xen-gnt-unix -j 39".
-> installed xenstore.2.2.0
-> installed xenstore_transport.1.3.0
-> installed mirage-xen.8.0.2
#=== ERROR while compiling xen-gnt-unix.4.0.1 =================================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/xen-gnt-unix.4.0.1
# command ~/.opam/4.14/bin/dune build -p xen-gnt-unix -j 39
# exit-code 1
# env-file ~/.opam/log/xen-gnt-unix-1-c109c6.env
# output-file ~/.opam/log/xen-gnt-unix-1-c109c6.out
### output ###
# File "lib/dune", line 12, characters 10-22:
# 12 | (c_names gntshr_stubs gnttab_stubs)
# ^^^^^^^^^^^^
# (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -o gntshr_stubs.o -c gntshr_stubs.c)
# gntshr_stubs.c: In function 'gntshr_missing':
# gntshr_stubs.c:47:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
# 47 | value *v = caml_named_value("gntshr.missing");
# | ^~~~~~~~~~~~~~~~
# gntshr_stubs.c: In function 'stub_gntshr_share_pages_batched':
# gntshr_stubs.c:54:18: error: passing argument 1 of 'failwith_xc' from incompatible pointer type [-Wincompatible-pointer-types]
# 54 | #define _G(__g) ((xc_gntshr *)(__g))
# | ~^~~~~~~~~~~~~~~~~~~
# | |
# | xc_gntshr * {aka struct xengntdev_handle *}
# gntshr_stubs.c:133:29: note: in expansion of macro '_G'
# 133 | failwith_xc(_G(xgh));
# | ^~
# gntshr_stubs.c:60:39: note: expected 'xc_interface *' {aka 'struct xc_interface_core *'} but argument is of type 'xc_gntshr *' {aka 'struct xengntdev_handle *'}
# 60 | static void failwith_xc(xc_interface *xch)
# | ~~~~~~~~~~~~~~^~~
# gntshr_stubs.c:147:20: warning: "alloc_bigarray_dims" is deprecated: use "caml_ba_alloc_dims" instead
# 147 | ml_map = alloc_bigarray_dims(XC_GNTTAB_BIGARRAY, 1,
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# gntshr_stubs.c: In function 'stub_gntshr_munmap_batched':
# gntshr_stubs.c:166:20: warning: "Bigarray_val" is deprecated: use "Caml_ba_array_val" instead
# 166 | int size = Bigarray_val(ml_map)->dim[0];
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# gntshr_stubs.c:171:20: warning: "Data_bigarray_val" is deprecated: use "Caml_ba_data_val" instead
# 171 | int result = munmap(Data_bigarray_val(ml_map), size);
# | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# gntshr_stubs.c:54:18: error: passing argument 1 of 'failwith_xc' from incompatible pointer type [-Wincompatible-pointer-types]
# 54 | #define _G(__g) ((xc_gntshr *)(__g))
# | ~^~~~~~~~~~~~~~~~~~~
# | |
# | xc_gntshr * {aka struct xengntdev_handle *}
# gntshr_stubs.c:176:29: note: in expansion of macro '_G'
# 176 | failwith_xc(_G(xgh));
# | ^~
# gntshr_stubs.c:60:39: note: expected 'xc_interface *' {aka 'struct xc_interface_core *'} but argument is of type 'xc_gntshr *' {aka 'struct xengntdev_handle *'}
# 60 | static void failwith_xc(xc_interface *xch)
# | ~~~~~~~~~~~~~~^~~
#=== ERROR while compiling xen-evtchn-unix.2.1.0 ==============================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14/.opam-switch/build/xen-evtchn-unix.2.1.0
# command ~/.opam/4.14/bin/dune build -p xen-evtchn-unix -j 39
# exit-code 1
# env-file ~/.opam/log/xen-evtchn-unix-1-43e390.env
# output-file ~/.opam/log/xen-evtchn-unix-1-43e390.out
### output ###
# File "lib/dune", line 12, characters 10-24:
# 12 | (c_names eventchn_stubs)
# ^^^^^^^^^^^^^^
# (cd _build/default/lib && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/bytes -I /home/opam/.opam/4.14/lib/lwt -I /home/opam/.opam/4.14/lib/lwt-dllist -I /home/opam/.opam/4.14/lib/lwt/unix -I /home/opam/.opam/4.14/lib/ocaml/threads -I /home/opam/.opam/4.14/lib/ocplib-endian -I /home/opam/.opam/4.14/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.14/lib/xen-evtchn -o eventchn_stubs.o -c eventchn_stubs.c)
# eventchn_stubs.c: In function 'stub_evtchn_init':
# eventchn_stubs.c:47:16: error: assignment to 'xc_interface *' {aka 'struct xc_interface_core *'} from incompatible pointer type 'xc_evtchn *' {aka 'struct xenevtchn_handle *'} [-Wincompatible-pointer-types]
# 47 | global_xce = xc_evtchn_open(NULL, XC_OPENFLAG_NON_REENTRANT);
# | ^
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build xen-evtchn-unix 2.1.0
| - build xen-gnt-unix 4.0.1
+-
+- The following changes have been performed
| - install base v0.16.3
| - install base-bytes base
| - install bheap 2.0.0
| - install cmdliner 1.2.0
| - install conf-bash 1
| - install conf-pkg-config 3
| - install conf-xen 1
| - install cppo 1.6.9
| - install csexp 1.5.2
| - install cstruct 6.2.0
| - install domain-name 0.4.0
| - install dune 3.15.0
| - install dune-configurator 3.15.0
| - install duration 0.2.1
| - install fmt 0.9.0
| - install io-page 3.0.0
| - install ipaddr 5.5.0
| - install logs 0.7.0
| - install lwt 5.7.0
| - install lwt-dllist 1.0.1
| - install macaddr 5.5.0
| - install metrics 0.4.1
| - install metrics-lwt 0.4.1
| - install mirage-flow 4.0.2
| - install mirage-profile 0.9.1
| - install mirage-runtime 4.5.0
| - install mirage-xen 8.0.2
| - install num 1.5
| - install ocaml-compiler-libs v0.12.4
| - install ocamlbuild 0.14.3
| - install ocamlfind 1.9.6
| - install ocplib-endian 1.2
| - install ounit 2.2.7
| - install ounit2 2.2.7
| - install parsexp v0.16.0
| - install ppx_cstruct 6.2.0
| - install ppx_derivers 1.2.1
| - install ppx_sexp_conv v0.16.0
| - install ppxlib 0.32.0
| - install seq base
| - install sexplib v0.16.0
| - install sexplib0 v0.16.0
| - install shared-memory-ring 3.2.1
| - install shared-memory-ring-lwt 3.2.1
| - install stdlib-shims 0.3.0
| - install topkg 1.0.7
| - install xen-evtchn 2.1.0
| - install xen-gnt 4.0.1
| - install xenstore 2.2.0
| - install xenstore_transport 1.3.0
+-
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20240426205456.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-04-26 20:56.14: Job failed: Failed: Build failed