package ppx_pbt

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

ppx_pbt 0.2.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 63 packages
  - install alcotest                1.8.0
  - install angstrom                0.16.1
  - install astring                 0.8.5
  - install base                    v0.15.1
  - install base-bytes              base
  - install bigstringaf             0.10.0
  - install cmdliner                1.3.0
  - install conf-gmp                4
  - install cppo                    1.8.0
  - install csexp                   1.5.2
  - install cstruct                 6.2.0
  - install data-encoding           1.0.0
  - install dune-configurator       3.17.2
  - install either                  1.0.0
  - install ezjsonm                 1.3.0
  - install fmt                     0.9.0
  - install hex                     1.5.0
  - install jane-street-headers     v0.15.0
  - install json-data-encoding      1.0.0
  - install json-data-encoding-bson 1.0.0
  - install jsonm                   1.0.2
  - install jst-config              v0.15.1
  - install menhir                  20240715
  - install menhirCST               20240715
  - install menhirLib               20240715
  - install menhirSdk               20240715
  - install ocaml-compiler-libs     v0.12.4
  - install ocaml-syntax-shims      1.0.0
  - install ocamlbuild              0.15.0
  - install ocplib-endian           1.2
  - install ounit2                  2.2.7
  - install ppx_assert              v0.15.0
  - install ppx_base                v0.15.0
  - install ppx_cold                v0.15.0
  - install ppx_compare             v0.15.0
  - install ppx_derivers            1.2.1
  - install ppx_deriving            6.0.3
  - install ppx_deriving_qcheck     0.5
  - install ppx_enumerate           v0.15.0
  - install ppx_expect              v0.15.1
  - install ppx_hash                v0.15.0
  - install ppx_here                v0.15.0
  - install ppx_inline_test         v0.15.1
  - install ppx_optcomp             v0.15.0
  - install ppx_pbt                 0.2.1 (deprecated)
  - install ppx_sexp_conv           v0.15.1
  - install ppxlib                  0.35.0
  - install qcheck                  0.23
  - install qcheck-alcotest         0.23
  - install qcheck-core             0.23
  - install qcheck-ounit            0.23
  - install re                      1.12.0
  - install seq                     base
  - install sexplib0                v0.15.1
  - install stdio                   v0.15.0
  - install stdlib-shims            0.3.0
  - install stringext               1.6.0
  - install time_now                v0.15.0
  - install topkg                   1.0.7
  - install uri                     4.4.0
  - install uutf                    1.0.3
  - install zarith                  1.12
  - install zarith_stubs_js         v0.15.0

The following system packages will first need to be installed:
    libgmp-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" "libgmp-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl: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 .../libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> installed base-bytes.base
