package charrua-unix

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

charrua-unix 1.0.0

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 64 packages
  - install base                 v0.15.1
  - install base-bytes           base
  - install bigarray-compat      1.1.0
  - install charrua              1.0.0
  - install charrua-server       1.0.0
  - install charrua-unix         1.0.0
  - install cmdliner             1.3.0
  - install cppo                 1.8.0
  - install csexp                1.5.2
  - install cstruct              6.0.1
  - install cstruct-lwt          6.0.1
  - install cstruct-unix         6.0.1
  - install dune-configurator    3.17.2
  - install duration             0.2.1
  - install ethernet             2.0.0
  - install fmt                  0.9.0
  - install ipaddr               3.1.0
  - install logs                 0.7.0
  - install lru                  0.3.1
  - install lwt                  4.5.0
  - install lwt-dllist           1.0.1
  - install lwt_log              1.1.2
  - install macaddr              3.1.0
  - install menhir               20240715
  - install menhirCST            20240715
  - install menhirLib            20240715
  - install menhirSdk            20240715
  - install mirage-clock         2.0.0
  - install mirage-clock-lwt     2.0.0 (deprecated)
  - install mirage-device        1.2.0 (deprecated)
  - install mirage-flow          1.6.0
  - install mirage-net           2.0.0
  - install mirage-net-lwt       2.0.0 (deprecated)
  - install mirage-profile       0.9.1 (deprecated)
  - install mirage-protocols     3.0.0 (deprecated)
  - install mirage-protocols-lwt 3.0.0 (deprecated)
  - install mirage-random        1.2.0 (deprecated)
  - install mirage-stack         1.4.0 (deprecated)
  - install mirage-stack-lwt     1.4.0 (deprecated)
  - install mirage-time          1.3.0
  - install mirage-time-lwt      1.3.0 (deprecated)
  - install mmap                 1.2.0
  - install mtime                2.1.0
  - install num                  1.5-1
  - install ocaml-compiler-libs  v0.12.4
  - install ocamlbuild           0.15.0
  - install ocplib-endian        1.2
  - install parsexp              v0.15.0
  - install ppx_cstruct          6.0.1
  - install ppx_derivers         1.2.1
  - install ppx_sexp_conv        v0.15.1
  - install ppxlib               0.35.0
  - install psq                  0.2.1
  - install randomconv           0.1.3
  - install rawlink              1.0
  - install result               1.5
  - install rresult              0.7.0
  - install seq                  base
  - install sexplib              v0.15.1
  - install sexplib0             v0.15.1
  - install stdlib-shims         0.3.0
  - install tcpip                3.7.6
  - install topkg                1.0.7
  - install tuntap               1.8.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved base.v0.15.1  (cached)
