Ouch...
The problem is that the XS module is only recommended (with the correct
version), XML::CompactTree (the pure Perl) is enough - but it doesn't cause
the bug. I'm not sure how to solve the situation correctly... without making
the XS mandatory, or changing the pure Perl module in a way it switches to XS
if it's installed AND sufficient version.
Anyway, thanks for the heads up.
Ch.
==============================================================================
On Sun, 2 Oct 2016, Slaven_Rezic via RT wrote:
Show quoted text>Date: Sun, 2 Oct 2016 16:37:36 -0400
>From: Slaven_Rezic via RT <bug-Treex-PML@rt.cpan.org>
>To: undisclosed-recipients: ;
>Subject: [rt.cpan.org #118233] Treex-PML-2.20: t/01-pml.t fails (with
> XML::CompactTree::XS 0.02?)
>
> Sun Oct 02 16:37:35 2016: Request 118233 was acted upon.
> Transaction: Ticket created by SREZIC
> Queue: Treex-PML
> Subject: Treex-PML-2.20: t/01-pml.t fails (with XML::CompactTree::XS 0.02?)
> Broken in: (no value)
> Severity: (no value)
> Owner: Nobody
> Requestors: SREZIC@cpan.org
> Status: new
> Ticket <URL:
https://rt.cpan.org/Ticket/Display.html?id=118233 >
>
>
> Some of my smokers show the following failure:
>
> Modification of a read-only value attempted at .pml_compile.d/annotation__generated_read_container@terminal.type line 16.
> # Looks like your test exited with 25 just after 3.
> t/01-pml.t ........
> Dubious, test returned 25 (wstat 6400, 0x1900)
> Failed 123/126 subtests
>
>
> Probably these have XML::CompactTree::XS 0.02 installed. The error goes away if 0.03 is installed instead.
>
>