Skip Menu |

This queue is for tickets about the Treex-PML CPAN distribution.

Report information
The Basics
Id: 118233
Status: resolved
Priority: 0/
Queue: Treex-PML

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 2.21



Subject: Treex-PML-2.20: t/01-pml.t fails (with XML::CompactTree::XS 0.02?)
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.
Subject: Re: [rt.cpan.org #118233] Treex-PML-2.20: t/01-pml.t fails (with XML::CompactTree::XS 0.02?)
Date: Sun, 2 Oct 2016 22:56:35 +0200 (CEST)
To: Slaven_Rezic via RT <bug-Treex-PML [...] rt.cpan.org>
From: "E. Choroba" <choroba [...] matfyz.cz>
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. > >
A possible solution: check in Build.PL if XML::CompactTree::XS 0.02 is installed, and if it is, then move the module from the recommends section into the requires section (with a minimum version of 0.03). Of course, this approach will break the auto-generated Makefile.PL. But maybe you can just remove it. Or switch to Makefile.PL-only. On 2016-10-02 16:56:50, choroba@matfyz.cz wrote: Show quoted text
> 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:
> > 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. > > > >