Skip to content

Instantly share code, notes, and snippets.

@linse
Created August 14, 2020 11:41
Show Gist options
  • Save linse/3ed1c7d703812d5fb5ed3225c99c22b5 to your computer and use it in GitHub Desktop.
Save linse/3ed1c7d703812d5fb5ed3225c99c22b5 to your computer and use it in GitHub Desktop.
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[mirage-qubes.0.8.3] synchronised from git+https://github.com/mirage/mirage-qubes.git#master
[netchannel.1.13.1] synchronised from git+https://github.com/mato/mirage-net-xen.git#xen-pvh-via-solo5
[mirage-xen.6.0.0] synchronised from git+https://github.com/mato/mirage-xen.git#xen-pvh-via-solo5
[mirage-net-xen.1.13.1] synchronised from git+https://github.com/mato/mirage-net-xen.git#xen-pvh-via-solo5
[vchan-xen.5.0.0] synchronised from git+https://github.com/mato/ocaml-vchan.git#xen-pvh-via-solo5
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of mirage-xen failed at "/home/user/.opam/opam-init/hooks/sandbox.sh build env
OPAM_PKG_CONFIG_PATH=/home/user/.opam/solo5/lib/pkgconfig dune build -p mirage-xen -j 1".
#=== ERROR while compiling mirage-xen.6.0.0 ===================================#
# context 2.0.3 | linux/x86_64 | ocaml-base-compiler.4.10.0 | git+https://github.com/mirage/mirage-dev.git#3.x+xen-pvh-via-solo5
# path ~/.opam/solo5/.opam-switch/build/mirage-xen.6.0.0
# command ~/.opam/opam-init/hooks/sandbox.sh build env OPAM_PKG_CONFIG_PATH=/home/user/.opam/solo5/lib/pkgconfig dune build -p mirage-xen -j 1
# exit-code 1
# env-file ~/.opam/log/mirage-xen-6729-52d546.env
# output-file ~/.opam/log/mirage-xen-6729-52d546.out
### output ###
# ocamlc lib/gnttab.o (exit 2)
# (cd _build/default/lib && /home/user/.opam/solo5/bin/ocamlc.opt -g -I ../include -ccopt -include -ccopt _freestanding/overrides.h -ccopt -ffreestanding -ccopt -fstack-protector-strong -ccopt -nostdinc -ccopt -mstack-protector-guard=global -ccopt -isystem -ccopt /home/user/.opam/solo5/lib/pkgconfig/../../include/solo5-bindings-xen/crt -ccopt -I/home/user/.opam/solo5/lib/pkgconfig/../../include[...]
# bindings/gnttab.c:51:5: error: initializer element is not constant
# (NR_GRANT_TABLE_PAGES * PAGE_SIZE / sizeof (grant_entry_v1_t));
# ^
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build mirage-xen 6.0.0
└─
╶─ No changes have been performed
Makefile:14: recipe for target 'depend' failed
make: *** [depend] Error 31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment