package rdf

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

rdf 0.11.0

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 36 packages
  - install angstrom           0.16.1
  - install bigstringaf        0.10.0
  - install calendar           3.0.0
  - install conf-gmp           4
  - install conf-gmp-powm-sec  3
  - install conf-libpcre       2
  - install conf-pkg-config    4
  - install conf-zlib          1
  - install cppo               1.8.0
  - install cryptokit          1.20
  - install csexp              1.5.2
  - install dune-configurator  3.17.2
  - install gen                1.1
  - install iri                0.4.0
  - install jsonm              1.0.2
  - install menhir             20240715
  - install menhirCST          20240715
  - install menhirLib          20240715
  - install menhirSdk          20240715
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.15.0
  - install pcre               8.0.2
  - install ppx_tools          6.6
  - install rdf                0.11.0
  - install re                 1.11.0
  - install sedlex             1.99.3
  - install seq                base
  - install stringext          1.6.0
  - install topkg              1.0.7
  - install uri                4.4.0
  - install uuidm              0.9.8
  - install uunf               15.0.0
  - install uutf               1.0.3
  - install xmlm               1.4.0
  - install yojson             2.2.2
  - install zarith             1.14

The following system packages will first need to be installed:
    libgmp-dev libpcre3-dev pkg-config zlib1g-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" "libpcre3-dev" "pkg-config" "zlib1g-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 .../00-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 .../01-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpcre16-3:amd64.
- Preparing to unpack .../02-libpcre16-3_2%3a8.39-15_amd64.deb ...
- Unpacking libpcre16-3:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpcre3:amd64.
- Preparing to unpack .../03-libpcre3_2%3a8.39-15_amd64.deb ...
- Unpacking libpcre3:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpcre32-3:amd64.
- Preparing to unpack .../04-libpcre32-3_2%3a8.39-15_amd64.deb ...
- Unpacking libpcre32-3:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpcrecpp0v5:amd64.
- Preparing to unpack .../05-libpcrecpp0v5_2%3a8.39-15_amd64.deb ...
- Unpacking libpcrecpp0v5:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpcre3-dev:amd64.
- Preparing to unpack .../06-libpcre3-dev_2%3a8.39-15_amd64.deb ...
- Unpacking libpcre3-dev:amd64 (2:8.39-15) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../07-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../08-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../09-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../10-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../11-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libpcre16-3:amd64 (2:8.39-15) ...
- Setting up libpcre3:amd64 (2:8.39-15) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libpcre32-3:amd64 (2:8.39-15) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libpcrecpp0v5:amd64 (2:8.39-15) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libpcre3-dev:amd64 (2:8.39-15) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved angstrom.0.16.1  (cached)
-> retrieved calendar.3.0.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved cryptokit.1.20  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp-powm-sec.3
-> installed conf-libpcre.2
-> installed conf-zlib.1
-> retrieved gen.1.1  (cached)
-> retrieved iri.0.4.0  (cached)
-> retrieved jsonm.1.0.2  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved dune-configurator.3.17.2  (cached)
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed ocaml-syntax-shims.1.0.0
-> retrieved pcre.8.0.2  (cached)
-> retrieved ppx_tools.6.6  (cached)
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> retrieved rdf.0.11.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved re.1.11.0  (cached)
-> retrieved sedlex.1.99.3  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved uuidm.0.9.8  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uunf.15.0.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved xmlm.1.4.0  (cached)
-> retrieved uri.4.4.0  (cached)
-> retrieved yojson.2.2.2  (cached)
-> retrieved zarith.1.14  (cached)
-> installed stringext.1.6.0
-> installed gen.1.1
-> installed re.1.11.0
-> installed yojson.2.2.2
-> installed dune-configurator.3.17.2
-> installed calendar.3.0.0
-> installed bigstringaf.0.10.0
-> installed pcre.8.0.2
-> installed ppx_tools.6.6
-> installed angstrom.0.16.1
-> installed zarith.1.14
-> installed ocamlbuild.0.15.0
-> installed uri.4.4.0
-> installed cryptokit.1.20
-> installed sedlex.1.99.3
-> installed topkg.1.0.7
-> installed uuidm.0.9.8
-> installed uutf.1.0.3
-> installed xmlm.1.4.0
-> installed jsonm.1.0.2
-> installed menhir.20240715
-> installed uunf.15.0.0
-> installed iri.0.4.0
[ERROR] The compilation of rdf.0.11.0 failed at "make all".

