Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 01:50:58 GMT
From:      pkg-fallout@FreeBSD.org
To:        perl@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][mail/p5-Mail-ClamAV] Failed for p5-Mail-ClamAV-0.29_1 in build
Message-ID:  <201401300150.s0U1ow70089385@beefy2.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://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s/logs/p5-Mail-ClamAV-0.29_1.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-01-29_19h07m40s
Log:

====>> Building mail/p5-Mail-ClamAV
build started at Thu Jan 30 01:50:44 UTC 2014
port directory: /usr/ports/mail/p5-Mail-ClamAV
building for: FreeBSD head-amd64-default-job-24 11.0-CURRENT FreeBSD 11.0-CURRENT r260904 amd64
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---
OSVERSION=1100005
UNAME_v=FreeBSD 11.0-CURRENT r260904
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref
PKG_EXT=txz
tpid=86916
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=p5-Mail-ClamAV-0.29_1
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-amd64-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---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---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for p5-Mail-ClamAV-0.29_1
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   p5-Mail-ClamAV-0.29_1 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.2.5.txz
Installing pkg-1.2.5... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of p5-Mail-ClamAV-0.29_1
===========================================================================
=======================<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.txz
Installing p5-Inline-0.53...Installing p5-Parse-RecDescent-1.967.009_1...Installing perl5-5.16.3_6...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.
 done
 done
 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.txz
Installing clamav-0.98.1...Installing arc-5.21p... done
Installing arj-3.10.22_4... done
Installing lha-1.14i_6... done
Installing libltdl-2.4.2_2... done
Installing libxml2-2.8.0_3... done
Installing unzoo-4.4_2... done
=> Added group "clamav".
=> Added user "clamav".
 done
===>   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
Unrecognized argument in LIBS ignored: '-clamav'
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" -I/usr/local/include  -DAPPLLIB_EXP="/usr/local/lib/perl5/5.16/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -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:64:37: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign]
    status = cl_load(path, c->root, &c->signatures, CL_DB_STDOPT);
                                    ^~~~~~~~~~~~~~
/usr/local/include/clamav.h:376:78: note: passing argument to parameter 'signo' here
extern int cl_load(const char *path, struct cl_engine *engine, unsigned int *signo, unsigned int dboptions);
                                                                             ^
ClamAV.xs:131:9: error: non-void function 'clamav_perl_maxreclevel' should return a value [-Wreturn-type]
        return;
        ^
ClamAV.xs:158:9: error: non-void function 'clamav_perl_maxfiles' should return a value [-Wreturn-type]
        return;
        ^
ClamAV.xs:179:9: error: non-void function 'clamav_perl_maxfilesize' should return a value [-Wreturn-type]
        return;
        ^
1 warning and 3 errors generated.
*** Error code 1

Stop.
make[2]: stopped 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 556.
	...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 556.
Compilation failed in require.
BEGIN failed--compilation aborted.
*** Error code 25

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

Stop.
make: stopped 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?201401300150.s0U1ow70089385>