package tidy

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

tidy 1-4.9.30-0.1.1

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 54 packages
  - install base                    v0.12.2
  - install base_bigstring          v0.12.0
  - install base_quickcheck         v0.12.1
  - install bin_prot                v0.12.0
  - install core_kernel             v0.12.3
  - install csexp                   1.5.2
  - install dune-configurator       3.17.2
  - install fieldslib               v0.12.0
  - install jane-street-headers     v0.12.0
  - install jst-config              v0.12.0
  - install num                     1.5-1
  - install ocaml-compiler-libs     v0.12.4
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install octavius                1.2.2
  - install parsexp                 v0.12.0
  - install ppx_assert              v0.12.0
  - install ppx_base                v0.12.0
  - install ppx_bench               v0.12.0
  - install ppx_bin_prot            v0.12.1
  - install ppx_compare             v0.12.0
  - install ppx_custom_printf       v0.12.1
  - install ppx_derivers            1.2.1
  - install ppx_enumerate           v0.12.0
  - install ppx_expect              v0.12.0
  - install ppx_fail                v0.12.0
  - install ppx_fields_conv         v0.12.0
  - install ppx_hash                v0.12.0
  - install ppx_here                v0.12.0
  - install ppx_inline_test         v0.12.0
  - install ppx_jane                v0.12.0
  - install ppx_js_style            v0.12.0
  - install ppx_let                 v0.12.0
  - install ppx_module_timer        v0.12.0
  - install ppx_optcomp             v0.12.0
  - install ppx_optional            v0.12.0
  - install ppx_pipebang            v0.12.0
  - install ppx_sexp_conv           v0.12.0
  - install ppx_sexp_message        v0.12.0
  - install ppx_sexp_value          v0.12.0
  - install ppx_stable              v0.12.0
  - install ppx_typerep_conv        v0.12.0
  - install ppx_variants_conv       v0.12.0
  - install ppxlib                  0.8.1
  - install re                      1.11.0
  - install result                  1.5
  - install seq                     base
  - install sexplib                 v0.12.0
  - install sexplib0                v0.12.0
  - install splittable_random       v0.12.0
  - install stdio                   v0.12.0
  - install tidy                    1-4.9.30-0.1.1
  - install time_now                v0.12.0
  - install typerep                 v0.12.0
  - install variantslib             v0.12.0

The following system packages will first need to be installed:
    libtidy-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" "libtidy-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libtidy5deb1: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 .../libtidy5deb1_2%3a5.6.0-11_amd64.deb ...