-> retrieved charrua.1.0.0, charrua-server.1.0.0, charrua-unix.1.0.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.0.1, cstruct-lwt.6.0.1, cstruct-unix.6.0.1, ppx_cstruct.6.0.1  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved ethernet.2.0.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved ipaddr.3.1.0, macaddr.3.1.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved lwt.4.5.0  (cached)
-> installed bigarray-compat.1.1.0
-> installed csexp.1.5.2
-> installed duration.0.2.1
-> retrieved lwt_log.1.1.2  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> retrieved mirage-clock.2.0.0, mirage-clock-lwt.2.0.0  (cached)
-> retrieved mirage-device.1.2.0  (cached)
-> retrieved mirage-flow.1.6.0  (cached)
-> retrieved mirage-net.2.0.0, mirage-net-lwt.2.0.0  (cached)
-> retrieved mirage-profile.0.9.1  (cached)
-> retrieved mirage-protocols.3.0.0, mirage-protocols-lwt.3.0.0  (cached)
-> retrieved mirage-random.1.2.0  (cached)
-> retrieved mirage-stack.1.4.0, mirage-stack-lwt.1.4.0  (cached)
-> retrieved mirage-time.1.3.0, mirage-time-lwt.1.3.0  (cached)
-> retrieved mmap.1.2.0  (cached)
-> retrieved mtime.2.1.0  (cached)
-> installed cmdliner.1.3.0
-> installed cppo.1.8.0
-> installed cstruct.6.0.1
-> installed lwt-dllist.1.0.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> installed mmap.1.2.0
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed cstruct-unix.6.0.1
-> installed mirage-random.1.2.0
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved parsexp.v0.15.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.15.1  (cached)
-> retrieved psq.0.2.1  (cached)
-> retrieved randomconv.0.1.3  (cached)
-> retrieved rawlink.1.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.15.1  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved tcpip.3.7.6  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> installed ppx_derivers.1.2.1
-> installed randomconv.0.1.3
-> retrieved tuntap.1.8.0  (cached)
-> installed result.1.5
-> installed ocplib-endian.1.2
-> installed psq.0.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.15.1
-> installed lru.0.3.1
-> installed ocaml-compiler-libs.v0.12.4
-> installed macaddr.3.1.0
-> installed dune-configurator.3.17.2
-> installed ipaddr.3.1.0
-> installed num.1.5-1
-> installed tuntap.1.8.0
-> installed ocamlbuild.0.15.0
-> installed lwt.4.5.0
-> installed cstruct-lwt.6.0.1
-> installed lwt_log.1.1.2
-> installed base.v0.15.1
-> installed parsexp.v0.15.0
-> installed topkg.1.0.7
-> installed sexplib.v0.15.1
-> installed rresult.0.7.0
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed mirage-device.1.2.0
-> installed mirage-flow.1.6.0
-> installed mirage-time.1.3.0
-> installed mirage-net.2.0.0
-> installed mirage-clock.2.0.0
-> installed mirage-time-lwt.1.3.0
-> installed mirage-net-lwt.2.0.0
-> installed mirage-protocols.3.0.0
-> installed mirage-clock-lwt.2.0.0
-> installed mirage-stack.1.4.0
-> installed mirage-protocols-lwt.3.0.0
-> installed mirage-stack-lwt.1.4.0
-> installed logs.0.7.0
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed ppx_cstruct.6.0.1
-> installed ppx_sexp_conv.v0.15.1
-> installed mirage-profile.0.9.1
-> installed rawlink.1.0
-> installed ethernet.2.0.0
-> installed tcpip.3.7.6
-> installed charrua.1.0.0
-> installed charrua-server.1.0.0
[ERROR] The compilation of charrua-unix.1.0.0 failed at "dune build -p charrua-unix -j 39".