#=== ERROR while compiling rdf.0.11.0 =========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.4.10.2 | file:///src
# path                 ~/.opam/4.10/.opam-switch/build/rdf.0.11.0
# command              /usr/bin/make all
# exit-code            2
# env-file             ~/.opam/log/rdf-113-0d67d9.env
# output-file          ~/.opam/log/rdf-113-0d67d9.out
### output ###
# cd src && /usr/bin/make all
# make[1]: Entering directory '/home/opam/.opam/4.10/.opam-switch/build/rdf.0.11.0/src'
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_config.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_types.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_utf8.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_misc.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_loc.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_rdf.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_term.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_dt.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sedlex.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_stubs.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sparql_types.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sparql_ms.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sparql_vis.mli
# /home/opam/.opam/4.10/bin/menhir --explain --infer --base rdf_sparql_parser rdf_sparql_parser.mly  #--trace
# Warning: 13 states have shift/reduce conflicts.
# Warning: 11 states have reduce/reduce conflicts.
# Warning: 65 shift/reduce conflicts were arbitrarily resolved.
# Warning: 356 reduce/reduce conflicts were arbitrarily resolved.
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sparql_parser.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sparql_lex.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sparql_map.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sparql_print.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sparql_algebra.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_bgp.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_graph.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_rdfs.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_acl.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_doap.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_earl.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_foaf.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_pim.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_prov.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_dc.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_ldp.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_owl.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_sioc.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_solid.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_time.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_vcard.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_ds.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_mem.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_dot.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_xml.mli
# /home/opam/.opam/4.10/bin/ocamlfind ocamlc -package calendar,uri,uuidm,uutf,xmlm,sedlex,menhirLib,cryptokit,pcre,yojson,iri,jsonm,   -safe-string -g   -c rdf_ttl_types.mli
# /home/opam/.opam/4.10/bin/menhir --explain --base rdf_ttl_parser rdf_ttl_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:
# at_identifier
# base
# blanknode
# blanknodepropertylist
# collection
# datatype
# directive
# iri
# iriref
# list(SEMICOLON)
# list(object_)
# list(statement)
# literal
# nonempty_list(SEMICOLON)
# object_
# option(predobjs)
# predobj
# predobjs
# prefixID
# prefixedName
# separated_nonempty_list(COMMA,object_)
# statement
# subject
# triples
# verb
# make[1]: *** [Makefile:322: rdf_ttl_parser.mli] Error 1
# make[1]: Leaving directory '/home/opam/.opam/4.10/.opam-switch/build/rdf.0.11.0/src'
# make: *** [Makefile:33: src] Error 2



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build rdf 0.11.0
+- 
+- The following changes have been performed
| - install angstrom           0.16.1
| - install bigstringaf        0.10.0
| - install calendar           3.0.0
| - install conf-gmp           4
| - install conf-gmp-powm-sec  3
| - install conf-libpcre       2
| - install conf-pkg-config    4
| - install conf-zlib          1
| - install cppo               1.8.0
| - install cryptokit          1.20
| - install csexp              1.5.2
| - install dune-configurator  3.17.2
| - install gen                1.1
| - install iri                0.4.0
| - install jsonm              1.0.2
| - install menhir             20240715
| - install menhirCST          20240715
| - install menhirLib          20240715
| - install menhirSdk          20240715
| - install ocaml-syntax-shims 1.0.0
| - install ocamlbuild         0.15.0
| - install pcre               8.0.2
| - install ppx_tools          6.6
| - install re                 1.11.0
| - install sedlex             1.99.3
| - install seq                base
| - install stringext          1.6.0
| - install topkg              1.0.7
| - install uri                4.4.0
| - install uuidm              0.9.8
| - install uunf               15.0.0
| - install uutf               1.0.3
| - install xmlm               1.4.0
| - install yojson             2.2.2
| - install zarith             1.14
+- 
# 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.10/.opam-switch/backup/state-20250206032320.export"
OCaml

Innovation. Community. Security.