>>> Building on exopi-3 under mail/clamsmtp DIST = [mail/clamsmtp:clamsmtp-1.10.tar.gz] FULLPKGNAME = clamsmtp-1.10 RDEPENDS = [security/clamav] distfiles size=217126 >>> Running build in mail/clamsmtp at 1734719150.36 ===> mail/clamsmtp ===> Building from scratch clamsmtp-1.10 ===> Verifying specs: c pthread ===> found c.100.3 pthread.27.1 ===> Checking files for clamsmtp-1.10 `/exopi-cvs/ports/distfiles/clamsmtp-1.10.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for clamsmtp-1.10 ===> Patching for clamsmtp-1.10 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for clamsmtp-1.10 ===> Configuring for clamsmtp-1.10 Using /exopi-obj/pobj/clamsmtp-1.10/config.site (generated) configure: loading site script /exopi-obj/pobj/clamsmtp-1.10/config.site checking for a BSD-compatible install... /exopi-obj/pobj/clamsmtp-1.10/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking for gcc... cc 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking for a BSD-compatible install... /exopi-obj/pobj/clamsmtp-1.10/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-unknown-openbsd7.6 checking host system type... x86_64-unknown-openbsd7.6 checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for cc_r... cc checking for getsockname in -lsocket... no checking for getaddrinfo in -lnsl... no checking how to run the C preprocessor... cc -E checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for limits.h... (cached) yes checking err.h usability... yes checking err.h presence... yes checking for err.h... yes checking for paths.h... (cached) yes checking for unistd.h... (cached) yes checking for stdio.h... (cached) yes checking for stddef.h... (cached) yes checking for fcntl.h... (cached) yes checking for stdlib.h... (cached) yes checking for assert.h... (cached) yes checking for errno.h... (cached) yes checking for stdarg.h... (cached) yes checking for string.h... (cached) yes checking for netdb.h... (cached) yes checking for linux/netfilter_ipv4.h... no checking for an ANSI C-conforming const... (cached) yes checking for size_t... (cached) yes checking whether PTHREAD_MUTEX_ERRORCHECK_NP is declared... no checking whether PTHREAD_MUTEX_ERRORCHECK is declared... yes checking for struct tm.tm_gmtoff... yes checking for global variable __argv... no checking for memset... (cached) yes checking for strerror... (cached) yes checking for malloc... (cached) yes checking for realloc... (cached) yes checking for getopt... (cached) yes checking for strchr... (cached) yes checking for tolower... (cached) yes checking for getaddrinfo... (cached) yes checking for strlwr... no checking for strlcat... (cached) yes checking for strlcpy... (cached) yes checking for strncat... (cached) yes checking for strncpy... (cached) yes checking for strcasestr... yes checking for setenv... (cached) yes checking for daemon... (cached) yes checking for getline... yes checking for getdelim... yes checking for flockfile... (cached) yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating config.h config.status: executing depfiles commands ===> Building for clamsmtp-1.10 /usr/bin/make all-recursive Making all in src cc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-clamsmtpd.o -MD -MP -MF .deps/clamsmtpd-clamsmtpd.Tpo -c -o clamsmtpd-clamsmtpd.o `test -f 'clamsmtpd.c' || echo './'`clamsmtpd.c mv -f .deps/clamsmtpd-clamsmtpd.Tpo .deps/clamsmtpd-clamsmtpd.Po cc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-spio.o -MD -MP -MF .deps/clamsmtpd-spio.Tpo -c -o clamsmtpd-spio.o `test -f '../common/spio.c' || echo './'`../common/spio.c ../common/spio.c:124:45: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] if(getsockname(fd, &SANY_ADDR(locaddr), &SANY_LEN(locaddr)) == -1 || ^~~~~~~~~~~~~~~~~~ /usr/include/sys/socket.h:572:52: note: passing argument to parameter here int getsockname(int, struct sockaddr *, socklen_t *); ^ ../common/spio.c:139:43: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] if(getpeername(fd, &SANY_ADDR(*peer), &SANY_LEN(*peer)) == -1 || ^~~~~~~~~~~~~~~~ /usr/include/sys/socket.h:571:52: note: passing argument to parameter here int getpeername(int, struct sockaddr *, socklen_t *); ^ ../common/spio.c:466:13: warning: array index 2000 is past the end of the array (that has type 'char[2000]') [-Warray-bounds] io->line[SP_LINE_LENGTH] = 0; ^ ~~~~~~~~~~~~~~ ../common/smtppass.h:74:5: note: array 'line' declared here char line[SP_LINE_LENGTH]; ^ 3 warnings generated. mv -f .deps/clamsmtpd-spio.Tpo .deps/clamsmtpd-spio.Po cc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-smtppass.o -MD -MP -MF .deps/clamsmtpd-smtppass.Tpo -c -o clamsmtpd-smtppass.o `test -f '../common/smtppass.c' || echo './'`../common/smtppass.c ../common/smtppass.c:613:71: warning: cast to smaller integer type 'int' from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast] sp_messagex(ctx, LOG_DEBUG, "processing %d on thread %x", fd, (int)pthread_self()); ^~~~~~~~~~~~~~~~~~~ ../common/smtppass.c:730:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] return (void*)(ret == 0 ? 0 : 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ ../common/smtppass.c:760:58: warning: incompatible pointer types passing 'size_t *' (aka 'unsigned long *') to parameter of type 'socklen_t *' (aka 'unsigned int *') [-Wincompatible-pointer-types] if(getsockname(ctx->client.fd, &SANY_ADDR(addr), &SANY_LEN(addr)) == -1) ^~~~~~~~~~~~~~~ /usr/include/sys/socket.h:572:52: note: passing argument to parameter here int getsockname(int, struct sockaddr *, socklen_t *); ^ 3 warnings generated. mv -f .deps/clamsmtpd-smtppass.Tpo .deps/clamsmtpd-smtppass.Po cc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-stringx.o -MD -MP -MF .deps/clamsmtpd-stringx.Tpo -c -o clamsmtpd-stringx.o `test -f '../common/stringx.c' || echo './'`../common/stringx.c mv -f .deps/clamsmtpd-stringx.Tpo .deps/clamsmtpd-stringx.Po cc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-sock_any.o -MD -MP -MF .deps/clamsmtpd-sock_any.Tpo -c -o clamsmtpd-sock_any.o `test -f '../common/sock_any.c' || echo './'`../common/sock_any.c ../common/sock_any.c:370:19: warning: use of logical '&&' with constant operand [-Wconstant-logical-operand] if(!(opts && SANY_OPT_NOPORT) && a1->s.in.sin_port != a2->s.in.sin_port) ^ ~~~~~~~~~~~~~~~ ../common/sock_any.c:370:19: note: use '&' for a bitwise operation if(!(opts && SANY_OPT_NOPORT) && a1->s.in.sin_port != a2->s.in.sin_port) ^~ & ../common/sock_any.c:370:19: note: remove constant to silence this warning if(!(opts && SANY_OPT_NOPORT) && a1->s.in.sin_port != a2->s.in.sin_port) ~^~~~~~~~~~~~~~~~~~ 1 warning generated. mv -f .deps/clamsmtpd-sock_any.Tpo .deps/clamsmtpd-sock_any.Po cc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -MT clamsmtpd-compat.o -MD -MP -MF .deps/clamsmtpd-compat.Tpo -c -o clamsmtpd-compat.o `test -f '../common/compat.c' || echo './'`../common/compat.c mv -f .deps/clamsmtpd-compat.Tpo .deps/clamsmtpd-compat.Po cc -I../common/ -I../ -O2 -pipe -I/usr/local/include -pthread -D_POSIX_PTHREAD_SEMANTICS -L/usr/local/lib -o clamsmtpd clamsmtpd-clamsmtpd.o clamsmtpd-spio.o clamsmtpd-smtppass.o clamsmtpd-stringx.o clamsmtpd-sock_any.o clamsmtpd-compat.o ld: warning: clamsmtpd.c(clamsmtpd-clamsmtpd.o:(cb_check_data)): warning: strcat() is almost always misused, please use strlcat() ld: warning: clamsmtpd.c(clamsmtpd-clamsmtpd.o:(cb_check_data)): warning: mktemp() possibly used unsafely; consider using mkstemp() ld: warning: sock_any.c(clamsmtpd-sock_any.o:(sock_any_pton)): warning: strcpy() is almost always misused, please use strlcpy() NOTE: Ignore any warnings about mktemp(). It's used safely in this case. Making all in doc >>> Running package in mail/clamsmtp at 1734719166.48 ===> mail/clamsmtp ===> Faking installation for clamsmtp-1.10 Making install in src NOTE: Ignore any warnings about mktemp(). It's used safely in this case. test -z "/usr/local/sbin" || mkdir -p "/exopi-obj/pobj/clamsmtp-1.10/fake-amd64/usr/local/sbin" /exopi-obj/pobj/clamsmtp-1.10/bin/install -c -s -m 755 'clamsmtpd' '/exopi-obj/pobj/clamsmtp-1.10/fake-amd64/usr/local/sbin/clamsmtpd' Making install in doc test -z "/usr/local/man/man5" || mkdir -p "/exopi-obj/pobj/clamsmtp-1.10/fake-amd64/usr/local/man/man5" /exopi-obj/pobj/clamsmtp-1.10/bin/install -c -m 644 './clamsmtpd.conf.5' '/exopi-obj/pobj/clamsmtp-1.10/fake-amd64/usr/local/man/man5/clamsmtpd.conf.5' test -z "/usr/local/man/man8" || mkdir -p "/exopi-obj/pobj/clamsmtp-1.10/fake-amd64/usr/local/man/man8" /exopi-obj/pobj/clamsmtp-1.10/bin/install -c -m 644 './clamsmtpd.8' '/exopi-obj/pobj/clamsmtp-1.10/fake-amd64/usr/local/man/man8/clamsmtpd.8' /exopi-obj/pobj/clamsmtp-1.10/bin/install -d -m 755 /exopi-obj/pobj/clamsmtp-1.10/fake-amd64/usr/local/share/examples/clamsmtp /exopi-obj/pobj/clamsmtp-1.10/bin/install -c -m 644 /exopi-obj/pobj/clamsmtp-1.10/clamsmtp-1.10/doc/clamsmtpd.conf /exopi-obj/pobj/clamsmtp-1.10/fake-amd64/usr/local/share/examples/clamsmtp ===> Building package for clamsmtp-1.10 Create /exopi-cvs/ports/packages/amd64/all/clamsmtp-1.10.tgz Creating package clamsmtp-1.10 reading plist| checking dependencies| checking dependencies|security/clamav checksumming| checksumming| | 0% checksumming|**** | 6% checksumming|******** | 13% checksumming|*********** | 19% checksumming|*************** | 25% checksumming|******************* | 31% checksumming|*********************** | 38% checksumming|*************************** | 44% checksumming|******************************* | 50% checksumming|********************************** | 56% checksumming|************************************** | 63% checksumming|****************************************** | 69% checksumming|********************************************** | 75% checksumming|************************************************** | 81% checksumming|***************************************************** | 88% checksumming|********************************************************* | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 1% archiving|************************************************ | 75% archiving|****************************************************** | 85% archiving|************************************************************** | 98% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/clamsmtp-1.10.tgz >>> Running clean in mail/clamsmtp at 1734719176.34 ===> mail/clamsmtp ===> Cleaning for clamsmtp-1.10 >>> Ended at 1734719176.84 max_stuck=5.21/build=16.09/package=9.90/clean=0.53