pkgsrc-Users archive

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

Re: sysutils/xentools48 build failure

Adding '-unsafe-string'  the the Makefiles in the ocaml directories
eventually made the compilation possible. I am sure xentools
maintainers will have picked this up already and it will be sorted out
soon enough; there were a handful of files, which appeared to be
causing the problem.


Chavdar Ivanov

On 12 January 2018 at 10:10, Jaap Boender <> wrote:
> 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