=> Bootstrap dependency digest>=20010302: found digest-20121220
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.13p1nb8
### Making all in /scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/man
### Making all in /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
gcc -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
gcc -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
gcc -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'
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'
extern char *malloc(), *realloc();
                        ^
init_et.c:52:25: note: 'realloc' is a builtin with type 'void *(void *, unsigned long)'
2 warnings generated.
gcc -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 /scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/lib
./../tools/config2header CC=gcc ./imapopts.c ./imapopts.h < ./imapoptions
gcc -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: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 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 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:360:35: warning: comparison of constant 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: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:35: warning: comparison of constant 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 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 18 with expression of type 'enum opttype' is always false [-Wtautological-constant-out-of-range-compare]
                if(opt == IMAPOPT_CONFIGDIRECTORY)
                   ~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~
11 warnings generated.
gcc -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
gcc -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
gcc -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
gcc -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 *)'
        return strlen(src);
               ^
xstrlcpy.c:59:16: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
1 warning generated.
gcc -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 *)'
    o = strlen(dst);
        ^
xstrlcat.c:51:9: note: please include the header <string.h> or explicitly provide a declaration for 'strlen'
1 warning generated.
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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);
                                             ^~~~~~~~~~
/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.
gcc -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
gcc -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]
    cipher = SSL_get_current_cipher(imclient->tls_conn);
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -L/usr/lib -R/usr/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/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.
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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.
gcc -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
gcc -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.
gcc -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
gcc -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
gcc -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.
gcc -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
gcc -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
gcc -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
gcc -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 /scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/sieve
gcc -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
gcc -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.
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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.
gcc -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
gcc -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
gcc -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
gcc -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
gcc -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
gcc -L/usr/lib -R/usr/lib -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/lib -o sievec sievec.o libsieve.a ../lib/libcyrus.a ../lib/libcyrus_min.a libsieve.a -L/usr/pkg/lib  -R/usr/pkg/lib -lsasl2   -lresolv -lfl    -ldb4 -lssl -lcrypto ../et/libcom_err.a
../lib/libcyrus_min.a(libconfig.o): In function `__sigaddset14':
libconfig.c:(.text+0x0): multiple definition of `__sigaddset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x0): first defined here
../lib/libcyrus_min.a(libconfig.o): In function `__sigdelset14':
libconfig.c:(.text+0x40): multiple definition of `__sigdelset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x40): first defined here
../lib/libcyrus_min.a(libconfig.o): In function `__sigemptyset14':
libconfig.c:(.text+0xb0): multiple definition of `__sigemptyset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0xb0): first defined here
../lib/libcyrus_min.a(libconfig.o): In function `__sigfillset14':
libconfig.c:(.text+0xc0): multiple definition of `__sigfillset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0xc0): first defined here
../lib/libcyrus_min.a(libconfig.o): In function `__sigismember14':
libconfig.c:(.text+0x80): multiple definition of `__sigismember14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x80): first defined here
../lib/libcyrus_min.a(hash.o): In function `__sigaddset14':
hash.c:(.text+0x0): multiple definition of `__sigaddset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x0): first defined here
../lib/libcyrus_min.a(hash.o): In function `__sigdelset14':
hash.c:(.text+0x40): multiple definition of `__sigdelset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x40): first defined here
../lib/libcyrus_min.a(hash.o): In function `__sigemptyset14':
hash.c:(.text+0xb0): multiple definition of `__sigemptyset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0xb0): first defined here
../lib/libcyrus_min.a(hash.o): In function `__sigfillset14':
hash.c:(.text+0xc0): multiple definition of `__sigfillset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0xc0): first defined here
../lib/libcyrus_min.a(hash.o): In function `__sigismember14':
hash.c:(.text+0x80): multiple definition of `__sigismember14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x80): first defined here
../lib/libcyrus_min.a(mpool.o): In function `__sigaddset14':
mpool.c:(.text+0x0): multiple definition of `__sigaddset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x0): first defined here
../lib/libcyrus_min.a(mpool.o): In function `__sigdelset14':
mpool.c:(.text+0x40): multiple definition of `__sigdelset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x40): first defined here
../lib/libcyrus_min.a(mpool.o): In function `__sigemptyset14':
mpool.c:(.text+0xb0): multiple definition of `__sigemptyset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0xb0): first defined here
../lib/libcyrus_min.a(mpool.o): In function `__sigfillset14':
mpool.c:(.text+0xc0): multiple definition of `__sigfillset14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0xc0): first defined here
../lib/libcyrus_min.a(mpool.o): In function `__sigismember14':
mpool.c:(.text+0x80): multiple definition of `__sigismember14'
../lib/libcyrus.a(cyrusdb_quotalegacy.o):cyrusdb_quotalegacy.c:(.text+0x80): first defined here
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1/sieve
*** Error code 1

Stop.
make: stopped in /scratch/mail/cyrus-imapd/work/cyrus-imapd-2.2.13p1
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/mail/cyrus-imapd
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/mail/cyrus-imapd
