MailScanner-4.76.10-2 can't install Test::Pod

Randal, Phil prandal at herefordshire.gov.uk
Tue Apr 14 10:23:55 IST 2009


# find /usr/lib64/perl5 /usr/lib/perl5 -name More.pm -print | xargs grep
VERSION
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Test/More.pm:
use vars qw($VERSION @ISA @EXPORT %EXPORT_TAGS $TODO);
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Test/More.pm:
$VERSION = '0.60';
/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Test/More.pm:
$VERSION = eval $VERSION;    # make the alpha version come out as a
number
/usr/lib/perl5/vendor_perl/5.8.8/Test/More.pm:our $VERSION = '0.86';
/usr/lib/perl5/vendor_perl/5.8.8/Test/More.pm:$VERSION = eval $VERSION;
## no critic (BuiltinFunctions::ProhibitStringyEval)
/usr/lib/perl5/5.8.8/Test/More.pm:use vars qw($VERSION @ISA @EXPORT
%EXPORT_TAGS $TODO);
/usr/lib/perl5/5.8.8/Test/More.pm:$VERSION = '0.62';
/usr/lib/perl5/5.8.8/Test/More.pm:$VERSION = eval $VERSION;    # make
the alpha version come out as a number


Mark Sapiro's workaround fixes it.

Cheers,

Phil

--
Phil Randal | Networks Engineer
Herefordshire Council | Deputy Chief Executive's Office | I.C.T.
Services Division
Thorn Office Centre, Rotherwas, Hereford, HR2 6JT
Tel: 01432 260160
email: prandal at herefordshire.gov.uk

Any opinion expressed in this e-mail or any attached files are those of
the individual and not necessarily those of Herefordshire Council.

This e-mail and any attached files are confidential and intended solely
for the use of the addressee. This communication may contain material
protected by law from being passed on. If you are not the intended
recipient and have received this e-mail in error, you are advised that
any use, dissemination, forwarding, printing or copying of this e-mail
is strictly prohibited. If you have received this e-mail in error please
contact the sender immediately and destroy all copies of it.

