Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Pod-Simple CPAN distribution.

Report information
The Basics
Id: 43903
Status: resolved
Priority: 0/
Queue: Pod-Simple

People
Owner: Nobody in particular
Requestors: salvador.tercia [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 3.08
Fixed in: (no value)



Subject: ISSUE INSTALLING POD::SIMPLE
Date: Fri, 6 Mar 2009 13:59:21 -0300
To: bug-Pod-Simple [...] rt.cpan.org
From: Salvador Tercia <salvador.tercia [...] gmail.com>
Dear Allison & Hans: I had an issue installing Pod::Simple.3.07 on RedHat 2.6.9-42.0.0.0.1.ELsmp i686 i386 GNU/Linux with perl 5.8.8 When i did a "make test" it failed: Show quoted text
> make test
.... # Failed test 'Verbatim text with encodable entities' # at t/xhtml01.t line 315. # got: '<pre><code> # this header is very important &amp; don't you forget it # my $text = &quot;File is: &quot; . &lt;FILE&gt;;</code></pre> # # ' # expected: '<pre><code> # this header is very important &amp; don&#39;t you forget it # my $text = &quot;File is: &quot; . &lt;FILE&gt;;</code></pre> # # ' # Failed test 'Verbatim text with makrkup and embedded formatting' # at t/xhtml01.t line 334. # got: '<pre><code> # this header is very important &amp; don't you forget it # <b>my $file = &lt;FILE&gt; || 'Blank!';</b> # my $text = &quot;File is: &quot; . &lt;FILE&gt;;</code></pre> # # ' # expected: '<pre><code> # this header is very important &amp; don&#39;t you forget it # <b>my $file = &lt;FILE&gt; || &#39;Blank!&#39;;</b> # my $text = &quot;File is: &quot; . &lt;FILE&gt;;</code></pre> # # ' # Looks like you failed 2 tests of 26. t/xhtml01.t ... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/26 subtests t/xhtml05.t ... ok Test Summary Report ------------------- t/xhtml01.t (Wstat: 512 Tests: 26 Failed:2) Failed tests: 24, 26 Non-zero exit status: 2 Files=53, Tests=1095, 8 wallclock secs ( 0.82 usr 1.05 sys + 3.36 cusr 1.93 csys = 7.16 CPU) Result: FAIL Failed 1/53 test programs. 2/1095 subtests failed. make: *** [test_dynamic] Error 255 Show quoted text
> make install
But i did a "make install" without any problem. Could i ignore this issue ? Could you tell me how can i fix it? Thanks a lot. regards Salvador
I'm not sure why this happens sometimes, and it's clearly a bug in the tests -- I suspect maybe it's locale-related? Anyway, the right answer is probably to make the tests more robust. I'll try to take a look at them soon.
Subject: Re: [rt.cpan.org #43903] ISSUE INSTALLING POD::SIMPLE
Date: Sun, 5 Apr 2009 20:24:32 -0300
To: bug-Pod-Simple [...] rt.cpan.org
From: Salvador Tercia <salvador.tercia [...] gmail.com>
Ok,thank you very much. Regards Salvador 2009/3/26 Hans Dieter Pearcey via RT <bug-Pod-Simple@rt.cpan.org> Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=43903 > > > I'm not sure why this happens sometimes, and it's clearly a bug in the > tests -- I suspect maybe it's locale-related? Anyway, the right answer > is probably to make the tests more robust. I'll try to take a look at > them soon. >
Subject: #43903: HTML::Entities version dependency in xhtml test
Le Jeu. Mar. 26 00:57:53 2009, HDP a écrit : Show quoted text
> I'm not sure why this happens sometimes, and it's clearly a bug in the > tests -- I suspect maybe it's locale-related? Anyway, the right answer > is probably to make the tests more robust. I'll try to take a look at > them soon.
This test use HTML::Entities. I had the same errors on the test with HTML::Entities 1.29. No errors with HTML::Entities 3.57 on Strawberry Perl. Pod::Simple 3.08 tests passed when I upgraded HTML::Parser to 3.62 (HTML::Entities 3.60). -- Olivier Mengué - http://o.mengue.free.fr/
On Thu Oct 15 12:30:46 2009, DOLMEN wrote: Show quoted text
> This test use HTML::Entities. > > I had the same errors on the test with HTML::Entities 1.29. > No errors with HTML::Entities 3.57 on Strawberry Perl. > > Pod::Simple 3.08 tests passed when I upgraded HTML::Parser to 3.62 > (HTML::Entities 3.60).
Ah, well, HTML::Entities is currently an optional module. If it's not installed, Pod::Simple fakes it. But if it is installed, we need to make sure it's a minimum version, and then perhaps fake it if it's not. I wonder what the minimum required HTML::Entities would be? David
Actually, Pod::Simple::XHTML doesn't use apostrophes for element attributes, only double- quotes. So it's not important that apostrophes be encoded. So I just removed them from the tests. —Theory