WARNING: [license.mk] Every package should define a LICENSE. ===> Building for jchkmail-1.3.1anb2 /opt/pkg/bin/bmake all-recursive Making all in src source='j-db.c' object='j-db.o' libtool=no depfile='.deps/j-db.Po' tmpdepfile='.deps/j-db.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-db.c' || echo './'`j-db.c source='j-table.c' object='j-table.o' libtool=no depfile='.deps/j-table.Po' tmpdepfile='.deps/j-table.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-table.c' || echo './'`j-table.c source='j-rdfile.c' object='j-rdfile.o' libtool=no depfile='.deps/j-rdfile.Po' tmpdepfile='.deps/j-rdfile.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-rdfile.c' || echo './'`j-rdfile.c source='j-divers.c' object='j-divers.o' libtool=no depfile='.deps/j-divers.Po' tmpdepfile='.deps/j-divers.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-divers.c' || echo './'`j-divers.c source='j-strings.c' object='j-strings.o' libtool=no depfile='.deps/j-strings.Po' tmpdepfile='.deps/j-strings.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-strings.c' || echo './'`j-strings.c source='j-buffer.c' object='j-buffer.o' libtool=no depfile='.deps/j-buffer.Po' tmpdepfile='.deps/j-buffer.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-buffer.c' || echo './'`j-buffer.c source='j-decode.c' object='j-decode.o' libtool=no depfile='.deps/j-decode.Po' tmpdepfile='.deps/j-decode.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-decode.c' || echo './'`j-decode.c j-decode.c:333:24: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] return (strchr (B64, (int) c) ? 1 : 0); ^~~~~~~ j-decode.c:405:21: warning: incompatible integer to pointer conversion passing 'char' to parameter of type 'char *'; remove * [-Wint-conversion] if (!isb64char (*p)) { ^~ 2 warnings generated. source='mimelist.c' object='mimelist.o' libtool=no depfile='.deps/mimelist.Po' tmpdepfile='.deps/mimelist.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'mimelist.c' || echo './'`mimelist.c source='scanmail.c' object='scanmail.o' libtool=no depfile='.deps/scanmail.Po' tmpdepfile='.deps/scanmail.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'scanmail.c' || echo './'`scanmail.c scanmail.c:337:15: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen (old)); ^~~~~~~~~~~~ scanmail.c:357:24: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] conn_id, strlen (work) + szc, szc); ^~~~~~~~~~~~~~~~~~~ scanmail.c:369:56: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] "linelenght : %d; strlen : %d", conn_id, strcspn (p, "\r\n"), strlen (p)); ~~ ^~~~~~~~~~~~~~~~~~~ %lu scanmail.c:369:77: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] "linelenght : %d; strlen : %d", conn_id, strcspn (p, "\r\n"), strlen (p)); ~~ ^~~~~~~~~~ %lu scanmail.c:387:73: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] syslog (LOG_ERR, "ERROR : scanmail strlen(work) = %d result = 6", strlen (work)); ~~ ^~~~~~~~~~~~~ %lu scanmail.c:622:27: warning: variable 'rfc2231_code' set but not used [-Wunused-but-set-variable] int rfc2231_code = 0; ^ scanmail.c:721:74: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] syslog (LOG_WARNING, "scan_block : sizeof(old) = %d > SZ_CHUNK", strlen (old)); ~~ ^~~~~~~~~~~~ %lu scanmail.c:734:70: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] syslog (LOG_WARNING, "scan_block : sizeof(old) = %d > SZ_CHUNK", strlen (old)); ~~ ^~~~~~~~~~~~ %lu scanmail.c:423:17: warning: implicit conversion from 'long' to 'int' changes value from 9223372036854775807 to -1 [-Wconstant-conversion] dcd = LONG_MAX; ~ ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/limits.h:47:19: note: expanded from macro 'LONG_MAX' #define LONG_MAX __LONG_MAX__ ^~~~~~~~~~~~ :43:22: note: expanded from here #define __LONG_MAX__ 9223372036854775807L ^~~~~~~~~~~~~~~~~~~~ scanmail.c:424:17: warning: implicit conversion from 'long' to 'int' changes value from 9223372036854775807 to -1 [-Wconstant-conversion] dct = LONG_MAX; ~ ^~~~~~~~ /System/Volumes/Data/Applications/Xcode-13.4.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/13.1.6/include/limits.h:47:19: note: expanded from macro 'LONG_MAX' #define LONG_MAX __LONG_MAX__ ^~~~~~~~~~~~ :43:22: note: expanded from here #define __LONG_MAX__ 9223372036854775807L ^~~~~~~~~~~~~~~~~~~~ 10 warnings generated. source='j-inet.c' object='j-inet.o' libtool=no depfile='.deps/j-inet.Po' tmpdepfile='.deps/j-inet.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-inet.c' || echo './'`j-inet.c source='j-ipc.c' object='j-ipc.o' libtool=no depfile='.deps/j-ipc.Po' tmpdepfile='.deps/j-ipc.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-ipc.c' || echo './'`j-ipc.c source='j-resource.c' object='j-resource.o' libtool=no depfile='.deps/j-resource.Po' tmpdepfile='.deps/j-resource.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-resource.c' || echo './'`j-resource.c source='j-users-tab.c' object='j-users-tab.o' libtool=no depfile='.deps/j-users-tab.Po' tmpdepfile='.deps/j-users-tab.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-users-tab.c' || echo './'`j-users-tab.c source='j-classw-tab.c' object='j-classw-tab.o' libtool=no depfile='.deps/j-classw-tab.Po' tmpdepfile='.deps/j-classw-tab.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-classw-tab.c' || echo './'`j-classw-tab.c source='j-nets-tab.c' object='j-nets-tab.o' libtool=no depfile='.deps/j-nets-tab.Po' tmpdepfile='.deps/j-nets-tab.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-nets-tab.c' || echo './'`j-nets-tab.c source='j-mailregex.c' object='j-mailregex.o' libtool=no depfile='.deps/j-mailregex.Po' tmpdepfile='.deps/j-mailregex.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-mailregex.c' || echo './'`j-mailregex.c source='j-scanregex.c' object='j-scanregex.o' libtool=no depfile='.deps/j-scanregex.Po' tmpdepfile='.deps/j-scanregex.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-scanregex.c' || echo './'`j-scanregex.c j-scanregex.c:510:44: warning: format specifies type 'int' but the argument has type 'regoff_t' (aka 'long long') [-Wformat] syslog(LOG_DEBUG,"CT : %3d %3d", pm_ct.rm_so, pm_ct.rm_eo); ~~~ ^~~~~~~~~~~ %3lld j-scanregex.c:510:57: warning: format specifies type 'int' but the argument has type 'regoff_t' (aka 'long long') [-Wformat] syslog(LOG_DEBUG,"CT : %3d %3d", pm_ct.rm_so, pm_ct.rm_eo); ~~~ ^~~~~~~~~~~ %3lld j-scanregex.c:512:44: warning: format specifies type 'int' but the argument has type 'regoff_t' (aka 'long long') [-Wformat] syslog(LOG_DEBUG,"CE : %3d %3d", pm_ce.rm_so, pm_ce.rm_eo); ~~~ ^~~~~~~~~~~ %3lld j-scanregex.c:512:57: warning: format specifies type 'int' but the argument has type 'regoff_t' (aka 'long long') [-Wformat] syslog(LOG_DEBUG,"CE : %3d %3d", pm_ce.rm_so, pm_ce.rm_eo); ~~~ ^~~~~~~~~~~ %3lld j-scanregex.c:514:44: warning: format specifies type 'int' but the argument has type 'regoff_t' (aka 'long long') [-Wformat] syslog(LOG_DEBUG,"B : %3d %3d", pm_b.rm_so, pm_b.rm_eo); ~~~ ^~~~~~~~~~ %3lld j-scanregex.c:514:56: warning: format specifies type 'int' but the argument has type 'regoff_t' (aka 'long long') [-Wformat] syslog(LOG_DEBUG,"B : %3d %3d", pm_b.rm_so, pm_b.rm_eo); ~~~ ^~~~~~~~~~ %3lld j-scanregex.c:537:26: warning: variable 'n' set but not used [-Wunused-but-set-variable] uint32_t ni, no, n; ^ 7 warnings generated. source='j-host-access.c' object='j-host-access.o' libtool=no depfile='.deps/j-host-access.Po' tmpdepfile='.deps/j-host-access.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-host-access.c' || echo './'`j-host-access.c source='j-user-access.c' object='j-user-access.o' libtool=no depfile='.deps/j-user-access.Po' tmpdepfile='.deps/j-user-access.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-user-access.c' || echo './'`j-user-access.c source='j-resolve-tab.c' object='j-resolve-tab.o' libtool=no depfile='.deps/j-resolve-tab.Po' tmpdepfile='.deps/j-resolve-tab.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-resolve-tab.c' || echo './'`j-resolve-tab.c j-resolve-tab.c:311:34: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] syslog (LOG_INFO, "HOST %d", i_synth); ~~ ^~~~~~~ %zu 1 warning generated. source='j-throttle.c' object='j-throttle.o' libtool=no depfile='.deps/j-throttle.Po' tmpdepfile='.deps/j-throttle.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-throttle.c' || echo './'`j-throttle.c j-throttle.c:521:37: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] syslog (LOG_INFO, "RCPT %d %d", hdata.rcpt_nb, current); ~~ ^~~~~~~~~~~~~ %zu j-throttle.c:616:37: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] syslog (LOG_INFO, "HOST %d %d", hdata.conn_nb, current); ~~ ^~~~~~~~~~~~~ %zu j-throttle.c:794:55: warning: for loop has empty body [-Wempty-body] for (i = 0, imax = 0, tmax = 0; i < DIM_HIST_T; i++); { ^ j-throttle.c:794:55: note: put the semicolon on a separate line to silence this warning j-throttle.c:818:45: warning: for loop has empty body [-Wempty-body] for (i = 0, imax = 0; i < DIM_HIST_T; i++); { ^ j-throttle.c:818:45: note: put the semicolon on a separate line to silence this warning j-throttle.c:877:14: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] v, hdata.conn_nb, DIM_RES_T); ^~~~~~~~~~~~~ j-throttle.c:877:29: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] v, hdata.conn_nb, DIM_RES_T); ^~~~~~~~~ j-throttle.c:902:26: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] hh, mm, ss, v, DIM_HIST_T); ^~~~~~~~~~ j-throttle.c:909:14: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] v, hdata.rcpt_nb, DIM_RES_T); ^~~~~~~~~~~~~ j-throttle.c:909:29: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] v, hdata.rcpt_nb, DIM_RES_T); ^~~~~~~~~ j-throttle.c:934:26: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] hh, mm, ss, v, DIM_HIST_T); ^~~~~~~~~~ 10 warnings generated. source='j-stats.c' object='j-stats.o' libtool=no depfile='.deps/j-stats.Po' tmpdepfile='.deps/j-stats.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-stats.c' || echo './'`j-stats.c source='kstats.c' object='kstats.o' libtool=no depfile='.deps/kstats.Po' tmpdepfile='.deps/kstats.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'kstats.c' || echo './'`kstats.c source='j-log.c' object='j-log.o' libtool=no depfile='.deps/j-log.Po' tmpdepfile='.deps/j-log.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-log.c' || echo './'`j-log.c source='j-signal.c' object='j-signal.o' libtool=no depfile='.deps/j-signal.Po' tmpdepfile='.deps/j-signal.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-signal.c' || echo './'`j-signal.c j-signal.c:170:19: warning: variable 't_loop' set but not used [-Wunused-but-set-variable] time_t t_loop, t_save, t_updt, t_stats, t_gt_updt, t_fd, t_conf; ^ 1 warning generated. source='j-config.c' object='j-config.o' libtool=no depfile='.deps/j-config.Po' tmpdepfile='.deps/j-config.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-config.c' || echo './'`j-config.c source='j-cf.c' object='j-cf.o' libtool=no depfile='.deps/j-cf.Po' tmpdepfile='.deps/j-cf.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-cf.c' || echo './'`j-cf.c source='j-fileexp.c' object='j-fileexp.o' libtool=no depfile='.deps/j-fileexp.Po' tmpdepfile='.deps/j-fileexp.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-fileexp.c' || echo './'`j-fileexp.c source='j-history.c' object='j-history.o' libtool=no depfile='.deps/j-history.Po' tmpdepfile='.deps/j-history.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-history.c' || echo './'`j-history.c j-history.c:297:19: warning: variable 'nb' set but not used [-Wunused-but-set-variable] int nb; ^ j-history.c:518:42: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] printf (" Gateways : %7d\n", hst->nb); ~~~ ^~~~~~~ %7zu j-history.c:758:1: warning: unused function 'res_history_lookup' [-Wunused-function] res_history_lookup (c, ip) ^ 3 warnings generated. source='j-avserver.c' object='j-avserver.o' libtool=no depfile='.deps/j-avserver.Po' tmpdepfile='.deps/j-avserver.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-avserver.c' || echo './'`j-avserver.c source='j-avclient.c' object='j-avclient.o' libtool=no depfile='.deps/j-avclient.Po' tmpdepfile='.deps/j-avclient.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-avclient.c' || echo './'`j-avclient.c source='j-avdecode.c' object='j-avdecode.o' libtool=no depfile='.deps/j-avdecode.Po' tmpdepfile='.deps/j-avdecode.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-avdecode.c' || echo './'`j-avdecode.c source='j-avchild.c' object='j-avchild.o' libtool=no depfile='.deps/j-avchild.Po' tmpdepfile='.deps/j-avchild.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-avchild.c' || echo './'`j-avchild.c source='j-scanfile.c' object='j-scanfile.o' libtool=no depfile='.deps/j-scanfile.Po' tmpdepfile='.deps/j-scanfile.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-scanfile.c' || echo './'`j-scanfile.c source='j-printstats.c' object='j-printstats.o' libtool=no depfile='.deps/j-printstats.Po' tmpdepfile='.deps/j-printstats.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-printstats.c' || echo './'`j-printstats.c j-printstats.c:433:32: warning: variable 'name' set but not used [-Wunused-but-set-variable] char *p = NULL, *name = NULL; ^ 1 warning generated. source='j-makemap.c' object='j-makemap.o' libtool=no depfile='.deps/j-makemap.Po' tmpdepfile='.deps/j-makemap.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-makemap.c' || echo './'`j-makemap.c j-makemap.c:46:23: warning: variable 'verbose' set but not used [-Wunused-but-set-variable] int verbose = 0; ^ j-makemap.c:47:23: warning: variable 'r' set but not used [-Wunused-but-set-variable] int r; ^ 2 warnings generated. source='j-scanblock.c' object='j-scanblock.o' libtool=no depfile='.deps/j-scanblock.Po' tmpdepfile='.deps/j-scanblock.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-scanblock.c' || echo './'`j-scanblock.c j-scanblock.c:426:19: warning: variable 'dc' set but not used [-Wunused-but-set-variable] int da, db, dc; ^ 1 warning generated. source='j-test.c' object='j-test.o' libtool=no depfile='.deps/j-test.Po' tmpdepfile='.deps/j-test.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-test.c' || echo './'`j-test.c source='test64.c' object='test64.o' libtool=no depfile='.deps/test64.Po' tmpdepfile='.deps/test64.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'test64.c' || echo './'`test64.c source='j-main.c' object='j-main.o' libtool=no depfile='.deps/j-main.Po' tmpdepfile='.deps/j-main.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-main.c' || echo './'`j-main.c j-main.c:265:64: warning: address of array 'domain' will always evaluate to 'true' [-Wpointer-bool-conversion] snprintf (logbuf, sizeof (logbuf), "Checking domain : %s", domain ? domain : "--"); ^~~~~~ ~ /Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/secure/_stdio.h:57:62: note: expanded from macro 'snprintf' __builtin___snprintf_chk (str, len, 0, __darwin_obsz(str), __VA_ARGS__) ^~~~~~~~~~~ j-main.c:869:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog (LOG_ERR, logbuf); ^~~~~~ j-main.c:869:22: note: treat the string as an argument to avoid this syslog (LOG_ERR, logbuf); ^ "%s", 2 warnings generated. source='j-chkmail.c' object='j-chkmail.o' libtool=no depfile='.deps/j-chkmail.Po' tmpdepfile='.deps/j-chkmail.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-chkmail.c' || echo './'`j-chkmail.c j-chkmail.c:1202:31: warning: if statement has empty body [-Wempty-body] if (!spool_file_close (ctx)); ^ j-chkmail.c:1202:31: note: put the semicolon on a separate line to silence this warning j-chkmail.c:1584:32: warning: if statement has empty body [-Wempty-body] if (!spool_file_forget (ctx)); ^ j-chkmail.c:1584:32: note: put the semicolon on a separate line to silence this warning j-chkmail.c:1880:7: warning: switch condition has boolean value [-Wswitch-bool] switch (cf_get_int (CF_RESOLVE_FAIL) != OPT_OK) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ j-chkmail.c:1909:7: warning: switch condition has boolean value [-Wswitch-bool] switch (cf_get_int (CF_RESOLVE_FORGED) != OPT_OK) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. source='j-cleanspool.c' object='j-cleanspool.o' libtool=no depfile='.deps/j-cleanspool.Po' tmpdepfile='.deps/j-cleanspool.TPo' depmode=gcc3 /opt/pkg/bin/mksh ../depcomp clang -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/pkg/include -D_REENTRANT -I../include -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -c `test -f 'j-cleanspool.c' || echo './'`j-cleanspool.c rm -f libjoe.a ar cru libjoe.a j-db.o j-table.o j-rdfile.o j-divers.o j-strings.o j-buffer.o j-decode.o mimelist.o scanmail.o j-inet.o j-ipc.o j-resource.o j-users-tab.o j-classw-tab.o j-nets-tab.o j-mailregex.o j-scanregex.o j-host-access.o j-user-access.o j-resolve-tab.o j-throttle.o j-stats.o kstats.o j-log.o j-signal.o j-config.o j-cf.o j-fileexp.o j-history.o ranlib libjoe.a rm -f libav.a ar cru libav.a j-avserver.o j-avclient.o j-avdecode.o j-avchild.o ranlib libav.a clang -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -L/opt/pkg/lib -o j-chkmail j-main.o j-chkmail.o j-cleanspool.o libjoe.a libav.a -lm -lresolv -lpthread -lmilter -lpthread clang -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -L/opt/pkg/lib -o j-makemap j-makemap.o libjoe.a libav.a -lm -lresolv -lpthread -lmilter -lpthread clang -pipe -Os -I/opt/pkg/include -D_REENTRANT -Wall -L/opt/pkg/lib -o j-printstats j-printstats.o libjoe.a libav.a -lm -lresolv -lpthread -lmilter -lpthread Undefined symbols for architecture arm64: "_opt", referenced from: _configure in libjoe.a(j-cf.o) ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) *** [j-printstats] Error code 1 bmake[2]: stopped making "all" in /Users/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a/src bmake[2]: 1 error bmake[2]: stopped making "all" in /Users/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a *** [all] Error code 2 bmake: stopped making "all" in /Users/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/mail/jchkmail/work/jchkmail-1.3.1a *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/mail/jchkmail *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-upstream-arm64/mail/jchkmail