pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysutils/xentools48 build failure



On 11/01/2018 17:57, Chavdar Ivanov wrote:
Hi,

Using the latest ocaml-4.06 my build of sysutils/xentools48 (also
updated, together with all other ocaml packages I already had) fails
as follows:

Yup, this happens quite a lot with 4.06. The -safe-string option is now enabled by default, which means that strings are immutable (bytes is then the type for mutable strings) and this kind of thing happens.

As a temporary fix, you can use the -unsafe-string compile option with ocamlc (which will make the string and bytes types identical), but of course this should really be fixed upstream.

best

  Jaap


Home | Main Index | Thread Index | Old Index