You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Whisky <wh...@level0.org> on 2006/07/18 17:04:23 UTC

Problems with make test -> Dumper.so: undefined symbol: PL_sv_undef

Dear list members,

I receive two errors/warnings when running "make test" for
Mail-SpamAssassin-3.1.3 on Debian testing.

----------------------------------------------------------------------------
---------------
1) 
t/gtube.....................    Not found: gtube =  BODY: Generic Test for
Unsolicited Bulk Email 
# Failed test 2 in t/SATest.pm at line 592
t/gtube.....................FAILED test 2

        Failed 1/4 tests, 75.00% okay
----------------------------------------------------------------------------
---------------

----------------------------------------------------------------------------
---------------
2)
t/meta......................Can't load
'/usr/local/lib/perl5/5.8.4/i686-linux/auto/Data/Dumper/Dumper.so' for
module Data::Dumper:
/usr/local/lib/perl5/5.8.4/i686-linux/auto/Data/Dumper/Dumper.so: undefined
symbol: PL_sv_undef at /usr/local/lib/perl5/5.8.4/i686-linux/XSLoader.pm
line 68.
 at /usr/local/lib/perl5/5.8.4/i686-linux/Data/Dumper.pm line 27
Compilation failed in require at ../masses/parse-rules-for-masses line 36.
BEGIN failed--compilation aborted at ../masses/parse-rules-for-masses line
36.
parse-rules-for-masses failed! at t/meta.t line 43.
tmp/rules.pl is unparseable: Can't locate log/rules-0.pl in @INC (@INC
contains: ../blib/lib
/usr/src/Mail-SpamAssassin/Mail-SpamAssassin-3.1.3/blib/lib
/usr/src/Mail-SpamAssassin/Mail-SpamAssassin-3.1.3/blib/arch
/usr/local/lib/perl5/5.8.4/i686-linux /usr/local/lib/perl5/5.8.4/i686-linux
/usr/local/lib/perl5/5.8.4 /usr/local/lib/perl5/site_perl/5.8.4/i686-linux
/usr/local/lib/perl5/site_perl/5.8.4/i686-linux
/usr/local/lib/perl5/site_perl/5.8.4
/usr/local/lib/perl5/site_perl/5.8.4/i686-linux
/usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl .
/usr/local/lib/perl5/5.8.4/i686-linux /usr/local/lib/perl5/5.8.4
/usr/local/lib/perl5/site_perl/5.8.4/i686-linux
/usr/local/lib/perl5/site_perl/5.8.4 /usr/local/lib/perl5/site_perl .) at
t/meta.t line 46.
giving up on test. at t/meta.t line 50.
----------------------------------------------------------------------------
---------------

The final result looks like this:

----------------------------------------------------------------------------
---------------
Failed Test Stat Wstat Total Fail  Failed  List of Failed
----------------------------------------------------------------------------
---
t/gtube.t                  4    1  25.00%  2
16 tests skipped.
Failed 1/95 test scripts, 98.95% okay. 1/2090 subtests failed, 99.95% okay.
----------------------------------------------------------------------------
---------------

Can I safely ignore these problems and install SA anyway? Or does anyone of
you guys have an idea on how to solve this?

Thank you very much in advance,

Stefan



Re: Problems with make test -> Dumper.so: undefined symbol: PL_sv_undef

Posted by Theo Van Dinter <fe...@apache.org>.
On Tue, Jul 18, 2006 at 05:04:23PM +0200, Whisky wrote:
> 1) 
> t/gtube.....................    Not found: gtube =  BODY: Generic Test for
> Unsolicited Bulk Email 
> # Failed test 2 in t/SATest.pm at line 592
> t/gtube.....................FAILED test 2
>         Failed 1/4 tests, 75.00% okay

Hrm.  Are you running in a non-English locale/language?
If so this is a known problem (fixed in 3.1.4 --
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4908).

> 2)
> t/meta......................Can't load
> '/usr/local/lib/perl5/5.8.4/i686-linux/auto/Data/Dumper/Dumper.so' for
> module Data::Dumper:
> /usr/local/lib/perl5/5.8.4/i686-linux/auto/Data/Dumper/Dumper.so: undefined
> symbol: PL_sv_undef at /usr/local/lib/perl5/5.8.4/i686-linux/XSLoader.pm
> line 68.
>  at /usr/local/lib/perl5/5.8.4/i686-linux/Data/Dumper.pm line 27

Hrm.  Looks like your local install of the Data::Dumper module is screwed up.

> Can I safely ignore these problems and install SA anyway? Or does anyone of
> you guys have an idea on how to solve this?

I would say yes, you'd be fine doing the install.  #1 is likely the LANG
issue, and #2 is a problem but we don't use Data::Dumper in the normal code.
My biggest concern is whether you'll have other module issues, but ...

-- 
Randomly Generated Tagline:
Somehow tuna doesn't taste the same without the dolphin.