package mirage-console-xen

  1. Overview
  2. Docs
On This Page
  1. Error log

mirage-console-xen 2.4.3

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package dune is already installed (current version is 3.17.2).
[NOTE] Package ocamlfind is already installed (current version is 1.9.8).
The following actions will be performed:
=== install 47 packages
  - install base                     v0.15.1
  - install base-bytes               base
  - install bigarray-compat          1.1.0
  - install cmdliner                 1.3.0
  - install conf-findutils           1
  - install conf-perl                2
  - install conf-pkg-config          4
  - install cppo                     1.8.0
  - install csexp                    1.5.2
  - install cstruct                  6.2.0
  - install dune-configurator        3.17.2
  - install fmt                      0.9.0
  - install io-page                  2.3.0
  - install io-page-xen              2.3.0 (deprecated)
  - install logs                     0.7.0
  - install lwt                      5.9.0
  - install lwt-dllist               1.0.1
  - install minios-xen               0.9
  - install mirage-console           2.4.3 (deprecated)
  - install mirage-console-lwt       2.4.3 (deprecated)
  - install mirage-console-xen       2.4.3 (deprecated)
  - install mirage-console-xen-proto 2.4.3 (deprecated)
  - install mirage-device            1.2.0 (deprecated)
  - install mirage-flow              1.6.0
  - install mirage-profile           0.9.1 (deprecated)
  - install mirage-xen               4.0.1
  - install mirage-xen-minios        0.9.3 (deprecated)
  - install mirage-xen-ocaml         3.3.3 (deprecated)
  - install mirage-xen-posix         3.3.1 (deprecated)
  - install num                      1.5-1
  - install ocaml-compiler-libs      v0.12.4
  - install ocaml-src                4.11.2             [required by mirage-xen-ocaml]
  - install ocamlbuild               0.15.0
  - install ocplib-endian            1.2
  - install parsexp                  v0.15.0
  - install ppx_cstruct              6.2.0
  - install ppx_derivers             1.2.1
  - install ppxlib                   0.35.0
  - install rresult                  0.7.0
  - install sexplib                  v0.15.1
  - install sexplib0                 v0.15.1
  - 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 xenstore                 2.3.0

The following system packages will first need to be installed:
    pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved base.v0.15.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-findutils.1
-> installed conf-perl.2
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> installed bigarray-compat.1.1.0
-> retrieved cstruct.6.2.0, ppx_cstruct.6.2.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved io-page.2.3.0, io-page-xen.2.3.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved lwt.5.9.0  (cached)
-> retrieved minios-xen.0.9  (cached)
-> installed csexp.1.5.2
-> retrieved dune-configurator.3.17.2  (cached)
-> retrieved mirage-console.2.4.3, mirage-console-lwt.2.4.3, mirage-console-xen.2.4.3, mirage-console-xen-proto.2.4.3  (cached)
-> retrieved mirage-device.1.2.0  (cached)
-> retrieved mirage-flow.1.6.0  (cached)
-> retrieved mirage-profile.0.9.1  (cached)
-> retrieved mirage-xen.4.0.1  (cached)
-> retrieved mirage-xen-minios.0.9.3  (cached)
-> retrieved mirage-xen-ocaml.3.3.3  (cached)
-> retrieved mirage-xen-posix.3.3.1  (cached)
-> retrieved num.1.5-1  (cached)
-> installed cmdliner.1.3.0
-> installed cppo.1.8.0
-> installed lwt-dllist.1.0.1
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ocaml-src.4.11.2  (cached)
-> installed minios-xen.0.9
-> installed dune-configurator.3.17.2
-> retrieved parsexp.v0.15.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.15.1  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved shared-memory-ring.3.2.1, shared-memory-ring-lwt.3.2.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved xen-evtchn.2.1.0  (cached)
-> retrieved xenstore.2.3.0  (cached)
-> installed mirage-xen-minios.0.9.3
-> installed num.1.5-1
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-src.4.11.2
-> installed ocamlbuild.0.15.0
-> installed ocplib-endian.1.2
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.15.1
-> installed stdlib-shims.0.3.0
-> installed mirage-xen-posix.3.3.1
-> installed lwt.5.9.0
-> installed xen-evtchn.2.1.0
-> installed xenstore.2.3.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed base.v0.15.1
-> installed fmt.0.9.0
-> installed mirage-device.1.2.0
-> installed mirage-flow.1.6.0
-> installed cstruct.6.2.0
-> installed mirage-console.2.4.3
-> installed mirage-console-lwt.2.4.3
-> installed io-page.2.3.0
-> installed shared-memory-ring.3.2.1
-> installed mirage-console-xen-proto.2.4.3
-> installed shared-memory-ring-lwt.3.2.1
-> installed parsexp.v0.15.0
-> installed logs.0.7.0
-> installed sexplib.v0.15.1
-> installed mirage-xen-ocaml.3.3.3
-> installed io-page-xen.2.3.0
-> installed ppxlib.0.35.0
-> installed ppx_cstruct.6.2.0
-> installed mirage-profile.0.9.1
-> installed mirage-xen.4.0.1
[ERROR] The compilation of mirage-console-xen.2.4.3 failed at "dune build -p mirage-console-xen -j 255".

