=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/clamsmtp", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for clamsmtp-1.10nb1 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- all-local --- --- clamsmtpd-clamsmtpd.o --- --- clamsmtpd-spio.o --- --- all-local --- NOTE: Ignore any warnings about mktemp(). It's used safely in this case. --- clamsmtpd-clamsmtpd.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I../common/ -I../ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/usr/local/include -D_REENTRANT -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 --- clamsmtpd-spio.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I../common/ -I../ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/usr/local/include -D_REENTRANT -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 --- clamsmtpd-smtppass.o --- gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I../common/ -I../ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/usr/include -I/usr/local/include -D_REENTRANT -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: In function 'sp_run': ../common/smtppass.c:251:9: error: expected identifier or '(' before 'true' 251 | int true = 1; | ^~~~ ../common/smtppass.c:321:56: error: lvalue required as unary '&' operand 321 | setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, (void *)&true, sizeof(true)); | ^ ../common/smtppass.c: In function 'thread_main': ../common/smtppass.c:730:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 730 | return (void*)(ret == 0 ? 0 : 1); | ^ *** [clamsmtpd-smtppass.o] Error code 1 bmake[2]: stopped making "all" in /tmp/work/mail/clamsmtp/work/clamsmtp-1.10/src --- clamsmtpd-spio.o --- ../common/spio.c: In function 'read_raw': ../common/spio.c:466:38: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 466 | io->line[SP_LINE_LENGTH] = 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from ../common/sppriv.h:42, from ../common/spio.c:64: ../common/smtppass.h:74:10: note: at offset 2000 into destination object 'line' of size 2000 74 | char line[SP_LINE_LENGTH]; | ^~~~ --- clamsmtpd-clamsmtpd.o --- mv -f .deps/clamsmtpd-clamsmtpd.Tpo .deps/clamsmtpd-clamsmtpd.Po --- clamsmtpd-spio.o --- mv -f .deps/clamsmtpd-spio.Tpo .deps/clamsmtpd-spio.Po bmake[2]: 1 error bmake[2]: stopped making "all" in /tmp/work/mail/clamsmtp/work/clamsmtp-1.10/src bmake[1]: stopped making "all-recursive" in /tmp/work/mail/clamsmtp/work/clamsmtp-1.10 *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/mail/clamsmtp/work/clamsmtp-1.10 bmake: 1 error bmake: stopped making "all" in /tmp/work/mail/clamsmtp/work/clamsmtp-1.10 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/clamsmtp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/clamsmtp