Skip Menu |

This queue is for tickets about the Mail-ClamAV CPAN distribution.

Report information
The Basics
Id: 35223
Status: open
Priority: 0/
Queue: Mail-ClamAV

People
Owner: Nobody in particular
Requestors: pjs [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in:
  • 0.01
  • 0.02
  • 0.03
  • 0.04
  • 0.05
  • 0.06
  • 0.07
  • 0.08
  • 0.09
  • 0.10
  • 0.11
  • 0.12
  • 0.13
  • 0.14
  • 0.15
  • 0.16
  • 0.17
  • 0.20
  • 0.21
Fixed in: (no value)



Subject: Doesn't build against 0.93
If it weren't for Clam's incessant griping to upgrade whenever a new version comes out this wouldn't be such a big problem... [root@tweety Mail-ClamAV-0.21-PE2n1S]# make cp ClamAV.pm blib/lib/Mail/ClamAV.pm /usr/local/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 0.21 blib/arch Starting Build Prepocess Stage Finished Build Prepocess Stage Starting Build Parse Stage Finished Build Parse Stage Starting Build Glue 1 Stage Finished Build Glue 1 Stage Starting Build Glue 2 Stage Finished Build Glue 2 Stage Starting Build Glue 3 Stage Finished Build Glue 3 Stage Starting Build Compile Stage Starting "perl Makefile.PL" Stage Writing Makefile for Mail::ClamAV Finished "perl Makefile.PL" Stage Starting "make" Stage make[1]: Entering directory `/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV' /usr/local/bin/perl /usr/local/lib/perl5/5.10.0/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.10.0/ExtUtils/typemap ClamAV.xs > ClamAV.xsc && mv ClamAV.xsc ClamAV.c cc -c -I/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S -I/usr/local/include -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC "-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE" ClamAV.c ClamAV.xs: In function 'clamav_perl_new': ClamAV.xs:53: error: 'struct cl_limits' has no member named 'maxmailrec' ClamAV.xs:58: error: 'struct cl_limits' has no member named 'maxratio' ClamAV.xs: In function 'clamav_perl_maxmailrec': ClamAV.xs:141: error: 'struct cl_limits' has no member named 'maxmailrec' ClamAV.xs:143: error: 'struct cl_limits' has no member named 'maxmailrec' ClamAV.xs: In function 'clamav_perl_maxratio': ClamAV.xs:180: error: 'struct cl_limits' has no member named 'maxratio' ClamAV.xs:182: error: 'struct cl_limits' has no member named 'maxratio' ClamAV.xs: In function 'clamav_perl_constant': ClamAV.xs:365: error: 'CL_SCAN_PHISHING_DOMAINLIST' undeclared (first use in this function) ClamAV.xs:365: error: (Each undeclared identifier is reported only once ClamAV.xs:365: error: for each function it appears in.) make[1]: *** [ClamAV.o] Error 1 make[1]: Leaving directory `/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV' A problem was encountered while attempting to compile and install your Inline C code. The command that failed was: make The build directory was: /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV To debug the problem, cd to the build directory, and inspect the output files. at /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/blib/lib/Mail/ClamAV.pm line 178 BEGIN failed--compilation aborted at /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/blib/lib/Mail/ClamAV.pm line 556. Compilation failed in require. BEGIN failed--compilation aborted. make: *** [ClamAV.inl] Error 25 AFAICT 0.93 just gets rid of maxmailrec and maxratio and CL_SCAN_PHISHING_DOMAINLIST. They're not even mentioned in the changelog. The attached patch removes them and passes its tests and appears to work in my apps.
Subject: patch
Download patch
application/octet-stream 5.3k

Message body not shown because it is not plain text.

From: SABECK [...] cpan.org
Hi, Thanks for the bug report and the patch. I'll try to get something out soon, I'm very busy atm. Maybe someone can convince the clamav developers that needlessly breaking backwards compatibility on minor release of a virus scanner is not such a great idea. Scott On Sat Apr 19 11:31:06 2008, PJS wrote: Show quoted text
> If it weren't for Clam's incessant griping to upgrade whenever a new > version comes out this wouldn't be such a big problem... > > [root@tweety Mail-ClamAV-0.21-PE2n1S]# make > cp ClamAV.pm blib/lib/Mail/ClamAV.pm > /usr/local/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 > 0.21 blib/arch > Starting Build Prepocess Stage > Finished Build Prepocess Stage > > Starting Build Parse Stage > Finished Build Parse Stage > > Starting Build Glue 1 Stage > Finished Build Glue 1 Stage > > Starting Build Glue 2 Stage > Finished Build Glue 2 Stage > > Starting Build Glue 3 Stage > Finished Build Glue 3 Stage > > Starting Build Compile Stage > Starting "perl Makefile.PL" Stage > Writing Makefile for Mail::ClamAV > Finished "perl Makefile.PL" Stage > > Starting "make" Stage > make[1]: Entering directory > `/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV' > /usr/local/bin/perl /usr/local/lib/perl5/5.10.0/ExtUtils/xsubpp > -typemap /usr/local/lib/perl5/5.10.0/ExtUtils/typemap ClamAV.xs > > ClamAV.xsc && mv ClamAV.xsc ClamAV.c > cc -c -I/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S -I/usr/local/include > -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC > "-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE" ClamAV.c > ClamAV.xs: In function 'clamav_perl_new': > ClamAV.xs:53: error: 'struct cl_limits' has no member named 'maxmailrec' > ClamAV.xs:58: error: 'struct cl_limits' has no member named 'maxratio' > ClamAV.xs: In function 'clamav_perl_maxmailrec': > ClamAV.xs:141: error: 'struct cl_limits' has no member named 'maxmailrec' > ClamAV.xs:143: error: 'struct cl_limits' has no member named 'maxmailrec' > ClamAV.xs: In function 'clamav_perl_maxratio': > ClamAV.xs:180: error: 'struct cl_limits' has no member named 'maxratio' > ClamAV.xs:182: error: 'struct cl_limits' has no member named 'maxratio' > ClamAV.xs: In function 'clamav_perl_constant': > ClamAV.xs:365: error: 'CL_SCAN_PHISHING_DOMAINLIST' undeclared (first > use in this function) > ClamAV.xs:365: error: (Each undeclared identifier is reported only once > ClamAV.xs:365: error: for each function it appears in.) > make[1]: *** [ClamAV.o] Error 1 > make[1]: Leaving directory > `/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV' > > A problem was encountered while attempting to compile and install your > Inline > C code. The command that failed was: > make > > The build directory was: > /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV > > To debug the problem, cd to the build directory, and inspect the output > files. > > at /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/blib/lib/Mail/ClamAV.pm > line 178 > BEGIN failed--compilation aborted at > /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/blib/lib/Mail/ClamAV.pm line
556. Show quoted text
> Compilation failed in require. > BEGIN failed--compilation aborted. > make: *** [ClamAV.inl] Error 25 > > > AFAICT 0.93 just gets rid of maxmailrec and maxratio and > CL_SCAN_PHISHING_DOMAINLIST. They're not even mentioned in the > changelog. The attached patch removes them and passes its tests and > appears to work in my apps. > >
Hi, I've finally uploaded 0.22 to CPAN. Until the next minor version of clamav this should be ok.... Scott
The new release of Mail::ClamAV is written to work with the new Clam AV and requires clamav lib 0.95.1. Please give it a try. Let us know if you have any questions. Thanks On Sat Apr 19 11:31:06 2008, PJS wrote: Show quoted text
> If it weren't for Clam's incessant griping to upgrade whenever a new > version comes out this wouldn't be such a big problem... > > [root@tweety Mail-ClamAV-0.21-PE2n1S]# make > cp ClamAV.pm blib/lib/Mail/ClamAV.pm > /usr/local/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 > 0.21 blib/arch > Starting Build Prepocess Stage > Finished Build Prepocess Stage > > Starting Build Parse Stage > Finished Build Parse Stage > > Starting Build Glue 1 Stage > Finished Build Glue 1 Stage > > Starting Build Glue 2 Stage > Finished Build Glue 2 Stage > > Starting Build Glue 3 Stage > Finished Build Glue 3 Stage > > Starting Build Compile Stage > Starting "perl Makefile.PL" Stage > Writing Makefile for Mail::ClamAV > Finished "perl Makefile.PL" Stage > > Starting "make" Stage > make[1]: Entering directory > `/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV' > /usr/local/bin/perl /usr/local/lib/perl5/5.10.0/ExtUtils/xsubpp > -typemap /usr/local/lib/perl5/5.10.0/ExtUtils/typemap ClamAV.xs > > ClamAV.xsc && mv ClamAV.xsc ClamAV.c > cc -c -I/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S -I/usr/local/include > -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g > -DVERSION=\"0.21\" -DXS_VERSION=\"0.21\" -fPIC > "-I/usr/local/lib/perl5/5.10.0/i686-linux/CORE" ClamAV.c > ClamAV.xs: In function 'clamav_perl_new': > ClamAV.xs:53: error: 'struct cl_limits' has no member named 'maxmailrec' > ClamAV.xs:58: error: 'struct cl_limits' has no member named 'maxratio' > ClamAV.xs: In function 'clamav_perl_maxmailrec': > ClamAV.xs:141: error: 'struct cl_limits' has no member named 'maxmailrec' > ClamAV.xs:143: error: 'struct cl_limits' has no member named 'maxmailrec' > ClamAV.xs: In function 'clamav_perl_maxratio': > ClamAV.xs:180: error: 'struct cl_limits' has no member named 'maxratio' > ClamAV.xs:182: error: 'struct cl_limits' has no member named 'maxratio' > ClamAV.xs: In function 'clamav_perl_constant': > ClamAV.xs:365: error: 'CL_SCAN_PHISHING_DOMAINLIST' undeclared (first > use in this function) > ClamAV.xs:365: error: (Each undeclared identifier is reported only once > ClamAV.xs:365: error: for each function it appears in.) > make[1]: *** [ClamAV.o] Error 1 > make[1]: Leaving directory > `/root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV' > > A problem was encountered while attempting to compile and install your > Inline > C code. The command that failed was: > make > > The build directory was: > /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/_Inline/build/Mail/ClamAV > > To debug the problem, cd to the build directory, and inspect the output > files. > > at /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/blib/lib/Mail/ClamAV.pm > line 178 > BEGIN failed--compilation aborted at > /root/.cpan/build/Mail-ClamAV-0.21-PE2n1S/blib/lib/Mail/ClamAV.pm line
556. Show quoted text
> Compilation failed in require. > BEGIN failed--compilation aborted. > make: *** [ClamAV.inl] Error 25 > > > AFAICT 0.93 just gets rid of maxmailrec and maxratio and > CL_SCAN_PHISHING_DOMAINLIST. They're not even mentioned in the > changelog. The attached patch removes them and passes its tests and > appears to work in my apps. > >