Package Details: ocaml-yojson 1.3.3-1

Git Clone URL: (read-only)
Package Base: ocaml-yojson
Description: An optimized parsing and printing library for JSON
Upstream URL:
Licenses: BSD
Submitter: juster
Maintainer: nerflad
Last Packager: nerflad
Votes: 42
Popularity: 3.328015
First Submitted: 2011-01-05 03:27
Last Updated: 2017-10-16 01:20

Latest Comments

nerflad commented on 2017-10-15 19:36

Adopted. Ping with any issues.

leonardder commented on 2017-10-07 12:48

No longer maintaining this package due to the switch to jbuilder, which breaks compatibility with the open suse build service.

radek_r commented on 2017-09-30 12:12

Please add achitecture "armv7h" to the PKGBUILD.

berbigou commented on 2016-03-31 03:52

hello, I did:
yaourt caml | grep installed
yaourt -Rs ocaml ocaml-findlib camlidl cppo gapi-ocaml \
google-drive-ocamlfuse ocaml-biniou ocaml-cryptokit \
ocaml-curl ocaml-easy-format ocaml-extlib ocaml-pcre \
ocaml-sqlite3 ocaml-xmlm ocaml-yojson ocamlfuse ocamlnet camlp4
yaourt google-drive-ocamlfuse
(quite long to compile)

maybe it was enough to recompile only ocaml-biniou and ocaml-easy-format.
Hope it will help someone.

leonardder commented on 2016-03-29 10:10

Make sure you update dependencies as well.

berbigou commented on 2016-03-29 10:09

while updating (yaourt -Syua), I got:
File "read.mll", line 368, characters 11-23:
Warning 3: deprecated: String.set
Use Bytes.set instead.
ocamlfind ocamlopt -c -bin-annot -dtypes -g -package easy-format,biniou
ocamlfind ocamlopt -shared -linkall -I . -o yojson.cmxs yojson.cmx
ocamlfind ocamlopt -shared -linkall -I . -o yojson_biniou.cmxs \
ocamlfind ocamlopt -o ydump -bin-annot -dtypes -g -package easy-format,biniou -linkpkg \
yojson.cmx yojson_biniou.cmx
File "", line 1:
Error: Files /usr/lib/ocaml/biniou/biniou.cmxa
and /usr/lib/ocaml/easy-format/easy_format.cmx
make inconsistent assumptions over interface Easy_format
Makefile:90 : la recette pour la cible « ydump » a échouée
make: *** [ydump] Erreur 2

J5lx commented on 2015-10-10 21:31

ocaml-biniou should be in depends instead of makedepends. Without ocaml-biniou installed I get strange errors when trying to link against Yojson (e.g. "Error: Unbound module Yojson").

leonardder commented on 2015-01-08 15:22

Still experiencing this issue? try to rebuild ocaml-easy-format, cppo and ocaml-biniou before building this package.

JP-Ellis commented on 2014-12-26 03:41

I don't know if this an issue with your package or another package, but I am now getting the following error:

==> Starting build()...
sed -e 's:@@VERSION@@:1.1.8:' > META
cppo -n yojson.mli.cppo -o yojson.mli
ocamlfind ocamlc -c -dtypes -g -package easy-format,biniou yojson.mli
File "yojson.mli", line 1:
Error: The files /usr/lib/ocaml/pervasives.cmi
and /usr/lib/ocaml/biniou/bi_outbuf.cmi make inconsistent assumptions
over interface Pervasives
Makefile:70: recipe for target 'yojson.cmi' failed
make: *** [yojson.cmi] Error 2

This is after having an issue with another package and uninstalling ocaml before re-installing all packages.

leonardder commented on 2014-10-15 07:57

If you don't want to recompile packages manually, i'm afraid Arch isn't the right distribution for you. As the problem isn't especially related to this package, I'm not responsible for contacting the ocaml-pcre maintainers. Just reinstall ocaml-pcre yourself. The only thing I could do is adding ocaml-pcre as a dependency which I will do later this week.

All comments