>>> Building on exopi-2 under mail/clamsmtp DIST = [mail/clamsmtp:clamsmtp-1.10.2.tar.gz] FULLPKGNAME = clamsmtp-1.10.2 RDEPENDS = [security/clamav] distfiles size=210394 >>> Running build in mail/clamsmtp at 1780816411.75 ===> mail/clamsmtp ===> Building from scratch clamsmtp-1.10.2 ===> Verifying specs: c pthread ===> found c.103.0 pthread.28.1 ===> Checking files for clamsmtp-1.10.2 `/exopi-cvs/ports/distfiles/clamsmtp-1.10.2.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for clamsmtp-1.10.2 ===> Patching for clamsmtp-1.10.2 ===> Applying OpenBSD patch patch-common_smtppass_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: common/smtppass.h |--- common/smtppass.h.orig |+++ common/smtppass.h -------------------------- Patching file common/smtppass.h using Plan A... Hunk #1 succeeded at 71. done ===> Applying OpenBSD patch patch-common_sock_any_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: common/sock_any.c |--- common/sock_any.c.orig |+++ common/sock_any.c -------------------------- Patching file common/sock_any.c using Plan A... Hunk #1 succeeded at 367. done ===> 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.2 ===> Configuring for clamsmtp-1.10.2 Using /exopi-obj/pobj/clamsmtp-1.10.2/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /exopi-obj/pobj/clamsmtp-1.10.2/config.site checking for a BSD-compatible install... /exopi-obj/pobj/clamsmtp-1.10.2/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether make sets $(MAKE)... (cached) yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether the compiler supports GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to enable C11 features... none needed checking whether cc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of cc... gcc3 checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... x86_64-unknown-openbsd7.9 checking host system type... x86_64-unknown-openbsd7.9 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 for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for strings.h... (cached) yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for limits.h... (cached) 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 for cc options needed to detect all undeclared functions... -fno-builtin 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 checking that generated files are newer than configure... done 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 configure: WARNING: unrecognized options: --disable-gtk-doc ===> Building for clamsmtp-1.10.2 /usr/bin/make all-recursive Making all in src cc -DHAVE_CONFIG_H -I. -I.. -I../common/ -I../ -O2 -pipe -I/usr/local/include -g -O0 -Wall -Wno-deprecated-declarations -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 -g -O0 -Wall -Wno-deprecated-declarations -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 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 -g -O0 -Wall -Wno-deprecated-declarations -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:218:9: warning: variable 'r' set but not used [-Wunused-but-set-variable] 218 | int r; | ^ ../common/smtppass.c:612:71: warning: cast to smaller integer type 'int' from 'pthread_t' (aka 'struct pthread *') [-Wpointer-to-int-cast] 612 | sp_messagex(ctx, LOG_DEBUG, "processing %d on thread %x", fd, (int)pthread_self()); | ^~~~~~~~~~~~~~~~~~~ ../common/smtppass.c:729:12: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] 729 | return (void*)(ret == 0 ? 0 : 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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 -g -O0 -Wall -Wno-deprecated-declarations -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 -g -O0 -Wall -Wno-deprecated-declarations -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 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 -g -O0 -Wall -Wno-deprecated-declarations -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 -g -O0 -Wall -Wno-deprecated-declarations -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:621(clamsmtpd-clamsmtpd.o:(clam_scan_file)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: clamsmtpd.c:622(clamsmtpd-clamsmtpd.o:(clam_scan_file)): warning: strcat() is almost always misused, please use strlcat() ld: warning: clamsmtpd.c:730(clamsmtpd-clamsmtpd.o:(virus_action)): warning: mktemp() possibly used unsafely; consider using mkstemp() NOTE: Ignore any warnings about mktemp(). It's used safely in this case. Making all in doc >>> Running package in mail/clamsmtp at 1780816426.87 ===> mail/clamsmtp ===> Faking installation for clamsmtp-1.10.2 Making install in src NOTE: Ignore any warnings about mktemp(). It's used safely in this case. mkdir -p '/exopi-obj/pobj/clamsmtp-1.10.2/fake-amd64/usr/local/sbin' /exopi-obj/pobj/clamsmtp-1.10.2/bin/install -c -s -m 755 clamsmtpd '/exopi-obj/pobj/clamsmtp-1.10.2/fake-amd64/usr/local/sbin' Making install in doc mkdir -p '/exopi-obj/pobj/clamsmtp-1.10.2/fake-amd64/usr/local/man/man5' /exopi-obj/pobj/clamsmtp-1.10.2/bin/install -c -m 644 clamsmtpd.conf.5 '/exopi-obj/pobj/clamsmtp-1.10.2/fake-amd64/usr/local/man/man5' mkdir -p '/exopi-obj/pobj/clamsmtp-1.10.2/fake-amd64/usr/local/man/man8' /exopi-obj/pobj/clamsmtp-1.10.2/bin/install -c -m 644 clamsmtpd.8 '/exopi-obj/pobj/clamsmtp-1.10.2/fake-amd64/usr/local/man/man8' /exopi-obj/pobj/clamsmtp-1.10.2/bin/install -d -m 755 /exopi-obj/pobj/clamsmtp-1.10.2/fake-amd64/usr/local/share/examples/clamsmtp /exopi-obj/pobj/clamsmtp-1.10.2/bin/install -c -m 644 /exopi-obj/pobj/clamsmtp-1.10.2/clamsmtp-1.10.2/doc/clamsmtpd.conf /exopi-obj/pobj/clamsmtp-1.10.2/fake-amd64/usr/local/share/examples/clamsmtp ===> Building package for clamsmtp-1.10.2 Create /exopi-cvs/ports/packages/amd64/all/clamsmtp-1.10.2.tgz Creating package clamsmtp-1.10.2 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|******** | 12% archiving|********************************************************* | 89% archiving|********************************************************** | 91% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/clamsmtp-1.10.2.tgz >>> Running clean in mail/clamsmtp at 1780816434.44 ===> mail/clamsmtp ===> Cleaning for clamsmtp-1.10.2 >>> Ended at 1780816435.46 max_stuck=3.29/build=15.12/package=7.54/clean=1.09