-> retrieved alcotest.1.8.0  (cached)
-> retrieved base.v0.15.1  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-gmp.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cstruct.6.2.0  (cached)
-> retrieved data-encoding.1.0.0, json-data-encoding.1.0.0, json-data-encoding-bson.1.0.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved ezjsonm.1.3.0  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved hex.1.5.0  (cached)
-> retrieved jane-street-headers.v0.15.0  (cached)
-> retrieved jst-config.v0.15.1  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> installed cppo.1.8.0
-> retrieved dune-configurator.3.17.2  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ounit2.2.2.7  (cached)
-> retrieved ppx_assert.v0.15.0  (cached)
-> retrieved ppx_base.v0.15.0  (cached)
-> retrieved ppx_cold.v0.15.0  (cached)
-> retrieved ppx_compare.v0.15.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_enumerate.v0.15.0  (cached)
-> retrieved ppx_deriving.6.0.3  (cached)
-> installed cmdliner.1.3.0
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed jane-street-headers.v0.15.0
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> installed ocplib-endian.1.2
-> retrieved ppx_deriving_qcheck.0.5, qcheck.0.23, qcheck-alcotest.0.23, qcheck-core.0.23, qcheck-ounit.0.23  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved ppx_expect.v0.15.1  (cached)
-> retrieved ppx_hash.v0.15.0  (cached)
-> retrieved ppx_here.v0.15.0  (cached)
-> retrieved ppx_inline_test.v0.15.1  (cached)
-> retrieved ppx_optcomp.v0.15.0  (cached)
-> retrieved ppx_pbt.0.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.15.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.12.0  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved sexplib0.v0.15.1  (cached)
-> retrieved stdio.v0.15.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved time_now.v0.15.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved zarith.1.12  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved zarith_stubs_js.v0.15.0  (cached)
-> installed stdlib-shims.0.3.0
-> installed stringext.1.6.0
-> installed zarith_stubs_js.v0.15.0
-> installed sexplib0.v0.15.1
-> installed re.1.12.0
-> installed qcheck-core.0.23
-> installed dune-configurator.3.17.2
-> installed ounit2.2.2.7
-> installed qcheck-ounit.0.23
-> installed qcheck.0.23
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed zarith.1.12
-> installed ocamlbuild.0.15.0
-> installed uri.4.4.0
-> installed base.v0.15.1
-> installed stdio.v0.15.0
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed cstruct.6.2.0
-> installed hex.1.5.0
-> installed jsonm.1.0.2
-> installed ezjsonm.1.3.0
-> installed alcotest.1.8.0
-> installed qcheck-alcotest.0.23
-> installed json-data-encoding.1.0.0
-> installed json-data-encoding-bson.1.0.0
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed ppx_optcomp.v0.15.0
-> installed ppx_cold.v0.15.0
-> installed ppx_here.v0.15.0
-> installed ppx_enumerate.v0.15.0
-> installed ppx_compare.v0.15.0
-> installed ppx_sexp_conv.v0.15.1
-> installed ppx_deriving.6.0.3
-> installed ppx_hash.v0.15.0
-> installed ppx_deriving_qcheck.0.5
-> installed ppx_assert.v0.15.0
-> installed ppx_base.v0.15.0
-> installed jst-config.v0.15.1
-> installed time_now.v0.15.0
-> installed ppx_inline_test.v0.15.1
-> installed ppx_expect.v0.15.1
-> installed data-encoding.1.0.0
[ERROR] The compilation of ppx_pbt.0.2.1 failed at "dune build -p ppx_pbt -j 255".

