You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Herb Martin <He...@learnquick.com> on 2005/07/11 04:16:03 UTC

Cygwin fails make TEST SpamAssassin 3.10pre3

I am NOT seeking help, but rather just want to
know if there is someone here who needs this 
information, or who to contact if the report 
will help.

perl: 5.8.7 (see below "make test" for perl -V)
cygwin: 1.5.17(0.12942)
Windows [Version 5.2.3790]

Failed Test          Stat Wstat Total Fail  Failed  Tests
---------------------------------------------------------
t/strip2.t                         16   16 100.00%  1-16
t/strip_no_subject.t                4    4 100.00%  1-4

(Full test output is below)

I just want this report to reach the appropriate
person IF it will help prepare the release of 3.10.

And running it against test spam/ham generally works
as expected.

Thanks.

--
Herb Martin



$ make test
/usr/bin/perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/basic_lint................ok
t/bayesdbm..................ok
t/bayesdbm_flock............ok
t/bayessdbm.................ok
t/bayessdbm_seen_delete.....ok
t/bayessql..................skipped
        all skipped: no reason given
t/blacklist_autolearn.......ok
t/body_mod..................ok
t/cidrs.....................ok
t/config_errs...............skipped
        all skipped: no reason given
t/db_awl_path...............ok
t/db_based_whitelist........ok
t/db_based_whitelist_ips....ok
t/debug.....................ok
t/desc_wrap.................ok
t/dnsbl.....................skipped
        all skipped: no reason given
t/forged_rcvd...............ok
t/gtube.....................ok
t/hashcash..................ok
t/html_colors...............ok
t/html_obfu.................ok
t/ifversion.................ok
t/ip_addrs..................ok
t/lang_lint.................ok
t/lang_pl_tests.............ok
t/memory_cycles.............skipped
        all skipped: no reason given
t/meta......................ok
t/mimeheader................ok
t/mimeparse.................ok
t/missing_hb_separator......ok
t/nonspam...................ok
t/plugin....................ok
t/plugin_file...............ok
t/prefs_include.............ok
t/razor2....................skipped
        all skipped: no reason given
t/rcvd_parser...............ok
t/recips....................ok
t/recursion.................ok
t/regexp_valid..............ok
t/relative_scores...........ok
t/report_safe...............ok
t/reportheader..............ok
t/reportheader_8bit.........ok
t/rule_names................ok
t/rule_tests................ok
t/rule_types................ok
t/sha1......................ok
t/spam......................ok
t/spamc.....................ok
t/spamc_B...................ok
t/spamc_c...................ok
t/spamc_c_stdout_closed.....ok
t/spamc_cf..................ok
t/spamc_E...................ok
t/spamc_l...................ok
t/spamc_optC................ok
t/spamc_optL................ok
t/spamd.....................ok
t/spamd_allow_user_rules....ok
t/spamd_hup.................ok
t/spamd_ldap................skipped
        all skipped: no reason given
t/spamd_maxchildren.........ok
t/spamd_maxsize.............ok
t/spamd_parallel............ok
t/spamd_plugin..............ok
t/spamd_port................ok
t/spamd_prefork_stress......skipped
        all skipped: no reason given
t/spamd_prefork_stress_2....skipped
        all skipped: no reason given
t/spamd_prefork_stress_3....skipped
        all skipped: no reason given
t/spamd_protocol_10.........ok
t/spamd_report..............ok
t/spamd_report_ifspam.......ok
t/spamd_ssl.................skipped
        all skipped: no reason given
t/spamd_ssl_accept_fail.....skipped
        all skipped: no reason given
t/spamd_stop................ok
t/spamd_symbols.............ok
t/spamd_syslog..............ok
t/spamd_unix................ok
t/spamd_utf8................ok
t/spf.......................skipped
        all skipped: no reason given
t/sql_based_whitelist.......skipped
        all skipped: no reason given
t/strip2....................# Failed test 1 in t/strip2.t at line 39
t/strip2....................NOK 1# Failed test 2 in t/strip2.t at line 57
t/strip2....................NOK 2# Failed test 3 in t/strip2.t at line 39
fail #2
t/strip2....................NOK 3# Failed test 4 in t/strip2.t at line 57
fail #2
t/strip2....................NOK 4# Failed test 5 in t/strip2.t at line 39
fail #3
t/strip2....................NOK 5# Failed test 6 in t/strip2.t at line 57
fail #3
t/strip2....................NOK 6# Failed test 7 in t/strip2.t at line 39
fail #4
t/strip2....................NOK 7# Failed test 8 in t/strip2.t at line 57
fail #4
t/strip2....................NOK 8# Failed test 9 in t/strip2.t at line 39
fail #5
t/strip2....................NOK 9# Failed test 10 in t/strip2.t at line 57
fail #5
t/strip2....................NOK 10# Failed test 11 in t/strip2.t at line 39
fail #6
t/strip2....................NOK 11# Failed test 12 in t/strip2.t at line 57
fail #6
t/strip2....................NOK 12# Failed test 13 in t/strip2.t at line 39
fail #7
t/strip2....................NOK 13# Failed test 14 in t/strip2.t at line 57
fail #7
t/strip2....................NOK 14# Failed test 15 in t/strip2.t at line 80
t/strip2....................NOK 15# Failed test 16 in t/strip2.t at line 89
t/strip2....................FAILED tests 1-16
        Failed 16/16 tests, 0.00% okay
