package gdbprofiler

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

gdbprofiler 0.3

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 21 packages
  - install base-bytes              base
  - install containers              2.8.1
  - install cppo                    1.8.0
  - install csexp                   1.5.2
  - install dune-configurator       3.17.2
  - install gdbprofiler             0.3
  - install jbuilder                1.0+beta20.2 (deprecated)
  - install lwt                     5.9.0
  - install lwt_log                 1.1.2
  - install lwt_ppx                 2.0.1
  - install menhir                  20240715
  - install menhirCST               20240715
  - install menhirLib               20240715
  - install menhirSdk               20240715
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ocplib-endian           1.2
  - install ppx_derivers            1.2.1
  - install ppx_tools_versioned     5.4.0
  - install result                  1.5
  - install seq                     base
  - install yojson                  2.2.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bytes.base
-> retrieved csexp.1.5.2  (cached)
-> retrieved containers.2.8.1  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved jbuilder.1.0+beta20.2  (cached)
-> installed csexp.1.5.2
-> retrieved lwt.5.9.0  (cached)
-> retrieved lwt_log.1.1.2  (cached)
-> retrieved lwt_ppx.2.0.1  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cppo.1.8.0
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved gdbprofiler.0.3  (https://github.com/copy/gdbprofiler/archive/0.3.tar.gz)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved ppx_tools_versioned.5.4.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved yojson.2.2.2  (cached)
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed ocplib-endian.1.2
-> installed yojson.2.2.2
-> installed dune-configurator.3.17.2
-> installed containers.2.8.1
-> installed jbuilder.1.0+beta20.2
-> installed lwt.5.9.0
-> installed lwt_log.1.1.2
-> installed ocaml-migrate-parsetree.1.8.0
-> installed ppx_tools_versioned.5.4.0
-> installed lwt_ppx.2.0.1
-> installed menhir.20240715
[ERROR] The compilation of gdbprofiler.0.3 failed at "jbuilder build -p gdbprofiler -j 31".

#=== ERROR while compiling gdbprofiler.0.3 ====================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.12.1 | file:///src
# path                 ~/.opam/4.12/.opam-switch/build/gdbprofiler.0.3
# command              ~/.opam/4.12/bin/jbuilder build -p gdbprofiler -j 31
# exit-code            1
# env-file             ~/.opam/log/gdbprofiler-113-844e0b.env
# output-file          ~/.opam/log/gdbprofiler-113-844e0b.out
### output ###
#       menhir src/gdbmi_parser.{ml,mli} (exit 1)
# (cd _build/default/src && /home/opam/.opam/4.12/bin/menhir gdbmi_parser.mly)
# Error: the code back-end requires the type of every nonterminal symbol to be
# known. Please specify the type of every symbol via %type declarations, or
# enable type inference (look up --infer in the manual).
# Type inference is automatically enabled when Menhir is used via Dune,
# provided the dune-project file says (using menhir 2.0) or later.
# The types of the following nonterminal symbols are unknown:
# async_type
# input_prefix
# list(preceded(COMMA,result))
# loption(separated_nonempty_list(COMMA,result))
# option(TOKEN)
# output_record
# result
# separated_nonempty_list(COMMA,result)
# separated_nonempty_list(COMMA,value)
# stream_type
# value
#       ocamlc src/.gdb_lib.objs/gdb_lib__Cpuprofile.{cmi,cmti} (exit 2)
# (cd _build/default && /home/opam/.opam/4.12/bin/ocamlc.opt -w -40 -w A-4-39-40-41-42-44-45 -warn-error -58 -safe-string -g -bin-annot -I src/.gdb_lib.objs -I /home/opam/.opam/4.12/lib/bytes -I /home/opam/.opam/4.12/lib/containers -I /home/opam/.opam/4.12/lib/containers/data -I /home/opam/.opam/4.12/lib/containers/monomorphic -I /home/opam/.opam/4.12/lib/lwt -I /home/opam/.opam/4.12/lib/lwt/unix -I /home/opam/.opam/4.12/lib/lwt_log -I /home/opam/.opam/4.12/lib/lwt_log/core -I /home/opam/.opam/4.12/lib/lwt_ppx -I /home/opam/.opam/4.12/lib/ocaml-migrate-parsetree -I /home/opam/.opam/4.12/lib/ocaml/compiler-libs -I /home/opam/.opam/4.12/lib/ocaml/threads -I /home/opam/.opam/4.12/lib/ocplib-endian -I /home/opam/.opam/4.12/lib/ocplib-endian/bigstring -I /home/opam/.opam/4.12/lib/ppx_derivers -I /home/opam/.opam/4.12/lib/ppx_tools_versioned -I /home/opam/.opam/4.12/lib/result -I /home/opam/.opam/4.12/lib/seq -I /home/opam/.opam/4.12/lib/yojson -no-alias-deps -open Gdb_lib -o src/.gdb_lib.objs/gdb_lib__Cpuprofile.cmi -c -intf src/cpuprofile.pp.mli)
# File "src/cpuprofile.mli", line 32, characters 21-37:
# 32 | val to_yojson : t -> Yojson.Safe.json
#                           ^^^^^^^^^^^^^^^^
# Error: Unbound type constructor Yojson.Safe.json



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build gdbprofiler 0.3
+- 
+- The following changes have been performed
| - install base-bytes              base
| - install containers              2.8.1
| - install cppo                    1.8.0
| - install csexp                   1.5.2
| - install dune-configurator       3.17.2
| - install jbuilder                1.0+beta20.2
| - install lwt                     5.9.0
| - install lwt_log                 1.1.2
| - install lwt_ppx                 2.0.1
| - install menhir                  20240715
| - install menhirCST               20240715
| - install menhirLib               20240715
| - install menhirSdk               20240715
| - install ocaml-migrate-parsetree 1.8.0
| - install ocplib-endian           1.2
| - install ppx_derivers            1.2.1
| - install ppx_tools_versioned     5.4.0
| - install result                  1.5
| - install seq                     base
| - install yojson                  2.2.2
+- 

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

<><> jbuilder.1.0+beta20.2 installed successfully <><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
# 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.12/.opam-switch/backup/state-20250206033509.export"
OCaml

Innovation. Community. Security.