=>> Building mail/antivirus-milter build started at Fri Apr 5 00:32:47 BST 2024 port directory: /usr/ports/mail/antivirus-milter package name: antivirus-3.30_10 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: dinoex@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1527 Mar 8 2023 /usr/ports/mail/antivirus-milter/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: c014f9c79a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- dinoex@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/mail/antivirus-milter/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/antivirus-milter/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/antivirus-milter/work/.cache HOME=/wrkdirs/usr/ports/mail/antivirus-milter/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/mail/antivirus-milter/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/antivirus-milter/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- SENDMAILBASE="/usr" SENDMAILOBJ="/usr" LIBS="-lmilter -lpthread -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -fstack-protector-strong " XDG_DATA_HOME=/wrkdirs/usr/ports/mail/antivirus-milter/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/antivirus-milter/work XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/antivirus-milter/work/.cache HOME=/wrkdirs/usr/ports/mail/antivirus-milter/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/mail/antivirus-milter/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/antivirus-milter/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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 -Wall -I/usr/include -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -fstack-protector-strong " LIBS="-lmilter -lpthread -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -fstack-protector-strong " CXX="c++" CXXFLAGS="-O2 -pipe -Wall -I/usr/include -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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-- ANTIVIRUS=/var/spool/antivirus OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/antivirus" EXAMPLESDIR="share/examples/antivirus" DATADIR="share/antivirus" WWWDIR="www/antivirus" ETCDIR="etc/antivirus" --End PLIST_SUB-- --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 --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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" 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) 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) 8192 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-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> antivirus-3.30_10 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> antivirus-3.30_10 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of antivirus-3.30_10 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by antivirus-3.30_10 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by antivirus-3.30_10 for building => SHA256 Checksum OK for antivirus-3.30.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by antivirus-3.30_10 for building ===> Extracting for antivirus-3.30_10 => SHA256 Checksum OK for antivirus-3.30.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for antivirus-3.30_10 ===> Applying FreeBSD patches for antivirus-3.30_10 from /usr/ports/mail/antivirus-milter/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for antivirus-3.30_10 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for antivirus-3.30_10 cc -O2 -pipe -Wall -I/usr/include -fstack-protector-strong -fno-strict-aliasing -I/usr/include/libmilter/ -I/usr/include/ antivirus.c compilestamp.c -o antivirus -L/usr//usr/libmilter/ -L/usr//usr/libsm/ -lmilter -lpthread -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib -fstack-protector-strong antivirus.c:34:3: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] '\0' ^~~~ antivirus.c:187:45: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"mlfi_envfrom(0x%x, %s)",(int)ctx,argv[0]); ^~~~~~~~ antivirus.c:191:5: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,argv[0],(int)priv); ^~~~~~~~ antivirus.c:191:22: warning: cast to smaller integer type 'int' from 'struct mlfiPriv *' [-Wpointer-to-int-cast] (int)ctx,argv[0],(int)priv); ^~~~~~~~~ antivirus.c:218:5: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,argv[0],qid); ^~~~~~~~ antivirus.c:259:5: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,argv[0]); ^~~~~~~~ antivirus.c:268:45: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"mlfi_envrcpt(0x%x, %s)",(int)ctx,argv[0]); ^~~~~~~~ antivirus.c:294:9: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,argv[0]); ^~~~~~~~ antivirus.c:301:5: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,argv[0]); ^~~~~~~~ antivirus.c:311:55: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_header(0x%x, %s, )",(int)ctx,headerf); ^~~~~~~~ antivirus.c:322:5: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,headerf); ^~~~~~~~ antivirus.c:331:37: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eoh(0x%x)",(int)ctx); ^~~~~~~~ antivirus.c:339:52: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eoh(0x%x) => SMFIS_TEMPFAIL",(int)ctx); ^~~~~~~~ antivirus.c:344:55: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eoh(0x%x) => SMFIS_CONTINUE",(int)ctx); ^~~~~~~~ antivirus.c:355:48: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-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 to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_body(0x%x, 0x%x, %d)",(int)ctx,(int)bodyp,bodylen); ^~~~~~~~~~ antivirus.c:355:68: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] syslog(LOG_ERR,"smfi_body(0x%x, 0x%x, %d)",(int)ctx,(int)bodyp,bodylen); ~~ ^~~~~~~ %zu antivirus.c:372:5: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,(int)bodyp,bodylen); ^~~~~~~~ antivirus.c:372:14: warning: cast to smaller integer type 'int' from 'unsigned char *' [-Wpointer-to-int-cast] (int)ctx,(int)bodyp,bodylen); ^~~~~~~~~~ antivirus.c:372:25: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] (int)ctx,(int)bodyp,bodylen); ^~~~~~~ antivirus.c:384:58: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"externalcommand(0x%x, ..., %s, ...)",(int)ctx,p); ^~~~~~~~ antivirus.c:440:6: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,p,WEXITSTATUS(priv->childstatus)); ^~~~~~~~ antivirus.c:447:6: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx,p); ^~~~~~~~ antivirus.c:453:64: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"externalcommand(0x%x, ..., %s, ...) => -1",(int)ctx,p); ^~~~~~~~ antivirus.c:520:52: warning: expression does not compute the number of elements in this array; element type is 'char *', not 'char' [-Wsizeof-array-div] if ((sizeof(av)/sizeof(char *)+3)>(sizeof(avargs)/sizeof(char))) ~~~~~~ ^ antivirus.c:90:14: note: array 'avargs' declared here static char *avargs[]={NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}; ^ antivirus.c:520:52: note: place parentheses around the 'sizeof(char)' expression to silence this warning if ((sizeof(av)/sizeof(char *)+3)>(sizeof(avargs)/sizeof(char))) ^ antivirus.c:529:43: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"virusscan(0x%x, ...)",(int)ctx); ^~~~~~~~ antivirus.c:561:7: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] (int)ctx, retval,priv->workdir); ^~~~~~~~ antivirus.c:586:23: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(viruses," ",sizeof(viruses)); ^~~~~~~~~~~~~~~ antivirus.c:586:23: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(viruses," ",sizeof(viruses)); ^~~~~~~~~~~~~~~ sizeof(viruses) - strlen(viruses) - 1 antivirus.c:587:28: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(viruses,tmp,sizeof(viruses)); ^~~~~~~~~~~~~~~ antivirus.c:587:28: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(viruses,tmp,sizeof(viruses)); ^~~~~~~~~~~~~~~ sizeof(viruses) - strlen(viruses) - 1 antivirus.c:610:61: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"virusscan(0x%x, ...) => SMFIS_CONTINUE",(int)ctx); ^~~~~~~~ antivirus.c:668:22: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(buf," ",sizeof(buf)); ^~~~~~~~~~~ antivirus.c:668:22: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(buf," ",sizeof(buf)); ^~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 antivirus.c:669:32: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] strncat(buf,direntp->d_name,sizeof(buf)); ^~~~~~~~~~~ antivirus.c:669:32: note: change the argument to be the free space in the destination buffer minus the terminating null byte strncat(buf,direntp->d_name,sizeof(buf)); ^~~~~~~~~~~ sizeof(buf) - strlen(buf) - 1 antivirus.c:700:37: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x)",(int)ctx); ^~~~~~~~ antivirus.c:769:51: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_REJECT",(int)ctx); ^~~~~~~~ antivirus.c:779:53: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_TEMPFAIL",(int)ctx); ^~~~~~~~ antivirus.c:794:51: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_REJECT",(int)ctx); ^~~~~~~~ antivirus.c:803:53: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_TEMPFAIL",(int)ctx); ^~~~~~~~ antivirus.c:812:55: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_eom(0x%x) => SMFIS_CONTINUE",(int)ctx); ^~~~~~~~ antivirus.c:819:39: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_abort(0x%x)",(int)ctx); ^~~~~~~~ antivirus.c:822:57: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_abort(0x%x) => SMFIS_CONTINUE",(int)ctx); ^~~~~~~~ antivirus.c:832:36: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"cleanup(0x%x)",(int)ctx); ^~~~~~~~ antivirus.c:932:46: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"cleanup(0x%x) => (void)",(int)ctx); ^~~~~~~~ antivirus.c:940:39: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_close(0x%x)",(int)ctx); ^~~~~~~~ antivirus.c:947:57: warning: cast to smaller integer type 'int' from 'SMFICTX *' (aka 'struct smfi_str *') [-Wpointer-to-int-cast] syslog(LOG_ERR,"smfi_close(0x%x) => SMFIS_CONTINUE",(int)ctx); ^~~~~~~~ antivirus.c:1084:46: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] snprintf(fmt,sizeof(fmt),"%%%ds %%%dc",sizeof(token),sizeof(value)); ~~ ^~~~~~~~~~~~~ %lu antivirus.c:1084:60: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] snprintf(fmt,sizeof(fmt),"%%%ds %%%dc",sizeof(token),sizeof(value)); ~~ ^~~~~~~~~~~~~ %lu 46 warnings generated. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for antivirus-3.30_10 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/mail/antivirus-milter/work/antivirus-3.30/antivirus /wrkdirs/usr/ports/mail/antivirus-milter/work/stage/usr/local/libexec/antivirus install -m 0644 /wrkdirs/usr/ports/mail/antivirus-milter/work/antivirus-3.30/antivirus.conf /wrkdirs/usr/ports/mail/antivirus-milter/work/stage/usr/local/etc/antivirus.conf-dist install -m 0644 /wrkdirs/usr/ports/mail/antivirus-milter/work/antivirus-3.30/clamav.conf /wrkdirs/usr/ports/mail/antivirus-milter/work/stage/usr/local/etc/antivirus.conf-clamav /bin/mkdir -p /wrkdirs/usr/ports/mail/antivirus-milter/work/stage/var/spool/antivirus/spool /wrkdirs/usr/ports/mail/antivirus-milter/work/stage/var/spool/antivirus/run /wrkdirs/usr/ports/mail/antivirus-milter/work/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) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-04T23:32:47+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=c014f9c79a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for antivirus-3.30_10 ===> Building antivirus-3.30_10 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for antivirus-3.30_10 build of mail/antivirus-milter | antivirus-3.30_10 ended at Fri Apr 5 00:32:52 BST 2024 build time: 00:00:06