package qfs

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

qfs 0.4

Error log

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

[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 4 packages
  - install base-bytes base
  - install conf-boost 1
  - install ocamlbuild 0.15.0
  - install qfs        0.4

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 ocamlbuild.0.15.0  (cached)
-> retrieved qfs.0.4  (https://github.com/ahrefs/ocaml-qfs/archive/0.4.tar.gz)
-> installed ocamlbuild.0.15.0
[ERROR] The compilation of qfs.0.4 failed at "ocaml setup.ml -build".

#=== ERROR while compiling qfs.0.4 ============================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.08.1 | file:///src
# path                 ~/.opam/4.08/.opam-switch/build/qfs.0.4
# command              ~/.opam/4.08/bin/ocaml setup.ml -build
# exit-code            1
# env-file             ~/.opam/log/qfs-113-9ad0a9.env
# output-file          ~/.opam/log/qfs-113-9ad0a9.out
### output ###
# File "./setup.ml", line 318, characters 20-36:
# 318 |     String.compare (String.lowercase s1) (String.lowercase s2)
#                           ^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 318, characters 42-58:
# 318 |     String.compare (String.lowercase s1) (String.lowercase s2)
#                                                 ^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 327, characters 14-30:
# 327 |              (String.lowercase s1) = (String.lowercase s2)
#                     ^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 327, characters 38-54:
# 327 |              (String.lowercase s1) = (String.lowercase s2)
#                                             ^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 330, characters 25-41:
# 330 |            Hashtbl.hash (String.lowercase s)
#                                ^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 368, characters 10-26:
# 368 |           String.lowercase buf
#                 ^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 474, characters 13-29:
# 474 |              String.lowercase
#                    ^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.lowercase
# Use String.lowercase_ascii instead.
# File "./setup.ml", line 1381, characters 23-41:
# 1381 |          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 1825, characters 16-33:
# 1825 |     concat dir (String.capitalize base)
#                        ^^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.capitalize
# Use String.capitalize_ascii instead.
# File "./setup.ml", line 1831, characters 16-35:
# 1831 |     concat dir (String.uncapitalize base)
#                        ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: Stdlib.String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 3229, 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 5847, characters 11-28:
# Alert deprecated: Stdlib.String.capitalize
# Use String.capitalize_ascii instead.
# File "setup.ml", line 5848, characters 11-30:
# Alert deprecated: Stdlib.String.uncapitalize
# Use String.uncapitalize_ascii instead.
# + /home/opam/.opam/4.08/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.08/lib/ocamlbuild /home/opam/.opam/4.08/lib/ocamlbuild/ocamlbuildlib.cmxa 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 -c src/qfs_stubs.c
# + /home/opam/.opam/4.08/bin/ocamlfind ocamlc -g -ccopt -x -ccopt c++ -ccopt -Wall -ccopt -Wno-write-strings -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.
# + /home/opam/.opam/4.08/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.08/lib/ocamlbuild /home/opam/.opam/4.08/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.08/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# File "myocamlbuild.ml", line 518, characters 43-62:
# 518 |                        List.map (fun m -> (String.uncapitalize m) ^ ".cmi")
#                                                  ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: Ocamlbuild_plugin.String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "myocamlbuild.ml", line 531, characters 51-70:
# 531 |                        List.map (fun m -> dir^"/"^(String.uncapitalize m)^".cmi")
#                                                          ^^^^^^^^^^^^^^^^^^^
# Alert deprecated: Ocamlbuild_plugin.String.uncapitalize
# Use String.uncapitalize_ascii instead.
# 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 -tag debug' terminated with error code 10")



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build qfs 0.4
+- 
+- The following changes have been performed
| - install base-bytes base
| - install conf-boost 1
| - install ocamlbuild 0.15.0
+- 

<><> qfs.0.4 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-20250204170149.export"
OCaml

Innovation. Community. Security.