Package Details: ocaml-yojson 1.3.3-2

Git Clone URL: https://aur.archlinux.org/ocaml-yojson.git (read-only)
Package Base: ocaml-yojson
Description: An optimized parsing and printing library for JSON
Upstream URL: https://github.com/mjambon/yojson
Licenses: BSD
Submitter: juster
Maintainer: nerflad
Last Packager: nerflad
Votes: 43
Popularity: 1.440761
First Submitted: 2011-01-05 03:27
Last Updated: 2017-12-28 10:43

Latest Comments

nerflad commented on 2017-12-28 10:43

@TZ86: Fixed, thank you.

TZ86 commented on 2017-12-28 09:40

options=('!strip' 'staticlibs') … options=(!makeflags)

Just want to note the first line doesn't work because you're overwriting options in second one.

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

[solved]
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 yojson_biniou.ml
ocamlfind ocamlopt -shared -linkall -I . -o yojson.cmxs yojson.cmx
ocamlfind ocamlopt -shared -linkall -I . -o yojson_biniou.cmxs \
yojson_biniou.cmx
ocamlfind ocamlopt -o ydump -bin-annot -dtypes -g -package easy-format,biniou -linkpkg \
yojson.cmx yojson_biniou.cmx ydump.ml
File "ydump.ml", 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.

All comments