Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jan 2014 11:14:37 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [LEGACY - 91i386-default][mail/p5-Mail-ClamAV] Build failed for p5-Mail-ClamAV-0.29_1 during build
Message-ID:  <201401251114.s0PBEb8p065040@beefy3.isc.freebsd.org>

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

You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     perl@FreeBSD.org
Last committer: bapt@FreeBSD.org
Ident:          $FreeBSD: head/mail/p5-Mail-ClamAV/Makefile 327742 2013-09-20 19:59:12Z bapt $
Log URL:        http://beefy3.isc.freebsd.org/bulk/91i386-default/2014-01-24_16h59m58s/logs/p5-Mail-ClamAV-0.29_1.log
Build URL:      http://beefy3.isc.freebsd.org/bulk/91i386-default/2014-01-24_16h59m58s
Log:

====>> Building mail/p5-Mail-ClamAV
build started at Sat Jan 25 11:14:19 UTC 2014
port directory: /usr/ports/mail/p5-Mail-ClamAV
building for: FreeBSD pkg.FreeBSD.org 9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 i386
maintained by: perl@FreeBSD.org
Makefile ident:      $FreeBSD: head/mail/p5-Mail-ClamAV/Makefile 327742 2013-09-20 19:59:12Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=901000
UNAME_v=FreeBSD 9.1-RELEASE-p10
UNAME_r=9.1-RELEASE-p10
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/91i386-default/ref
PKG_EXT=tbz
FORCE_PACKAGE=yes
tpid=53730
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=0
PKGNAME=p5-Mail-ClamAV-0.29_1
PKG_DELETE=pkg_delete
PKG_ADD=pkg_add
PWD=/root
MASTERNAME=91i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=pkg_version
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--
INSTALLDIRS="site" CC="cc" CCFLAGS="-O2 -pipe -fno-strict-aliasing" PREFIX="/usr/local"  INSTALLPRIVLIB="/usr/local/lib" INSTALLARCHLIB="/usr/local/lib"
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES"
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/Mail-ClamAV
DOCSDIR=/usr/local/share/doc/Mail-ClamAV
EXAMPLESDIR=/usr/local/share/examples/Mail-ClamAV
WWWDIR=/usr/local/www/Mail-ClamAV
ETCDIR=/usr/local/etc/Mail-ClamAV
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for p5-Mail-ClamAV-0.29_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by p5-Mail-ClamAV-0.29_1 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by p5-Mail-ClamAV-0.29_1 for building
=> SHA256 Checksum OK for Mail-ClamAV-0.29.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by p5-Mail-ClamAV-0.29_1 for building
===>  Extracting for p5-Mail-ClamAV-0.29_1
=> SHA256 Checksum OK for Mail-ClamAV-0.29.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for p5-Mail-ClamAV-0.29_1
===========================================================================
=======================<phase: build-depends  >============================
===>   p5-Mail-ClamAV-0.29_1 depends on package: p5-Inline>=0 - not found
===>    Verifying install for p5-Inline>=0 in /usr/ports/devel/p5-Inline
===>   Installing existing package /packages/All/p5-Inline-0.53.tbz
makewhatis: /usr/local/lib/perl5/5.16/man: No such file or directory
pkg_add: command '/usr/bin/makewhatis /usr/local/lib/perl5/5.16/man' failed
Removing /usr/local/etc/perl5_version... Done.
Creating /usr/local/etc/perl5_version... Done.
Removing stale symlinks from /usr/bin...
    Skipping /usr/bin/perl
    Skipping /usr/bin/perl5
Done.
Creating various symlinks in /usr/bin...
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl
    Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl5
Done.
===>   Returning to build of p5-Mail-ClamAV-0.29_1
===>   p5-Mail-ClamAV-0.29_1 depends on executable: clamscan - not found
===>    Verifying install for clamscan in /usr/ports/security/clamav
===>   Installing existing package /packages/All/clamav-0.98.1.tbz
=> Added group "clamav".
=> Added user "clamav".
===>   Returning to build of p5-Mail-ClamAV-0.29_1
===>   p5-Mail-ClamAV-0.29_1 depends on file: /usr/local/bin/perl5.16.3 - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for p5-Mail-ClamAV-0.29_1
Checking if your kit is complete...
Looks good
Writing Makefile for Mail::ClamAV
Writing MYMETA.yml and MYMETA.json
===========================================================================
=======================<phase: build          >============================
===>  Building for p5-Mail-ClamAV-0.29_1
cp ClamAV.pm blib/lib/Mail/ClamAV.pm
/usr/local/bin/perl5.16.3 -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e1 0.29 blib/arch
validate Stage
Starting Build Preprocess Stage
get_maps Stage
Finished Build Preprocess 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
Writing MYMETA.yml and MYMETA.json
  Finished "perl Makefile.PL" Stage

  Starting "make" Stage
