sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
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 16 packages - install base-bytes base - install conf-boost 1 - install cppo 1.8.0 - install csexp 1.5.2 - install dune-configurator 3.17.2 - install extlib 1.8.0 - install lwt 5.9.0 - install lwt_ppx 5.8.0 - install ocaml-compiler-libs v0.12.4 - install ocamlbuild 0.15.0 - install ocplib-endian 1.2 - install ppx_derivers 1.2.1 - install ppxlib 0.35.0 - install qfs 0.12 - install sexplib0 v0.17.0 - install stdlib-shims 0.3.0 The following system packages will first need to be installed: libboost-dev <><> 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" "libboost-dev" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libboost1.74-dev: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 .../libboost1.74-dev_1.74.0+ds1-21_amd64.deb ... - Unpacking libboost1.74-dev:amd64 (1.74.0+ds1-21) ... - Selecting previously unselected package libboost-dev:amd64. - Preparing to unpack .../libboost-dev_1.74.0.3_amd64.deb ... - Unpacking libboost-dev:amd64 (1.74.0.3) ... - Setting up libboost1.74-dev:amd64 (1.74.0+ds1-21) ... - Setting up libboost-dev:amd64 (1.74.0.3) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bytes.base -> installed conf-boost.1 -> retrieved cppo.1.8.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved extlib.1.8.0 (cached) -> retrieved lwt.5.9.0 (cached) -> retrieved lwt_ppx.5.8.0 (cached) -> retrieved ocaml-compiler-libs.v0.12.4 (cached) -> retrieved ocplib-endian.1.2 (cached) -> retrieved ocamlbuild.0.15.0 (cached) -> installed csexp.1.5.2 -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved qfs.0.12 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved ppxlib.0.35.0 (cached) -> retrieved dune-configurator.3.17.2 (cached) -> installed cppo.1.8.0 -> installed ocaml-compiler-libs.v0.12.4 -> installed ppx_derivers.1.2.1 -> installed sexplib0.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed ocplib-endian.1.2 -> installed extlib.1.8.0 -> installed dune-configurator.3.17.2 -> installed ocamlbuild.0.15.0 -> installed lwt.5.9.0 -> installed ppxlib.0.35.0 -> installed lwt_ppx.5.8.0 [ERROR] The compilation of qfs.0.12 failed at "ocaml setup.ml -build". #=== ERROR while compiling qfs.0.12 ===========================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///src # path ~/.opam/4.14/.opam-switch/build/qfs.0.12 # command ~/.opam/4.14/bin/ocaml setup.ml -build # exit-code 1 # env-file ~/.opam/log/qfs-113-3b90a1.env # output-file ~/.opam/log/qfs-113-3b90a1.out ### output ### # File "./setup.ml", line 575, characters 4-15: # 575 | Stream.from next # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 603, characters 19-36: # 603 | let strm = Stream.of_channel chn in # ^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 610, characters 37-48: # 610 | Buffer.add_char buf (Stream.next strm); # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 613, characters 17-31: # 613 | with Stream.Failure -> # ^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 1431, characters 16-33: # 1431 | let lxr = Genlex.make_lexer [] in # ^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1433, characters 22-38: # 1433 | let st = lxr (Stream.of_string s) in # ^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 1434, characters 14-26: # 1434 | match Stream.npeek 3 st with # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "./setup.ml", line 1435, characters 11-23: # 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1435, characters 28-40: # 1435 | | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm) # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1436, characters 11-23: # 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1436, characters 28-41: # 1436 | | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str) # ^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1437, characters 11-24: # 1437 | | [Genlex.String str] -> String str # ^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1438, characters 11-23: # 1438 | | [Genlex.Ident nm] -> Ident nm # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "./setup.ml", line 1775, characters 22-40: # 1775 | let compare = Pervasives.compare # ^^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Pervasives # Use Stdlib instead. # # If you need to stay compatible with OCaml < 4.07, you can use the # stdlib-shims library: https://github.com/ocaml/stdlib-shims # File "setup.ml", line 3176, characters 8-19: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3179, characters 21-32: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3182, characters 18-32: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3184, characters 6-23: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3187, characters 12-24: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3188, characters 9-21: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3188, characters 26-36: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3188, characters 42-55: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3189, characters 8-19: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3189, characters 25-36: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3189, characters 42-53: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3201, characters 17-34: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3326, characters 16-33: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3345, characters 22-38: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3347, characters 17-29: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3348, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3348, characters 37-49: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3350, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3350, characters 37-50: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3352, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3352, characters 46-58: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3354, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3354, characters 46-59: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3356, characters 16-28: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 3369, characters 13-25: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 3467, characters 16-34: # Alert deprecated: module Stdlib.Pervasives # Use Stdlib instead. # # If you need to stay compatible with OCaml < 4.07, you can use the # stdlib-shims library: https://github.com/ocaml/stdlib-shims # File "setup.ml", line 4518, characters 21-38: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 4520, characters 19-31: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 4521, characters 16-29: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 4521, characters 33-46: # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "setup.ml", line 4523, characters 15-26: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "setup.ml", line 4523, characters 32-43: # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -ccopt -x -ccopt c++ -ccopt -Wall -ccopt -Wno-write-strings -thread -package unix -package threads -package lwt_ppx -package lwt.unix -package extlib -package bytes -c src/qfs_stubs.c # + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -ccopt -x -ccopt c++ -ccopt -Wall -ccopt -Wno-write-strings -thread -package unix -package threads -package lwt_ppx -package lwt.unix -package extlib -package bytes -c src/qfs_stubs.c # src/qfs_stubs.c:4:10: fatal error: kfs/KfsClient.h: No such file or directory # 4 | #include <kfs/KfsClient.h> # | ^~~~~~~~~~~~~~~~~ # compilation terminated. # Command exited with code 2. # + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # File "myocamlbuild.ml", line 454, characters 8-19: # 454 | Stream.from # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 457, characters 21-32: # 457 | match Stream.next st with # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 460, characters 18-32: # 460 | with Stream.Failure -> None) # ^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 462, characters 6-23: # 462 | Genlex.make_lexer ["="] st_line # ^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 465, characters 12-24: # 465 | match Stream.npeek 3 lxr with # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 466, characters 9-21: # 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> # ^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 466, characters 26-36: # 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> # ^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 466, characters 42-55: # 466 | | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] -> # ^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Genlex # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 467, characters 8-19: # 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 467, characters 25-36: # 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 467, characters 42-53: # 467 | Stream.junk lxr; Stream.junk lxr; Stream.junk lxr; # ^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # File "myocamlbuild.ml", line 479, characters 17-34: # 479 | let st = Stream.of_channel chn in # ^^^^^^^^^^^^^^^^^ # Alert deprecated: module Stdlib.Stream # Use the camlp-streams library instead. # E: Failure("Command ''/home/opam/.opam/4.14/bin/ocamlbuild' src/libqfs_stubs.a src/dllqfs_stubs.so src/qfs.cma src/qfs.cmxa src/qfs.a src/qfs.cmxs src/example.native -use-ocamlfind -tag debug' terminated with error code 10") <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build qfs 0.12 +- +- The following changes have been performed | - install base-bytes base | - install conf-boost 1 | - install cppo 1.8.0 | - install csexp 1.5.2 | - install dune-configurator 3.17.2 | - install extlib 1.8.0 | - install lwt 5.9.0 | - install lwt_ppx 5.8.0 | - install ocaml-compiler-libs v0.12.4 | - install ocamlbuild 0.15.0 | - install ocplib-endian 1.2 | - install ppx_derivers 1.2.1 | - install ppxlib 0.35.0 | - install sexplib0 v0.17.0 | - install stdlib-shims 0.3.0 +- <><> qfs.0.12 troubleshooting <><><><><><><><><><><><><><><><><><><><><><><><><> => This package requires QFS development files installed, consult https://quantcast.github.io/qfs/ and https://github.com/quantcast/qfs/wiki/Developer-Documentation on how to build manually. Tentative instructions for Debian : https://gist.githubusercontent.com/ygrek/7bb217d6ab7b25a765b7/raw # 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.14/.opam-switch/backup/state-20250206035057.export"