#=== ERROR while compiling charrua-unix.1.0.0 =================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/charrua-unix.1.0.0
# command              ~/.opam/4.11/bin/dune build -p charrua-unix -j 39
# exit-code            1
# env-file             ~/.opam/log/charrua-unix-113-304649.env
# output-file          ~/.opam/log/charrua-unix-113-304649.out
### output ###
# File "dune-project", line 3, characters 14-17:
# 3 | (using menhir 2.0)
#                   ^^^
# Warning: Version 2.0 of the menhir extension is not supported until version
# 1.4 of the dune language.
# Supported versions of this extension in version 1.2 of the dune language:
# - 1.0
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I unix/.charruad.eobjs/byte -I /home/opam/.opam/4.11/lib/base/caml -I /home/opam/.opam/4.11/lib/bigarray-compat -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/charrua -I /home/opam/.opam/4.11/lib/charrua-server -I /home/opam/.opam/4.11/lib/cmdliner -I /home/opam/.opam/4.11/lib/cstruct -I /home/opam/.opam/4.11/lib/cstruct-lwt -I /home/opam/.opam/4.11/lib/cstruct-unix -I /home/opam/.opam/4.11/lib/duration -I /home/opam/.opam/4.11/lib/ethernet -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/ipaddr -I /home/opam/.opam/4.11/lib/ipaddr/sexp -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/lru -I /home/opam/.opam/4.11/lib/lwt -I /home/opam/.opam/4.11/lib/lwt/unix -I /home/opam/.opam/4.11/lib/lwt_log -I /home/opam/.opam/4.11/lib/lwt_log/core -I /home/opam/.opam/4.11/lib/macaddr -I /home/opam/.opam/4.11/lib/macaddr/sexp -I /home/opam/.opam/4.11/lib/mirage-clock -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-net -I /home/opam/.opam/4.11/lib/mirage-net-lwt -I /home/opam/.opam/4.11/lib/mirage-profile -I /home/opam/.opam/4.11/lib/mirage-protocols -I /home/opam/.opam/4.11/lib/mirage-protocols-lwt -I /home/opam/.opam/4.11/lib/mirage-random -I /home/opam/.opam/4.11/lib/mmap -I /home/opam/.opam/4.11/lib/mtime -I /home/opam/.opam/4.11/lib/mtime/clock -I /home/opam/.opam/4.11/lib/ocaml/threads -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/parsexp -I /home/opam/.opam/4.11/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.11/lib/psq -I /home/opam/.opam/4.11/lib/randomconv -I /home/opam/.opam/4.11/lib/rawlink -I /home/opam/.opam/4.11/lib/rawlink/lwt -I /home/opam/.opam/4.11/lib/result -I /home/opam/.opam/4.11/lib/rresult -I /home/opam/.opam/4.11/lib/seq -I /home/opam/.opam/4.11/lib/sexplib -I /home/opam/.opam/4.11/lib/sexplib0 -I /home/opam/.opam/4.11/lib/stdlib-shims -I /home/opam/.opam/4.11/lib/tcpip -I /home/opam/.opam/4.11/lib/tcpip/ipv4 -I /home/opam/.opam/4.11/lib/tcpip/udp -I /home/opam/.opam/4.11/lib/tcpip/unix -I /home/opam/.opam/4.11/lib/tuntap -no-alias-deps -o unix/.charruad.eobjs/byte/charruad.cmo -c -impl unix/charruad.ml)
# File "unix/charruad.ml", line 93, characters 42-53:
# 93 |   let t = match Dhcp_wire.pkt_of_buf buf (Cstruct.len buf) with
#                                                ^^^^^^^^^^^
# Alert deprecated: Cstruct.len
# len is deprecated, you should use length instead.
# File "unix/charruad.ml", line 100, characters 42-57:
# 100 |       let now = Mtime_clock.elapsed () |> Mtime.Span.to_s |> Int32.of_float in
#                                                 ^^^^^^^^^^^^^^^
# Error: Unbound value Mtime.Span.to_s



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build charrua-unix 1.0.0
+- 
+- The following changes have been performed
| - install base                 v0.15.1
| - install base-bytes           base
| - install bigarray-compat      1.1.0
| - install charrua              1.0.0
| - install charrua-server       1.0.0
| - install cmdliner             1.3.0
| - install cppo                 1.8.0
| - install csexp                1.5.2
| - install cstruct              6.0.1
| - install cstruct-lwt          6.0.1
| - install cstruct-unix         6.0.1
| - install dune-configurator    3.17.2
| - install duration             0.2.1
| - install ethernet             2.0.0
| - install fmt                  0.9.0
| - install ipaddr               3.1.0
| - install logs                 0.7.0
| - install lru                  0.3.1
| - install lwt                  4.5.0
| - install lwt-dllist           1.0.1
| - install lwt_log              1.1.2
| - install macaddr              3.1.0
| - install menhir               20240715
| - install menhirCST            20240715
| - install menhirLib            20240715
| - install menhirSdk            20240715
| - install mirage-clock         2.0.0
| - install mirage-clock-lwt     2.0.0
| - install mirage-device        1.2.0
| - install mirage-flow          1.6.0
| - install mirage-net           2.0.0
| - install mirage-net-lwt       2.0.0
| - install mirage-profile       0.9.1
| - install mirage-protocols     3.0.0
| - install mirage-protocols-lwt 3.0.0
| - install mirage-random        1.2.0
| - install mirage-stack         1.4.0
| - install mirage-stack-lwt     1.4.0
| - install mirage-time          1.3.0
| - install mirage-time-lwt      1.3.0
| - install mmap                 1.2.0
| - install mtime                2.1.0
| - install num                  1.5-1
| - install ocaml-compiler-libs  v0.12.4
| - install ocamlbuild           0.15.0
| - install ocplib-endian        1.2
| - install parsexp              v0.15.0
| - install ppx_cstruct          6.0.1
| - install ppx_derivers         1.2.1
| - install ppx_sexp_conv        v0.15.1
| - install ppxlib               0.35.0
| - install psq                  0.2.1
| - install randomconv           0.1.3
| - install rawlink              1.0
| - install result               1.5
| - install rresult              0.7.0
| - install seq                  base
| - install sexplib              v0.15.1
| - install sexplib0             v0.15.1
| - install stdlib-shims         0.3.0
| - install tcpip                3.7.6
| - install topkg                1.0.7
| - install tuntap               1.8.0
+- 

<><> mirage-time-lwt.1.3.0 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-time-lwt is deprecated

<><> mirage-stack-lwt.1.4.0 installed successfully ><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-stack-lwt is deprecated

<><> mirage-stack.1.4.0 installed successfully ><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-stack is deprecated

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

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

<><> mirage-protocols.3.0.0 installed successfully ><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> mirage-protocols is deprecated

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

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

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

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

<><> lwt.4.5.0 installed successfully <><><><><><><><><><><><><><><><><><><><><>
=> Lwt 5.0.0 will make some breaking changes in December 2019. See
     https://github.com/ocsigen/lwt/issues/584
# 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-20250206021623.export"
OCaml

Innovation. Community. Security.