package yaml

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

yaml 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 1.11.4).
[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 28 packages
  - install astring                 0.8.5
  - install base                    v0.13.2
  - install bigarray-compat         1.1.0
  - install bos                     0.2.1
  - install configurator            v0.11.0 (deprecated)
  - install ctypes                  0.20.2
  - install dune-configurator       1.0.0
  - install fmt                     0.9.0
  - install fpath                   0.7.3
  - install integers                0.7.0
  - install jbuilder                transition (deprecated)
  - install logs                    0.7.0
  - install num                     1.5-1
  - install ocaml-compiler-libs     v0.12.3
  - install ocaml-migrate-parsetree 1.8.0 (deprecated)
  - install ocamlbuild              0.15.0
  - install parsexp                 v0.13.0
  - install ppx_derivers            1.2.1
  - install ppx_sexp_conv           v0.13.0
  - install ppxlib                  0.15.0
  - install result                  1.5
  - install rresult                 0.7.0
  - install sexplib                 v0.13.0
  - install sexplib0                v0.13.0
  - install stdio                   v0.13.0
  - install stdlib-shims            0.3.0
  - install topkg                   1.0.7
  - install yaml                    0.2.1

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.13.2  (cached)
-> retrieved bos.0.2.1  (cached)
-> installed dune-configurator.1.0.0
-> retrieved configurator.v0.11.0  (cached)
-> retrieved ctypes.0.20.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> installed jbuilder.transition
-> retrieved fpath.0.7.3  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved num.1.5-1  (cached)
-> retrieved ocaml-compiler-libs.v0.12.3  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed bigarray-compat.1.1.0
-> retrieved ocaml-migrate-parsetree.1.8.0  (cached)
-> retrieved parsexp.v0.13.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_sexp_conv.v0.13.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved sexplib.v0.13.0  (cached)
-> retrieved sexplib0.v0.13.0  (cached)
-> retrieved stdio.v0.13.0  (cached)
-> retrieved ppxlib.0.15.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved yaml.0.2.1  (cached)
-> installed ppx_derivers.1.2.1
-> installed result.1.5
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.13.0
-> installed integers.0.7.0
-> installed ocaml-compiler-libs.v0.12.3
-> installed num.1.5-1
-> installed ocamlbuild.0.15.0
-> installed ocaml-migrate-parsetree.1.8.0
-> installed base.v0.13.2
-> installed stdio.v0.13.0
-> installed configurator.v0.11.0
-> installed parsexp.v0.13.0
-> installed sexplib.v0.13.0
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed fmt.0.9.0
-> installed astring.0.8.5
-> installed logs.0.7.0
-> installed fpath.0.7.3
-> installed ctypes.0.20.2
-> installed bos.0.2.1
-> installed ppxlib.0.15.0
-> installed ppx_sexp_conv.v0.13.0
[ERROR] The compilation of yaml.0.2.1 failed at "jbuilder build -p yaml -j 255".

#=== ERROR while compiling yaml.0.2.1 =========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.11.2 | file:///src
# path                 ~/.opam/4.11/.opam-switch/build/yaml.0.2.1
# command              ~/.opam/4.11/bin/jbuilder build -p yaml -j 255
# exit-code            1
# env-file             ~/.opam/log/yaml-113-b0b8bc.env
# output-file          ~/.opam/log/yaml-113-b0b8bc.out
### output ###
# The jbuilder binary is deprecated and will cease to be maintained in July 2019.
# Please switch to dune instead.
# File "config/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "ffi/bindings/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "ffi/lib/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "ffi/stubgen/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "fuzz/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "lib/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "tests/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "types/bindings/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "types/lib/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "types/stubgen/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "unix/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
# File "vendor/jbuild", line 1, characters 0-0:
# Warning: jbuild files are deprecated, please convert this file to a dune file
# instead.
# Note: You can use "dune upgrade" to convert your project to dune.
#          gcc vendor/parser.o
# parser.c: In function 'yaml_parser_parse_block_sequence_entry':
# parser.c:762:21: warning: variable 'dummy_mark' set but not used [-Wunused-but-set-variable]
#   762 |         yaml_mark_t dummy_mark;     /* Used to eliminate a compiler warning. */
#       |                     ^~~~~~~~~~
# parser.c: In function 'yaml_parser_parse_block_mapping_key':
# parser.c:872:21: warning: variable 'dummy_mark' set but not used [-Wunused-but-set-variable]
#   872 |         yaml_mark_t dummy_mark;     /* Used to eliminate a compiler warning. */
#       |                     ^~~~~~~~~~
# parser.c: In function 'yaml_parser_parse_flow_sequence_entry':
# parser.c:955:17: warning: variable 'dummy_mark' set but not used [-Wunused-but-set-variable]
#   955 |     yaml_mark_t dummy_mark;     /* Used to eliminate a compiler warning. */
#       |                 ^~~~~~~~~~
# parser.c: In function 'yaml_parser_parse_flow_mapping_key':
# parser.c:1107:17: warning: variable 'dummy_mark' set but not used [-Wunused-but-set-variable]
#  1107 |     yaml_mark_t dummy_mark;     /* Used to eliminate a compiler warning. */
#       |                 ^~~~~~~~~~
#          gcc vendor/api.o
# api.c: In function 'yaml_document_delete':
# api.c:1121:7: warning: variable 'context' set but not used [-Wunused-but-set-variable]
#  1121 |     } context;
#       |       ^~~~~~~
#          gcc vendor/emitter.o
# emitter.c: In function 'yaml_emitter_write_plain_scalar':
# emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#    28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
#       |      ^~
# emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#    56 |          (PUT_BREAK(emitter),                                                   \
#       |           ^~~~~~~~~
# emitter.c:1931:18: note: in expansion of macro 'WRITE_BREAK'
#  1931 |             if (!WRITE_BREAK(emitter, string)) return 0;
#       |                  ^~~~~~~~~~~
# emitter.c: In function 'yaml_emitter_write_single_quoted_scalar':
# emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#    28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
#       |      ^~
# emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#    56 |          (PUT_BREAK(emitter),                                                   \
#       |           ^~~~~~~~~
# emitter.c:1988:18: note: in expansion of macro 'WRITE_BREAK'
#  1988 |             if (!WRITE_BREAK(emitter, string)) return 0;
#       |                  ^~~~~~~~~~~
# emitter.c: In function 'yaml_emitter_write_literal_scalar':
# emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#    28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
#       |      ^~
# emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#    56 |          (PUT_BREAK(emitter),                                                   \
#       |           ^~~~~~~~~
# emitter.c:2251:18: note: in expansion of macro 'WRITE_BREAK'
#  2251 |             if (!WRITE_BREAK(emitter, string)) return 0;
#       |                  ^~~~~~~~~~~
# emitter.c: In function 'yaml_emitter_write_folded_scalar':
# emitter.c:28:6: warning: value computed is not used [-Wunused-value]
#    28 |      && ((emitter->line_break == YAML_CR_BREAK ?                                \
#       |      ^~
# emitter.c:56:11: note: in expansion of macro 'PUT_BREAK'
#    56 |          (PUT_BREAK(emitter),                                                   \
#       |           ^~~~~~~~~
# emitter.c:2300:18: note: in expansion of macro 'WRITE_BREAK'
#  2300 |             if (!WRITE_BREAK(emitter, string)) return 0;
#       |                  ^~~~~~~~~~~
#          gcc vendor/scanner.o
# scanner.c: In function 'yaml_parser_decrease_flow_level':
# scanner.c:1189:23: warning: variable 'dummy_key' set but not used [-Wunused-but-set-variable]
#  1189 |     yaml_simple_key_t dummy_key;    /* Used to eliminate a compiler warning. */
#       |                       ^~~~~~~~~
#       ocamlc ffi/lib/yaml_stubs.o
# yaml_stubs.c: In function 'yaml_stub_1_yaml_get_version_string':
# yaml_stubs.c:7:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
#     7 |    char* x2 = yaml_get_version_string();
#       |               ^~~~~~~~~~~~~~~~~~~~~~~
#       ocamlc lib/.yaml.objs/byte/yaml.{cmi,cmti} (exit 2)
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.yaml.objs/byte -I /home/opam/.opam/4.11/lib/base/caml -I /home/opam/.opam/4.11/lib/bigarray-compat -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/ctypes -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/integers -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/parsexp -I /home/opam/.opam/4.11/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.11/lib/rresult -I /home/opam/.opam/4.11/lib/sexplib -I /home/opam/.opam/4.11/lib/sexplib0 -I /home/opam/.opam/4.11/lib/stdlib-shims -I ffi/bindings/.yaml_bindings.objs/byte -I ffi/bindings/.yaml_bindings.objs/native -I ffi/lib/.yaml_ffi.objs/byte -I ffi/lib/.yaml_ffi.objs/native -I types/bindings/.yaml_bindings_types.objs/byte -I types/bindings/.yaml_bindings_types.objs/native -I types/lib/.yaml_types.objs/byte -I types/lib/.yaml_types.objs/native -I vendor/.yaml_c.objs/byte -I vendor/.yaml_c.objs/native -no-alias-deps -open Yaml__ -o lib/.yaml.objs/byte/yaml.cmi -c -intf lib/yaml.pp.mli)
# File "lib/yaml.mli", line 99, characters 34-47:
# 99 | type 'a res = ('a, Rresult.R.msg) Result.result
#                                        ^^^^^^^^^^^^^
# Error: Unbound type constructor Result.result
#       ocamlc lib/.yaml.objs/byte/yaml__Types.{cmi,cmo,cmt} (exit 2)
# (cd _build/default && /home/opam/.opam/4.11/bin/ocamlc.opt -w -40 -g -bin-annot -I lib/.yaml.objs/byte -I /home/opam/.opam/4.11/lib/base/caml -I /home/opam/.opam/4.11/lib/bigarray-compat -I /home/opam/.opam/4.11/lib/bytes -I /home/opam/.opam/4.11/lib/ctypes -I /home/opam/.opam/4.11/lib/fmt -I /home/opam/.opam/4.11/lib/integers -I /home/opam/.opam/4.11/lib/logs -I /home/opam/.opam/4.11/lib/parsexp -I /home/opam/.opam/4.11/lib/ppx_sexp_conv/runtime-lib -I /home/opam/.opam/4.11/lib/rresult -I /home/opam/.opam/4.11/lib/sexplib -I /home/opam/.opam/4.11/lib/sexplib0 -I /home/opam/.opam/4.11/lib/stdlib-shims -I ffi/bindings/.yaml_bindings.objs/byte -I ffi/bindings/.yaml_bindings.objs/native -I ffi/lib/.yaml_ffi.objs/byte -I ffi/lib/.yaml_ffi.objs/native -I types/bindings/.yaml_bindings_types.objs/byte -I types/bindings/.yaml_bindings_types.objs/native -I types/lib/.yaml_types.objs/byte -I types/lib/.yaml_types.objs/native -I vendor/.yaml_c.objs/byte -I vendor/.yaml_c.objs/native -no-alias-deps -open Yaml__ -o lib/.yaml.objs/byte/yaml__Types.cmo -c -impl lib/types.pp.ml)
# File "lib/types.ml", line 65, characters 34-47:
# 65 | type 'a res = ('a, Rresult.R.msg) Result.result
#                                        ^^^^^^^^^^^^^
# Error: Unbound type constructor Result.result



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build yaml 0.2.1
+- 
+- The following changes have been performed
| - install astring                 0.8.5
| - install base                    v0.13.2
| - install bigarray-compat         1.1.0
| - install bos                     0.2.1
| - install configurator            v0.11.0
| - install ctypes                  0.20.2
| - install dune-configurator       1.0.0
| - install fmt                     0.9.0
| - install fpath                   0.7.3
| - install integers                0.7.0
| - install jbuilder                transition
| - install logs                    0.7.0
| - install num                     1.5-1
| - install ocaml-compiler-libs     v0.12.3
| - install ocaml-migrate-parsetree 1.8.0
| - install ocamlbuild              0.15.0
| - install parsexp                 v0.13.0
| - install ppx_derivers            1.2.1
| - install ppx_sexp_conv           v0.13.0
| - install ppxlib                  0.15.0
| - install result                  1.5
| - install rresult                 0.7.0
| - install sexplib                 v0.13.0
| - install sexplib0                v0.13.0
| - install stdio                   v0.13.0
| - install stdlib-shims            0.3.0
| - install topkg                   1.0.7
+- 

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

<><> jbuilder.transition installed successfully <><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> Jbuilder has been renamed and the jbuilder package is now a transition package. Use the dune package instead.

<><> configurator.v0.11.0 installed successfully ><><><><><><><><><><><><><><><>
=> Note: This package is deprecated.
=> configurator is deprecated. Please use dune-configurator in new code and consider switching to it in existing projects.
# 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.11/.opam-switch/backup/state-20250206031950.export"
OCaml

Innovation. Community. Security.