#=== ERROR while compiling ppx_pbt.0.2.1 ======================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.13.1 | file:///src
# path                 ~/.opam/4.13/.opam-switch/build/ppx_pbt.0.2.1
# command              ~/.opam/4.13/bin/dune build -p ppx_pbt -j 255
# exit-code            1
# env-file             ~/.opam/log/ppx_pbt-113-20bcf0.env
# output-file          ~/.opam/log/ppx_pbt-113-20bcf0.out
### output ###
# (cd _build/default && /home/opam/.opam/4.13/bin/ocamlc.opt -w -40 -g -bin-annot -I src/ppx/core/.core.objs/byte -I /home/opam/.opam/4.13/lib/angstrom -I /home/opam/.opam/4.13/lib/base -I /home/opam/.opam/4.13/lib/base/base_internalhash_types -I /home/opam/.opam/4.13/lib/base/caml -I /home/opam/.opam/4.13/lib/base/shadow_stdlib -I /home/opam/.opam/4.13/lib/bigstringaf -I /home/opam/.opam/4.13/lib/bytes -I /home/opam/.opam/4.13/lib/cstruct -I /home/opam/.opam/4.13/lib/data-encoding -I /home/opam/.opam/4.13/lib/either -I /home/opam/.opam/4.13/lib/ezjsonm -I /home/opam/.opam/4.13/lib/hex -I /home/opam/.opam/4.13/lib/json-data-encoding -I /home/opam/.opam/4.13/lib/json-data-encoding-bson -I /home/opam/.opam/4.13/lib/json-data-encoding/stdlib -I /home/opam/.opam/4.13/lib/jsonm -I /home/opam/.opam/4.13/lib/menhirLib -I /home/opam/.opam/4.13/lib/ocaml-compiler-libs/common -I /home/opam/.opam/4.13/lib/ocaml-compiler-libs/shadow -I /home/opam/.opam/4.13/lib/ocaml/compiler-libs -I /home/opam/.opam/4.13/lib/ocplib-endian -I /home/opam/.opam/4.13/lib/ounit2 -I /home/opam/.opam/4.13/lib/ounit2/advanced -I /home/opam/.opam/4.13/lib/ppx_compare/runtime-lib -I /home/opam/.opam/4.13/lib/ppx_derivers -I /home/opam/.opam/4.13/lib/ppx_deriving/runtime -I /home/opam/.opam/4.13/lib/ppx_deriving_qcheck -I /home/opam/.opam/4.13/lib/ppx_hash/runtime-lib -I /home/opam/.opam/4.13/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.13/lib/ppxlib -I /home/opam/.opam/4.13/lib/ppxlib/ast -I /home/opam/.opam/4.13/lib/ppxlib/astlib -I /home/opam/.opam/4.13/lib/ppxlib/print_diff -I /home/opam/.opam/4.13/lib/ppxlib/stdppx -I /home/opam/.opam/4.13/lib/ppxlib/traverse_builtins -I /home/opam/.opam/4.13/lib/qcheck -I /home/opam/.opam/4.13/lib/qcheck-core -I /home/opam/.opam/4.13/lib/qcheck-core/runner -I /home/opam/.opam/4.13/lib/qcheck-ounit -I /home/opam/.opam/4.13/lib/seq -I /home/opam/.opam/4.13/lib/sexplib0 -I /home/opam/.opam/4.13/lib/stdlib-shims -I /home/opam/.opam/4.13/lib/stringext -I /home/opam/.opam/4.13/lib/uri -I /home/opam/.opam/4.13/lib/uutf -I /home/opam/.opam/4.13/lib/zarith -I /home/opam/.opam/4.13/lib/zarith_stubs_js -I src/pbt/.pbt.objs/byte -no-alias-deps -open Core -o src/ppx/core/.core.objs/byte/core__Properties.cmi -c -intf src/ppx/core/properties.pp.mli)
# File "src/ppx/core/properties.mli", line 29, characters 5-25:
# 29 | open Common.Helpers.Pairs
#           ^^^^^^^^^^^^^^^^^^^^
# Error: Unbound module Common



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ppx_pbt 0.2.1
+- 
+- The following changes have been performed
| - install alcotest                1.8.0
| - install angstrom                0.16.1
| - install astring                 0.8.5
| - install base                    v0.15.1
| - install base-bytes              base
| - install bigstringaf             0.10.0
| - install cmdliner                1.3.0
| - install conf-gmp                4
| - install cppo                    1.8.0
| - install csexp                   1.5.2
| - install cstruct                 6.2.0
| - install data-encoding           1.0.0
| - install dune-configurator       3.17.2
| - install either                  1.0.0
| - install ezjsonm                 1.3.0
| - install fmt                     0.9.0
| - install hex                     1.5.0
| - install jane-street-headers     v0.15.0
| - install json-data-encoding      1.0.0
| - install json-data-encoding-bson 1.0.0
| - install jsonm                   1.0.2
| - install jst-config              v0.15.1
| - install menhir                  20240715
| - install menhirCST               20240715
| - install menhirLib               20240715
| - install menhirSdk               20240715
| - install ocaml-compiler-libs     v0.12.4
| - install ocaml-syntax-shims      1.0.0
| - install ocamlbuild              0.15.0
| - install ocplib-endian           1.2
| - install ounit2                  2.2.7
| - install ppx_assert              v0.15.0
| - install ppx_base                v0.15.0
| - install ppx_cold                v0.15.0
| - install ppx_compare             v0.15.0
| - install ppx_derivers            1.2.1
| - install ppx_deriving            6.0.3
| - install ppx_deriving_qcheck     0.5
| - install ppx_enumerate           v0.15.0
| - install ppx_expect              v0.15.1
| - install ppx_hash                v0.15.0
| - install ppx_here                v0.15.0
| - install ppx_inline_test         v0.15.1
| - install ppx_optcomp             v0.15.0
| - install ppx_sexp_conv           v0.15.1
| - install ppxlib                  0.35.0
| - install qcheck                  0.23
| - install qcheck-alcotest         0.23
| - install qcheck-core             0.23
| - install qcheck-ounit            0.23
| - install re                      1.12.0
| - install seq                     base
| - install sexplib0                v0.15.1
| - install stdio                   v0.15.0
| - install stdlib-shims            0.3.0
| - install stringext               1.6.0
| - install time_now                v0.15.0
| - install topkg                   1.0.7
| - install uri                     4.4.0
| - install uutf                    1.0.3
| - install zarith                  1.12
| - install zarith_stubs_js         v0.15.0
+- 

<><> ppx_pbt.0.2.1 troubleshooting ><><><><><><><><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> This package is deprecated and to be considered experimental and unsupported.
# 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.13/.opam-switch/backup/state-20250206023827.export"
OCaml

Innovation. Community. Security.