#=== ERROR while compiling mirage-console-xen.2.4.3 ===========================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/mirage-console-xen.2.4.3
# command              ~/.opam/4.11/bin/dune build -p mirage-console-xen -j 255
# exit-code            1
# env-file             ~/.opam/log/mirage-console-xen-113-2672ac.env
# output-file          ~/.opam/log/mirage-console-xen-113-2672ac.out
### output ###
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlopt.opt -w -40 -safe-string -g -I xen/.mirage_console_xen.objs/byte -I xen/.mirage_console_xen.objs/native -I /home/opam/.opam/4.11/lib/bigarray-compat -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/cstruct -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/io-page -I /home/opam/.opam/4.11/lib/io-page-xen -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/lwt -I /home/opam/.opam/4.11/lib/lwt-dllist -I /home/opam/.opam/4.11/lib/mirage-console -I /home/opam/.opam/4.11/lib/mirage-console-lwt -I /home/opam/.opam/4.11/lib/mirage-console-xen-proto -I /home/opam/.opam/4.11/lib/mirage-device -I /home/opam/.opam/4.11/lib/mirage-flow -I /home/opam/.opam/4.11/lib/mirage-profile -I /home/opam/.opam/4.11/lib/mirage-xen -I /home/opam/.opam/4.11/lib/mirage-xen/bindings -I /home/opam/.opam/4.11/lib/mirage-xen/bindings-minios -I /home/opam/.opam/4.11/lib/mirage-xen/internals -I /home/opam/.opam/4.11/lib/ocplib-endian -I /home/opam/.opam/4.11/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.11/lib/rresult -I /home/opam/.opam/4.11/lib/shared-memory-ring -I /home/opam/.opam/4.11/lib/shared-memory-ring-lwt -I /home/opam/.opam/4.11/lib/xen-evtchn -I /home/opam/.opam/4.11/lib/xenstore -I /home/opam/.opam/4.11/lib/xenstore/client -intf-suffix .ml -no-alias-deps -o xen/.mirage_console_xen.objs/native/console_xen.cmx -c -impl xen/console_xen.ml)
# File "xen/console_xen.ml", line 201, characters 7-18:
# 201 |     if Cstruct.len buffer = 0 then
#              ^^^^^^^^^^^
# Error: Unbound value Cstruct.len
# Hint: Did you mean lenv?
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -safe-string -g -bin-annot -I xen/.mirage_console_xen.objs/byte -I /home/opam/.opam/4.11/lib/bigarray-compat -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/cstruct -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/io-page -I /home/opam/.opam/4.11/lib/io-page-xen -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/lwt -I /home/opam/.opam/4.11/lib/lwt-dllist -I /home/opam/.opam/4.11/lib/mirage-console -I /home/opam/.opam/4.11/lib/mirage-console-lwt -I /home/opam/.opam/4.11/lib/mirage-console-xen-proto -I /home/opam/.opam/4.11/lib/mirage-device -I /home/opam/.opam/4.11/lib/mirage-flow -I /home/opam/.opam/4.11/lib/mirage-profile -I /home/opam/.opam/4.11/lib/mirage-xen -I /home/opam/.opam/4.11/lib/mirage-xen/bindings -I /home/opam/.opam/4.11/lib/mirage-xen/bindings-minios -I /home/opam/.opam/4.11/lib/mirage-xen/internals -I /home/opam/.opam/4.11/lib/ocplib-endian -I /home/opam/.opam/4.11/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.11/lib/rresult -I /home/opam/.opam/4.11/lib/shared-memory-ring -I /home/opam/.opam/4.11/lib/shared-memory-ring-lwt -I /home/opam/.opam/4.11/lib/xen-evtchn -I /home/opam/.opam/4.11/lib/xenstore -I /home/opam/.opam/4.11/lib/xenstore/client -intf-suffix .ml -no-alias-deps -o xen/.mirage_console_xen.objs/byte/console_xen.cmo -c -impl xen/console_xen.ml)
# File "xen/console_xen.ml", line 201, characters 7-18:
# 201 |     if Cstruct.len buffer = 0 then
#              ^^^^^^^^^^^
# Error: Unbound value Cstruct.len
# Hint: Did you mean lenv?



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build mirage-console-xen 2.4.3
+- 
+- The following changes have been performed
| - install base                     v0.15.1
| - install base-bytes               base
| - install bigarray-compat          1.1.0
| - install cmdliner                 1.3.0
| - install conf-findutils           1
| - install conf-perl                2
| - install conf-pkg-config          4
| - install cppo                     1.8.0
| - install csexp                    1.5.2
| - install cstruct                  6.2.0
| - install dune-configurator        3.17.2
| - install fmt                      0.9.0
| - install io-page                  2.3.0
| - install io-page-xen              2.3.0
| - install logs                     0.7.0
| - install lwt                      5.9.0
| - install lwt-dllist               1.0.1
| - install minios-xen               0.9
| - install mirage-console           2.4.3
| - install mirage-console-lwt       2.4.3
| - install mirage-console-xen-proto 2.4.3
| - install mirage-device            1.2.0
| - install mirage-flow              1.6.0
| - install mirage-profile           0.9.1
| - install mirage-xen               4.0.1
| - install mirage-xen-minios        0.9.3
| - install mirage-xen-ocaml         3.3.3
| - install mirage-xen-posix         3.3.1
| - install num                      1.5-1
| - install ocaml-compiler-libs      v0.12.4
| - install ocaml-src                4.11.2
| - install ocamlbuild               0.15.0
| - install ocplib-endian            1.2
| - install parsexp                  v0.15.0
| - install ppx_cstruct              6.2.0
| - install ppx_derivers             1.2.1
| - install ppxlib                   0.35.0
| - install rresult                  0.7.0
| - install sexplib                  v0.15.1
| - install sexplib0                 v0.15.1
| - 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 xenstore                 2.3.0
+- 

<><> mirage-xen-posix.3.3.1 installed successfully ><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-xen-posix is deprecated

<><> mirage-xen-ocaml.3.3.3 installed successfully ><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> mirage-xen-minios.0.9.3 installed successfully <><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> mirage-profile.0.9.1 installed successfully ><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-profile is deprecated

<><> mirage-device.1.2.0 installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-device is deprecated

<><> mirage-console-xen-proto.2.4.3 installed successfully ><><><><><><><><><><>
=> Note: This package is deprecated.

<><> mirage-console-lwt.2.4.3 installed successfully ><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-console-lwt is deprecated, and has been folded into mirage-console

<><> mirage-console.2.4.3 installed successfully ><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> io-page-xen.2.3.0 installed successfully <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.

<><> mirage-console-xen.2.4.3 troubleshooting <><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.11/.opam-switch/backup/state-20250206024234.export"
OCaml

Innovation. Community. Security.