Problems installing Mailscanner

Roel Spijker r.spyker at HCCNET.NL
Tue Oct 22 21:04:43 IST 2002


Okay. One more try.

I went through the modules listed in install.sh one by one in sequence.

The first one that goes wrong is perl-HTML-Parser*. It looks like it complains that it is missing something that should have been there from the previous step perl-HTML-Tagset. But as far as I can that step went OK.

[root at splx001 MailScanner-4.01-5]# rpmbuild --rebuild perl-HTML-Tag*
Installing perl-HTML-Tagset-3.03-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.11475
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf HTML-Tagset-3.03
+ /bin/gzip -dc /usr/src/redhat/SOURCES/HTML-Tagset-3.03.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd HTML-Tagset-3.03
++ /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,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.11475
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd HTML-Tagset-3.03
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ perl Makefile.PL PREFIX=/var/tmp/perl-HTML-Tagset-root/usr
Checking if your kit is complete...
Looks good
Writing Makefile for HTML::Tagset
+ make
mkdir blib
mkdir blib/lib
mkdir blib/lib/HTML
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/HTML
mkdir blib/arch/auto/HTML/Tagset
mkdir blib/lib/auto
mkdir blib/lib/auto/HTML
mkdir blib/lib/auto/HTML/Tagset
mkdir blib/man3
cp Tagset.pm blib/lib/HTML/Tagset.pm
Manifying blib/man3/HTML::Tagset.3pm
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 test.pl
1..1
ok 1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.56154
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd HTML-Tagset-3.03
+ rm -rf /var/tmp/perl-HTML-Tagset-root
++ perl -V:installarchlib
+ eval 'installarchlib='\''/usr/lib/perl5/5.6.0/i386-linux'\'';'
++ installarchlib=/usr/lib/perl5/5.6.0/i386-linux
+ mkdir -p /var/tmp/perl-HTML-Tagset-root//usr/lib/perl5/5.6.0/i386-linux
+ make install
Installing /var/tmp/perl-HTML-Tagset-root/usr/lib/site_perl/5.6.0/HTML/Tagset.pm
Installing /var/tmp/perl-HTML-Tagset-root/usr/share/man/man3/HTML::Tagset.3pm
Writing /var/tmp/perl-HTML-Tagset-root/usr/lib/site_perl/5.6.0/i386-linux/auto/HTML/Tagset/.packlist
mkdir /var/tmp/perl-HTML-Tagset-root/usr/lib/5.6.0
mkdir /var/tmp/perl-HTML-Tagset-root/usr/lib/5.6.0/i386-linux
Appending installation info to /var/tmp/perl-HTML-Tagset-root/usr/lib/5.6.0/i386-linux/perllocal.pod
+ '[' -x /usr/lib/rpm/brp-compress ']'
+ /usr/lib/rpm/brp-compress
+ find /var/tmp/perl-HTML-Tagset-root/usr -type f -print
+ sed 's@^/var/tmp/perl-HTML-Tagset-root@@g'
+ grep -v perllocal.pod
+ grep -v '\.packlist'
++ cat HTML-Tagset-3.03-filelist
+ '[' '/usr/lib/site_perl/5.6.0/HTML/Tagset.pm
/usr/share/man/man3/HTML::Tagset.3pm.gzX' = X ']'
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-comment-note
Processing files: perl-HTML-Tagset-3.03-1
Finding  Provides: (using /usr/lib/rpm/find-provides)...
Finding  Requires: (using /usr/lib/rpm/find-requires)...
PreReq: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1
Wrote: /usr/src/redhat/RPMS/noarch/perl-HTML-Tagset-3.03-1.noarch.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.20651
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd HTML-Tagset-3.03
+ rm -rf /var/tmp/perl-HTML-Tagset-root
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.20651
+ umask 022
+ cd /usr/src/redhat/BUILD
+ rm -rf HTML-Tagset-3.03
+ exit 0


