Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jan 2019 14:16:28 GMT
From:      pkg-fallout@FreeBSD.org
To:        perl@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [exp - 112amd64-default-build-as-user][mail/p5-Mail-ClamAV] Failed for p5-Mail-ClamAV-0.29_4 in build
Message-ID:  <201901201416.x0KEGSWS068542@package19.nyi.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: des@FreeBSD.org
Ident:          $FreeBSD: head/mail/p5-Mail-ClamAV/Makefile 481365 2018-10-06 13:06:42Z des $
Log URL:        http://package19.nyi.freebsd.org/data/112amd64-default-build-as-user/490682/logs/p5-Mail-ClamAV-0.29_4.log
Build URL:      http://package19.nyi.freebsd.org/build.html?mastername=112amd64-default-build-as-user&build=490682
Log:

=>> Building mail/p5-Mail-ClamAV
build started at Sun Jan 20 14:16:18 UTC 2019
port directory: /usr/ports/mail/p5-Mail-ClamAV
package name: p5-Mail-ClamAV-0.29_4
building for: FreeBSD 112amd64-default-build-as-user-job-09 11.2-RELEASE-p8 FreeBSD 11.2-RELEASE-p8 amd64
maintained by: perl@FreeBSD.org
Makefile ident:      $FreeBSD: head/mail/p5-Mail-ClamAV/Makefile 481365 2018-10-06 13:06:42Z des $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1102000
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1102000
UNAME_v=FreeBSD 11.2-RELEASE-p8
UNAME_r=11.2-RELEASE-p8
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8
MASTERMNT=/poudriere/data/.m/112amd64-default-build-as-user/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
GID=0
UID=0
PWD=/poudriere/data/.m/112amd64-default-build-as-user/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=112amd64-default-build-as-user
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/poudriere/data/.m/112amd64-default-build-as-user/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

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

--MAINTAINER--
perl@FreeBSD.org
--End MAINTAINER--

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

--CONFIGURE_ENV--
ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work  HOME=/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh PERL_EXTUTILS_AUTOINSTALL="--skipdeps" PERL_MM_USE_DEFAULT="YES"
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work  HOME=/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.28.1  PERL_VER=5.28  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.28 DOCSDIR="share/doc/Mail-ClamAV"  EXAMPLESDIR="share/examples/Mail-ClamAV"  DATADIR="share/Mail-ClamAV"  WWWDIR="www/Mail-ClamAV"  ETCDIR="etc/Mail-ClamAV"
--End PLIST_SUB--

--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
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: x86_64-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p8
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License ART10 GPLv1+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   p5-Mail-ClamAV-0.29_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[112amd64-default-build-as-user-job-09] Installing pkg-1.10.5_5...
[112amd64-default-build-as-user-job-09] Extracting pkg-1.10.5_5: .......... done
===>   p5-Mail-ClamAV-0.29_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of p5-Mail-ClamAV-0.29_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-Mail-ClamAV-0.29_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-Mail-ClamAV-0.29_4 for building
=> SHA256 Checksum OK for Mail-ClamAV-0.29.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License ART10 GPLv1+ accepted by the user
===> Fetching all distfiles required by p5-Mail-ClamAV-0.29_4 for building
===>  Extracting for p5-Mail-ClamAV-0.29_4
=> SHA256 Checksum OK for Mail-ClamAV-0.29.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for p5-Mail-ClamAV-0.29_4
===>  Applying FreeBSD patches for p5-Mail-ClamAV-0.29_4
===========================================================================
=======================<phase: build-depends  >============================
===>   p5-Mail-ClamAV-0.29_4 depends on package: p5-Inline>=0 - not found
===>   Installing existing package /packages/All/p5-Inline-0.80.txz
[112amd64-default-build-as-user-job-09] Installing p5-Inline-0.80...
[112amd64-default-build-as-user-job-09] `-- Installing p5-Parse-RecDescent-1.967.009_2...
[112amd64-default-build-as-user-job-09] |   `-- Installing perl5-5.28.1...
[112amd64-default-build-as-user-job-09] |   `-- Extracting perl5-5.28.1: .......... done
[112amd64-default-build-as-user-job-09] `-- Extracting p5-Parse-RecDescent-1.967.009_2: .......... done
[112amd64-default-build-as-user-job-09] Extracting p5-Inline-0.80: .......... done
Message from perl5-5.28.1:

The /usr/bin/perl symlink has been removed starting with Perl 5.20.
For shebangs, you should either use:

#!/usr/local/bin/perl

or