- Unpacking libtidy5deb1:amd64 (2:5.6.0-11) ...
- Selecting previously unselected package libtidy-dev:amd64.
- Preparing to unpack .../libtidy-dev_2%3a5.6.0-11_amd64.deb ...
- Unpacking libtidy-dev:amd64 (2:5.6.0-11) ...
- Setting up libtidy5deb1:amd64 (2:5.6.0-11) ...
- Setting up libtidy-dev:amd64 (2:5.6.0-11) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base_bigstring.v0.12.0  (cached)
-> retrieved base_quickcheck.v0.12.1  (cached)
-> retrieved base.v0.12.2  (cached)
-> retrieved bin_prot.v0.12.0  (cached)
-> retrieved core_kernel.v0.12.3  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved fieldslib.v0.12.0  (cached)
-> retrieved jane-street-headers.v0.12.0  (cached)
-> retrieved jst-config.v0.12.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved octavius.1.2.2  (cached)
-> retrieved parsexp.v0.12.0  (cached)
-> retrieved ppx_assert.v0.12.0  (cached)
-> retrieved ppx_base.v0.12.0  (cached)
-> retrieved ppx_bench.v0.12.0  (cached)
-> retrieved ppx_bin_prot.v0.12.1  (cached)
-> retrieved ppx_compare.v0.12.0  (cached)
-> installed jane-street-headers.v0.12.0
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved ppx_custom_printf.v0.12.1  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.12.0  (cached)
-> retrieved ppx_expect.v0.12.0  (cached)
-> retrieved ppx_fail.v0.12.0  (cached)
-> retrieved ppx_fields_conv.v0.12.0  (cached)
-> retrieved ppx_hash.v0.12.0  (cached)
-> retrieved ppx_here.v0.12.0  (cached)
-> retrieved ppx_inline_test.v0.12.0  (cached)
-> retrieved ppx_jane.v0.12.0  (cached)
-> retrieved ppx_js_style.v0.12.0  (cached)
-> installed csexp.1.5.2
-> retrieved ppx_let.v0.12.0  (cached)
-> retrieved ppx_module_timer.v0.12.0  (cached)
-> retrieved ppx_optcomp.v0.12.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppx_optional.v0.12.0  (cached)
-> retrieved ppx_pipebang.v0.12.0  (cached)
-> retrieved ppx_sexp_conv.v0.12.0  (cached)
-> retrieved ppx_sexp_message.v0.12.0  (cached)
-> retrieved ppx_sexp_value.v0.12.0  (cached)
-> retrieved ppx_stable.v0.12.0  (cached)
-> retrieved ppx_typerep_conv.v0.12.0  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed ocaml-compiler-libs.v0.12.4
-> installed num.1.5-1
-> installed octavius.1.2.2
-> retrieved ppx_variants_conv.v0.12.0  (cached)
-> retrieved ppxlib.0.8.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved sexplib.v0.12.0  (cached)
-> retrieved sexplib0.v0.12.0  (cached)
-> retrieved splittable_random.v0.12.0  (cached)
-> retrieved stdio.v0.12.0  (cached)
-> retrieved time_now.v0.12.0  (cached)
-> retrieved typerep.v0.12.0  (cached)
-> retrieved variantslib.v0.12.0  (cached)
-> installed result.1.5
-> retrieved tidy.1-4.9.30-0.1.1  (https://github.com/ocaml/opam-source-archives/raw/main/tidy-4.9.30-0.1.1.tar.gz)
-> installed sexplib0.v0.12.0
-> installed re.1.11.0
-> installed dune-configurator.3.17.2
-> installed ocaml-migrate-parsetree.1.8.0
-> installed base.v0.12.2
-> installed fieldslib.v0.12.0
-> installed variantslib.v0.12.0
-> installed stdio.v0.12.0
-> installed typerep.v0.12.0
-> installed parsexp.v0.12.0
-> installed sexplib.v0.12.0
-> installed ppxlib.0.8.1
-> installed ppx_optcomp.v0.12.0
-> installed ppx_let.v0.12.0
-> installed ppx_here.v0.12.0
-> installed ppx_enumerate.v0.12.0
-> installed ppx_fields_conv.v0.12.0
-> installed ppx_optional.v0.12.0
-> installed ppx_stable.v0.12.0
-> installed ppx_typerep_conv.v0.12.0
-> installed ppx_variants_conv.v0.12.0
-> installed ppx_compare.v0.12.0
-> installed ppx_pipebang.v0.12.0
-> installed ppx_sexp_conv.v0.12.0
-> installed ppx_js_style.v0.12.0
-> installed ppx_inline_test.v0.12.0
-> installed ppx_fail.v0.12.0
-> installed ppx_hash.v0.12.0
-> installed ppx_sexp_value.v0.12.0
-> installed ppx_assert.v0.12.0
-> installed ppx_sexp_message.v0.12.0
-> installed ppx_bench.v0.12.0
-> installed ppx_custom_printf.v0.12.1
-> installed ppx_base.v0.12.0
-> installed splittable_random.v0.12.0
-> installed jst-config.v0.12.0
-> installed bin_prot.v0.12.0
-> installed time_now.v0.12.0
-> installed ppx_expect.v0.12.0
-> installed base_quickcheck.v0.12.1
-> installed ppx_module_timer.v0.12.0
-> installed ppx_bin_prot.v0.12.1
-> installed ppx_jane.v0.12.0
-> installed base_bigstring.v0.12.0
-> installed core_kernel.v0.12.3
[ERROR] The compilation of tidy.1-4.9.30-0.1.1 failed at "make".

#=== ERROR while compiling tidy.1-4.9.30-0.1.1 ================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.09.1 | file:///src
# path                 ~/.opam/4.09/.opam-switch/build/tidy.1-4.9.30-0.1.1
# command              /usr/bin/make
# exit-code            2
# env-file             ~/.opam/log/tidy-113-ddda67.env
# output-file          ~/.opam/log/tidy-113-ddda67.out
### output ###
# ocamlfind ocamlc -package core_kernel tidy.mli
# File "tidy.mli", line 811, characters 34-62:
# 811 |     val getAttrs : node -> string Core_kernel.Std.String.Map.t
#                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Core_kernel.Std
# [since 2018-03] Use Core_kernel directly instead
# File "tidy.mli", line 829, characters 37-59:
# 829 |     val extractText : node -> string Core_kernel.Std.List.t
#                                            ^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Core_kernel.Std
# [since 2018-03] Use Core_kernel directly instead
# File "tidy.mli", line 859, characters 25-53:
# 859 |       byType : node list Core_kernel.Std.String.Map.t;
#                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Core_kernel.Std
# [since 2018-03] Use Core_kernel directly instead
# File "tidy.mli", line 860, characters 25-53:
# 860 |       byAttr : node list Core_kernel.Std.String.Map.t;
#                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Core_kernel.Std
# [since 2018-03] Use Core_kernel directly instead
# gcc -Wall -fPIC -c -I `ocamlc -where` -o stub.o stub.c
# stub.c:1:10: fatal error: tidy.h: No such file or directory
#     1 | #include <tidy.h>
#       |          ^~~~~~~~
# compilation terminated.
# make: *** [Makefile:9: stub.o] Error 1



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build tidy 1-4.9.30-0.1.1
+- 
+- The following changes have been performed
| - install base                    v0.12.2
| - install base_bigstring          v0.12.0
| - install base_quickcheck         v0.12.1
| - install bin_prot                v0.12.0
| - install core_kernel             v0.12.3
| - install csexp                   1.5.2
| - install dune-configurator       3.17.2
| - install fieldslib               v0.12.0
| - install jane-street-headers     v0.12.0
| - install jst-config              v0.12.0
| - install num                     1.5-1
| - install ocaml-compiler-libs     v0.12.4
| - install ocaml-migrate-parsetree 1.8.0
| - install octavius                1.2.2
| - install parsexp                 v0.12.0
| - install ppx_assert              v0.12.0
| - install ppx_base                v0.12.0
| - install ppx_bench               v0.12.0
| - install ppx_bin_prot            v0.12.1
| - install ppx_compare             v0.12.0
| - install ppx_custom_printf       v0.12.1
| - install ppx_derivers            1.2.1
| - install ppx_enumerate           v0.12.0
| - install ppx_expect              v0.12.0
| - install ppx_fail                v0.12.0
| - install ppx_fields_conv         v0.12.0
| - install ppx_hash                v0.12.0
| - install ppx_here                v0.12.0
| - install ppx_inline_test         v0.12.0
| - install ppx_jane                v0.12.0
| - install ppx_js_style            v0.12.0
| - install ppx_let                 v0.12.0
| - install ppx_module_timer        v0.12.0
| - install ppx_optcomp             v0.12.0
| - install ppx_optional            v0.12.0
| - install ppx_pipebang            v0.12.0
| - install ppx_sexp_conv           v0.12.0
| - install ppx_sexp_message        v0.12.0
| - install ppx_sexp_value          v0.12.0
| - install ppx_stable              v0.12.0
| - install ppx_typerep_conv        v0.12.0
| - install ppx_variants_conv       v0.12.0
| - install ppxlib                  0.8.1
| - install re                      1.11.0
| - install result                  1.5
| - install seq                     base
| - install sexplib                 v0.12.0
| - install sexplib0                v0.12.0
| - install splittable_random       v0.12.0
| - install stdio                   v0.12.0
| - install time_now                v0.12.0
| - install typerep                 v0.12.0
| - install variantslib             v0.12.0
+- 

<><> ocaml-migrate-parsetree.1.8.0 installed successfully <><><><><><><><><><><>
=> Note: This package is deprecated.

<><> tidy.1-4.9.30-0.1.1 troubleshooting ><><><><><><><><><><><><><><><><><><><>
=> This package requires installation of libtidy5. You can download and install it from https://github.com/htacg/tidy-html5 and here is a sample install script: https://gist.githubusercontent.com/kandu/b88c1f4631e6c5a3bbac/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.09/.opam-switch/backup/state-20250206023821.export"
OCaml

Innovation. Community. Security.