Problems with File::Scan::ClamAV

2010-07-03 Thread sebast...@debianfan.de

Hello,

i have a debian Lenny system with SpamAssassin version 3.3.1
  running on Perl version 5.10.0.

I had installed clamav and i got a problem by installing file::scan::clamav.

At first i tried to install it in the mcpan-shell - many errors at the 
tests.


Now i tried to install it in a different way - i want to build a debian 
package and then install by paket manager.


What is wrong?

***
creating a debian package:

# dh-make-perl --cpan File::Scan::ClamAV --build
Dispatching deprecated method 'CPAN::Config::load' to CPAN::HandleConfig
Going to read '/root/.cpan/Metadata'
  Database was generated on Thu, 01 Jul 2010 23:27:05 GMT
CPAN: Time::HiRes loaded ok (v1.9721)
Fetching with LWP:
  ftp://ftp.fu-berlin.de/unix/languages/perl/authors/01mailrc.txt.gz
Going to read '/root/.cpan/source/authors/01mailrc.txt.gz'
Going to read 1 yaml file from /root/.cpan/build/
DONE
Restored the state of none (in 0.0301 secs)
DONE
Fetching with LWP:

ftp://ftp.fu-berlin.de/unix/languages/perl/modules/02packages.details.txt.gz
Going to read '/root/.cpan/source/modules/02packages.details.txt.gz'
  Database was generated on Sat, 03 Jul 2010 00:27:33 GMT
DONE
Fetching with LWP:
  ftp://ftp.fu-berlin.de/unix/languages/perl/modules/03modlist.data.gz
Going to read '/root/.cpan/source/modules/03modlist.data.gz'
DONE
Going to write /root/.cpan/Metadata
Fetching with LWP:

ftp://ftp.fu-berlin.de/unix/languages/perl/authors/id/J/JA/JAMTUR/File-Scan-Cl 


 amAV-1.91.tar.gz
CPAN: Digest::SHA loaded ok (v5.48)
  Checksum was ok
CPAN: Archive::Tar loaded ok (v1.62)
File-Scan-ClamAV-1.91/
File-Scan-ClamAV-1.91/META.yml
File-Scan-ClamAV-1.91/README
File-Scan-ClamAV-1.91/testfiles/
File-Scan-ClamAV-1.91/testfiles/innocent
File-Scan-ClamAV-1.91/testfiles/clamavtest.gz
File-Scan-ClamAV-1.91/testfiles/clamavtest
File-Scan-ClamAV-1.91/testfiles/clamavtest.zip
File-Scan-ClamAV-1.91/t/
File-Scan-ClamAV-1.91/t/pod.t
File-Scan-ClamAV-1.91/t/01ping.t
File-Scan-ClamAV-1.91/t/04scan.t
File-Scan-ClamAV-1.91/t/05streamscan.t
File-Scan-ClamAV-1.91/t/02reload.t
File-Scan-ClamAV-1.91/t/03quit.t
File-Scan-ClamAV-1.91/t/00basic.t
File-Scan-ClamAV-1.91/t/pod-coverage.t
File-Scan-ClamAV-1.91/t/mkconf.pl
File-Scan-ClamAV-1.91/Makefile.PL
File-Scan-ClamAV-1.91/Changes
File-Scan-ClamAV-1.91/lib/
File-Scan-ClamAV-1.91/lib/File/
File-Scan-ClamAV-1.91/lib/File/Scan/
File-Scan-ClamAV-1.91/lib/File/Scan/ClamAV.pm
File-Scan-ClamAV-1.91/MANIFEST.SKIP
File-Scan-ClamAV-1.91/MANIFEST
CPAN: File::Temp loaded ok (v0.22)
Found: File-Scan-ClamAV 1.91 (libfile-scan-clamav-perl arch=all)

Using maintainer: root r...@postmaster@consultingparadise.de
Found changelog: Changes
Found docs: README
Using rules: /usr/share/dh-make-perl/rules.MakeMaker.noxs
**
Copyright information incomplete!

Upstream copyright information could not be automatically determined.

If you are building this package for your personal use, you might disregard
this information; however, if you intend to upload this package to Debian
(or in general, if you plan on distributing it), you must look into the
complete copyright information.

The causes for this warning are:
No licensing information
make: Entering directory `/root/.cpan/build/File-Scan-ClamAV-1.91'
dh_testdir
dh_testroot
dh_clean build-stamp install-stamp
# Add commands to clean up after the build process here
[ ! -f Makefile ] || make realclean
make: Leaving directory `/root/.cpan/build/File-Scan-ClamAV-1.91'
make: Entering directory `/root/.cpan/build/File-Scan-ClamAV-1.91'
dh_testdir
# Add commands to compile the package here
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
Checking if your kit is complete...
Looks good
Writing Makefile for File::Scan::ClamAV
make
make[1]: Entering directory `/root/.cpan/build/File-Scan-ClamAV-1.91'
cp lib/File/Scan/ClamAV.pm blib/lib/File/Scan/ClamAV.pm
Manifying blib/man3/File::Scan::ClamAV.3pm
make[1]: Leaving directory `/root/.cpan/build/File-Scan-ClamAV-1.91'
make test
make[1]: Entering directory `/root/.cpan/build/File-Scan-ClamAV-1.91'
PERL_DL_NONLAZY=1 CLAMD_PATH=/usr/sbin /usr/bin/perl 
-MExtUtils::Command::MM -e test_harness(0, 'blib/lib', 
'blib/arch') t/*.t

t/00basic.t ... ok
t/01ping.t  1/3 # Failed test 2 in t/01ping.t at line 26
#  t/01ping.t line 26 is: ok($av-ping);
t/01ping.t  Failed 1/3 subtests
t/02reload.t .. 1/3 # Failed test 2 in t/02reload.t at line 25
#  t/02reload.t line 25 is: ok($av-reload);
t/02reload.t .. Failed 1/3 subtests
t/03quit.t  1/4 # Failed test 2 in t/03quit.t at line 31
#  t/03quit.t line 31 is: ok($av-quit);
t/03quit.t  Failed 1/4 subtests
t/04scan.t  1/8 # Test 4 got:  (t/04scan.t at line 36)
#   Expected: 1 (Didn't detect 

Re: Problems with File::Scan::ClamAV

2010-07-03 Thread Charles Gregory

On Sat, 3 Jul 2010, sebast...@debianfan.de wrote:

i have a debian Lenny system with SpamAssassin version 3.3.1
  running on Perl version 5.10.0.


Is it running properly?

I had installed clamav and i got a problem by installing 
file::scan::clamav.


How is this connected to spamassassin? My first feeling on this is that 
you would have better luck posting this to the Debian lists. Or perhaps 
contact the author


I presume you have already googled for your errors :)

- C