[root at splx001 MailScanner-4.01-5]# rpmbuild --rebuild perl-HTML-Parser*
Installing perl-HTML-Parser-3.26-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1726
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd /usr/src/redhat/BUILD
+ rm -rf HTML-Parser-3.26
+ /bin/gzip -dc /usr/src/redhat/SOURCES/HTML-Parser-3.26.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd HTML-Parser-3.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,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1726
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd HTML-Parser-3.26
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ perl Makefile.PL PREFIX=/var/tmp/perl-HTML-Parser-root/usr
Checking if your kit is complete...
Looks good
Warning: prerequisite HTML::Tagset failed to load: Can't locate HTML/Tagset.pm in @INC (@INC contains: /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at (eval 4) line 3.
Writing Makefile for HTML::Parser
+ make
mkdir blib
mkdir blib/lib
mkdir blib/lib/HTML
mkdir blib/arch
mkdir blib/arch/auto
mkdir blib/arch/auto/HTML
mkdir blib/arch/auto/HTML/Parser
mkdir blib/lib/auto
mkdir blib/lib/auto/HTML
mkdir blib/lib/auto/HTML/Parser
mkdir blib/man3
cp lib/HTML/HeadParser.pm blib/lib/HTML/HeadParser.pm
cp lib/HTML/LinkExtor.pm blib/lib/HTML/LinkExtor.pm
cp lib/HTML/PullParser.pm blib/lib/HTML/PullParser.pm
cp Parser.pm blib/lib/HTML/Parser.pm
cp lib/HTML/Entities.pm blib/lib/HTML/Entities.pm
cp lib/HTML/TokeParser.pm blib/lib/HTML/TokeParser.pm
cp lib/HTML/Filter.pm blib/lib/HTML/Filter.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap Parser.xs > Parser.xsc && mv Parser.xsc Parser.c
/usr/bin/perl mkhctype >hctype.h
/usr/bin/perl mkpfunc >pfunc.h
gcc -c  -fno-strict-aliasing -I/usr/local/include -O2 -march=i386 -mcpu=i686     -DVERSION=\"3.26\" -DXS_VERSION=\"3.26\" -fPIC -I/usr/lib/perl5/5.6.0/i386-linux/CORE -DMARKED_SECTION Parser.c
Running Mkbootstrap for HTML::Parser ()
chmod 644 Parser.bs
LD_RUN_PATH="" gcc -o blib/arch/auto/HTML/Parser/Parser.so  -shared -L/usr/local/lib Parser.o
chmod 755 blib/arch/auto/HTML/Parser/Parser.so
cp Parser.bs blib/arch/auto/HTML/Parser/Parser.bs
chmod 644 blib/arch/auto/HTML/Parser/Parser.bs
Manifying blib/man3/HTML::HeadParser.3pm
Manifying blib/man3/HTML::LinkExtor.3pm
Manifying blib/man3/HTML::PullParser.3pm
Manifying blib/man3/HTML::Parser.3pm
Manifying blib/man3/HTML::Entities.3pm
Manifying blib/man3/HTML::TokeParser.3pm
Manifying blib/man3/HTML::Filter.3pm
+ make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.0/i386-linux -I/usr/lib/perl5/5.6.0 -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/api_version.......ok
t/argspec2..........ok
t/argspec-bad.......ok
t/argspec...........ok
t/attr-encoded......ok
t/callback..........ok
t/case-sensitive....ok
t/cases.............ok
t/comment...........ok
t/crashme...........ok
t/declaration.......ok
t/default...........ok
t/dtext.............ok
t/entities2.........ok
t/entities..........ok
t/filter-methods....ok
t/filter............ok
t/handler-eof.......ok
t/handler...........ok
t/headparser-http...ok
t/headparser........ok
t/ignore............ok
t/largetags.........ok
t/linkextor-base....Can't locate HTML/Tagset.pm in @INC (@INC contains: blib/arch blib/lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at blib/lib/HTML/LinkExtor.pm line 31.
BEGIN failed--compilation aborted at blib/lib/HTML/LinkExtor.pm line 31.
Compilation failed in require at t/linkextor-base.t line 14.
t/linkextor-base....dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-5
        Failed 5/5 tests, 0.00% okay
t/linkextor-rel.....Can't locate HTML/Tagset.pm in @INC (@INC contains: blib/arch blib/lib /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl . /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at blib/lib/HTML/LinkExtor.pm line 31.
BEGIN failed--compilation aborted at blib/lib/HTML/LinkExtor.pm line 31.
Compilation failed in require at t/linkextor-rel.t line 3.
t/linkextor-rel.....dubious
        Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
t/magic.............ok
t/marked-sect.......ok
t/offset............ok
t/options...........ok
t/parsefile.........ok
t/parser............ok
t/plaintext.........ok
t/process...........ok
t/pullparser........ok
t/skipped-text......ok
t/textarea..........ok
t/tokeparser........ok
t/uentities.........skipped test on this platform
t/unbroken-text.....ok
t/xml-mode..........ok
Failed Test  Status Wstat Total Fail  Failed  List of failed
-------------------------------------------------------------------------------
t/linkextor-bas   2   512     5    5 100.00%  1-5
t/linkextor-rel   2   512     4    4 100.00%  1-4
1 test skipped.
Failed 2/40 test scripts, 95.00% okay. 9/224 subtests failed, 95.98% okay.
make: *** [test_dynamic] Error 29
error: Bad exit status from /var/tmp/rpm-tmp.1726 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.1726 (%build)
[root at splx001 MailScanner-4.01-5]#





More information about the MailScanner mailing list