=> Building mail/antivirus-milter Started : Saturday, 21 JUL 2018 at 16:09:09 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.242.g757c0-DEVELOPMENT #30: Tue May 8 14:06:27 PDT 2018 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.2-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.2-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/mail/antivirus-milter XDG_CONFIG_HOME=/construction/mail/antivirus-milter HOME=/construction/mail/antivirus-milter TMPDIR="/tmp" PATH=/construction/mail/antivirus-milter/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- SENDMAILBASE="/usr/local" SENDMAILOBJ="/usr/local" LIBS="-lmilter -lpthread -Wl,-rpath,/usr/local/lib -L/usr/local/lib" XDG_DATA_HOME=/construction/mail/antivirus-milter XDG_CONFIG_HOME=/construction/mail/antivirus-milter HOME=/construction/mail/antivirus-milter TMPDIR="/tmp" PATH=/construction/mail/antivirus-milter/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -Wall -D__FreeBSD__=9 -I/usr/local/include -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib -L/usr/local/lib" LIBS="-lmilter -lpthread -Wl,-rpath,/usr/local/lib -L/usr/local/lib" CXX="c++" CXXFLAGS=" -pipe -Wall -D__FreeBSD__=9 -I/usr/local/include -O2 -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" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/mail/antivirus-milter/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- ANTIVIRUS=/var/spool/antivirus PORTDOCS="" PORTEXAMPLES="" OSREL=5.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/antivirus" EXAMPLESDIR="share/examples/antivirus" DATADIR="share/antivirus" WWWDIR="www/antivirus" ETCDIR="etc/antivirus" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- ANTIVIRUS=/var/spool/antivirus PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/antivirus DOCSDIR=/usr/local/share/doc/antivirus EXAMPLESDIR=/usr/local/share/examples/antivirus WWWDIR=/usr/local/www/antivirus ETCDIR=/usr/local/etc/antivirus -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.2 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.1 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500200 OSVERSION=9999999 OSREL=5.2 _OSRELEASE=5.2-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License BSD2CLAUSE accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> antivirus-3.30_9 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_1.txz Installing pkg-1.10.5_1... Extracting pkg-1.10.5_1: .......... done ===> antivirus-3.30_9 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of antivirus-3.30_9 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by antivirus-3.30_9 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by antivirus-3.30_9 for building => SHA256 Checksum OK for antivirus-3.30.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by antivirus-3.30_9 for building ===> Extracting for antivirus-3.30_9 ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by antivirus-3.30_9 for building => SHA256 Checksum OK for antivirus-3.30.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for antivirus-3.30_9 ===> Applying ports patches for antivirus-3.30_9 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- ===> antivirus-3.30_9 depends on shared library: libmilter.so.7 - not found ===> Installing existing package /packages/All/libmilter-8.15.2_1.txz Installing libmilter-8.15.2_1... Extracting libmilter-8.15.2_1: .......... done ===> antivirus-3.30_9 depends on shared library: libmilter.so.7 - found (/usr/local/lib/libmilter.so.7) ===> Returning to build of antivirus-3.30_9 -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for antivirus-3.30_9 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for antivirus-3.30_9 --- antivirus --- cc -pipe -Wall -D__FreeBSD__=9 -I/usr/local/include -O2 -fno-strict-aliasing -I/usr/local/include/libmilter/ -I/usr/local/include/ antivirus.c compilestamp.c -o antivirus -L/usr/local//usr/local/libmilter/ -L/usr/local//usr/local/libsm/ -lmilter -lpthread -Wl,-rpath,/usr/local/lib -L/usr/local/lib antivirus.c: In function 'mlfi_envfrom': antivirus.c:187:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"mlfi_envfrom(0x%x, %s)",(int)ctx,argv[0]); ^ antivirus.c:191:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,argv[0],(int)priv); ^ antivirus.c:191:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,argv[0],(int)priv); ^ antivirus.c:218:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,argv[0],qid); ^ antivirus.c:259:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,argv[0]); ^ antivirus.c: In function 'mlfi_envrcpt': antivirus.c:268:45: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"mlfi_envrcpt(0x%x, %s)",(int)ctx,argv[0]); ^ antivirus.c:294:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,argv[0]); ^ antivirus.c:301:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,argv[0]); ^ antivirus.c: In function 'mlfi_header': antivirus.c:311:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_header(0x%x, %s, )",(int)ctx,headerf); ^ antivirus.c:322:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,headerf); ^ antivirus.c: In function 'mlfi_eoh': antivirus.c:331:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eoh(0x%x)",(int)ctx); ^ antivirus.c:339:52: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eoh(0x%x) => SMFIS_TEMPFAIL",(int)ctx); ^ antivirus.c:344:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eoh(0x%x) => SMFIS_CONTINUE",(int)ctx); ^ antivirus.c: In function 'mlfi_body': antivirus.c:355:48: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_body(0x%x, 0x%x, %d)",(int)ctx,(int)bodyp,bodylen); ^ antivirus.c:355:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_body(0x%x, 0x%x, %d)",(int)ctx,(int)bodyp,bodylen); ^ antivirus.c:355:20: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] syslog(LOG_ERR,"smfi_body(0x%x, 0x%x, %d)",(int)ctx,(int)bodyp,bodylen); ^ antivirus.c:372:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,(int)bodyp,bodylen); ^ antivirus.c:372:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,(int)bodyp,bodylen); ^ antivirus.c:371:20: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t {aka long unsigned int}' [-Wformat=] syslog(LOG_ERR,"smfi_body(0x%x, 0x%x, %d) => SMFIS_CONTINUE", ^ antivirus.c: In function 'externalcommand': antivirus.c:384:58: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"externalcommand(0x%x, ..., %s, ...)",(int)ctx,p); ^ antivirus.c:440:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,p,WEXITSTATUS(priv->childstatus)); ^ antivirus.c:447:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx,p); ^ antivirus.c:453:64: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"externalcommand(0x%x, ..., %s, ...) => -1",(int)ctx,p); ^ antivirus.c: In function 'virusscan': antivirus.c:529:43: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"virusscan(0x%x, ...)",(int)ctx); ^ antivirus.c:561:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)ctx, retval,priv->workdir); ^ antivirus.c:610:61: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"virusscan(0x%x, ...) => SMFIS_CONTINUE",(int)ctx); ^ antivirus.c: In function 'mlfi_eom': antivirus.c:700:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x)",(int)ctx); ^ antivirus.c:769:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_REJECT",(int)ctx); ^ antivirus.c:779:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_TEMPFAIL",(int)ctx); ^ antivirus.c:794:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_REJECT",(int)ctx); ^ antivirus.c:803:53: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_TEMPFAIL",(int)ctx); ^ antivirus.c:812:55: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_CONTINUE",(int)ctx); ^ antivirus.c: In function 'mlfi_abort': antivirus.c:819:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_abort(0x%x)",(int)ctx); ^ antivirus.c:822:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_abort(0x%x) => SMFIS_CONTINUE",(int)ctx); ^ antivirus.c: In function 'cleanup': antivirus.c:832:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"cleanup(0x%x)",(int)ctx); ^ antivirus.c:932:46: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"cleanup(0x%x) => (void)",(int)ctx); ^ antivirus.c: In function 'mlfi_close': antivirus.c:940:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_close(0x%x)",(int)ctx); ^ antivirus.c:947:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_close(0x%x) => SMFIS_CONTINUE",(int)ctx); ^ antivirus.c: In function 'readconfig': antivirus.c:1084:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] snprintf(fmt,sizeof(fmt),"%%%ds %%%dc",sizeof(token),sizeof(value)); ^ antivirus.c:1084:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] antivirus.c:1084:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long unsigned int' [-Wformat=] antivirus.c:1084:32: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long unsigned int' [-Wformat=] -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for antivirus-3.30_9 ===> Generating temporary packing list install -s -m 555 /construction/mail/antivirus-milter/antivirus-3.30/antivirus /construction/mail/antivirus-milter/stage/usr/local/libexec/antivirus install -m 0644 /construction/mail/antivirus-milter/antivirus-3.30/antivirus.conf /construction/mail/antivirus-milter/stage/usr/local/etc/antivirus.conf-dist install -m 0644 /construction/mail/antivirus-milter/antivirus-3.30/clamav.conf /construction/mail/antivirus-milter/stage/usr/local/etc/antivirus.conf-clamav /bin/mkdir -p /construction/mail/antivirus-milter/stage/var/spool/antivirus/spool /construction/mail/antivirus-milter/stage/var/spool/antivirus/run /construction/mail/antivirus-milter/stage/var/spool/antivirus/quarantine Add to your *.mc configfile: INPUT_MAIL_FILTER(`antivirus', `S=local:/var/spool/antivirus/antivirus.sock, F=') ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for antivirus-3.30_9 file sizes/checksums [7]: . done packing files [7]: . done packing directories [4]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Saturday, 21 JUL 2018 at 16:09:16 UTC Duration: 00:00:06