-----Original Message-----
From: mailscanner-bounces at lists.mailscanner.info
[mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf Of Julian
Field
Sent: 13 April 2009 23:46
To: MailScanner discussion
Subject: Re: MailScanner-4.76.10-2 can't install Test::Pod

Did it successfully install Test-Simple just before Test-Pod?

That should have been enough. The error message implies that it didn't
find your Test-Simple that should have been just installed. So either it
didn't install it or it didn't find it when it tried to build Test-Pod.
Please can you do
     find /usr/lib64/perl5 /usr/lib/perl5 -name More.pm -print | xargs
grep VERSION (all on one line) and it will tell you the version number
of every copy of Test::More you have installed.

You don't have $PERL5LIB set to anything do you? Just do an
     echo $PERL5LIB
and be sure you get an empty line. If you don't, then do
     PERL5LIB=
     export PERL5LIB
     ./install.sh


On 13/4/09 20:24, Randal, Phil wrote:
> On CentOS 5.3, 64-bit.
> ./install.sh .....
> + umask 022
> + cd /usr/src/redhat/BUILD
> + LANG=C
> + export LANG
> + unset DISPLAY
> + cd /usr/src/redhat/BUILD
> + rm -rf Test-Pod-1.26
> + /bin/gzip -dc /usr/src/redhat/SOURCES/Test-Pod-1.26.tar.gz
> + tar -xf -
> + STATUS=0
> + '[' 0 -ne 0 ']'
> + cd Test-Pod-1.26
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chown -Rhf root .
> ++ /usr/bin/id -u
> + '[' 0 = 0 ']'
> + /bin/chgrp -Rhf root .
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + exit 0
> Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.68510
> + umask 022
> + cd /usr/src/redhat/BUILD
> + cd Test-Pod-1.26
> + LANG=C
> + export LANG
> + unset DISPLAY
> + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic'
> + perl Makefile.PL
> Checking if your kit is complete...
> Looks good
> Warning: prerequisite Test::More 0.62 not found. We have 0.6.
> Writing Makefile for Test::Pod
> + make
> cp Pod.pm blib/lib/Test/Pod.pm
> Manifying blib/man3/Test::Pod.3pm
> + make test
> PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
> "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
> t/00-load..............# Testing Test::Pod 1.26, Perl 5.008008,
> /usr/bin/perl t/00-load..............ok t/all_pod_files........ok
> t/cut-outside-block....ok 1/2
> #     Failed test (t/cut-outside-block.t at line 20)
> t/cut-outside-block....NOK 2# STDERR is:
> # #     Failed test (t/cut-outside-block.t at line 15)
> # # t/cut-outside-block.pod (5): =cut found outside a pod block. 
> Skipping to next block.
> #
> # not:
> # /#\s+Failed\ test.*?\n?.*?at\ t\/cut\-outside\-block\.t line
> 15.*\n?/ # # # t/cut-outside-block.pod (5): =cut found outside a pod
> block.
> Skipping to next block.
> #
> # as expected
> t/cut-outside-block....FAILED test 2
>         Failed 1/2 tests, 50.00% okay
> t/good.................ok
> t/item-ordering........ok 1/2
> #     Failed test (t/item-ordering.t at line 19)
> t/item-ordering........NOK 2# STDERR is:
> # #     Failed test (t/item-ordering.t at line 14)
> # # t/item-ordering.pod (32): You can't have =items (as at line 36)
> unless the first thing after the =over is an =item # # not:
> # /#\s+Failed\ test.*?\n?.*?at\ t\/item\-ordering\.t line 14.*\n?/ # #
> # t/item-ordering.pod (32): You can't have =items (as at line 36)
> unless the first thing after the =over is an =item # # as expected
> t/item-ordering........FAILED test 2
>         Failed 1/2 tests, 50.00% okay
> t/load.................ok
> t/missing-file.........ok 1/3
> #     Failed test (t/missing-file.t at line 18)
> t/missing-file.........NOK 2# STDERR is:
> # #     Failed test (t/missing-file.t at line 16)
> # # t/non-existent.pod does not exist
> #
> # not:
> # /#\s+Failed\ test.*?\n?.*?at\ t\/missing\-file\.t line 16.*\n?/ # #
> # t/non-existent.pod does not exist # # as expected
> #     Failed test (t/missing-file.t at line 28)
> t/missing-file.........NOK 3# STDERR is:
> # #     Failed test (t/missing-file.t at line 26)
> # # t/non-existent.pod does not exist
> #
> # not:
> # /#\s+Failed\ test.*?\n?.*?at\ t\/missing\-file\.t line 26.*\n?/ # #
> # t/non-existent.pod does not exist # # as expected
> t/missing-file.........FAILED tests 2-3
>         Failed 2/3 tests, 33.33% okay
> t/pod..................ok
> t/selftest.............ok
> t/spaced-directives....skipped
>         all skipped: Not written yet
> t/unknown-directive....ok 1/2
> #     Failed test (t/unknown-directive.t at line 20)
> t/unknown-directive....NOK 2# STDERR is:
> # #     Failed test (t/unknown-directive.t at line 16)
> # # t/unknown-directive.pod (9): Unknown directive: =over4 # #
> t/unknown-directive.pod (13): Unknown directive: =under # # not:
> # /#\s+Failed\ test.*?\n?.*?at\ t\/unknown\-directive\.t line 16.*\n?/
> # # # t/unknown-directive.pod (9): Unknown directive: =over4 # # #
> t/unknown-directive.pod (13): Unknown directive: =under # # as
> expected t/unknown-directive....FAILED test 2
>         Failed 1/2 tests, 50.00% okay
> Failed Test           Stat Wstat Total Fail  Failed  List of Failed
>
------------------------------------------------------------------------
-------
> t/cut-outside-block.t                2    1  50.00%  2
> t/item-ordering.t                    2    1  50.00%  2
> t/missing-file.t                     3    2  66.67%  2-3
> t/unknown-directive.t                2    1  50.00%  2
> 1 test skipped.
> Failed 4/11 test scripts, 63.64% okay. 5/19 subtests failed, 73.68%
okay.
> make: *** [test_dynamic] Error 255
> error: Bad exit status from /var/tmp/rpm-tmp.68510 (%build)
>
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.68510 (%build) Any ideas?
> Phil

Jules

--
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store

MailScanner customisation, or any advanced system administration help?
Contact me at Jules at Jules.FM

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654 PGP
public key: http://www.jules.fm/julesfm.asc


--
This message has been scanned for viruses and dangerous content by
MailScanner, and is believed to be clean.

--
MailScanner mailing list
mailscanner at lists.mailscanner.info
http://lists.mailscanner.info/mailman/listinfo/mailscanner

Before posting, read http://wiki.mailscanner.info/posting

Support MailScanner development - buy the book off the website!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20090414/0dc15390/attachment.html


More information about the MailScanner mailing list