package qfs

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

qfs 0.10

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 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.10
  - install sexplib0            v0.16.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 ppxlib.0.35.0  (cached)
-> retrieved sexplib0.v0.16.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cppo.1.8.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
-> retrieved qfs.0.10  (https://github.com/ahrefs/ocaml-qfs/archive/0.10.tar.gz)
-> installed ocplib-endian.1.2
-> installed extlib.1.8.0
-> installed ocamlbuild.0.15.0
-> installed dune-configurator.3.17.2
-> installed lwt.5.9.0
-> installed ppxlib.0.35.0
-> installed lwt_ppx.5.8.0
[ERROR] The compilation of qfs.0.10 failed at "ocaml setup.ml -build".

#=== ERROR while compiling qfs.0.10 ===========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///src
# path                 ~/.opam/4.08/.opam-switch/build/qfs.0.10
# command              ~/.opam/4.08/bin/ocaml setup.ml -build
# exit-code            1
# env-file             ~/.opam/log/qfs-113-e74577.env
# output-file          ~/.opam/log/qfs-113-e74577.out
### output ###
# 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 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
# + ocamlfind ocamlopt unix.cmxa -I /home/opam/.opam/4.08/lib/ocamlbuild /home/opam/.opam/4.08/lib/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /home/opam/.opam/4.08/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# + /home/opam/.opam/4.08/bin/ocamlfind ocamlc -g -ccopt -x -ccopt c++ -ccopt -Wall -ccopt -Wno-write-strings -package unix -package lwt_ppx -package lwt.unix -package extlib -package bytes -c src/qfs_stubs.c
# + /home/opam/.opam/4.08/bin/ocamlfind ocamlc -g -ccopt -x -ccopt c++ -ccopt -Wall -ccopt -Wno-write-strings -package unix -package lwt_ppx -package lwt.unix -package extlib -package bytes -c src/qfs_stubs.c
# ocamlfind: [WARNING] Package `threads': Linking problems may arise because of the missing -thread or -vmthread switch
# 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.
# E: Failure("Command ''/home/opam/.opam/4.08/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.10
+- 
+- 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.16.0
| - install stdlib-shims        0.3.0
+- 

<><> qfs.0.10 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.08/.opam-switch/backup/state-20250206035208.export"
OCaml

Innovation. Community. Security.