Broken MailScanner? / CPAN? / Perl ? install on Fedora Core 8 x64

Scott B. Anderson sbanderson at impromed.com
Thu Nov 29 15:40:01 GMT 2007


I can't figure out where the install.sh script is breaking and CPAN itself is installed and updated to the current version. Note: I've installed a lot of the Perl modules/applications by hand using cpan and that seems to work fine. For reference, this is an 8 CPU server with 4 GB ram running FC8 with (as of yesterday) all updates installed. My first thought was that multithreaded compilation (make -j5) was causing the problem so I made it single threaded but the same error occurs. Here's the first couple pages of the output from install.sh:

----
Good. You have the patch command.

Good, you have /usr/src/redhat in place.
But you are running Fedora, so I am going to force the installation
of the Perl modules that normally require it.

Good, unpackaged files will not break the build process.
Good, far-too-clever Perl requirements will be ignored.

Good, you appear to only have 1 copy of Perl installed.

I think you are running on RedHat Linux, Mandriva Linux or SuSE Linux.
Good, you appear to have the basic development tools installed.

This script will pause for a few seconds after each major step,
so do not worry if it appears to stop for a while.
If you want it to stop so you can scroll back through the output
then press Ctrl-S to stop the output and Ctrl-Q to start it again.


If this fails due to dependency checks, and you wish to ignore
these problems, you can run
    ./install.sh nodeps

Setting Perl5 search path

I think your system will build architecture-dependent modules for x86_64

Rebuilding all the Perl RPMs for your version of Perl

Oh good, module ExtUtils::MakeMaker version 6.32 is already installed.

Oh good, module Net::CIDR version 0.11 is already installed.

