Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 13:23:51 GMT
From:      pkg-fallout@FreeBSD.org
To:        ayu@commun.jp
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 112i386-default][www/havp] Failed for havp-0.91_6 in build
Message-ID:  <201901171323.x0HDNpad036283@beefy10.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:     ayu@commun.jp
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/www/havp/Makefile 473439 2018-06-27 13:55:56Z mat $
Log URL:        http://beefy10.nyi.freebsd.org/data/112i386-default/490523/logs/havp-0.91_6.log
Build URL:      http://beefy10.nyi.freebsd.org/build.html?mastername=112i386-default&build=490523
Log:

=>> Building www/havp
build started at Thu Jan 17 13:23:11 UTC 2019
port directory: /usr/ports/www/havp
package name: havp-0.91_6
building for: FreeBSD 112i386-default-job-05 11.2-RELEASE-p8 FreeBSD 11.2-RELEASE-p8 i386
maintained by: ayu@commun.jp
Makefile ident:      $FreeBSD: head/www/havp/Makefile 473439 2018-06-27 13:55:56Z mat $
Poudriere version: 3.2.8
Host OSVERSION: 1300002
Jail OSVERSION: 1102000
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
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=/usr/local/poudriere/data/.m/112i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/112i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=112i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/112i386-default/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---
===> The following configuration options are available for havp-0.91_6:
     CLAMAV=on: libclamav support
     SSL=on: SSL proxying (not scanned, only forwarded!)
     TROPHIE=off: Trend Micro (Trophie) support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ayu@commun.jp
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-locking --enable-ssl-tunnel --enable-clamav --disable-trophie --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake 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/www/havp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/havp/work  HOME=/wrkdirs/usr/ports/www/havp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/havp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/www/havp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/www/havp/work  HOME=/wrkdirs/usr/ports/www/havp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/www/havp/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--
LOG_DIR=/var/log/havp TMP_DIR=/var/tmp/havp RUN_DIR=/var/run/havp 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/havp"  EXAMPLESDIR="share/examples/havp"  DATADIR="share/havp"  WWWDIR="www/havp"  ETCDIR="etc/havp"
--End PLIST_SUB--