/usr/local/bin/perl5.16.3 /usr/local/lib/perl5/5.16/ExtUtils/xsubpp  -typemap "/usr/local/lib/perl5/5.16/ExtUtils/typemap"  ClamAV.xs > ClamAV.xsc && mv ClamAV.xsc ClamAV.c
cc -c  -I"/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.29"  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -O2 -pipe -fno-strict-aliasing    -DVERSION=\"0.29\"  -DXS_VERSION=\"0.29\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.16/mach/CORE"   ClamAV.c
ClamAV.xs:11:20: error: clamav.h: No such file or directory
ClamAV.xs:33: error: field 'st' has incomplete type
ClamAV.xs: In function 'clamav_perl_new':
ClamAV.xs:50: error: 'CL_INIT_DEFAULT' undeclared (first use in this function)
ClamAV.xs:50: error: (Each undeclared identifier is reported only once
ClamAV.xs:50: error: for each function it appears in.)
ClamAV.xs:50: error: 'CL_SUCCESS' undeclared (first use in this function)
ClamAV.xs:54: warning: assignment makes pointer from integer without a cast
ClamAV.xs:60: error: 'CL_ENGINE_MAX_RECURSION' undeclared (first use in this function)
ClamAV.xs:61: error: 'CL_ENGINE_MAX_FILES' undeclared (first use in this function)
ClamAV.xs:62: error: 'CL_ENGINE_MAX_FILESIZE' undeclared (first use in this function)
ClamAV.xs:64: error: 'CL_DB_STDOPT' undeclared (first use in this function)
ClamAV.xs:74: warning: cast from pointer to integer of different size
ClamAV.xs: In function 'clamav_perl_statchkdir':
ClamAV.xs:82: warning: cast to pointer from integer of different size
ClamAV.xs: In function 'clamav_perl_buildtrie':
ClamAV.xs:98: warning: cast to pointer from integer of different size
ClamAV.xs: In function 'clamav_perl_build':
ClamAV.xs:104: warning: cast to pointer from integer of different size
ClamAV.xs:107: error: 'CL_SUCCESS' undeclared (first use in this function)
ClamAV.xs: In function 'clamav_perl_maxreclevel':
ClamAV.xs:118: warning: cast to pointer from integer of different size
ClamAV.xs:126: error: 'CL_ENGINE_MAX_RECURSION' undeclared (first use in this function)
ClamAV.xs:129: error: 'CL_SUCCESS' undeclared (first use in this function)
ClamAV.xs: In function 'clamav_perl_maxfiles':
ClamAV.xs:145: warning: cast to pointer from integer of different size
ClamAV.xs:153: error: 'CL_ENGINE_MAX_FILES' undeclared (first use in this function)
ClamAV.xs:156: error: 'CL_SUCCESS' undeclared (first use in this function)
ClamAV.xs: In function 'clamav_perl_maxfilesize':
ClamAV.xs:166: warning: cast to pointer from integer of different size
ClamAV.xs:174: error: 'CL_ENGINE_MAX_FILESIZE' undeclared (first use in this function)
ClamAV.xs:177: error: 'CL_SUCCESS' undeclared (first use in this function)
ClamAV.xs: In function 'DESTROY':
ClamAV.xs:198: warning: cast to pointer from integer of different size
ClamAV.xs: In function 'clamav_perl__scanfd':
ClamAV.xs:208: warning: cast to pointer from integer of different size
ClamAV.xs:227: error: 'CL_VIRUS' undeclared (first use in this function)
ClamAV.xs:229: error: 'CL_CLEAN' undeclared (first use in this function)
ClamAV.xs:232: warning: passing argument 3 of 'Perl_sv_setpv' makes pointer from integer without a cast
ClamAV.xs: In function 'clamav_perl__scanfile':
ClamAV.xs:243: warning: cast to pointer from integer of different size
ClamAV.xs:267: error: 'CL_VIRUS' undeclared (first use in this function)
ClamAV.xs:269: error: 'CL_CLEAN' undeclared (first use in this function)
ClamAV.xs:272: warning: passing argument 3 of 'Perl_sv_setpv' makes pointer from integer without a cast
ClamAV.xs: In function 'error':
ClamAV.xs:295: warning: assignment makes pointer from integer without a cast
ClamAV.xs: In function 'clamav_perl_constant':
ClamAV.xs:304: error: 'CL_CLEAN' undeclared (first use in this function)
ClamAV.xs:305: error: 'CL_SUCCESS' undeclared (first use in this function)
ClamAV.xs:306: error: 'CL_VIRUS' undeclared (first use in this function)
ClamAV.xs:307: error: 'CL_ENULLARG' undeclared (first use in this function)
ClamAV.xs:308: error: 'CL_EARG' undeclared (first use in this function)
ClamAV.xs:309: error: 'CL_EMALFDB' undeclared (first use in this function)
ClamAV.xs:310: error: 'CL_ECVD' undeclared (first use in this function)
ClamAV.xs:311: error: 'CL_EVERIFY' undeclared (first use in this function)
ClamAV.xs:312: error: 'CL_EUNPACK' undeclared (first use in this function)
ClamAV.xs:315: error: 'CL_EOPEN' undeclared (first use in this function)
ClamAV.xs:316: error: 'CL_ECREAT' undeclared (first use in this function)
ClamAV.xs:317: error: 'CL_EUNLINK' undeclared (first use in this function)
ClamAV.xs:318: error: 'CL_ESTAT' undeclared (first use in this function)
ClamAV.xs:319: error: 'CL_EREAD' undeclared (first use in this function)
ClamAV.xs:320: error: 'CL_ESEEK' undeclared (first use in this function)
ClamAV.xs:321: error: 'CL_EWRITE' undeclared (first use in this function)
ClamAV.xs:322: error: 'CL_EDUP' undeclared (first use in this function)
ClamAV.xs:323: error: 'CL_EACCES' undeclared (first use in this function)
ClamAV.xs:324: error: 'CL_ETMPFILE' undeclared (first use in this function)
ClamAV.xs:325: error: 'CL_ETMPDIR' undeclared (first use in this function)
ClamAV.xs:326: error: 'CL_EMAP' undeclared (first use in this function)
ClamAV.xs:327: error: 'CL_EMEM' undeclared (first use in this function)
ClamAV.xs:328: error: 'CL_ETIMEOUT' undeclared (first use in this function)
ClamAV.xs:331: error: 'CL_BREAK' undeclared (first use in this function)
ClamAV.xs:332: error: 'CL_EMAXREC' undeclared (first use in this function)
ClamAV.xs:333: error: 'CL_EMAXSIZE' undeclared (first use in this function)
ClamAV.xs:334: error: 'CL_EMAXFILES' undeclared (first use in this function)
ClamAV.xs:335: error: 'CL_EFORMAT' undeclared (first use in this function)
ClamAV.xs:338: error: 'CL_DB_PHISHING' undeclared (first use in this function)
ClamAV.xs:339: error: 'CL_DB_PHISHING_URLS' undeclared (first use in this function)
ClamAV.xs:340: error: 'CL_DB_PUA' undeclared (first use in this function)
ClamAV.xs:341: error: 'CL_DB_CVDNOTMP' undeclared (first use in this function)
ClamAV.xs:342: error: 'CL_DB_OFFICIAL' undeclared (first use in this function)
ClamAV.xs:343: error: 'CL_DB_PUA_MODE' undeclared (first use in this function)
ClamAV.xs:344: error: 'CL_DB_PUA_INCLUDE' undeclared (first use in this function)
ClamAV.xs:345: error: 'CL_DB_PUA_EXCLUDE' undeclared (first use in this function)
ClamAV.xs:346: error: 'CL_DB_COMPILED' undeclared (first use in this function)
ClamAV.xs:349: error: 'CL_DB_STDOPT' undeclared (first use in this function)
ClamAV.xs:352: error: 'CL_SCAN_RAW' undeclared (first use in this function)
ClamAV.xs:353: error: 'CL_SCAN_ARCHIVE' undeclared (first use in this function)
ClamAV.xs:354: error: 'CL_SCAN_MAIL' undeclared (first use in this function)
ClamAV.xs:355: error: 'CL_SCAN_OLE2' undeclared (first use in this function)
ClamAV.xs:356: error: 'CL_SCAN_BLOCKENCRYPTED' undeclared (first use in this function)
ClamAV.xs:357: error: 'CL_SCAN_HTML' undeclared (first use in this function)
ClamAV.xs:358: error: 'CL_SCAN_PE' undeclared (first use in this function)
ClamAV.xs:359: error: 'CL_SCAN_BLOCKBROKEN' undeclared (first use in this function)
ClamAV.xs:360: error: 'CL_SCAN_MAILURL' undeclared (first use in this function)
ClamAV.xs:361: error: 'CL_SCAN_BLOCKMAX' undeclared (first use in this function)
ClamAV.xs:362: error: 'CL_SCAN_ALGORITHMIC' undeclared (first use in this function)
ClamAV.xs:363: error: 'CL_SCAN_PHISHING_BLOCKSSL' undeclared (first use in this function)
ClamAV.xs:364: error: 'CL_SCAN_PHISHING_BLOCKCLOAK' undeclared (first use in this function)
ClamAV.xs:365: error: 'CL_SCAN_ELF' undeclared (first use in this function)
ClamAV.xs:366: error: 'CL_SCAN_PDF' undeclared (first use in this function)
ClamAV.xs:367: error: 'CL_SCAN_STRUCTURED' undeclared (first use in this function)
ClamAV.xs:368: error: 'CL_SCAN_STRUCTURED_SSN_NORMAL' undeclared (first use in this function)
ClamAV.xs:369: error: 'CL_SCAN_STRUCTURED_SSN_STRIPPED' undeclared (first use in this function)
ClamAV.xs:370: error: 'CL_SCAN_PARTIAL_MESSAGE' undeclared (first use in this function)
ClamAV.xs:371: error: 'CL_SCAN_HEURISTIC_PRECEDENCE' undeclared (first use in this function)
ClamAV.xs:373: error: 'CL_ENGINE_MAX_SCANSIZE' undeclared (first use in this function)
ClamAV.xs:374: error: 'CL_ENGINE_MAX_FILESIZE' undeclared (first use in this function)
ClamAV.xs:375: error: 'CL_ENGINE_MAX_RECURSION' undeclared (first use in this function)
ClamAV.xs:376: error: 'CL_ENGINE_MAX_FILES' undeclared (first use in this function)
ClamAV.xs:377: error: 'CL_ENGINE_MIN_CC_COUNT' undeclared (first use in this function)
ClamAV.xs:378: error: 'CL_ENGINE_MIN_SSN_COUNT' undeclared (first use in this function)
ClamAV.xs:379: error: 'CL_ENGINE_PUA_CATEGORIES' undeclared (first use in this function)
ClamAV.xs:380: error: 'CL_ENGINE_DB_OPTIONS' undeclared (first use in this function)
ClamAV.xs:381: error: 'CL_ENGINE_DB_VERSION' undeclared (first use in this function)
ClamAV.xs:382: error: 'CL_ENGINE_DB_TIME' undeclared (first use in this function)
ClamAV.xs:383: error: 'CL_ENGINE_AC_ONLY' undeclared (first use in this function)
ClamAV.xs:384: error: 'CL_ENGINE_AC_MINDEPTH' undeclared (first use in this function)
ClamAV.xs:385: error: 'CL_ENGINE_AC_MAXDEPTH' undeclared (first use in this function)
ClamAV.xs:386: error: 'CL_ENGINE_TMPDIR' undeclared (first use in this function)
ClamAV.xs:387: error: 'CL_ENGINE_KEEPTMP' undeclared (first use in this function)
ClamAV.xs:393: error: 'CL_SCAN_STDOPT' undeclared (first use in this function)
*** [ClamAV.o] Error code 1

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

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

 at /wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.29/blib/lib/Mail/ClamAV.pm line 157.
	...propagated at /usr/local/lib/perl5/site_perl/5.16/Inline/C.pm line 772.
BEGIN failed--compilation aborted at /wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.29/blib/lib/Mail/ClamAV.pm line 551.
Compilation failed in require.
BEGIN failed--compilation aborted.
*** [ClamAV.inl] Error code 25

Stop in /wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.29.
*** [do-build] Error code 1

Stop in /usr/ports/mail/p5-Mail-ClamAV.
===>  Cleaning for p5-Mail-ClamAV-0.29_1



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