=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for cyrus-imapd-2.2.13p1nb15 ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/man ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/et ./config_script ./compile_et.sh /usr/bin/awk sed > compile_et chmod 755 compile_et clang -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -DHAVE_CONFIG_H -I. -I./../lib -I. -I.. -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 error_message.c clang -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -DHAVE_CONFIG_H -I. -I./../lib -I. -I.. -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 et_name.c clang -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -DHAVE_CONFIG_H -I. -I./../lib -I. -I.. -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 init_et.c init_et.c:52:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *realloc(); ^ init_et.c:52:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' init_et.c:52:25: warning: incompatible redeclaration of library function 'realloc' [-Wincompatible-library-redeclaration] extern char *malloc(), *realloc(); ^ init_et.c:52:25: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)' 2 warnings generated. clang -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -DHAVE_CONFIG_H -I. -I./../lib -I. -I.. -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 com_err.c rm -f libcom_err.a ar cr libcom_err.a error_message.o et_name.o init_et.o com_err.o ranlib libcom_err.a ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/lib ./../tools/config2header CC=clang ./imapopts.c ./imapopts.h < ./imapoptions clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC libconfig.c libconfig.c:103:32: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] imapopts[opt].optname, imapopts[opt].val.i); ^~~~~~~~~~~~~~~~~~~ libconfig.c:117:32: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] imapopts[opt].optname, imapopts[opt].val.b); ^~~~~~~~~~~~~~~~~~~ libconfig.c:168:24: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] enum opttype opt = IMAPOPT_ZERO; ~~~ ^~~~~~~~~~~~ libconfig.c:196:15: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] for(opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~ ^~~~~~~~~~~~ libconfig.c:196:33: warning: comparison of constant 'IMAPOPT_LAST' (162) with expression of type 'enum opttype' is always true [-Wtautological-constant-out-of-range-compare] for(opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~~~ ^ ~~~~~~~~~~~~ libconfig.c:199:9: warning: comparison of constant 'IMAPOPT_CONFIGDIRECTORY' (18) with expression of type 'enum opttype' is always false [-Wtautological-constant-out-of-range-compare] opt == IMAPOPT_CONFIGDIRECTORY) { ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ libconfig.c:267:24: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] enum opttype opt = IMAPOPT_ZERO; ~~~ ^~~~~~~~~~~~ libconfig.c:360:17: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~ ^~~~~~~~~~~~ libconfig.c:372:17: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~ ^~~~~~~~~~~~ libconfig.c:360:35: warning: comparison of constant 'IMAPOPT_LAST' (162) with expression of type 'enum opttype' is always true [-Wtautological-constant-out-of-range-compare] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~~~ ^ ~~~~~~~~~~~~ libconfig.c:372:35: warning: comparison of constant 'IMAPOPT_LAST' (162) with expression of type 'enum opttype' is always true [-Wtautological-constant-out-of-range-compare] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~~~ ^ ~~~~~~~~~~~~ libconfig.c:382:10: warning: comparison of constant 'IMAPOPT_LAST' (162) with expression of type 'enum opttype' is always true [-Wtautological-constant-out-of-range-compare] if (opt < IMAPOPT_LAST) { ~~~ ^ ~~~~~~~~~~~~ libconfig.c:417:10: warning: comparison of constant 'IMAPOPT_CONFIGDIRECTORY' (18) with expression of type 'enum opttype' is always false [-Wtautological-constant-out-of-range-compare] if(opt == IMAPOPT_CONFIGDIRECTORY) ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC imapopts.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC hash.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC mpool.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC xstrlcpy.c xstrlcpy.c:59:16: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] return strlen(src); ^ xstrlcpy.c:59:16: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC xstrlcat.c xstrlcat.c:51:9: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] o = strlen(dst); ^ xstrlcat.c:51:9: note: include the header or explicitly provide a declaration for 'strlen' 1 warning generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC xmalloc.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC strhash.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC assert.c rm -f libcyrus_min.a ar cr libcyrus_min.a libconfig.o imapopts.o hash.o mpool.o xstrlcpy.o xstrlcat.o xmalloc.o strhash.o assert.o ranlib libcyrus_min.a clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC acl.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC bsearch.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC charset.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC glob.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC retry.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC util.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC libcyr_cfg.c libcyr_cfg.c:145:104: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] syslog(LOG_ERR, "libcyrus_config_getint: option %d: %lld too large for type", cyrus_options[opt].opt, cyrus_options[opt].val.i); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %ld libcyr_cfg.c:158:107: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] syslog(LOG_ERR, "libcyrus_config_getswitch: option %d: %lld too large for type", cyrus_options[opt].opt, cyrus_options[opt].val.b); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %ld 2 warnings generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC mkgmtime.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC prot.c prot.c:581:18: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] output_buf, output_len); ^~~~~~~~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h:1290:39: note: passing argument to parameter 'outputlen' here const char **output, unsigned *outputlen); ^ prot.c:594:14: warning: assigning to 'const char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] *output_buf = ptr; ^ ~~~ prot.c:626:17: warning: initializing 'const char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign] const char *ptr = s->buf; /* Memory buffer info */ ^ ~~~~~~ 3 warnings generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC parseaddr.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC imclient.c imclient.c:1960:12: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] cipher = SSL_get_current_cipher(imclient->tls_conn); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC imparse.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC lsort.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC stristr.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC rfc822date.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC cyrusdb.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC mkchartable.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o mkchartable mkchartable.o xstrlcpy.o xstrlcat.o xmalloc.o assert.o ### Building chartables... rm -f chartable.c ./mkchartable -m ./charset/unifix.txt -m ./charset/unidata2.txt ./charset/*.t > chartable.c || (rm -f chartable.c && exit 1) mkchartable: expanding unicode mappings... mkchartable: expanding unicode mappings... mkchartable: expanding unicode mappings... mkchartable: building expansion table... mkchartable: mapping unicode... mkchartable: mapping UTF-8... mkchartable: mapping UTF-7... mkchartable: mapping ./charset/big5.t... mkchartable: mapping ./charset/gb2312.t... mkchartable: mapping ./charset/iso-2022-jp.t... mkchartable: mapping ./charset/iso-2022-kr.t... mkchartable: mapping ./charset/iso-8859-1.t... mkchartable: mapping ./charset/iso-8859-15.t... mkchartable: mapping ./charset/iso-8859-2.t... mkchartable: mapping ./charset/iso-8859-3.t... mkchartable: mapping ./charset/iso-8859-4.t... mkchartable: mapping ./charset/iso-8859-5.t... mkchartable: mapping ./charset/iso-8859-6.t... mkchartable: mapping ./charset/iso-8859-7.t... mkchartable: mapping ./charset/iso-8859-8.t... mkchartable: mapping ./charset/iso-8859-9.t... mkchartable: mapping ./charset/koi8-r.t... mkchartable: mapping ./charset/us-ascii.t... mkchartable: mapping ./charset/windows-1252.t... mkchartable: mapping ./charset/windows-1256.t... ### Done building chartables. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC chartable.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC imapurl.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC nonblock_fcntl.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC lock_fcntl.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC gmtoff_tm.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC map_shared.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC acl_afs.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC auth.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC auth_krb.c auth_krb.c:348:2: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal("Authentication mechanism (krb) not compiled in", EC_CONFIG); ^ auth_krb.c:349:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ auth_krb.c:356:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ auth_krb.c:362:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC auth_unix.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC auth_krb5.c auth_krb5.c:206:2: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal("Authentication mechanism (krb5) not compiled in", EC_CONFIG); ^ auth_krb5.c:207:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ auth_krb5.c:214:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ auth_krb5.c:220:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 4 warnings generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC auth_pts.c auth_pts.c:109:16: warning: format specifies type 'unsigned int' but the argument has type 'fd_set *' (aka 'struct fd_set *') [-Wformat] sock, rp, wp, sec); ^~ auth_pts.c:109:20: warning: format specifies type 'unsigned int' but the argument has type 'fd_set *' (aka 'struct fd_set *') [-Wformat] sock, rp, wp, sec); ^~ 2 warnings generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC cyrusdb_flat.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC cyrusdb_skiplist.c cyrusdb_skiplist.c:1743:19: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] printf("%04X: ", ptr - db->map_base); ~~~~ ^~~~~~~~~~~~~~~~~~ %04lX cyrusdb_skiplist.c:1818:4: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] ptr - db->map_base, ^~~~~~~~~~~~~~~~~~ cyrusdb_skiplist.c:1833:8: warning: format specifies type 'unsigned int' but the argument has type 'long' [-Wformat] ptr - db->map_base, ^~~~~~~~~~~~~~~~~~ 3 warnings generated. clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC cyrusdb_quotalegacy.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC cyrusdb_berkeley.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC iptostring.c clang -c -I.. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC wildmat.c rm -f libcyrus.a ar cr libcyrus.a acl.o bsearch.o charset.o glob.o retry.o util.o libcyr_cfg.o mkgmtime.o prot.o parseaddr.o imclient.o imparse.o lsort.o stristr.o rfc822date.o cyrusdb.o strhash.o chartable.o imapurl.o nonblock_fcntl.o lock_fcntl.o gmtoff_tm.o map_shared.o acl_afs.o auth.o auth_krb.o auth_unix.o auth_krb5.o auth_pts.o cyrusdb_flat.o cyrusdb_skiplist.o cyrusdb_quotalegacy.o cyrusdb_berkeley.o iptostring.o xstrlcpy.o xstrlcat.o xmalloc.o wildmat.o ranlib libcyrus.a ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/sieve clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC sieve_err.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC sieve.c sieve.y:1012:26: warning: initializing 'const unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] const unsigned char *buf = s; ^ ~ sieve.y:1013:26: warning: initializing 'const unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] const unsigned char *endbuf = s + strlen(s); ^ ~~~~~~~~~~~~~ 2 warnings generated. clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC sieve-lex.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC comparator.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC interp.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC message.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC bc_generate.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC bc_dump.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC bc_emit.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC bc_eval.c bc_eval.c:844:36: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] result=eval_bc_test(i, m, bc, &ip); ^~~ bc_eval.c:307:33: note: passing argument to parameter 'ip' here bytecode_input_t * bc, int * ip) ^ bc_eval.c:949:31: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] options=bc_makeArray(bc, &ip); ^~~ bc_eval.c:80:55: note: passing argument to parameter 'pos' here const char ** bc_makeArray(bytecode_input_t *bc, int *pos) ^ 2 warnings generated. clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC script.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC tree.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC addr.c clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC addr-lex.c rm -f libsieve.a ar cr libsieve.a sieve_err.o sieve.o sieve-lex.o comparator.o interp.o message.o bc_generate.o bc_dump.o bc_emit.o bc_eval.o script.o tree.o addr.o addr-lex.o ranlib libsieve.a clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC sievec.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o sievec sievec.o libsieve.a ../lib/libcyrus.a ../lib/libcyrus_min.a libsieve.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC sieved.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o sieved sieved.o libsieve.a ../lib/libcyrus.a ../lib/libcyrus_min.a libsieve.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/master clang -c -I.. -I./../lib -I./../imap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 master.c master.c:866:11: warning: enumeration value 'SERVICE_STATE_INIT' not handled in switch [-Wswitch] switch (c->service_state) { ^ master.c:1133:10: warning: enumeration values 'SERVICE_STATE_INIT' and 'SERVICE_STATE_DEAD' not handled in switch [-Wswitch] switch (c->service_state) { ^ master.c:1162:10: warning: enumeration values 'SERVICE_STATE_INIT' and 'SERVICE_STATE_DEAD' not handled in switch [-Wswitch] switch (c->service_state) { ^ master.c:1189:10: warning: enumeration values 'SERVICE_STATE_INIT' and 'SERVICE_STATE_DEAD' not handled in switch [-Wswitch] switch (c->service_state) { ^ master.c:1219:10: warning: enumeration values 'SERVICE_STATE_INIT' and 'SERVICE_STATE_DEAD' not handled in switch [-Wswitch] switch (c->service_state) { ^ 5 warnings generated. clang -c -I.. -I./../lib -I./../imap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 masterconf.c In file included from masterconf.c:55: ./../lib/libconfig.c:103:32: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] imapopts[opt].optname, imapopts[opt].val.i); ^~~~~~~~~~~~~~~~~~~ ./../lib/libconfig.c:117:32: warning: format specifies type 'long long' but the argument has type 'long' [-Wformat] imapopts[opt].optname, imapopts[opt].val.b); ^~~~~~~~~~~~~~~~~~~ ./../lib/libconfig.c:168:24: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] enum opttype opt = IMAPOPT_ZERO; ~~~ ^~~~~~~~~~~~ ./../lib/libconfig.c:196:15: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] for(opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~ ^~~~~~~~~~~~ ./../lib/libconfig.c:196:33: warning: comparison of constant 'IMAPOPT_LAST' (162) with expression of type 'enum opttype' is always true [-Wtautological-constant-out-of-range-compare] for(opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~~~ ^ ~~~~~~~~~~~~ ./../lib/libconfig.c:199:9: warning: comparison of constant 'IMAPOPT_CONFIGDIRECTORY' (18) with expression of type 'enum opttype' is always false [-Wtautological-constant-out-of-range-compare] opt == IMAPOPT_CONFIGDIRECTORY) { ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ ./../lib/libconfig.c:267:24: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] enum opttype opt = IMAPOPT_ZERO; ~~~ ^~~~~~~~~~~~ ./../lib/libconfig.c:360:17: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~ ^~~~~~~~~~~~ ./../lib/libconfig.c:372:17: warning: implicit conversion from enumeration type 'enum imapopt' to different enumeration type 'enum opttype' [-Wenum-conversion] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~ ^~~~~~~~~~~~ ./../lib/libconfig.c:360:35: warning: comparison of constant 'IMAPOPT_LAST' (162) with expression of type 'enum opttype' is always true [-Wtautological-constant-out-of-range-compare] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~~~ ^ ~~~~~~~~~~~~ ./../lib/libconfig.c:372:35: warning: comparison of constant 'IMAPOPT_LAST' (162) with expression of type 'enum opttype' is always true [-Wtautological-constant-out-of-range-compare] for (opt = IMAPOPT_ZERO; opt < IMAPOPT_LAST; opt++) { ~~~ ^ ~~~~~~~~~~~~ ./../lib/libconfig.c:382:10: warning: comparison of constant 'IMAPOPT_LAST' (162) with expression of type 'enum opttype' is always true [-Wtautological-constant-out-of-range-compare] if (opt < IMAPOPT_LAST) { ~~~ ^ ~~~~~~~~~~~~ ./../lib/libconfig.c:417:10: warning: comparison of constant 'IMAPOPT_CONFIGDIRECTORY' (18) with expression of type 'enum opttype' is always false [-Wtautological-constant-out-of-range-compare] if(opt == IMAPOPT_CONFIGDIRECTORY) ~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~ 13 warnings generated. clang -c -I.. -I./../lib -I./../imap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 cyrusMasterMIB.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o master master.o masterconf.o cyrusMasterMIB.o ../lib/lock_fcntl.o ../lib/libcyrus_min.a -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I./../imap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 service.c service.c:378:25: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] (char *) &soctype, &typelen) < 0) { ^~~~~~~~ /usr/include/sys/socket.h:654:71: note: passing argument to parameter here int getsockopt(int, int, int, void *__restrict, socklen_t * __restrict); ^ 1 warning generated. clang -c -I.. -I./../lib -I./../imap -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I../et -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 service-thread.c ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/imap rm -f version.o AWK=/usr/bin/awk ./xversion.sh clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 pushstats.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 backend.c backend.c:420:9: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] if (!s->sock == -1) return -1; /* Disconnected Socket */ ^ ~~ backend.c:420:9: note: add parentheses after the '!' to evaluate the comparison first if (!s->sock == -1) return -1; /* Disconnected Socket */ ^ ( ) backend.c:420:9: note: add parentheses around left hand side expression to silence this warning if (!s->sock == -1) return -1; /* Disconnected Socket */ ^ ( ) backend.c:420:18: warning: comparison of constant -1 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] if (!s->sock == -1) return -1; /* Disconnected Socket */ ~~~~~~~~ ^ ~~ 2 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 imapd.c imapd.c:376:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &mysasl_config, NULL }, ^~~~~~~~~~~~~~ imapd.c:377:29: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)') [-Wincompatible-function-pointer-types] { SASL_CB_PROXY_POLICY, &imapd_proxy_policy, (void*) &imapd_proxyctx }, ^~~~~~~~~~~~~~~~~~~ imapd.c:378:27: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)') [-Wincompatible-function-pointer-types] { SASL_CB_CANON_USER, &imapd_canon_user, NULL }, ^~~~~~~~~~~~~~~~~ imapd.c:1853:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ imapd.c:1853:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", imapd.c:1999:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ imapd.c:1999:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", imapd.c:2288:15: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] NULL, &mechcount) == SASL_OK && mechcount > 0) { ^~~~~~~~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h:1071:15: note: passing argument to parameter 'pcount' here int *pcount); ^ imapd.c:3972:43: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] sprintf(olduser+strlen(olduser), "@%.*s", ~~^~ imapd.c:3984:43: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] sprintf(newuser+strlen(newuser), "@%.*s", ~~^~ imapd.c:6095:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(mailbox), mailbox); ^~~~~~~~~~~~~~~ imapd.c:6146:16: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tagbuf, strlen(mailbox), mailbox, ^~~~~~~~~~~~~~~ imapd.c:6147:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(user.s), user.s); ^~~~~~~~~~~~~~ imapd.c:6225:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(acl), acl, ^~~~~~~~~~~ imapd.c:6226:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(rights), rights); ^~~~~~~~~~~~~~ imapd.c:6341:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), name, topart); ^~~~~~~~~~~~ imapd.c:6344:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), name); ^~~~~~~~~~~~ imapd.c:6378:50: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] prot_printf(be->out, "D01 UNDUMP {%d+}\r\n%s ", strlen(name), name); ~~ ^~~~~~~~~~~~ %lu imapd.c:6425:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), name); ^~~~~~~~~~~~ imapd.c:6465:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), name); ^~~~~~~~~~~~ imapd.c:6662:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name)+1, name, quota.limit); ^~~~~~~~~~~~~~ imapd.c:7206:39: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] prot_printf(imapd_out, "{%u}\r\n%s", strlen(s), s); ~~ ^~~~~~~~~ %lu imapd.c:7236:39: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] prot_printf(imapd_out, "{%u}\r\n%s", strlen(s), s); ~~ ^~~~~~~~~ %lu 21 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 index.c index.c:1771:21: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &decbuf, 0, &size); ^~~~~ ./../lib/charset.h:77:15: note: passing argument to parameter 'outlen' here int *outlen); ^ index.c:1911:34: warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int] prot_write(imapd_out, "\r\n" + crlf_start, crlf_size); ~~~~~~~^~~~~~~~~~~~ index.c:1911:34: note: use array indexing to silence this warning prot_write(imapd_out, "\r\n" + crlf_start, crlf_size); ^ & [ ] index.c:2110:31: warning: adding 'unsigned int' to a string does not append to the string [-Wstring-plus-int] prot_write(imapd_out, "\r\n" + crlf_start, crlf_size); ~~~~~~~^~~~~~~~~~~~ index.c:2110:31: note: use array indexing to silence this warning prot_write(imapd_out, "\r\n" + crlf_start, crlf_size); ^ & [ ] 3 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 tls.c tls.c:422:30: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = DB->store(sessdb, sess->session_id, ^~~~~~~~~~~~~~~~ tls.c:424:8: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] data, len + sizeof(time_t), NULL); ^~~~ tls.c:457:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = DB->delete(sessdb, id, idlen, NULL, 1); ^~ tls.c:509:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = DB->fetch(sessdb, id, idlen, &data, &len, NULL); ^~ tls.c:526:35: warning: passing 'unsigned char **' to parameter of type 'const unsigned char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] sess = d2i_SSL_SESSION(NULL, &asn, len - sizeof(time_t)); ^~~~ /usr/include/openssl/ssl.h:2249:69: note: passing argument to parameter 'pp' here SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const unsigned char **pp, ^ tls.c:863:16: warning: address of array 'peer_CN' will always evaluate to 'true' [-Wpointer-bool-conversion] *authid = peer_CN ? xstrdup(peer_CN) : NULL; ^~~~~~~ ~ tls.c:868:12: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] cipher = SSL_get_current_cipher(tls_conn); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tls.c:1208:16: warning: address of array 'peer_CN' will always evaluate to 'true' [-Wpointer-bool-conversion] *authid = peer_CN ? xstrdup(peer_CN) : NULL; ^~~~~~~ ~ tls.c:1213:12: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] cipher = SSL_get_current_cipher(tls_conn); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 9 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 version.c version.c:79:46: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(id_resp_command, MAXIDVALUELEN, *argv); ^~~~~ version.c:79:46: note: treat the string as an argument to avoid this snprintf(id_resp_command, MAXIDVALUELEN, *argv); ^ "%s", 1 warning generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mutex_fake.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 append.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mailbox.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mboxlist.c mboxlist.c:511:8: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] "@%.*s", mbox - name - 1, name); ~~^~ ~~~~~~~~~~~~~~~ mboxlist.c:1493:8: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] "%.*s", cp - identifier, identifier); ~~^~ ~~~~~~~~~~~~~~~ mboxlist.c:1936:11: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] "%.*s", p - pattern, pattern); ~~^~ ~~~~~~~~~~~ 3 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mupdate-client.c mupdate-client.c:334:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] handle->tagn++, strlen(mailbox), mailbox, ^~~~~~~~~~~~~~~ mupdate-client.c:335:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(server), server, strlen(acl), acl); ^~~~~~~~~~~~~~ mupdate-client.c:335:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(server), server, strlen(acl), acl); ^~~~~~~~~~~ mupdate-client.c:359:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] handle->tagn++, strlen(mailbox), mailbox, ^~~~~~~~~~~~~~~ mupdate-client.c:360:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(server), server); ^~~~~~~~~~~~~~ mupdate-client.c:384:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] handle->tagn++, strlen(mailbox), mailbox, ^~~~~~~~~~~~~~~ mupdate-client.c:385:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(server), server); ^~~~~~~~~~~~~~ mupdate-client.c:409:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(mailbox), mailbox); ^~~~~~~~~~~~~~~ mupdate-client.c:478:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(mailbox), mailbox); ^~~~~~~~~~~~~~~ mupdate-client.c:511:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(prefix), prefix); ^~~~~~~~~~~~~~ mupdate-client.c:619:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] for (p = &(handle->cmd.s[1]); *p; p++) { ^ ~~~~~~~~~~~~~~~~~~~ 11 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mboxname.c mboxname.c:379:8: warning: field precision should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] "@%.*s", domainlen, domain); ~~^~ ~~~~~~~~~ mboxname.c:441:21: warning: field precision should have type 'int', but argument has type 'unsigned long' [-Wformat] sprintf(result, "%.*s", ~~^~ 2 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 message.c message.c:2066:41: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] snprintf(buf, sizeof(buf), "{%u}\r\n", strlen(s)); ~~ ^~~~~~~~~ %lu message.c:2133:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] message_write_bit32(ibuf, (-1<<16)|ENCODING_NONE); ~~^ message.c:2163:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] message_write_bit32(ibuf, (-1<<16)|ENCODING_NONE); ~~^ message.c:2170:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] message_write_bit32(ibuf, (-1<<16)|ENCODING_NONE); ~~^ message.c:2189:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] message_write_bit32(ibuf, (-1<<16)|ENCODING_NONE); ~~^ message.c:2198:32: warning: shifting a negative signed value is undefined [-Wshift-negative-value] message_write_bit32(ibuf, (-1<<16)|ENCODING_NONE); ~~^ message.c:2267:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value] message_write_bit32(ibuf, (-1<<16)|ENCODING_NONE); ~~^ message.c:2274:31: warning: shifting a negative signed value is undefined [-Wshift-negative-value] message_write_bit32(ibuf, (-1<<16)|encoding); ~~^ 8 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 global.c global.c:473:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ global.c:473:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 1 warning generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 imap_err.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mupdate_err.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 proc.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 setproctitle.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 convert_code.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 duplicate.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 saslclient.c saslclient.c:123:14: warning: incompatible function pointer types assigning to 'int (*)(void)' from 'int (*)(void *, int, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] ret[n].proc = &mysasl_simple_cb; ^ ~~~~~~~~~~~~~~~~~ saslclient.c:131:14: warning: incompatible function pointer types assigning to 'int (*)(void)' from 'int (*)(void *, int, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] ret[n].proc = &mysasl_simple_cb; ^ ~~~~~~~~~~~~~~~~~ saslclient.c:139:14: warning: incompatible function pointer types assigning to 'int (*)(void)' from 'int (*)(void *, int, const char **, const char **)' [-Wincompatible-function-pointer-types] ret[n].proc = &mysasl_getrealm_cb; ^ ~~~~~~~~~~~~~~~~~~~ saslclient.c:154:9: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(secret->data,password); ^~~~~~~~~~~~ /usr/include/string.h:58:31: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ saslclient.c:159:14: warning: incompatible function pointer types assigning to 'int (*)(void)' from 'int (*)(sasl_conn_t *, void *, int, sasl_secret_t **)' (aka 'int (*)(struct sasl_conn *, void *, int, struct sasl_secret **)') [-Wincompatible-function-pointer-types] ret[n].proc = &mysasl_getsecret_cb; ^ ~~~~~~~~~~~~~~~~~~~~ saslclient.c:250:34: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] prot_printf(pout, "{%d+}\r\n", strlen(base64)); ~~ ^~~~~~~~~~~~~~ %lu 6 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 saslserver.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 signals.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 annotate.c annotate.c:562:39: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(buf, sizeof(buf), "%u", attrib->size); ~~ ^~~~~~~~~~~~ %zu annotate.c:588:39: warning: format specifies type 'unsigned int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] snprintf(buf, sizeof(buf), "%u", attrib->size); ~~ ^~~~~~~~~~~~ %zu 2 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 search_engines.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 squat.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 squat_internal.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mbdump.c mbdump.c:138:3: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] attrib->size, (!ctx->tag ? "+" : ""), ^~~~~~~~~~~~ mbdump.c:140:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(attrib->contenttype), (!ctx->tag ? "+" : ""), ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbdump.c:275:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name)); ^~~~~~~~~~~~ mbdump.c:296:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), ^~~~~~~~~~~~ mbdump.c:331:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(data_files[i])); ^~~~~~~~~~~~~~~~~~~~~ mbdump.c:351:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(data_files[i]), ^~~~~~~~~~~~~~~~~~~~~ mbdump.c:478:6: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(ext_fname), ^~~~~~~~~~~~~~~~~ 7 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 imapparse.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 telemetry.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 user.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 notify.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 protocol.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 quota_db.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 seen_db.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 idle_poll.c rm -f libimap.a ar cr libimap.a append.o mailbox.o mboxlist.o mupdate-client.o mboxname.o message.o global.o imap_err.o mupdate_err.o proc.o setproctitle.o convert_code.o duplicate.o saslclient.o saslserver.o signals.o annotate.o search_engines.o squat.o squat_internal.o mbdump.o imapparse.o telemetry.o user.o notify.o protocol.o quota_db.o seen_db.o idle_poll.o ranlib libimap.a clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o imapd ../master/service.o pushstats.o backend.o imapd.o index.o tls.o version.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 lmtpd.c lmtpd.c:137:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &mysasl_config, NULL }, ^~~~~~~~~~~~~~ lmtpd.c:138:29: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)') [-Wincompatible-function-pointer-types] { SASL_CB_PROXY_POLICY, &mysasl_proxy_policy, NULL }, ^~~~~~~~~~~~~~~~~~~~ lmtpd.c:139:27: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)') [-Wincompatible-function-pointer-types] { SASL_CB_CANON_USER, &mysasl_canon_user, NULL }, ^~~~~~~~~~~~~~~~~~ lmtpd.c:197:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ lmtpd.c:197:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 4 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 lmtpstats.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 lmtpengine.c lmtpengine.c:698:16: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] fprintf(f, "%.*s\r\n\t", fold[i] - p, p); ~~^~ ~~~~~~~~~~~ lmtpengine.c:930:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &localauth_mechlist_override, NULL }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ lmtpengine.c:1333:11: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] NULL, &mechcount) == SASL_OK && ^~~~~~~~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h:1071:15: note: passing argument to parameter 'pcount' here int *pcount); ^ lmtpengine.c:1556:10: warning: assigning to 'int *' from 'sasl_ssf_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] layerp = &ssf; ^ ~~~~ 4 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 spool.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 lmtp_sieve.c lmtp_sieve.c:505:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] t = duplicate_check(arc->hash, arc->len, ^~~~~~~~~ ./duplicate.h:53:30: note: passing argument to parameter 'id' here time_t duplicate_check(char *id, int idlen, const char *to, int tolen); ^ 1 warning generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 smtpclient.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o lmtpd ../master/service.o lmtpd.o lmtpstats.o lmtpengine.o spool.o tls.o lmtp_sieve.o smtpclient.o mutex_fake.o libimap.a ../sieve/libsieve.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 pop3d.c pop3d.c:192:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &mysasl_config, NULL }, ^~~~~~~~~~~~~~ pop3d.c:193:29: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)') [-Wincompatible-function-pointer-types] { SASL_CB_PROXY_POLICY, &mysasl_proxy_policy, (void*) &popd_proxyctx }, ^~~~~~~~~~~~~~~~~~~~ pop3d.c:194:27: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)') [-Wincompatible-function-pointer-types] { SASL_CB_CANON_USER, &mysasl_canon_user, NULL }, ^~~~~~~~~~~~~~~~~~ pop3d.c:308:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ pop3d.c:308:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", pop3d.c:1191:15: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] NULL, &mechcount) == SASL_OK && mechcount > 0) { ^~~~~~~~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h:1071:15: note: passing argument to parameter 'pcount' here int *pcount); ^ pop3d.c:1248:12: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] NULL, &mechnum) == SASL_OK) { ^~~~~~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h:1071:15: note: passing argument to parameter 'pcount' here int *pcount); ^ 6 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o pop3d pop3d.o backend.o tls.o ../master/service.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 fud.c fud.c:105:9: warning: 'MAXLOGNAME' macro redefined [-Wmacro-redefined] #define MAXLOGNAME 16 /* should find out for real */ ^ /usr/include/sys/param.h:120:9: note: previous definition is here #define MAXLOGNAME (LOGIN_NAME_MAX - 1) /* max login name length */ ^ fud.c:198:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ fud.c:198:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 2 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o fud ../master/service.o fud.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 smmapd.c smmapd.c:175:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ smmapd.c:175:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", smmapd.c:336:42: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] sprintf(buf,"%d:cyrus %s,%c",strlen(key)+6,key,4); ~~ ^~~~~~~~~~~~~ %lu smmapd.c:340:67: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] rc = recvfrom(soc,buf,512,0,(struct sockaddr *)&sfrom,&x); ^~ /usr/include/sys/socket.h:660:58: note: passing argument to parameter here struct sockaddr * __restrict, socklen_t * __restrict); ^ smmapd.c:425:40: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] prot_printf(map_out, "%d:OK %s,", 3+strlen(key), key); ~~ ^~~~~~~~~~~~~ %lu smmapd.c:430:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 9+strlen(error_message(r)), error_message(r)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ smmapd.c:435:39: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] prot_printf(map_out, "%d:TEMP %s,", strlen(error_message(r))+5, ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ %lu smmapd.c:444:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 5+strlen(error_message(r))+3+strlen(errstring), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smmapd.c:448:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 5+strlen(error_message(r)), error_message(r)); ^~~~~~~~~~~~~~~~~~~~~~~~~~ 8 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o smmapd ../master/service.o smmapd.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 reconstruct.c reconstruct.c:179:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ reconstruct.c:179:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 1 warning generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 cli_fatal.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o reconstruct reconstruct.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 quota.c quota.c:166:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ quota.c:166:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", quota.c:226:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, buf); ^~~ quota.c:226:21: note: treat the string as an argument to avoid this syslog(LOG_ERR, buf); ^ "%s", 2 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o quota quota.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mbpath.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o mbpath mbpath.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 ipurge.c ipurge.c:175:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ ipurge.c:175:23: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 1 warning generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o ipurge ipurge.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 cyrdump.c cyrdump.c:129:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ cyrdump.c:129:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 1 warning generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o cyrdump cyrdump.o index.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 chk_cyrus.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o chk_cyrus chk_cyrus.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 cvt_cyrusdb.c cvt_cyrusdb.c:113:6: warning: address of array 'cyrusdb_backends' will always evaluate to 'true' [-Wpointer-bool-conversion] if(!cyrusdb_backends || !cyrusdb_backends[0]) ~^~~~~~~~~~~~~~~~ 1 warning generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o cvt_cyrusdb cvt_cyrusdb.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 deliver.c deliver.c:378:33: warning: field precision should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] sprintf(txn->rcpt[j].addr, "%.*s+%s", ulen, users[j], mailbox); ~~^~ ~~~~ 1 warning generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o deliver deliver.o backend.o lmtpstats.o lmtpengine.o spool.o tls.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 ctl_mboxlist.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o ctl_mboxlist ctl_mboxlist.o mupdate-client.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 ctl_deliver.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o ctl_deliver ctl_deliver.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 ctl_cyrusdb.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o ctl_cyrusdb ctl_cyrusdb.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 squatter.c clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 squat_build.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o squatter squatter.o index.o squat_build.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mbexamine.c mbexamine.c:153:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ mbexamine.c:153:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", mbexamine.c:280:11: warning: passing 'unsigned long *' to parameter of type 'const time_t *' (aka 'const long *') converts between pointers to integer types with different sign [-Wpointer-sign] ctime(&mailbox.pop3_last_login)); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/time.h:93:27: note: passing argument to parameter here char *ctime(const time_t *) __RENAME(__ctime50); ^ 2 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o mbexamine mbexamine.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 cyr_expire.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o cyr_expire cyr_expire.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 arbitron.c arbitron.c:200:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ arbitron.c:200:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 1 warning generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o arbitron arbitron.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 tls_prune.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o tls_prune tls_prune.o tls.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 nntpd.c nntpd.c:258:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &mysasl_config, NULL }, ^~~~~~~~~~~~~~ nntpd.c:259:29: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)') [-Wincompatible-function-pointer-types] { SASL_CB_PROXY_POLICY, &mysasl_proxy_policy, (void*) &nntp_proxyctx }, ^~~~~~~~~~~~~~~~~~~~ nntpd.c:260:27: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)') [-Wincompatible-function-pointer-types] { SASL_CB_CANON_USER, &mysasl_canon_user, NULL }, ^~~~~~~~~~~~~~~~~~ nntpd.c:1826:22: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &mechlist, NULL, &mechcount); ^~~~~~~~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h:1071:15: note: passing argument to parameter 'pcount' here int *pcount); ^ nntpd.c:2094:16: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] NULL, &mechnum) == SASL_OK) { ^~~~~~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h:1071:15: note: passing argument to parameter 'pcount' here int *pcount); ^ nntpd.c:2916:21: warning: field precision should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] sprintf(rcpt, "%s%.*s", newsprefix, n, p); ~~^~ ~ nntpd.c:3084:32: warning: field precision should have type 'int', but argument has type 'size_t' (aka 'unsigned long') [-Wformat] r += sprintf(r, "%s%s+%.*s", ~~^~ nntpd.c:3104:18: warning: field precision should have type 'int', but argument has type 'long' [-Wformat] fprintf(f, "%.*s\r\n\t", fold - r, r); ~~^~ ~~~~~~~~ 8 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 nntp_err.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o nntpd nntpd.o backend.o index.o spool.o smtpclient.o tls.o ../master/service.o mutex_fake.o nntp_err.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 fetchnews.c fetchnews.c:290:37: warning: format string is not a string literal (potentially insecure) [-Wformat-security] snprintf(sfile, sizeof(sfile), optarg); ^~~~~~ fetchnews.c:290:37: note: treat the string as an argument to avoid this snprintf(sfile, sizeof(sfile), optarg); ^ "%s", 1 warning generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o fetchnews fetchnews.o cli_fatal.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 proxyd.c proxyd.c:135:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static nosaslpasswdcheck = 0; ~~~~~~ ^ proxyd.c:285:1: warning: '/*' within block comment [-Wcomment] /* 's->last_result' assumes that tagged responses don't contain literals. ^ proxyd.c:1054:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &mysasl_config, NULL }, ^~~~~~~~~~~~~~ proxyd.c:1055:29: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)') [-Wincompatible-function-pointer-types] { SASL_CB_PROXY_POLICY, &proxyd_proxy_policy, (void*) &proxyd_proxyctx }, ^~~~~~~~~~~~~~~~~~~~ proxyd.c:1056:27: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)') [-Wincompatible-function-pointer-types] { SASL_CB_CANON_USER, &proxyd_canon_user, (void*) &disable_referrals }, ^~~~~~~~~~~~~~~~~~ proxyd.c:2233:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ proxyd.c:2233:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", proxyd.c:2373:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ proxyd.c:2373:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", proxyd.c:2837:53: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] prot_printf(s->out, "%s Append {%d+}\r\n%s ", tag, strlen(name), name); ~~ ^~~~~~~~~~~~ %lu proxyd.c:2914:3: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), name); ^~~~~~~~~~~~ proxyd.c:3145:27: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, cmd, sequence, strlen(name), name); ^~~~~~~~~~~~ proxyd.c:3306:52: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] prot_printf(s->out, "%s Append {%d+}\r\n%s", tag, strlen(name), name); ~~ ^~~~~~~~~~~~ %lu proxyd.c:3552:12: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(name), name); ^~~~~~~~~~~~ proxyd.c:3593:12: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(name), name); ^~~~~~~~~~~~ proxyd.c:3695:13: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(oldname), oldname, ^~~~~~~~~~~~~~~ proxyd.c:3696:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(newserver), newserver, ^~~~~~~~~~~~~~~~~ proxyd.c:3697:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(destpart), destpart); ^~~~~~~~~~~~~~~~ proxyd.c:3703:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(oldname), oldname, ^~~~~~~~~~~~~~~ proxyd.c:3704:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(partition), partition); ^~~~~~~~~~~~~~~~~ proxyd.c:3721:12: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(oldname), oldname, ^~~~~~~~~~~~~~~ proxyd.c:3722:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(newname), newname); ^~~~~~~~~~~~~~~ proxyd.c:3758:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(pattern), pattern); ^~~~~~~~~~~~~~~ proxyd.c:3828:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(reference), reference, ^~~~~~~~~~~~~~~~~ proxyd.c:3829:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(pattern), pattern); ^~~~~~~~~~~~~~~ proxyd.c:3920:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(namespace), namespace, ^~~~~~~~~~~~~~~~~ proxyd.c:3921:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), name); ^~~~~~~~~~~~ proxyd.c:3925:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), name); ^~~~~~~~~~~~ proxyd.c:4158:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(name), name, ^~~~~~~~~~~~ proxyd.c:4159:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(identifier), identifier, ^~~~~~~~~~~~~~~~~~ proxyd.c:4160:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(rights), rights); ^~~~~~~~~~~~~~ proxyd.c:4164:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(name), name, ^~~~~~~~~~~~ proxyd.c:4165:4: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(identifier), identifier); ^~~~~~~~~~~~~~~~~~ proxyd.c:4266:9: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(name), name); ^~~~~~~~~~~~ proxyd.c:4493:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(name), name); ^~~~~~~~~~~~ proxyd.c:4633:40: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] prot_printf(proxyd_out, "{%u}\r\n%s", strlen(s), s); ~~ ^~~~~~~~~ %lu proxyd.c:4661:40: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] prot_printf(proxyd_out, "{%u}\r\n%s", strlen(s), s); ~~ ^~~~~~~~~ %lu 35 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o proxyd ../master/service.o backend.o pushstats.o proxyd.o tls.o version.o mutex_fake.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 lmtpproxyd.c lmtpproxyd.c:167:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &mysasl_config, NULL }, ^~~~~~~~~~~~~~ lmtpproxyd.c:168:29: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)') [-Wincompatible-function-pointer-types] { SASL_CB_PROXY_POLICY, &mysasl_proxy_policy, NULL }, ^~~~~~~~~~~~~~~~~~~~ lmtpproxyd.c:169:27: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)') [-Wincompatible-function-pointer-types] { SASL_CB_CANON_USER, &mysasl_canon_user, NULL }, ^~~~~~~~~~~~~~~~~~ lmtpproxyd.c:190:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ lmtpproxyd.c:190:18: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 4 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o lmtpproxyd ../master/service.o lmtpproxyd.o backend.o lmtpstats.o lmtpengine.o spool.o tls.o mutex_fake.o libimap.a ../sieve/libsieve.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mupdate.c mupdate.c:275:60: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getpeername(C->fd, (struct sockaddr *)&remoteaddr, &salen) == 0 && ^~~~~~ /usr/include/sys/socket.h:652:74: note: passing argument to parameter here int getpeername(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ mupdate.c:300:56: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] if (getsockname(C->fd, (struct sockaddr *)&localaddr, &salen) == 0 ^~~~~~ /usr/include/sys/socket.h:653:74: note: passing argument to parameter here int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ mupdate.c:491:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &mysasl_config, NULL }, ^~~~~~~~~~~~~~ mupdate.c:492:29: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)') [-Wincompatible-function-pointer-types] { SASL_CB_PROXY_POLICY, &mupdate_proxy_policy, NULL }, ^~~~~~~~~~~~~~~~~~~~~ mupdate.c:1004:18: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] &mechs, NULL, &mechcount); ^~~~~~~~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h:1071:15: note: passing argument to parameter 'pcount' here int *pcount); ^ mupdate.c:1618:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->mailbox), m->mailbox, ^~~~~~~~~~~~~~~~~~ mupdate.c:1619:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->server), m->server, ^~~~~~~~~~~~~~~~~ mupdate.c:1620:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->acl), m->acl); ^~~~~~~~~~~~~~ mupdate.c:1624:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->mailbox), m->mailbox, ^~~~~~~~~~~~~~~~~~ mupdate.c:1625:7: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->server), m->server); ^~~~~~~~~~~~~~~~~ mupdate.c:1629:12: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] tag, strlen(mailbox), mailbox); ^~~~~~~~~~~~~~~ mupdate.c:1673:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->mailbox), m->mailbox, ^~~~~~~~~~~~~~~~~~ mupdate.c:1674:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->server), m->server, ^~~~~~~~~~~~~~~~~ mupdate.c:1675:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->acl), m->acl); ^~~~~~~~~~~~~~ mupdate.c:1680:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->mailbox), m->mailbox, ^~~~~~~~~~~~~~~~~~ mupdate.c:1681:8: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] strlen(m->server), m->server); ^~~~~~~~~~~~~~~~~ 16 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mupdate-slave.c mupdate-slave.c:150:55: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] accept(kicksock, (struct sockaddr *)&clientaddr, &len); ^~~~ /usr/include/sys/socket.h:648:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ mupdate-slave.c:333:53: warning: passing 'int *' to parameter of type '__socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] accept(kicksock, (struct sockaddr *)&clientaddr, &len); ^~~~ /usr/include/sys/socket.h:648:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ 2 warnings generated. clang -c -I.. -I./../lib -I../et -I./../sieve -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -pthread mutex_pthread.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -pthread -o mupdate ../master/service-thread.o mupdate.o mupdate-slave.o mupdate-client.o mutex_pthread.o tls.o libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/imtest clang -c -I.. -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 imtest.c imtest.c:170:18: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] SASL_CB_GETOPT, &mysasl_config, NULL ^~~~~~~~~~~~~~ imtest.c:722:12: warning: assigning to 'SSL_CIPHER *' (aka 'struct ssl_cipher_st *') from 'const SSL_CIPHER *' (aka 'const struct ssl_cipher_st *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] cipher = SSL_get_current_cipher(tls_conn); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imtest.c:1766:29: warning: sizeof on pointer operation will return size of 'char *' instead of 'char [64]' [-Wsizeof-array-decay] snprintf(tag, sizeof(tag-1), "UN%d", i); ~~~^ imtest.c:1786:62: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] prot_printf(pout,"A003 APPEND %s (\\Seen) {%u}\r\n",mbox,size+strlen(HEADERS)); ~~ ^~~~~~~~~~~~~~~~~~~~ %lu 4 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o imtest imtest.o ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/perl ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/perl/imap Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Cyrus::IMAP Writing MYMETA.yml and MYMETA.json cp IMAP/Shell.pm blib/lib/Cyrus/IMAP/Shell.pm cp IMAP/IMSP.pm blib/lib/Cyrus/IMAP/IMSP.pm cp IMAP.pm blib/lib/Cyrus/IMAP.pm cp IMAP/Admin.pm blib/lib/Cyrus/IMAP/Admin.pm Running Mkbootstrap for IMAP () chmod 644 "IMAP.bs" "/usr/pkg/bin/perl5.26.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- IMAP.bs blib/arch/auto/Cyrus/IMAP/IMAP.bs 644 "/usr/pkg/bin/perl5.26.0" "/usr/pkg/lib/perl5/5.26.0/ExtUtils/xsubpp" -typemap '/usr/pkg/lib/perl5/5.26.0/ExtUtils/typemap' -typemap '/data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/perl/imap/typemap' IMAP.xs > IMAP.xsc mv IMAP.xsc IMAP.c clang -c -I../../lib -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/include -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DPERL_POLLUTE IMAP.c IMAP.xs:75:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] croak(s); ^ IMAP.xs:75:9: note: treat the string as an argument to avoid this croak(s); ^ "%s", IMAP.xs:139:22: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] sprintf(tmp,"%d",reply->msgno); ~~ ^~~~~~~~~~~~ %ld /usr/include/ssp/stdio.h:56:53: note: expanded from macro 'sprintf' __builtin___sprintf_chk(str, 0, __ssp_bos(str), __VA_ARGS__) ^~~~~~~~~~~ IMAP.xs:206:10: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(text->password->data, ptr, text->password->len); ^~~~~~~~~~~~~~~~~~~~ /usr/include/ssp/string.h:104:58: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^~~ /usr/include/ssp/string.h:52:33: note: expanded from macro '__ssp_bos_check3' __builtin___ ## fun ## _chk(dst, src, len, __ssp_bos0(dst)) : \ ^~~ IMAP.xs:206:10: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(text->password->data, ptr, text->password->len); ^~~~~~~~~~~~~~~~~~~~ /usr/include/ssp/string.h:104:58: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^~~ /usr/include/ssp/string.h:53:24: note: expanded from macro '__ssp_bos_check3' __ ## fun ## _ichk(dst, src, len)) ^~~ /usr/include/ssp/string.h:91:1: note: passing argument to parameter 'dst' here __ssp_bos_icheck3_restrict(strncpy, char *, const char *) ^ /usr/include/ssp/string.h:63:37: note: expanded from macro '__ssp_bos_icheck3_restrict' __ ## fun ## _ichk(type1 __restrict dst, type2 __restrict src, size_t len) { \ ^ IMAP.xs:214:19: warning: incompatible pointer types initializing 'int (*)(void)' with an expression of type 'int (void *, int, const char **, unsigned int *)' [-Wincompatible-pointer-types] { SASL_CB_USER, get_username, NULL }, ^~~~~~~~~~~~ IMAP.xs:215:23: warning: incompatible pointer types initializing 'int (*)(void)' with an expression of type 'int (void *, int, const char **, unsigned int *)' [-Wincompatible-pointer-types] { SASL_CB_AUTHNAME, get_username, NULL }, ^~~~~~~~~~~~ IMAP.xs:216:19: warning: incompatible pointer types initializing 'int (*)(void)' with an expression of type 'int (sasl_conn_t *, void *, int, sasl_secret_t **)' (aka 'int (struct sasl_conn *, void *, int, struct sasl_secret **)') [-Wincompatible-pointer-types] { SASL_CB_PASS, get_password, NULL }, ^~~~~~~~~~~~ IMAP.xs:408:14: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(client->password->data, password, client->password->len); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ssp/string.h:104:58: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^~~ /usr/include/ssp/string.h:52:33: note: expanded from macro '__ssp_bos_check3' __builtin___ ## fun ## _chk(dst, src, len, __ssp_bos0(dst)) : \ ^~~ IMAP.xs:408:14: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strncpy(client->password->data, password, client->password->len); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/ssp/string.h:104:58: note: expanded from macro 'strncpy' #define strncpy(dst, src, len) __ssp_bos_check3(strncpy, dst, src, len) ^~~ /usr/include/ssp/string.h:53:24: note: expanded from macro '__ssp_bos_check3' __ ## fun ## _ichk(dst, src, len)) ^~~ /usr/include/ssp/string.h:91:1: note: passing argument to parameter 'dst' here __ssp_bos_icheck3_restrict(strncpy, char *, const char *) ^ /usr/include/ssp/string.h:63:37: note: expanded from macro '__ssp_bos_icheck3_restrict' __ ## fun ## _ichk(type1 __restrict dst, type2 __restrict src, size_t len) { \ ^ 9 warnings generated. rm -f blib/arch/auto/Cyrus/IMAP/IMAP.so LD_RUN_PATH="/usr/pkg/lib:/usr/lib" clang -shared -L/usr/pkg/lib -fstack-protector-strong IMAP.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o blib/arch/auto/Cyrus/IMAP/IMAP.so ../../lib/libcyrus.a ../../lib/libcyrus_min.a -ldb4 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -L/usr/lib -L/usr/lib -Wl,-R/usr/lib -lssl -lcrypto chmod 755 blib/arch/auto/Cyrus/IMAP/IMAP.so rm -f cyradm cp cyradm.sh cyradm chmod a+x cyradm cp cyradm blib/script/cyradm "/usr/pkg/bin/perl5.26.0" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/cyradm Manifying 1 pod document Manifying 4 pod documents ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/perl/sieve ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/perl/sieve/lib clang -c -I. -I../../.. -I. -I./../../../lib -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -I../../../et -DHAVE_CONFIG_H -Dbool=char -DHAS_BOOL -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC isieve.c isieve.c:543:21: warning: incompatible function pointer types assigning to 'int (*)(void)' from 'int (*)(void *, int, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] callbacks[n].proc = &refer_simple_cb; ^ ~~~~~~~~~~~~~~~~ isieve.c:547:21: warning: incompatible function pointer types assigning to 'int (*)(void)' from 'int (*)(void *, int, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] callbacks[n].proc = &refer_simple_cb; ^ ~~~~~~~~~~~~~~~~ 2 warnings generated. clang -c -I. -I../../.. -I. -I./../../../lib -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -I../../../et -DHAVE_CONFIG_H -Dbool=char -DHAS_BOOL -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC lex.c clang -c -I. -I../../.. -I. -I./../../../lib -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -I../../../et -DHAVE_CONFIG_H -Dbool=char -DHAS_BOOL -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC mystring.c clang -c -I. -I../../.. -I. -I./../../../lib -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -I../../../et -DHAVE_CONFIG_H -Dbool=char -DHAS_BOOL -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DPIC -fPIC request.c rm -f libisieve.a ar cr libisieve.a isieve.o lex.o mystring.o request.o ranlib libisieve.a ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/perl/sieve/managesieve Checking if your kit is complete... Looks good Generating a Unix-style Makefile Writing Makefile for Cyrus::SIEVE::managesieve Writing MYMETA.yml and MYMETA.json cp managesieve.pm blib/lib/Cyrus/SIEVE/managesieve.pm Running Mkbootstrap for managesieve () chmod 644 "managesieve.bs" "/usr/pkg/bin/perl5.26.0" -MExtUtils::Command::MM -e 'cp_nonempty' -- managesieve.bs blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.bs 644 "/usr/pkg/bin/perl5.26.0" "/usr/pkg/lib/perl5/5.26.0/ExtUtils/xsubpp" -typemap '/usr/pkg/lib/perl5/5.26.0/ExtUtils/typemap' -typemap '/data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/perl/sieve/managesieve/typemap' managesieve.xs > managesieve.xsc mv managesieve.xsc managesieve.c clang -c -I../lib/ -I../../../lib/ -I/usr/pkg/include -I/usr/include -O2 -pthread -I/usr/include -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -DPIC -fPIC "-I/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE" -DPERL_POLLUTE managesieve.c managesieve.xs:129:17: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( (*psecret)->data ,tmp); ^~~~~~~~~~~~~~~~ /usr/include/ssp/string.h:102:51: note: expanded from macro 'strcpy' #define strcpy(dst, src) __ssp_bos_check2(strcpy, dst, src) ^~~ /usr/include/ssp/string.h:57:33: note: expanded from macro '__ssp_bos_check2' __builtin___ ## fun ## _chk(dst, src, __ssp_bos0(dst)) : \ ^~~ managesieve.xs:129:17: warning: passing 'unsigned char [1]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy( (*psecret)->data ,tmp); ^~~~~~~~~~~~~~~~ /usr/include/ssp/string.h:102:51: note: expanded from macro 'strcpy' #define strcpy(dst, src) __ssp_bos_check2(strcpy, dst, src) ^~~ /usr/include/ssp/string.h:58:24: note: expanded from macro '__ssp_bos_check2' __ ## fun ## _ichk(dst, src)) ^~~ /usr/include/ssp/string.h:89:1: note: passing argument to parameter 'dst' here __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ /usr/include/ssp/string.h:77:37: note: expanded from macro '__ssp_bos_icheck2_restrict' __ ## fun ## _ichk(type1 __restrict dst, type2 __restrict src) { \ ^ managesieve.xs:180:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(*result,tmp); ^~~~~~~ /usr/include/ssp/string.h:102:51: note: expanded from macro 'strcpy' #define strcpy(dst, src) __ssp_bos_check2(strcpy, dst, src) ^~~ /usr/include/ssp/string.h:57:33: note: expanded from macro '__ssp_bos_check2' __builtin___ ## fun ## _chk(dst, src, __ssp_bos0(dst)) : \ ^~~ managesieve.xs:180:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] strcpy(*result,tmp); ^~~~~~~ /usr/include/ssp/string.h:102:51: note: expanded from macro 'strcpy' #define strcpy(dst, src) __ssp_bos_check2(strcpy, dst, src) ^~~ /usr/include/ssp/string.h:58:24: note: expanded from macro '__ssp_bos_check2' __ ## fun ## _ichk(dst, src)) ^~~ /usr/include/ssp/string.h:89:1: note: passing argument to parameter 'dst' here __ssp_bos_icheck2_restrict(strcpy, char *, const char *) ^ /usr/include/ssp/string.h:77:37: note: expanded from macro '__ssp_bos_icheck2_restrict' __ ## fun ## _ichk(type1 __restrict dst, type2 __restrict src) { \ ^ managesieve.xs:181:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] if (len) *len = strlen(*result); ^~~~~~~ /usr/include/string.h:61:28: note: passing argument to parameter here size_t strlen(const char *); ^ managesieve.xs:198:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign] XPUSHs(sv_2mortal(newSVpv(name, 0))); ^~~~ /data/scratch/mail/cyrus-imapd/work/.buildlink/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE/embed.h:415:42: note: expanded from macro 'newSVpv' #define newSVpv(a,b) Perl_newSVpv(aTHX_ a,b) ^ /data/scratch/mail/cyrus-imapd/work/.buildlink/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE/embed.h:596:46: note: expanded from macro 'sv_2mortal' #define sv_2mortal(a) Perl_sv_2mortal(aTHX_ a) ^ /data/scratch/mail/cyrus-imapd/work/.buildlink/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE/pp.h:428:55: note: expanded from macro 'XPUSHs' #define XPUSHs(s) STMT_START { EXTEND(sp,1); *++sp = (s); } STMT_END ^ /data/scratch/mail/cyrus-imapd/work/.buildlink/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE/proto.h:2304:56: note: passing argument to parameter 's' here PERL_CALLCONV SV* Perl_newSVpv(pTHX_ const char *const s, const STRLEN len) ^ managesieve.xs:314:2: warning: implicit declaration of function 'ucase' is invalid in C99 [-Wimplicit-function-declaration] ucase(mtr); ^ 7 warnings generated. rm -f blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.so LD_RUN_PATH="/usr/pkg/lib:/usr/lib" clang -shared -L/usr/pkg/lib -fstack-protector-strong managesieve.o -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.so ../lib/isieve.o ../lib/lex.o ../lib/mystring.o ../lib/request.o ../../../lib/libcyrus.a ../../../lib/libcyrus_min.a -ldb4 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -L/usr/lib -L/usr/lib -Wl,-R/usr/lib -lssl -lcrypto chmod 755 blib/arch/auto/Cyrus/SIEVE/managesieve/managesieve.so Manifying 1 pod document ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/timsieved clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 actions.c actions.c:367:43: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] prot_printf(conn, "NO {%d}\r\n%s\r\n", strlen(errstr), errstr); ~~ ^~~~~~~~~~~~~~ %lu 1 warning generated. clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 lex.c clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 mystring.c clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 scripttest.c clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 timsieved.c timsieved.c:140:5: warning: implicit declaration of function 'tls_shutdown_serverengine' is invalid in C99 [-Wimplicit-function-declaration] tls_shutdown_serverengine(); ^ timsieved.c:195:23: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(void *, const char *, const char *, const char **, unsigned int *)' [-Wincompatible-function-pointer-types] { SASL_CB_GETOPT, &mysasl_config, NULL }, ^~~~~~~~~~~~~~ timsieved.c:196:29: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, const char *, unsigned int, const char *, unsigned int, struct propctx *)') [-Wincompatible-function-pointer-types] { SASL_CB_PROXY_POLICY, &mysasl_proxy_policy, (void*) &sieved_proxyctx }, ^~~~~~~~~~~~~~~~~~~~ timsieved.c:197:27: warning: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (*)(sasl_conn_t *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)' (aka 'int (*)(struct sasl_conn *, void *, const char *, unsigned int, unsigned int, const char *, char *, unsigned int, unsigned int *)') [-Wincompatible-function-pointer-types] { SASL_CB_CANON_USER, &mysasl_canon_user, (void*) &sieved_domainfromip }, ^~~~~~~~~~~~~~~~~~ 4 warnings generated. clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 parser.c parser.c:656:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ parser.c:656:20: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", parser.c:672:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] syslog(LOG_ERR, error_message(r)); ^~~~~~~~~~~~~~~~ parser.c:672:20: note: treat the string as an argument to avoid this syslog(LOG_ERR, error_message(r)); ^ "%s", 2 warnings generated. clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o timsieved ../master/service.o actions.o lex.o mystring.o scripttest.o timsieved.o parser.o ../imap/tls.o ../sieve/libsieve.a ../imap/mutex_fake.o ../imap/libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap ### Making all in /data/scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/notifyd clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 notifyd.c clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 notify_null.c clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 notify_log.c clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 notify_mailto.c clang -c -I.. -I./../sieve -I./../imap -I./../lib -I../et -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/include -I/usr/include -I/usr/pkg/include -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 notify_zephyr.c clang -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi/CORE -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/lib -o notifyd ../master/service.o notifyd.o notify_null.o notify_log.o notify_mailto.o notify_zephyr.o ../imap/mutex_fake.o ../imap/libimap.a ../lib/libcyrus.a ../lib/libcyrus_min.a -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lsasl2 -lresolv -lfl -ldb4 -lssl -lcrypto -lresolv -lfl -ldb4 -lssl -lcrypto ../et/libcom_err.a -lwrap => Creating /data/scratch/mail/cyrus-imapd/work/.rc.d/cyrus