You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Xueron Nee <xu...@gmail.com> on 2006/10/27 11:15:57 UTC

what's the matter here? Text::Wrap

Hi all,

When I use CPAN to upgade my SA from 3.1.4 to current version, it prints
many warnings like these:

......
t/rcvd_parser...............ok 40/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 41/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 42/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 43/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 44/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 45/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 46/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 47/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 48/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 49/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 50/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 51/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok 52/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rcvd_parser...............ok                                               
t/recips....................[31877] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/recips....................ok 2/6[31879] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/recips....................ok 4/6[31881] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/recips....................ok                                               
t/recursion.................ok                                               
t/regexp_valid..............ok                                               
t/relative_scores...........ok                                               
t/report_safe...............[31901] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/report_safe...............ok 4/8[31903] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/report_safe...............ok 6/8[31905] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/report_safe...............ok                                               
t/reportheader..............[31910] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/reportheader..............ok                                               
t/reportheader_8bit.........[31915] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/reportheader_8bit.........ok                                               
t/rule_names................[31920] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rule_names................ok                                               
t/rule_tests................ok                                               
t/rule_types................[31926] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
t/rule_types................ok                                               
t/sha1......................ok                                               
t/spam......................[31932] warn: (?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
......

Seems there is something wrong with Text::Wrap.

# perl -MText::Wrap -e 'print $Text::Wrap::VERSION;'
2006.0711

cpan> install Text::Wrap
Text::Wrap is up to date.


-- 
Xueron Nee <xu...@gmail.com>


Re: what's the matter here? Text::Wrap

Posted by Theo Van Dinter <fe...@apache.org>.
On Fri, Oct 27, 2006 at 05:15:57PM +0800, Xueron Nee wrote:
> When I use CPAN to upgade my SA from 3.1.4 to current version, it prints
> many warnings like these:
> 
> t/rcvd_parser...............ok 40/53(?:(?<=[\s,]))* matches null string many times in regex; marked by <-- HERE in m/\G(?:(?<=[\s,]))* <-- HERE \Z/ at /usr/lib/perl5/5.8.5/Text/Wrap.pm line 46.
[...]
> 
> Seems there is something wrong with Text::Wrap.

Yep.

> # perl -MText::Wrap -e 'print $Text::Wrap::VERSION;'
> 2006.0711
> 
> cpan> install Text::Wrap
> Text::Wrap is up to date.

Yeah, you need to downgrade since they haven't fixed this bug yet.

See http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5056 for more info.

-- 
Randomly Selected Tagline:
I like work; it fascinates me; I can sit and look at it funny...