--SUB_LIST--
LOG_DIR=/var/log/havp TMP_DIR=/var/tmp/havp RUN_DIR=/var/run/havp PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/havp DOCSDIR=/usr/local/share/doc/havp EXAMPLESDIR=/usr/local/share/examples/havp  WWWDIR=/usr/local/www/havp ETCDIR=/usr/local/etc/havp
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# 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: i386-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: i386-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" "-m" "elf_i386_fbsd" "-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: i386-unknown-freebsd11.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=11.2-RELEASE-p8
OSREL=11.2
OSVERSION=1102000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
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)  524288
stack size              (kbytes, -s)  65536
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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   havp-0.91_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_5.txz
[112i386-default-job-05] Installing pkg-1.10.5_5...
[112i386-default-job-05] Extracting pkg-1.10.5_5: .......... done
===>   havp-0.91_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of havp-0.91_6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by havp-0.91_6 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by havp-0.91_6 for building
=> SHA256 Checksum OK for havp-0.91.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by havp-0.91_6 for building
===>  Extracting for havp-0.91_6
=> SHA256 Checksum OK for havp-0.91.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for havp-0.91_6
===>  Applying FreeBSD patches for havp-0.91_6
===========================================================================
=======================<phase: build-depends  >============================
===>   havp-0.91_6 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_3.txz
[112i386-default-job-05] Installing gmake-4.2.1_3...
[112i386-default-job-05] `-- Installing gettext-runtime-0.19.8.1_2...
[112i386-default-job-05] |   `-- Installing indexinfo-0.3.1...
[112i386-default-job-05] |   `-- Extracting indexinfo-0.3.1: .... done
[112i386-default-job-05] `-- Extracting gettext-runtime-0.19.8.1_2: .......... done
[112i386-default-job-05] Extracting gmake-4.2.1_3: .......... done
<snip>
[112i386-default-job-05] `-- Extracting arc-5.21p: ....... done
[112i386-default-job-05] `-- Installing arj-3.10.22_7...
[112i386-default-job-05] `-- Extracting arj-3.10.22_7: .......... done
[112i386-default-job-05] `-- Installing curl-7.63.0_1...
[112i386-default-job-05] |   `-- Installing ca_root_nss-3.41...
[112i386-default-job-05] |   `-- Extracting ca_root_nss-3.41: ........ done
[112i386-default-job-05] |   `-- Installing libnghttp2-1.35.1...
[112i386-default-job-05] |   `-- Extracting libnghttp2-1.35.1: .......... done
[112i386-default-job-05] `-- Extracting curl-7.63.0_1: .......... done
[112i386-default-job-05] `-- Installing json-c-0.13.1...
[112i386-default-job-05] `-- Extracting json-c-0.13.1: .......... done
[112i386-default-job-05] `-- Installing libltdl-2.4.6...
[112i386-default-job-05] `-- Extracting libltdl-2.4.6: .......... done
[112i386-default-job-05] `-- Installing libmspack-0.9.1...
[112i386-default-job-05] `-- Extracting libmspack-0.9.1: ......... done
[112i386-default-job-05] `-- Installing libxml2-2.9.8...
[112i386-default-job-05] `-- Extracting libxml2-2.9.8: .......... done
[112i386-default-job-05] `-- Installing pcre2-10.31...
[112i386-default-job-05] `-- Extracting pcre2-10.31: .......... done
[112i386-default-job-05] `-- Installing unzoo-4.4_2...
[112i386-default-job-05] `-- 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'.
[112i386-default-job-05] 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

***************************************************************************
===>   havp-0.91_6 depends on shared library: libclamav.so - found (/usr/local/lib/libclamav.so)
===>   Returning to build of havp-0.91_6
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for havp-0.91_6
configure: loading site script /usr/ports/Templates/config.site
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for ar... ar
checking for perl... perl
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for initgroups... yes
checking for setgroups... (cached) yes
checking OS... FreeBSD
checking for mandatory locking support... disabled, no dynamic scanning!
checking for ClamAV scanner library... found 0.101.1 in /usr/local
checking for Trend Micro scanner... disabled
configure: creating ./config.status
config.status: creating Makefile
config.status: creating havp/Makefile
config.status: creating havp/scanners/Makefile
config.status: creating etc/havp/havp.config
config.status: creating havp/default.h
===========================================================================
=======================<phase: build          >============================
===>  Building for havp-0.91_6
gmake[1]: Entering directory '/wrkdirs/usr/ports/www/havp/work/havp-0.91'
cd havp && gmake
gmake[2]: Entering directory '/wrkdirs/usr/ports/www/havp/work/havp-0.91/havp'
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o helper.o helper.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o logfile.o logfile.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o scannerhandler.o scannerhandler.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o connectiontobrowser.o connectiontobrowser.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o genericscanner.o genericscanner.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o httphandler.o httphandler.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o params.o params.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o sockethandler.o sockethandler.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o connectiontohttp.o connectiontohttp.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o havp.o havp.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o proxyhandler.o proxyhandler.cpp
In file included from proxyhandler.cpp:19:
./proxyhandler.h:41:6: warning: private field 'ServerClosed' is not used [-Wunused-private-field]
bool ServerClosed;
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.cpp
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o whitelist.o whitelist.cpp
cd scanners && gmake
gmake[3]: Entering directory '/wrkdirs/usr/ports/www/havp/work/havp-0.91/havp/scanners'
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o avgscanner.o avgscanner.cpp
In file included from avgscanner.cpp:18:
./avgscanner.h:33:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o f-protscanner.o f-protscanner.cpp
In file included from f-protscanner.cpp:18:
./f-protscanner.h:36:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o kasperskyscanner.o kasperskyscanner.cpp
In file included from kasperskyscanner.cpp:18:
./kasperskyscanner.h:34:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o nod32scanner.o nod32scanner.cpp
In file included from nod32scanner.cpp:18:
./nod32scanner.h:36:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o clamdscanner.o clamdscanner.cpp
In file included from clamdscanner.cpp:18:
./clamdscanner.h:30:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o sophiescanner.o sophiescanner.cpp
In file included from sophiescanner.cpp:18:
./sophiescanner.h:34:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o avastscanner.o avastscanner.cpp
In file included from avastscanner.cpp:18:
./avastscanner.h:30:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o arcavirscanner.o arcavirscanner.cpp
In file included from arcavirscanner.cpp:21:
./arcavirscanner.h:33:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o drwebscanner.o drwebscanner.cpp
In file included from drwebscanner.cpp:18:
./drwebscanner.h:30:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning generated.
c++ -O2 -pipe  -fstack-protector -fno-strict-aliasing  -I/usr/local/include -Wall -g -O2 -DHAVE_CONFIG_H -c -o clamlibscanner.o clamlibscanner.cpp
clamlibscanner.cpp:207:15: error: no matching function for call to 'cl_scanfile'
    int ret = cl_scanfile(FileName, &virname, NULL, engine, scanopts);
              ^~~~~~~~~~~
/usr/local/include/clamav.h:874:12: note: candidate function not viable: no known conversion from 'int' to 'struct cl_scan_options *' for 5th argument
extern int cl_scanfile(const char *filename, const char **virname, unsigned long int *scanned, const struct cl_engine *engine, struct cl_scan_options* scanoptions);
           ^
clamlibscanner.cpp:283:16: error: use of undeclared identifier 'CL_SCAN_STDOPT'
    scanopts = CL_SCAN_STDOPT;
               ^
clamlibscanner.cpp:287:31: error: use of undeclared identifier 'CL_SCAN_BLOCKMAX'
        scanopts = scanopts | CL_SCAN_BLOCKMAX;
                              ^
clamlibscanner.cpp:291:31: error: use of undeclared identifier 'CL_SCAN_BLOCKENCRYPTED'
        scanopts = scanopts | CL_SCAN_BLOCKENCRYPTED;
                              ^
clamlibscanner.cpp:295:31: error: use of undeclared identifier 'CL_SCAN_BLOCKBROKEN'
        scanopts = scanopts | CL_SCAN_BLOCKBROKEN;
                              ^
In file included from clamlibscanner.cpp:20:
./clamlibscanner.h:32:6: warning: private field 'Ready' is not used [-Wunused-private-field]
char Ready[2];
     ^
1 warning and 5 errors generated.
gmake[3]: *** [Makefile:18: clamlibscanner.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/www/havp/work/havp-0.91/havp/scanners'
gmake[2]: *** [Makefile:20: havp] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/www/havp/work/havp-0.91/havp'
gmake[1]: *** [Makefile:2: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/www/havp/work/havp-0.91'
*** Error code 1

Stop.
make: stopped in /usr/ports/www/havp



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