2024-04-14 13:02.41: New job: test mirage/ocaml-evtchn https://github.com/mirage/ocaml-evtchn.git#refs/heads/main (d5b8aa44587b4e3281ff26284a200ba4a960eb8c) (linux-x86_64:(lower-bound))
Base: ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-evtchn.git" -b "main" && cd "ocaml-evtchn" && git reset --hard d5b8aa44
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
# debian-12-4.03_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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 xen-evtchn.opam xen-evtchn-unix.opam ./
RUN opam pin add -yn xen-evtchn.dev './' && \
opam pin add -yn xen-evtchn-unix.dev './'
ENV DEPS="base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.03+1 cmdliner.0.9.2 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-which.1 conf-xen.1 dune.1.0.0 lwt.2.4.5 lwt-dllist.1.0.0 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.1 --depext-only -y xen-evtchn.dev xen-evtchn-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-14 13:02.41: Using cache hint "mirage/ocaml-evtchn-ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea-debian-12-4.03_opam-2.1-3bdfdecd7d7f8e9ef419f4219d92bde0"
2024-04-14 13:02.41: Using OBuilder spec:
((from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
(comment debian-12-4.03_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 cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src xen-evtchn.opam xen-evtchn-unix.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn xen-evtchn.dev './' && \
\nopam pin add -yn xen-evtchn-unix.dev './'"))
(env DEPS "base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.03+1 cmdliner.0.9.2 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-which.1 conf-xen.1 dune.1.0.0 lwt.2.4.5 lwt-dllist.1.0.0 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2")
(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 xen-evtchn.dev xen-evtchn-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-14 13:02.41: Waiting for resource in pool OCluster
2024-04-14 13:02.42: Waiting for worker…
2024-04-14 13:02.42: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at d5b8aa4 Merge pull request #39 from hannesm/conf-xen
(from ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea)
Unable to find image 'ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea' locally
docker.io/ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea: Pulling from ocaml/opam
Digest: sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
Status: Downloaded newer image for ocaml/opam@sha256:efeda74a7308e07f1116c60f20e99e3316014c1a121f86b7a0cf4676fafe83ea
2024-04-14 13:02.54 ---> saved as "5e746ce75e4437cb8305c3242b0b72bc201345168ee5141ebd6738538e1ece83"
/: (comment debian-12-4.03_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-04-14 13:02.54 ---> saved as "17730712d481f6de6d87f039733a29f54bc236fb415a7ed1b4487ab1828fae07"
/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-14 13:03.42 ---> saved as "0daf33aedad7fb282aaac6c7833940bdb15b54d88d76fff8c6981e24105988f0"
/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-101-generic
The OCaml toplevel, version 4.03.0
2.1.5
2024-04-14 13:03.42 ---> saved as "8ba57746c1588e360057937b5f9571685bd8a781186d299d6c3ac306404d108c"
/src: (workdir /src)
/src: (run (shell "sudo chown opam /src"))
2024-04-14 13:03.42 ---> saved as "8a972db9ab987a0f7ac5a95a1c0017fef21f56ba02eb320ff0446f680f19bec7"
/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e cbb8cd94c39e250b80c3d011957716a0096cbb3e || git fetch origin master) && git reset -q --hard cbb8cd94c39e250b80c3d011957716a0096cbb3e && git log --no-decorate -n1 --oneline && opam update -u"))
cbb8cd94c3 conf-pkg-config: rename nixos pkgconfig -> pkg-config
<><> 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-14 13:04.41 ---> saved as "634b48758bb06af6a80eb16daad88b8352796d524295f6057c6405e469bad83f"
/src: (copy (src xen-evtchn.opam xen-evtchn-unix.opam) (dst ./))
2024-04-14 13:04.41 ---> saved as "72985a5bcaa88a6bf9fcf10e110ecea822ebea1dba11a9d374d80c89ecc05474"
/src: (run (network host)
(shell "opam pin add -yn xen-evtchn.dev './' && \
\nopam pin add -yn xen-evtchn-unix.dev './'"))
[xen-evtchn.dev] synchronised (file:///src)
xen-evtchn is now pinned to file:///src (version dev)
[xen-evtchn-unix.dev] synchronised (file:///src)
xen-evtchn-unix is now pinned to file:///src (version dev)
2024-04-14 13:04.44 ---> saved as "e9a7e3cbad79f477e2b0ec0e3fb48961a58da030f93d21346b7853ad9b6a77ad"
/src: (env DEPS "base-bigarray.base base-num.base base-threads.base base-unix.base camlp4.4.03+1 cmdliner.0.9.2 conf-m4.1 conf-ncurses.1 conf-pkg-config.1.0 conf-which.1 conf-xen.1 dune.1.0.0 lwt.2.4.5 lwt-dllist.1.0.0 num.0 ocaml.4.03.0 ocaml-base-compiler.4.03.0 ocaml-config.1 ocamlbuild.0.9.1 ocamlfind.1.6.2 ounit.1.1.2")
/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 xen-evtchn.dev xen-evtchn-unix.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 [151 kB]
- Fetched 255 kB in 0s (898 kB/s)
- Reading package lists...
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xen-evtchn.dev] synchronised (no changes)
[xen-evtchn-unix.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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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:
libxen-dev m4 ncurses-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libxen-dev" "m4" "ncurses-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
2024-04-14 13:04.58 ---> saved as "1dfb84bfb03777cf3fd5a149f955900c3cf6537134cd39b2202a7cee44de14b1"
/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.03.0).
[NOTE] Package ocaml is already installed (current version is 4.03.0).
[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 base-num base
- install conf-which 1
- install dune 1.0.0
- install conf-pkg-config 1.0
- install conf-xen 1
- install ocamlbuild 0.9.1
- install conf-m4 1
- install num 0
- install conf-ncurses 1
- install camlp4 4.03+1
- install ocamlfind 1.6.2
- install ounit 1.1.2
- install lwt 2.4.5
- install cmdliner 0.9.2
- install lwt-dllist 1.0.0
===== 15 to install =====
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-num.base
-> retrieved camlp4.4.03+1 (cached)
-> retrieved dune.1.0.0 (cached)
-> installed conf-m4.1
-> installed conf-pkg-config.1.0
-> installed conf-which.1
-> installed conf-xen.1
-> retrieved lwt.2.4.5 (cached)
-> installed num.0
-> retrieved cmdliner.0.9.2 (http://erratique.ch/software/cmdliner/releases/cmdliner-0.9.2.tbz)
-> retrieved lwt-dllist.1.0.0 (cached)
-> installed conf-ncurses.1
-> retrieved ocamlbuild.0.9.1 (cached)
-> retrieved ocamlfind.1.6.2 (cached)
-> retrieved ounit.1.1.2 (cached)
-> installed ocamlbuild.0.9.1
-> installed ocamlfind.1.6.2
-> installed dune.1.0.0
-> installed cmdliner.0.9.2
-> installed camlp4.4.03+1
-> installed ounit.1.1.2
-> installed lwt.2.4.5
-> installed lwt-dllist.1.0.0
Done.
# Run eval $(opam env) to update the current shell environment
2024-04-14 13:06.41 ---> saved as "b2548b64e4e49267d5bfec4c8ad6937bbc983fbb17d6de17b6d37a5edec571dd"
/src: (copy (src .) (dst /src))
2024-04-14 13:06.41 ---> saved as "c4e92d37cf4f6c90d590df4e68eb2272af0f35323bc2d69cb82829c6a4e66060"
/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
From the command line:
Error: Alias "check" is empty.
It is not defined in . or any of its descendants.
ocamlc lib/.xen_evtchn_unix.objs/unix_activations.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /home/opam/.opam/4.03/bin/ocamlc.opt -w @a-4-29-40-41-42-44-45-48-58-59-60-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -bin-annot -I lib/.xen_evtchn_unix.objs -I /home/opam/.opam/4.03/lib/lwt -I /home/opam/.opam/4.03/lib/lwt-dllist -I lib/.xen_evtchn.objs -no-alias-deps -o lib/.xen_evtchn_unix.objs/unix_activations.cmo -c -impl lib/unix_activations.ml)
File "lib/unix_activations.ml", line 27, characters 5-14:
Error: Unbound module Lwt.Infix
ocamlc lib/eventchn_stubs.o
eventchn_stubs.c: In function 'stub_evtchn_init':
eventchn_stubs.c:47:16: warning: 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);
| ^
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2024-04-14 13:06.42: Job failed: Failed: Build failed