Organisationsmirageocaml-evtchnd5b8aa ()freebsd-5.1_opam-2.1

freebsd-5.1_opam-2.1

Link Copied
Code Copied

Logs

2024-04-05 09:08.50: New job: test mirage/ocaml-evtchn https://github.com/mirage/ocaml-evtchn.git#refs/heads/main (d5b8aa44587b4e3281ff26284a200ba4a960eb8c) (freebsd-x86_64:freebsd-5.1_opam-2.1)
Base: freebsd-ocaml-5.1
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 freebsd-ocaml-5.1
# freebsd-5.1_opam-2.1
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 conf-xen.1 cppo.1.6.9 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 lwt.5.7.0 lwt-dllist.1.0.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.0"
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-05 09:08.50: Using cache hint "mirage/ocaml-evtchn-freebsd-freebsd-ocaml-5.1-freebsd-5.1_opam-2.1-ed52c14167c7647d5329033d7792cfb4"
2024-04-05 09:08.50: Using OBuilder spec:
((from freebsd-ocaml-5.1)
 (comment freebsd-5.1_opam-2.1)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/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 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && 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-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 conf-xen.1 cppo.1.6.9 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 lwt.5.7.0 lwt-dllist.1.0.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.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 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-05 09:08.50: Waiting for resource in pool OCluster
2024-04-06 01:47.04: Waiting for worker…
2024-04-06 05:10.53: Got resource from pool OCluster
Building on spring
All commits already cached
HEAD is now at d5b8aa4 Merge pull request #39 from hannesm/conf-xen


(from freebsd-ocaml-5.1)
2024-04-06 05:06.56 ---> using "813c71762ba09cfa8cfe3f05f009bdd39b1b347128fefd2e95099f87d236c989" from cache


/: (comment freebsd-5.1_opam-2.1)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.1 /usr/local/bin/opam"))
2024-04-06 05:06.57 ---> using "65a9b62d2493057013f99a47d1d57b6072f5b00406fb4bfea785e58388f6b852" from cache


/src: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2024-04-06 05:06.59 ---> using "e99a94697afa70d27199359988cb3c099e37a5c06ee07760e5a5921308c3119e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.0-RELEASE-p5
The OCaml toplevel, version 5.1.1
2.1.5
2024-04-06 05:07.00 ---> using "ec35bf54fa4c1a8f744eebe8956e2d9e1f1f6379cf858b75ddefbabb954554fc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2024-04-06 05:07.01 ---> using "e452d16e32919148b58c7e1d1c9db9a6c0854da706cd5eb72487da563b728a13" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
           (network host)
           (shell "cd ~/opam-repository && (git cat-file -e 950c52962d34ab7507ecebe8cc7ef16fed0f292a || git fetch origin master) && git reset -q --hard 950c52962d34ab7507ecebe8cc7ef16fed0f292a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   69e073a577..9cbee1880f  master     -> origin/master
950c52962d [new release] dune (15 packages) (3.15.0)


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


Constructing initial basis...
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).


The following packages are not being upgraded because the new versions conflict with other installed packages:
  - ocaml.5.3.0
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
2024-04-06 05:07.02 ---> using "7004a958d53f89f94e2c4295939eee8863c01b6ca909e63a179822e7e3698cb8" from cache


/src: (copy (src xen-evtchn.opam xen-evtchn-unix.opam) (dst ./))
2024-04-06 05:07.04 ---> saved as "a9f2dca612878eb10a0b71594471665b5bf3995546c32ea11b994ed7c6704759"


/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-06 05:07.24 ---> saved as "6e4bc034a62f279528c1c77db6a6a06c0fc5dfd284938e860715a42efb088725"


/src: (env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 conf-xen.1 cppo.1.6.9 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 lwt.5.7.0 lwt-dllist.1.0.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.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 xen-evtchn.dev xen-evtchn-unix.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[xen-evtchn.dev] synchronised (no changes)
[xen-evtchn-unix.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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices


The following system packages will first need to be installed:
    xen-tools


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
+ /usr/local/bin/sudo "pkg" "install" "-y" "xen-tools"
- Updating FreeBSD repository catalogue...
- [spring] Fetching packagesite.pkg: ....
- ...... done
- Processing entries: 
- .
- .
- .
- .
- .
- .
- .
- .
- .. done
- FreeBSD repository update completed. 33716 packages processed.
- All repositories are up to date.
- The following 9 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	argp-standalone: 1.5.0
- 	edk2-xen-x64: g202308_4
- 	glib: 2.78.3,2
- 	libxml2: 2.10.4_2
- 	lzo2: 2.10_1
- 	pixman: 0.42.2
- 	seabios: 1.16.1_1
- 	xen-tools: 4.18.0.20231212
- 	yajl: 2.1.0
- 
- Number of packages to be installed: 9
- 
- The process will require 376 MiB more space.
- 47 MiB to be downloaded.
- [spring] [1/9] Fetching edk2-xen-x64-g202308_4.pkg: ...
- ....... done
- [spring] [2/9] Fetching libxml2-2.10.4_2.pkg: .......... done
- [spring] [3/9] Fetching pixman-0.42.2.pkg: ....... done
- [spring] [4/9] Fetching yajl-2.1.0.pkg: .......... done
- [spring] [5/9] Fetching glib-2.78.3,2.pkg: 
- .......... done
- [spring] [6/9] Fetching lzo2-2.10_1.pkg: ...... done
- [spring] [7/9] Fetching argp-standalone-1.5.0.pkg: ....... done
- [spring] [8/9] Fetching xen-tools-4.18.0.20231212.pkg: 
- .
- .
- ..
- ..
- ...
- . done
- [spring] [9/9] Fetching seabios-1.16.1_1.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [spring] [1/9] Installing libxml2-2.10.4_2...
- [spring] [1/9] Extracting libxml2-2.10.4_2: .....
- ..... done
- [spring] [2/9] Installing edk2-xen-x64-g202308_4...
- [spring] [2/9] Extracting edk2-xen-x64-g202308_4: .... done
- [spring] [3/9] Installing pixman-0.42.2...
- [spring] [3/9] Extracting pixman-0.42.2: .......... done
- [spring] [4/9] Installing yajl-2.1.0...
- [spring] [4/9] Extracting yajl-2.1.0: .......... done
- [spring] [5/9] Installing glib-2.78.3,2...
- [spring] [5/9] Extracting glib-2.78.3,2: ......
- .... done
- [spring] [6/9] Installing lzo2-2.10_1...
- [spring] [6/9] Extracting lzo2-2.10_1: .......... done
- [spring] [7/9] Installing argp-standalone-1.5.0...
- [spring] [7/9] Extracting argp-standalone-1.5.0: ........ done
- [spring] [8/9] Installing seabios-1.16.1_1...
- [spring] [8/9] Extracting seabios-1.16.1_1: .... done
- [spring] [9/9] Installing xen-tools-4.18.0.20231212...
- [spring] [9/9] Extracting xen-tools-4.18.0.20231212: .
- ......... done
- ==> Running trigger: glib-schemas.ucl
- Compiling glib schemas
- No schema files found: doing nothing.
- ==> Running trigger: gio-modules.ucl
- Generating GIO modules cache
2024-04-06 05:09.13 ---> saved as "c65f3a2a9be7bba0a3754a4f763d6428d7cd674871abc418c33a7d0359bcf960"


/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 3).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.1.1).
[NOTE] Package ocaml is already installed (current version is 5.1.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-nnp is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
Constructing initial basis...
Number of 0-1 knapsack inequalities = 3
Constructing conflict graph...
Conflict graph has 4 + 3 = 7 vertices
The following actions will be performed:
   install seq               base
   install dune              3.15.0
   install conf-xen          1
   install cmdliner          1.2.0
   install ocamlfind         1.9.6
   install stdlib-shims      0.3.0
   install lwt-dllist        1.0.1
   install csexp             1.5.2
   install cppo              1.6.9
   install base-bytes        base
   install ounit2            2.2.7
   install dune-configurator 3.15.0
   install ocplib-endian     1.2
   install ounit             2.2.7
   install lwt               5.7.0
=====  15 =====


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 retrieved csexp.1.5.2  (cached)
 retrieved cppo.1.6.9  (cached)
 retrieved cmdliner.1.2.0  (cached)
 retrieved lwt.5.7.0  (cached)
 retrieved dune-configurator.3.15.0  (cached)
 retrieved lwt-dllist.1.0.1  (cached)
 retrieved ocamlfind.1.9.6  (cached)
 retrieved ounit.2.2.7  (cached)
 retrieved ocplib-endian.1.2  (cached)
 installed seq.base
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved ounit2.2.2.7  (cached)
 retrieved dune.3.15.0  (cached)
 installed cmdliner.1.2.0
 installed conf-xen.1
 installed ocamlfind.1.9.6
 installed base-bytes.base
 installed dune.3.15.0
 installed stdlib-shims.0.3.0
 installed lwt-dllist.1.0.1
 installed csexp.1.5.2
 installed ounit2.2.2.7
 installed ounit.2.2.7
 installed cppo.1.6.9
 installed ocplib-endian.1.2
 installed dune-configurator.3.15.0
 installed lwt.5.7.0
Done.
2024-04-06 05:13.18 ---> saved as "bbcd1a5be48b1fcf420e12603c5e8394ea0f6b2a4c5b212eb47e74d1b7d12d24"


/src: (copy (src .) (dst /src))
2024-04-06 05:13.22 ---> saved as "a9a1f7e98119e7bcccd2f2ae0acffa36319cdd9f149bdfc8b6b082d9a9c2eb3b"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "lib/dune", line 12, characters 10-24:
12 |  (c_names eventchn_stubs)
               ^^^^^^^^^^^^^^
(cd _build/default/lib && /usr/bin/cc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC -g -I /home/opam/.opam/5.1.1/lib/ocaml -I /home/opam/.opam/5.1.1/lib/bytes -I /home/opam/.opam/5.1.1/lib/lwt -I /home/opam/.opam/5.1.1/lib/lwt-dllist -I /home/opam/.opam/5.1.1/lib/lwt/unix -I /home/opam/.opam/5.1.1/lib/ocaml/threads -I /home/opam/.opam/5.1.1/lib/ocaml/unix -I /home/opam/.opam/5.1.1/lib/ocplib-endian -I /home/opam/.opam/5.1.1/lib/ocplib-endian/bigstring -I . -o eventchn_stubs.o -c eventchn_stubs.c)
eventchn_stubs.c:27:10: fatal error: 'xenctrl.h' file not found
#include <xenctrl.h>
         ^~~~~~~~~~~
1 error generated.
jail: /usr/bin/su -l opam -c cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 conf-xen.1 cppo.1.6.9 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 lwt.5.7.0 lwt-dllist.1.0.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build': failed
"jail" "-c" "name=obuilder_34190_40414" "mount.devfs" "path=/obuilder/result/8699651b15e94caf27e5c10d9417658f12637d45fa40d9bc11d5d9b3c616fbf5/rootfs" "vnet" "exec.start=/sbin/ifconfig lo0 127.0.0.1/8" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/src' && env OCAMLCI='true' CI='true' DEPS='base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base cmdliner.1.2.0 conf-xen.1 cppo.1.6.9 csexp.1.5.2 dune.3.15.0 dune-configurator.3.15.0 lwt.5.7.0 lwt-dllist.1.0.1 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 ocplib-endian.1.2 ounit.2.2.7 ounit2.2.2.7 seq.base stdlib-shims.0.3.0' OPAMCOLOR='always' CLICOLOR_FORCE='1' '/usr/bin/env' 'bash' '-c' 'opam exec -- dune build @install @check @runtest && rm -rf _build'" failed with exit status 1
2024-04-06 05:17.38: Job failed: Failed: Build failed