Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Mar 2009 14:28:13 +0400
From:      Sergei Vyshenski <svysh@pn.sinp.msu.ru>
To:        j.koopmann@seceidos.de, freebsd-ports@freebsd.org
Subject:   mail/p5-Mail-ClamAV
Message-ID:  <49D09EBD.9050002@pn.sinp.msu.ru>

next in thread | raw e-mail | index | archive | help
Hi,

After updating of ClamAV to ver. 0.95, got problems with compiling
of mail/p5-Mail-ClamAV-0.20_5 (please see listing below).

Thanks in advance for any comment.
All the best, Sergei
=================================
  Starting "make" Stage
/usr/local/bin/perl
/usr/local/lib/perl5/site_perl/5.8.9/ExtUtils/xsubpp  -typemap
/usr/local/lib/perl5/5.8.9/ExtUtils/typemap  ClamAV.xs > ClamAV.xsc
&& mv ClamAV.xsc ClamAV.c
cc -c  -I/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.20
-DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.9/BSDPAN" -DHAS_FPSETMASK
-DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe
-I/usr/local/include -g    -DVERSION=\"0.20\"  -DXS_VERSION=\"0.20\"
-DPIC -fPIC "-I/usr/local/lib/perl5/5.8.9/mach/CORE"   ClamAV.c
ClamAV.xs:19: error: field `limits' has incomplete type
ClamAV.xs: In function `clamav_perl_new':
ClamAV.xs:64: warning: cast from pointer to integer of different size
ClamAV.xs: In function `clamav_perl_statchkdir':
ClamAV.xs:72: warning: cast to pointer from integer of different size
ClamAV.xs: In function `clamav_perl_buildtrie':
ClamAV.xs:88: warning: cast to pointer from integer of different size
ClamAV.xs: In function `clamav_perl_build':
ClamAV.xs:94: warning: cast to pointer from integer of different size
ClamAV.xs: In function `clamav_perl_maxreclevel':
ClamAV.xs:112: warning: cast to pointer from integer of different size
ClamAV.xs:114: warning: cast to pointer from integer of different size
ClamAV.xs: In function `clamav_perl_maxfiles':
ClamAV.xs:125: warning: cast to pointer from integer of different size
ClamAV.xs:127: warning: cast to pointer from integer of different size
ClamAV.xs: In function `clamav_perl_maxfilesize':
ClamAV.xs:138: warning: cast to pointer from integer of different size
ClamAV.xs:140: warning: cast to pointer from integer of different size
ClamAV.xs: In function `clamav_perl_archivememlim':
ClamAV.xs:151: warning: cast to pointer from integer of different size
ClamAV.xs:153: warning: cast to pointer from integer of different size
ClamAV.xs: In function `DESTROY':
ClamAV.xs:158: warning: cast to pointer from integer of different size
ClamAV.xs: In function `clamav_perl__scanfd':
ClamAV.xs:168: warning: cast to pointer from integer of different size
ClamAV.xs:180: error: too many arguments to function `cl_scandesc'
ClamAV.xs: In function `clamav_perl__scanfile':
ClamAV.xs:204: warning: cast to pointer from integer of different size
ClamAV.xs:221: error: too many arguments to function `cl_scanfile'
ClamAV.xs: In function `clamav_perl_constant':
ClamAV.xs:272: error: `CL_ERAR' undeclared (first use in this function)
ClamAV.xs:272: error: (Each undeclared identifier is reported only once
ClamAV.xs:272: error: for each function it appears in.)
ClamAV.xs:273: error: `CL_EZIP' undeclared (first use in this function)
ClamAV.xs:274: error: `CL_EGZIP' undeclared (first use in this function)
ClamAV.xs:275: error: `CL_EBZIP' undeclared (first use in this function)
ClamAV.xs:276: error: `CL_EOLE2' undeclared (first use in this function)
ClamAV.xs:277: error: `CL_EMSCOMP' undeclared (first use in this
function)
ClamAV.xs:278: error: `CL_EMSCAB' undeclared (first use in this
function)
ClamAV.xs:285: error: `CL_EPATSHORT' undeclared (first use in this
function)
ClamAV.xs:288: error: `CL_ECVDEXTR' undeclared (first use in this
function)
ClamAV.xs:289: error: `CL_EMD5' undeclared (first use in this function)
ClamAV.xs:290: error: `CL_EDSIG' undeclared (first use in this function)
ClamAV.xs:291: error: `CL_EIO' undeclared (first use in this function)
ClamAV.xs:293: error: `CL_ESUPPORT' undeclared (first use in this
function)
ClamAV.xs:297: error: `CL_DB_ACONLY' undeclared (first use in this
function)
ClamAV.xs:322: error: `CL_RAW' undeclared (first use in this function)
ClamAV.xs:323: error: `CL_ARCHIVE' undeclared (first use in this
function)
ClamAV.xs:324: error: `CL_MAIL' undeclared (first use in this function)
ClamAV.xs:325: error: `CL_OLE2' undeclared (first use in this function)
ClamAV.xs:326: error: `CL_ENCRYPTED' undeclared (first use in this
function)
*** Error code 1

Stop in
/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.20/_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:
/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.20/_Inline/build/Mail/ClamAV

To debug the problem, cd to the build directory, and inspect the
output files.

 at
/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.20/blib/lib/Mail/ClamAV.pm
line 168
BEGIN failed--compilation aborted at
/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.20/blib/lib/Mail/ClamAV.pm
line 495.
Compilation failed in require.
BEGIN failed--compilation aborted.
*** Error code 2

Stop in /usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.20.
*** Error code 1

Stop in /usr/ports/mail/p5-Mail-ClamAV.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20090330-14402-mtl977-0 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=p5-Mail-ClamAV-0.20_4 UPGRADE_PORT_VER=0.20_4 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! mail/p5-Mail-ClamAV (p5-Mail-ClamAV-0.20_4)   (compiler error)
=================================




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49D09EBD.9050002>