t/strip_no_subject..........# Failed test 1 in t/strip_no_subject.t at line
25
t/strip_no_subject..........NOK 1#  t/strip_no_subject.t line 25 is:
ok(!compare_text($INPUT,"log/$testname.${Test::nt
est}"));
# Failed test 2 in t/strip_no_subject.t at line 42
t/strip_no_subject..........NOK 2#  t/strip_no_subject.t line 42 is:
ok(!compare_text($INPUT,"log/$testname.${Test::nt
est}"));
# Failed test 3 in t/strip_no_subject.t at line 59
t/strip_no_subject..........NOK 3#  t/strip_no_subject.t line 59 is:
ok(!compare_text($INPUT,"log/$testname.${Test::nt
est}"));
# Failed test 4 in t/strip_no_subject.t at line 68
t/strip_no_subject..........NOK 4#  t/strip_no_subject.t line 68 is:
ok(!compare_text($INPUT,"log/$testname.${Test::ntes
t}"));
t/strip_no_subject..........FAILED tests 1-4
        Failed 4/4 tests, 0.00% okay
t/stripmarkup...............ok
t/uri.......................ok
t/uri_html..................ok
t/uri_text..................ok
t/utf8......................ok
t/whitelist_addrs...........ok
t/whitelist_from............ok
t/whitelist_subject.........ok
t/whitelist_to..............ok
t/zz_cleanup................ok
Failed Test          Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/strip2.t                         16   16 100.00%  1-16
t/strip_no_subject.t                4    4 100.00%  1-4
13 tests skipped.
Failed 2/93 test scripts, 97.85% okay. 20/1995 subtests failed, 99.00% okay.
make: *** [test_dynamic] Error 14


============================================================================
=====
$ perl -V
Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=cygwin, osvers=1.5.17(0.12942),
archname=cygwin-thread-multi-64int
    uname='cygwin_nt-5.1 inspiron 1.5.17(0.12942) 2005-05-25 19:38 i686
unknown unknown cygwin '
    config_args='-de -Dmksymlinks -Duse64bitint -Dusethreads -Doptimize=-O3
-Dman3ext=3pm -Dusesitecustomize'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=define use64bitall=undef uselongdouble=undef
    usemymalloc=y, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include',
    optimize='-O3',
    cppflags='-DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -pipe
-I/usr/local/include'
    ccversion='', gccversion='3.4.4 (cygming special) (gdc 0.12, using dmd
0.125)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='ld2', ldflags =' -s -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /lib
    libs=-lgdbm -ldb -lcrypt -lgdbm_compat
    perllibs=-lcrypt -lgdbm_compat
    libc=/usr/lib/libc.a, so=dll, useshrplib=true, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' -s'
    cccdlflags=' ', lddlflags=' -s -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT
                        USE_LARGE_FILES USE_SITECUSTOMIZE
                        PERL_IMPLICIT_CONTEXT
  Built under cygwin
  Compiled at Jul  6 2005 19:08:13
  %ENV:
    CYGWIN="ntsec tty"
  @INC:
    /usr/lib/perl5/5.8/cygwin
    /usr/lib/perl5/5.8
    /usr/lib/perl5/site_perl/5.8/cygwin
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/site_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8/cygwin
    /usr/lib/perl5/vendor_perl/5.8
    /usr/lib/perl5/vendor_perl/5.8
    .


Re: Cygwin fails make TEST SpamAssassin 3.10pre3

Posted by Sidney Markowitz <si...@sidney.com>.
Herb,

What are you using to untar the SpamAssassin tarball? I can get similar
errors if I run unix2dos on the data files that t/strip2.t uses for input.
Could your text mode files have DOS newlines in them? That would not break
everything, but it does seem to break the strip tests.

 -- sidney


Re: Cygwin fails make TEST SpamAssassin 3.10pre3

Posted by Sidney Markowitz <si...@sidney.com>.
Herb Martin wrote:
> perl: 5.8.7 (see below "make test" for perl -V)
> cygwin: 1.5.17(0.12942)
> Windows [Version 5.2.3790]

I just tried it with the latest svn and it worked fine. Just to make sure, I
updated Cygwin to the latest, including updating perl from 5.8.6 to the same
5.8.7 that you used, did a make distclean in SpamAssassin and then make and
make test again, and it still worked.

I recall seeing the strip* tests failing sometime back, but I don't remember
exactly when or what was fixed. I don't think that it was a problem in
3.1pre3, though.

Can you try a make distclean and then building it again?

 -- sidney