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

Mark Sapiro mark at msapiro.net
Tue Apr 14 05:24:47 IST 2009


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.


This is the problem.

The rpm build process is getting
/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/Test/More.pm
which is version 0.60 and which produces slightly different messages
from what the tests expect so some fail.

I did the following:

cd /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
mv Test Test.dont.want.these.old.ones

and that allowed Test::Pod to build and install.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the MailScanner mailing list