<snip>
[112amd64-default-build-as-user-job-09] `-- Installing json-c-0.13.1...
[112amd64-default-build-as-user-job-09] `-- Extracting json-c-0.13.1: .......... done
[112amd64-default-build-as-user-job-09] `-- Installing libltdl-2.4.6...
[112amd64-default-build-as-user-job-09] `-- Extracting libltdl-2.4.6: .......... done
[112amd64-default-build-as-user-job-09] `-- Installing libmspack-0.9.1...
[112amd64-default-build-as-user-job-09] `-- Extracting libmspack-0.9.1: ......... done
[112amd64-default-build-as-user-job-09] `-- Installing libxml2-2.9.8...
[112amd64-default-build-as-user-job-09] `-- Extracting libxml2-2.9.8: .......... done
[112amd64-default-build-as-user-job-09] `-- Installing pcre2-10.31...
[112amd64-default-build-as-user-job-09] `-- Extracting pcre2-10.31: .......... done
[112amd64-default-build-as-user-job-09] `-- Installing unzoo-4.4_2...
[112amd64-default-build-as-user-job-09] `-- Extracting unzoo-4.4_2: ..... done
===> Creating groups.
Creating group 'clamav' with gid '106'.
Using existing group 'mail'.
===> Creating users
Creating user 'clamav' with uid '106'.
Adding user 'clamav' to group 'mail'.
[112amd64-default-build-as-user-job-09] Extracting clamav-0.101.1,1: .......... done
Message from ca_root_nss-3.41:

********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************
===>   p5-Mail-ClamAV-0.29_4 depends on executable: clamscan - found
===>   Returning to build of p5-Mail-ClamAV-0.29_4
===>   p5-Mail-ClamAV-0.29_4 depends on package: perl5>=5.28.r1<5.29 - found
===>   p5-Mail-ClamAV-0.29_4 depends on package: perl5>=5.28.r1<5.29 - found
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for p5-Mail-ClamAV-0.29_4
Checking if your kit is complete...
Warning: the following files are missing in your kit:
	Inline/MakeMaker.pm
Please inform the author.
Generating a Unix-style Makefile
Writing Makefile for Mail::ClamAV
Writing MYMETA.yml and MYMETA.json
===========================================================================
=======================<phase: build          >============================
===>  Building for p5-Mail-ClamAV-0.29_4
cp ClamAV.pm blib/lib/Mail/ClamAV.pm
"/usr/local/bin/perl" -Mblib -MInline=NOISY,_INSTALL_ -MMail::ClamAV -e"my %A = (modinlname => 'Mail-ClamAV.inl', module => 'Mail::ClamAV'); my %S = (API => \%A); Inline::satisfy_makefile_dep(\%S);" 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'
Generating a Unix-style Makefile
Writing Makefile for Mail::ClamAV
Writing MYMETA.yml and MYMETA.json
  Finished "perl Makefile.PL" Stage

  Starting "make" Stage
Running Mkbootstrap for ClamAV ()
chmod 644 "ClamAV.bs"
"/usr/local/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- ClamAV.bs blib/arch/auto/Mail/ClamAV/ClamAV.bs 644
"/usr/local/bin/perl" "/usr/local/lib/perl5/5.28/ExtUtils/xsubpp"  -typemap "/usr/local/lib/perl5/5.28/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  -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_FORTIFY_SOURCE=2 -O2 -pipe -fstack-protector -fno-strict-aliasing    -DVERSION=\"0.29\"  -DXS_VERSION=\"0.29\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.28/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:894: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:219:66: error: too few arguments to function call, expected 6, have 5
    status = cl_scandesc(fd, &virname, &scanned, c->root, options);
             ~~~~~~~~~~~                                         ^
/usr/local/include/clamav.h:846:1: note: 'cl_scandesc' declared here
extern int cl_scandesc(int desc, const char *filename, const char **virname, unsigned long int *scanned, const struct cl_engine *engine, struct cl_scan_options* scanoptions);
^
ClamAV.xs:259:54: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'struct cl_scan_options *' [-Wint-conversion]
    status = cl_scanfile(p, &msg, &scanned, c->root, options);
                                                     ^~~~~~~
/usr/local/include/clamav.h:874:152: note: passing argument to parameter 'scanoptions' here
extern int cl_scanfile(const char *filename, const char **virname, unsigned long int *scanned, const struct cl_engine *engine, struct cl_scan_options* scanoptions);
                                                                                                                                                       ^
ClamAV.xs:352:44: error: use of undeclared identifier 'CL_SCAN_RAW'
    if (strEQ("CL_SCAN_RAW", name)) return CL_SCAN_RAW;
                                           ^