Attempting to build and install perl-IO-stringy-2.108-1
Installing perl-IO-stringy-2.108-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.23822
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /usr/src/redhat/BUILD
+ rm -rf IO-stringy-2.108
+ /bin/gzip -dc /usr/src/redhat/SOURCES/IO-stringy-2.108.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd IO-stringy-2.108
++ /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.23822
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd IO-stringy-2.108
+ 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 PREFIX=/var/tmp/perl-IO-stringy-root/usr
Checking if your kit is complete...
Looks good
Writing Makefile for IO-stringy
+ make
cp lib/IO/Lines.pm blib/lib/IO/Lines.pm
cp lib/IO/ScalarArray.pm blib/lib/IO/ScalarArray.pm
cp lib/IO/Stringy.pm blib/lib/IO/Stringy.pm
cp lib/IO/Wrap.pm blib/lib/IO/Wrap.pm
cp lib/IO/Scalar.pm.html blib/lib/IO/Scalar.pm.html
cp lib/IO/AtomicFile.pm blib/lib/IO/AtomicFile.pm
cp lib/IO/InnerFile.pm blib/lib/IO/InnerFile.pm
cp lib/IO/Scalar.pm blib/lib/IO/Scalar.pm
cp lib/IO/WrapTie.pm blib/lib/IO/WrapTie.pm
Manifying blib/man3/IO::Lines.3pm
Manifying blib/man3/IO::Stringy.3pm
Manifying blib/man3/IO::ScalarArray.3pm
Manifying blib/man3/IO::Wrap.3pm
Manifying blib/man3/IO::AtomicFile.3pm
Manifying blib/man3/IO::InnerFile.3pm
Manifying blib/man3/IO::Scalar.3pm
Manifying blib/man3/IO::WrapTie.3pm
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/IO_Lines............ok
t/IO_Scalar...........ok
t/IO_ScalarArray......ok
t/IO_WrapTie..........ok
t/simple..............ok
t/two.................ok
All tests successful.
Files=6, Tests=116,  0 wallclock secs ( 0.03 usr  0.03 sys +  0.22 cusr  0.16 csys =  0.44 CPU)
Result: PASS
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.36679
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd IO-stringy-2.108
+ LANG=C
+ export LANG
+ unset DISPLAY
+ rm -rf /var/tmp/perl-IO-stringy-root
++ perl -V:installarchlib
+ eval 'installarchlib='\''/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi'\'';'
++ installarchlib=/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
+ mkdir -p /var/tmp/perl-IO-stringy-root//usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi
+ make install
Manifying blib/man3/IO::Lines.3pm
Manifying blib/man3/IO::Stringy.3pm
Manifying blib/man3/IO::ScalarArray.3pm
Manifying blib/man3/IO::Wrap.3pm
Manifying blib/man3/IO::AtomicFile.3pm
Manifying blib/man3/IO::InnerFile.3pm
Manifying blib/man3/IO::Scalar.3pm
Manifying blib/man3/IO::WrapTie.3pm
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/InnerFile.pm
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/Lines.pm
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/Scalar.pm
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/Wrap.pm
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/WrapTie.pm
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/Scalar.pm.html
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/ScalarArray.pm
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/Stringy.pm
Installing /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8/IO/AtomicFile.pm
Installing /var/tmp/perl-IO-stringy-root/usr/share/man/man3/IO::ScalarArray.3pm
Installing /var/tmp/perl-IO-stringy-root/usr/share/man/man3/IO::InnerFile.3pm
Installing /var/tmp/perl-IO-stringy-root/usr/share/man/man3/IO::WrapTie.3pm
Installing /var/tmp/perl-IO-stringy-root/usr/share/man/man3/IO::Scalar.3pm
Installing /var/tmp/perl-IO-stringy-root/usr/share/man/man3/IO::Lines.3pm
Installing /var/tmp/perl-IO-stringy-root/usr/share/man/man3/IO::AtomicFile.3pm
Installing /var/tmp/perl-IO-stringy-root/usr/share/man/man3/IO::Wrap.3pm
Installing /var/tmp/perl-IO-stringy-root/usr/share/man/man3/IO::Stringy.3pm
Writing /var/tmp/perl-IO-stringy-root/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/IO-stringy/.packlist
Appending installation info to /var/tmp/perl-IO-stringy-root/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod
+ '[' -x /usr/lib/rpm/brp-compress ']'
+ /usr/lib/rpm/brp-compress
+ find /var/tmp/perl-IO-stringy-root/usr -type f -print
+ sed 's@^/var/tmp/perl-IO-stringy-root@@g'
+ grep -v perllocal.pod
+ grep -v '\.packlist'
++ cat IO-stringy-2.108-filelist
+ '[' '/usr/share/man/man3/IO::InnerFile.3pm.gz
/usr/share/man/man3/IO::AtomicFile.3pm.gz
/usr/share/man/man3/IO::Scalar.3pm.gz
/usr/share/man/man3/IO::ScalarArray.3pm.gz
/usr/share/man/man3/IO::Lines.3pm.gz
/usr/share/man/man3/IO::Stringy.3pm.gz
/usr/share/man/man3/IO::WrapTie.3pm.gz
/usr/share/man/man3/IO::Wrap.3pm.gz
/usr/lib/perl5/site_perl/5.8.8/IO/InnerFile.pm
/usr/lib/perl5/site_perl/5.8.8/IO/Lines.pm
/usr/lib/perl5/site_perl/5.8.8/IO/Scalar.pm
/usr/lib/perl5/site_perl/5.8.8/IO/Wrap.pm
/usr/lib/perl5/site_perl/5.8.8/IO/WrapTie.pm
/usr/lib/perl5/site_perl/5.8.8/IO/Scalar.pm.html
/usr/lib/perl5/site_perl/5.8.8/IO/ScalarArray.pm
/usr/lib/perl5/site_perl/5.8.8/IO/Stringy.pm
/usr/lib/perl5/site_perl/5.8.8/IO/AtomicFile.pmX' = X ']'
+ /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/IO-stringy-2.108
find: debug: No such file or directory                  // <-- Is this the issue ?
 + /usr/lib/rpm/check-buildroot
/var/tmp/perl-IO-stringy-root/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/perllocal.pod:C<installed into: /var/tmp/perl-IO-stringy-root/usr/lib/perl5/site_perl/5.8.8>
Found '/var/tmp/perl-IO-stringy-root' in installed files; aborting
error: Bad exit status from /var/tmp/rpm-tmp.36679 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.36679 (%install)



Missing file /usr/src/redhat/RPMS/noarch/perl-IO-stringy-2.108-1.noarch.rpm.
Maybe it did not build correctly?

Attempting to build and install perl-MIME-Base64-3.07-1
Installing perl-MIME-Base64-3.07-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.74655
...

And so forth.  I think the line: find: debug: No such file or directory is where it is blowing up, but I can't (my skills are limited) find the reference to 'debug' and I've installed 'debug' type perl modules but none of them seem to have what the script is looking for. Any help tracking this down would be greatly appreciated. FWIW I'm fairly sure I could install each and every CPAN module manually and install.sh would have little to do but simply install MailScanner.


More information about the MailScanner mailing list