mirage / ezjsonm

An easy interface on top of the Jsonm library.
Other
40 stars 22 forks source link

Fix compilation on trunk #17

Closed samoht closed 7 years ago

samoht commented 9 years ago
#=== ERROR while installing ezjsonm.0.4.2 =====================================#
# opam-version 1.2.2
# os           linux
# command      make
# path         /home/travis/.opam/4.03.0+trunk/build/ezjsonm.0.4.2
# compiler     4.03.0+trunk
# exit-code    2
# env-file     /home/travis/.opam/4.03.0+trunk/build/ezjsonm.0.4.2/ezjsonm-14774-876af6.env
# stdout-file  /home/travis/.opam/4.03.0+trunk/build/ezjsonm.0.4.2/ezjsonm-14774-876af6.out
# stderr-file  /home/travis/.opam/4.03.0+trunk/build/ezjsonm.0.4.2/ezjsonm-14774-876af6.err
### stdout ###
# [...]
# Error: Multiple definition of the extension constructor name Parse_error.
#        Names must be unique in a given structure or signature.
# Command exited with code 2.
# + /home/travis/.opam/4.03.0+trunk/bin/ocamlopt.opt unix.cmxa -I /home/travis/.opam/4.03.0+trunk/lib/ocaml/ocamlbuild /home/travis/.opam/4.03.0+trunk/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/travis/.opam/4.03.0+trunk/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# File "myocamlbuild.ml", line 518, characters 43-62:
# Warning 3: deprecated: Ocamlbuild_plugin.String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "myocamlbuild.ml", line 531, characters 51-70:
# Warning 3: deprecated: Ocamlbuild_plugin.String.uncapitalize
# Use String.uncapitalize_ascii instead.
### stderr ###
# [...]
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# File "setup.ml", line 5847, characters 11-28:
# Warning 3: deprecated: String.capitalize
# Use String.capitalize_ascii instead.
# File "setup.ml", line 5848, characters 11-30:
# Warning 3: deprecated: String.uncapitalize
# Use String.uncapitalize_ascii instead.
# E: Failure("Command ''/home/travis/.opam/4.03.0+trunk/bin/ocamlbuild' lib/ezjsonm.cma lib/ezjsonm.cmxa lib/ezjsonm.a lib/ezjsonm.cmxs -tag debug' terminated with error code 10")
# make: *** [build] Error 1
djs55 commented 7 years ago

It's currently building fine for me in 4.03 and 4.04.1, so I think whatever the problem was it seems to have gone away.