ClamAV.xs:353:48: error: use of undeclared identifier 'CL_SCAN_ARCHIVE'
    if (strEQ("CL_SCAN_ARCHIVE", name)) return CL_SCAN_ARCHIVE;
                                               ^
ClamAV.xs:354:45: error: use of undeclared identifier 'CL_SCAN_MAIL'
    if (strEQ("CL_SCAN_MAIL", name)) return CL_SCAN_MAIL;
                                            ^
ClamAV.xs:355:45: error: use of undeclared identifier 'CL_SCAN_OLE2'
    if (strEQ("CL_SCAN_OLE2", name)) return CL_SCAN_OLE2;
                                            ^
ClamAV.xs:356:55: error: use of undeclared identifier 'CL_SCAN_BLOCKENCRYPTED'
    if (strEQ("CL_SCAN_BLOCKENCRYPTED", name)) return CL_SCAN_BLOCKENCRYPTED;
                                                      ^
ClamAV.xs:357:45: error: use of undeclared identifier 'CL_SCAN_HTML'
    if (strEQ("CL_SCAN_HTML", name)) return CL_SCAN_HTML;
                                            ^
ClamAV.xs:358:43: error: use of undeclared identifier 'CL_SCAN_PE'
    if (strEQ("CL_SCAN_PE", name)) return CL_SCAN_PE;
                                          ^
ClamAV.xs:359:52: error: use of undeclared identifier 'CL_SCAN_BLOCKBROKEN'
    if (strEQ("CL_SCAN_BLOCKBROKEN", name)) return CL_SCAN_BLOCKBROKEN;
                                                   ^
ClamAV.xs:360:48: error: use of undeclared identifier 'CL_SCAN_MAILURL'
    if (strEQ("CL_SCAN_MAILURL", name)) return CL_SCAN_MAILURL;
                                               ^
ClamAV.xs:361:49: error: use of undeclared identifier 'CL_SCAN_BLOCKMAX'
    if (strEQ("CL_SCAN_BLOCKMAX", name)) return CL_SCAN_BLOCKMAX;
                                                ^
ClamAV.xs:362:52: error: use of undeclared identifier 'CL_SCAN_ALGORITHMIC'
    if (strEQ("CL_SCAN_ALGORITHMIC", name)) return CL_SCAN_ALGORITHMIC;
                                                   ^
ClamAV.xs:363:58: error: use of undeclared identifier 'CL_SCAN_PHISHING_BLOCKSSL'
    if (strEQ("CL_SCAN_PHISHING_BLOCKSSL", name)) return CL_SCAN_PHISHING_BLOCKSSL;
                                                         ^
ClamAV.xs:364:60: error: use of undeclared identifier 'CL_SCAN_PHISHING_BLOCKCLOAK'
    if (strEQ("CL_SCAN_PHISHING_BLOCKCLOAK", name)) return CL_SCAN_PHISHING_BLOCKCLOAK;
                                                           ^
ClamAV.xs:365:44: error: use of undeclared identifier 'CL_SCAN_ELF'
    if (strEQ("CL_SCAN_ELF", name)) return CL_SCAN_ELF;
                                           ^
ClamAV.xs:366:44: error: use of undeclared identifier 'CL_SCAN_PDF'
    if (strEQ("CL_SCAN_PDF", name)) return CL_SCAN_PDF;
                                           ^
ClamAV.xs:367:51: error: use of undeclared identifier 'CL_SCAN_STRUCTURED'
    if (strEQ("CL_SCAN_STRUCTURED", name)) return CL_SCAN_STRUCTURED;
                                                  ^
ClamAV.xs:368:62: error: use of undeclared identifier 'CL_SCAN_STRUCTURED_SSN_NORMAL'
    if (strEQ("CL_SCAN_STRUCTURED_SSN_NORMAL", name)) return CL_SCAN_STRUCTURED_SSN_NORMAL;
                                                             ^
ClamAV.xs:369:64: error: use of undeclared identifier 'CL_SCAN_STRUCTURED_SSN_STRIPPED'
    if (strEQ("CL_SCAN_STRUCTURED_SSN_STRIPPED", name)) return CL_SCAN_STRUCTURED_SSN_STRIPPED;
                                                               ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 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" with error code 1

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 162.
	...propagated at /usr/local/lib/perl5/site_perl/Inline/C.pm line 869.
BEGIN failed--compilation aborted at /wrkdirs/usr/ports/mail/p5-Mail-ClamAV/work/Mail-ClamAV-0.29/blib/lib/Mail/ClamAV.pm line 162.
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



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