> On Dec 3, 2017, at 5:46 PM, Romain Beauxis <[email protected]> wrote:
>
> Thanks for reporting. This was an issue with ocaml-duppy with recent OCaml
> compilers where bytes type is different than string.
>
> I have published a new duppy release, version 0.7.0 and submitted an updated
> opam package.
Today, the opam package was updated to include duppy version 0.7.0 (but not
0.7.1), and I successfully installed duppy using opam. Thanks!
However, when I subsequently tried to install liquidsoap (in MacOS 10.12
Sierra), the compiler flagged the file /src/tools/doc.ml as having a byte type
expression instead of a string.
The error was the variable βprefixβ in the 2nd line below:
let prefix = Bytes.make indent ' ' in
Printf.printf "%s<info>%s</info>\n" prefix (xml_escape doc#get_doc) ;
Is there a simple edit I can make to these two lines of code to avoid my having
to wait another week for liquidsoap to be updated in opam?
Here is the installation output:
opam install liquidsoap
The following actions will be performed:
β install liquidsoap 1.3.3
=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= π«
[liquidsoap] Archive in cache
=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= π«
[ERROR] The compilation of liquidsoap failed at "make".
Processing 1/1: [liquidsoap: rm]
#=== ERROR while installing liquidsoap.1.3.3 ==================================#
# opam-version 1.2.2
# os darwin
# command make
# path /Users/bob/.opam/system/build/liquidsoap.1.3.3
# compiler system (4.06.0)
# exit-code 2
# env-file
/Users/bob/.opam/system/build/liquidsoap.1.3.3/liquidsoap-23378-e7966f.env
# stdout-file
/Users/bob/.opam/system/build/liquidsoap.1.3.3/liquidsoap-23378-e7966f.out
# stderr-file
/Users/bob/.opam/system/build/liquidsoap.1.3.3/liquidsoap-23378-e7966f.err
### stdout ###
# if test -e ../.git && which git > /dev/null ; then \
# [...]
# date=`date +%Y%m%d:%H%M%S`; \
# echo "let rev = \" ($branch@$revision:$date)\"" > SVN.ml ; \
# else \
# echo "let rev = \"\"" > SVN.ml ; \
# fi
# OCAMLDEP
# OCAMLOPT -c shutdown.ml
# OCAMLOPT -c tools/stdlib.ml
# OCAMLOPT -c tools/doc.ml
### stderr ###
# File "tools/doc.ml", line 62, characters 42-48:
# Error: This expression has type bytes but an expression was expected of type
# string
# make[2]: *** [tools/doc.cmx] Error 2
# make[1]: *** [all-auto-ocaml-prog] Error 2
# make: *** [all-subdirs] Error 2
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= π«
The following actions failed
β install liquidsoap 1.3.3
No changes have been performed
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users