2024-04-30 17:22.26: New job: test talex5/mirage-trace-dump-xen https://github.com/talex5/mirage-trace-dump-xen.git#refs/heads/master (5e4a8806b7ae171a6e00ad9c7bc42589ef9bfc76) (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/talex5/mirage-trace-dump-xen.git" -b "master" && cd "mirage-trace-dump-xen" && git reset --hard 5e4a8806
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 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc || git fetch origin master) && git reset -q --hard 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mirage-trace-dump-xen.opam ./
RUN opam pin add -yn mirage-trace-dump-xen.dev './'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 io-page.3.0.0 lwt.5.7.0 lwt-dllist.1.0.1 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 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 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 mirage-trace-dump-xen.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 17:22.26: Using cache hint "talex5/mirage-trace-dump-xen-ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9-fedora-40-4.14_opam-2.1-f1fa70b07904b71949249c11b76e3330"
2024-04-30 17:22.26: 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 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc || git fetch origin master) && git reset -q --hard 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mirage-trace-dump-xen.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mirage-trace-dump-xen.dev './'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 io-page.3.0.0 lwt.5.7.0 lwt-dllist.1.0.1 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 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 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 mirage-trace-dump-xen.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 17:22.26: Waiting for resource in pool OCluster
2024-04-30 22:20.36: Waiting for worker…
2024-04-30 22:23.17: Got resource from pool OCluster
Building on x86-bm-c13.sw.ocaml.org
All commits already cached
HEAD is now at 5e4a880 Extracted from mirage-trace-viewer
(from ocaml/opam@sha256:415c184d9c858b1ae7a76855065ecf6c50581f3c9d4564ac83c8b23b8b9ae2b9)
2024-04-30 22:23.18 ---> using "734939365ca49b277f590ce41c8d4d56e6ac1e187e29aa8fe4ddd810266ec9cf" from cache
/: (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 284 kB/s | 23 kB 00:00
Fedora 40 - x86_64 - Updates 5.9 MB/s | 2.1 MB 00:00
Last metadata expiration check: 0:00:02 ago on Tue Apr 30 21:55:04 2024.
Package findutils-1:4.9.0-8.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2024-04-30 22:23.18 ---> using "27f125f8f9874760f522cedb21a2c5b03620375c8731fb3f496d760cdd2cb364" from cache
/src: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2024-04-30 22:23.18 ---> using "31dee9b2c2b3c177fa91b119394c49844294d7b96dbd38a1ef8f05dde637abb5" 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-04-30 22:23.18 ---> using "769cb91d456d94573e687dc675037a6ace197e06d0f2fcaf82817c641e39f479" from cache
/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-30 22:23.18 ---> using "d47b804d5ae432c0bfb5d9e647b8c6d02aad94f10c345069ee85ddf4fab8a3d9" from cache
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-30 22:23.18 ---> using "5f1ee7a0295c519a4c376aaa91c28f8b0989c0c4b230f8d83ebda3575617f0c8" from cache
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc || git fetch origin master) && git reset -q --hard 784f6c3aecb7d11609be51cc2e4a70a55abd2ddc && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch master -> FETCH_HEAD
6a2ad82c27..bafea8d973 master -> origin/master
784f6c3aec Merge pull request #25764 from hannesm/release-xen-gnt-v4.0.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:24.49 ---> saved as "e769089ac7625b742b276d911689114c7764d8749c2a972c9728f195c802a3f0"
/src: (copy (src mirage-trace-dump-xen.opam) (dst ./))
2024-04-30 22:24.49 ---> saved as "82cdb8132c11e9843b1118e2f5ff8418b4c203d172202eb2a5149e5848a08bc0"
/src: (run (network host)
(shell "opam pin add -yn mirage-trace-dump-xen.dev './'"))
Package mirage-trace-dump-xen does not exist, create as a NEW package? [Y/n] y
[mirage-trace-dump-xen.dev] synchronised (file:///src)
mirage-trace-dump-xen is now pinned to file:///src (version dev)
2024-04-30 22:24.50 ---> saved as "71d255cfab40ba5b99b74893a9eee562addbaec218eba36e4cff6326e6f40fd8"
/src: (env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base cmdliner.1.2.0 conf-pkg-config.3 conf-xen.1 cppo.1.6.9 csexp.1.5.2 cstruct.6.2.0 dune.3.15.2 dune-configurator.3.15.2 fmt.0.9.0 io-page.3.0.0 lwt.5.7.0 lwt-dllist.1.0.1 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 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.32.1 sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7 xen-gnt.4.0.2 xen-gnt-unix.4.0.2 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 mirage-trace-dump-xen.dev $DEPS"))
+ /usr/bin/sudo "yum" "makecache"
- Fedora 40 - x86_64 274 kB/s | 23 kB 00:00
- Fedora 40 - x86_64 786 kB/s | 994 kB 00:01
- Fedora 40 openh264 (From Cisco) - x86_64 15 kB/s | 989 B 00:00
- Fedora 40 - x86_64 - Updates 268 kB/s | 23 kB 00:00
- Metadata cache created.
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[mirage-trace-dump-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:20 ago on Tue Apr 30 22:24:58 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): e2fsprogs-libs-1.47.0-5.fc40.x86_64.rpm 2.2 MB/s | 223 kB 00:00
- (2/7): libnl3-3.9.0-3.fc40.x86_64.rpm 2.9 MB/s | 346 kB 00:00
- (3/7): yajl-2.1.0-23.fc40.x86_64.rpm 294 kB/s | 38 kB 00:00
- (4/7): libuuid-devel-2.40-13.fc40.x86_64.rpm 741 kB/s | 34 kB 00:00
- (5/7): xen-licenses-4.18.2-1.fc40.x86_64.rpm 2.6 MB/s | 54 kB 00:00
- (6/7): xen-devel-4.18.2-1.fc40.x86_64.rpm 6.3 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 4.5 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-30 22:25.20 ---> saved as "8dbfc871b10d642775bb2010430d9d1d0e7c44d00925d8609005c58f15e735fe"
/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 conf-pkg-config 3
- install num 1.5
- install cmdliner 1.2.0
- install ocamlfind 1.9.6
- install dune 3.15.2
- install conf-xen 1
- install topkg 1.0.7
- install base-bytes base
- 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 lwt-dllist 1.0.1
- install csexp 1.5.2
- install cppo 1.6.9
- install fmt 0.9.0
- install parsexp v0.16.0
- install ppxlib 0.32.1
- install dune-configurator 3.15.2
- install ocplib-endian 1.2
- install cstruct 6.2.0
- install sexplib v0.16.0
- install lwt 5.7.0
- install io-page 3.0.0
- install ppx_cstruct 6.2.0
- install xen-gnt 4.0.2
- install xenstore 2.2.0
- install xen-gnt-unix 4.0.2
- install xenstore_transport 1.3.0
===== 30 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.2.0 (cached)
-> retrieved cppo.1.6.9 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.3
-> installed conf-xen.1
-> retrieved cstruct.6.2.0 (cached)
-> retrieved fmt.0.9.0 (cached)
-> retrieved io-page.3.0.0 (cached)
-> retrieved lwt.5.7.0 (cached)
-> retrieved lwt-dllist.1.0.1 (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 parsexp.v0.16.0 (cached)
-> retrieved ppx_cstruct.6.2.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved dune.3.15.2 (cached)
-> retrieved dune-configurator.3.15.2 (cached)
-> installed num.1.5
-> retrieved ppxlib.0.32.1 (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved xen-gnt.4.0.2 (cached)
-> retrieved xen-gnt-unix.4.0.2 (cached)
-> retrieved topkg.1.0.7 (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.2
-> installed ppx_derivers.1.2.1
-> installed lwt-dllist.1.0.1
-> installed csexp.1.5.2
-> installed cstruct.6.2.0
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> installed io-page.3.0.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed cppo.1.6.9
-> installed ocplib-endian.1.2
-> installed parsexp.v0.16.0
-> installed dune-configurator.3.15.2
-> installed sexplib.v0.16.0
-> installed lwt.5.7.0
-> installed xen-gnt.4.0.2
[ERROR] The compilation of xen-gnt-unix.4.0.2 failed at "dune build -p xen-gnt-unix -j 39".
-> installed ppxlib.0.32.1
-> installed ppx_cstruct.6.2.0
-> installed xenstore.2.2.0
-> installed xenstore_transport.1.3.0
#=== ERROR while compiling xen-gnt-unix.4.0.2 =================================#
# 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.2
# command ~/.opam/4.14/bin/dune build -p xen-gnt-unix -j 39
# exit-code 1
# env-file ~/.opam/log/xen-gnt-unix-1-fd1236.env
# output-file ~/.opam/log/xen-gnt-unix-1-fd1236.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 report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build xen-gnt-unix 4.0.2
+-
+- The following changes have been performed
| - install base-bytes base
| - install cmdliner 1.2.0
| - 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 dune 3.15.2
| - install dune-configurator 3.15.2
| - install fmt 0.9.0
| - install io-page 3.0.0
| - install lwt 5.7.0
| - install lwt-dllist 1.0.1
| - 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 parsexp v0.16.0
| - install ppx_cstruct 6.2.0
| - install ppx_derivers 1.2.1
| - install ppxlib 0.32.1
| - install sexplib v0.16.0
| - install sexplib0 v0.16.0
| - install stdlib-shims 0.3.0
| - install topkg 1.0.7
| - install xen-gnt 4.0.2
| - 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-20240430222521.export"
"/usr/bin/env" "bash" "-c" "opam install $DEPS" failed with exit status 31
2024-04-30 22:26.43: Job failed: Failed: Build failed