Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70083 - SpamAssassin 2.64 failing test during ebuild
Summary: SpamAssassin 2.64 failing test during ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-04 12:53 UTC by leonardb
Modified: 2004-12-21 16:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leonardb 2004-11-04 12:53:10 UTC
when doing emerge spamassassin

Reproducible: Always
Steps to Reproduce:
1. emerge spamassassin
2.
3.

Actual Results:  
t/spamd_protocol_10.........FAILED - Couldn't Connect to SpamCheck Host
# Failed test 1 in t/spamd_protocol_10.t at line 38
#  t/spamd_protocol_10.t line 38 is:   ok (defined ($out));
Use of uninitialized value in pattern match (m//) at t/spamd_protocol_10.t line 40.
readline() on closed filehandle IN at t/SATest.pm line 354.
t/spamd_protocol_10.........NOK 1       Not found: symbolshit =  GTUBE       
# Failed test 2 in t/SATest.pm at line 388
        Not found: response-11 =  SPAMD/1.1 0 EX_OK 
# Failed test 3 in t/SATest.pm at line 388 fail #2
        Not found: spamheader =  Spam: True ; 
t/spamd_protocol_10.........NOK 2# Failed test 4 in t/SATest.pm at line 388 fail #3
t/spamd_protocol_10.........NOK 4FAILED - Couldn't Connect to SpamCheck Host 
# Failed test 5 in t/spamd_protocol_10.t at line 38 fail #2
Use of uninitialized value in pattern match (m//) at t/spamd_protocol_10.t line 40.
readline() on closed filehandle IN at t/SATest.pm line 354.
t/spamd_protocol_10.........NOK 5       Not found: symbolshit =  GTUBE       
# Failed test 6 in t/SATest.pm at line 388 fail #4
        Not found: response-11 =  SPAMD/1.1 0 EX_OK 
# Failed test 7 in t/SATest.pm at line 388 fail #5
        Not found: spamheader =  Spam: True ; 
# Failed test 8 in t/SATest.pm at line 388 fail #6
t/spamd_protocol_10.........FAILED tests 1-10                                
        Failed 10/10 tests, 0.00% okay




t/spamd_protocol_10.t               10   10 100.00%  1-10
1 test skipped.
Failed 1/39 test scripts, 97.44% okay. 10/281 subtests failed, 96.44% okay.
make: *** [test_dynamic] Error 255
make -f spamd/binaries.mk qmail/qmail-spamc
make[1]: Entering directory
`/var/tmp/portage/spamassassin-2.64/work/Mail-SpamAssassin-2.64'
gcc -march=pentium4 -O3 -pipe qmail/qmail-spamc.c \
        -o qmail/qmail-spamc  -ldl 
make[1]: Leaving directory
`/var/tmp/portage/spamassassin-2.64/work/Mail-SpamAssassin-2.64'
>>> Test phase [not enabled]: mail-filter/spamassassin-2.64

Expected Results:  
No errors
Comment 1 Mikkel Høgh 2004-11-19 15:01:52 UTC
I have the same problem. It fails to run after the compile, too:

$ spamassassin
Can't locate HTML/Parser.pm in @INC (@INC contains: /usr/lib/perl5/vendor_perl/5.8.4/i686-linux /usr/lib/perl5/vendor_perl/5.8.4 /etc/perl /usr/lib/perl5/site_perl/5.8.4/i686-linux /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.4/i686-linux /usr/lib/perl5/5.8.4 /usr/local/lib/site_perl .) at /usr/lib/perl5/vendor_perl/5.8.4/Mail/SpamAssassin/HTML.pm line 7.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.4/Mail/SpamAssassin/HTML.pm line 7.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 42.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.4/Mail/SpamAssassin/PerMsgStatus.pm line 42.
Compilation failed in require at /usr/lib/perl5/vendor_perl/5.8.4/Mail/SpamAssassin.pm line 62.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.4/Mail/SpamAssassin.pm line 62.
Compilation failed in require at /usr/bin/spamassassin line 66.
Comment 2 Malte S. Stretz 2004-12-10 16:51:13 UTC
The first one I can't reproduce.  The second happens because HTML::Parser is a required package for SpamAssassin.  Which is in $DEPEND AFAIK, so I have no idea why this can happen.
Comment 3 Malte S. Stretz 2004-12-21 16:46:07 UTC
Due to bug 64133 SpamAssassin 3.0.2 is on its way to be marked as stable and the bug is fixed in the 3.x ebuild.