###
### Mon Jul 4 22:18:45 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for cyrus-imapd-2.2.12
### Current pkg count:  2 installed packages: cucipop-1.31nb1 digest-20050323
###
BULK> Full rebuild in progress...
BULK> Cleaning package cyrus-imapd-2.2.12 and pre-requisite packages
===> Cleaning for cyrus-imapd-2.2.12
===> Cleaning for db4-4.3.28
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for perl-5.8.6nb4
===> Cleaning for cyrus-sasl-2.1.20nb1
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for openssl-0.9.7f
===> Cleaning for tcp_wrappers-7.6.1nb4
BULK> Removing installed packages which are not needed to build cyrus-imapd-2.2.12
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r cucipop-1.31nb1
BULK> Installing packages which are required to build cyrus-imapd-2.2.12.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/db4-4.3.28.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libtool-base-1.5.18nb3.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/perl-5.8.6nb4.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.1 2004/01/08 19:18:00 jlam Exp $

perl-5.8.6nb4 will use the following directory as the default
location of the site-specific Perl modules:

	/usr/pkg/lib/perl5/site_perl/5.8.6

===========================================================================

BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/cyrus-sasl-2.1.20nb1.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.2 2005/03/08 18:22:39 bad Exp $

cyrus-sasl-2.1.20nb1 by default does *not* install any authentication plugin modules.
Until the necessary authentication plugin modules are installed, e.g.
security/cy2-crammd5 or security/cy2-gssapi, you will probably get errors
about "no appropriate mechs available".

cyrus-sasl-2.1.20nb1 will use the following directory as the default
path to its plugin modules:

	/usr/pkg/lib/sasl2

The search path for plugin modules can be customized by setting the
SASL_PATH variable to a colon-delimted list of directories in the shell
environment.

To allow plaintext authentication without using the sasldb mechanism, the
package security/cyrus-saslauthd should be installed.

===========================================================================

BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gmake-3.80nb4.tgz
===========================================================================
Installing files needed by libiconv-1.9.2nb1:

	/usr/pkg/lib/charset.alias
	    [/usr/pkg/share/examples/libiconv/charset.alias]

===========================================================================
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.2nb1 (converters/libiconv) is already installed
BULK> Required package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/openssl-0.9.7f.tgz
===========================================================================
Installing files needed by openssl-0.9.7f:

	/usr/pkg/etc/openssl/openssl.cnf
	    [/usr/pkg/share/examples/openssl/openssl.cnf]

===========================================================================
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/tcp_wrappers-7.6.1nb4.tgz
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (cyrus-imapd-2.2.12)
===> Checking for vulnerabilities in cyrus-imapd-2.2.12
=> cyrus-imapd-2.2.12.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch cyrus-imapd-2.2.12.tar.gz from ftp://netbsd.stevens-tech.edu/pub/NetBSD/packages/distfiles/.
=> [1961161 bytes]
=> Checksum SHA1 OK for cyrus-imapd-2.2.12.tar.gz.
=> Checksum RMD160 OK for cyrus-imapd-2.2.12.tar.gz.
work -> /pkgobj/mail/cyrus-imapd/work
===> Extracting for cyrus-imapd-2.2.12
==========================================================================
The supported build options for this package are:

	gssapi kerberos kerberos4

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.cyrus-imapd (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
cyrus-imapd-2.2.12.  Their current value is shown below:

        * BDBBASE (defined)
        * BDB_TYPE = db4
        * CYRUS_GROUP = mail
        * CYRUS_IDLE = poll
        * CYRUS_USER = cyrus
        * SSLBASE (defined)

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/pkg/bin/bmake clean' after
the changes.
==========================================================================
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.6nb4 found
===> Required installed package perl>=5.8.5nb6: perl-5.8.6nb4 found
===> Required installed package cyrus-sasl>=2.1.17nb3: cyrus-sasl-2.1.20nb1 found
===> Required installed package openssl>=0.9.7d: openssl-0.9.7f found
===> Required installed package tcp_wrappers>=7.6.1nb3: tcp_wrappers-7.6.1nb4 found
===> Required installed package db4>=4.2.52nb7: db4-4.3.28 found
===> Patching for cyrus-imapd-2.2.12
===> Applying pkgsrc patches for cyrus-imapd-2.2.12
cd /pkgobj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12/man;						 set --	deliver 8 fetchnews 8 idled 8 imapd 8 lmtpd 8 master 8	 nntpd 8	notifyd 8 pop3d 8 quota 8;			 while [ $# -gt 0 ]; do						 man=$1.$2;						 for file in Makefile.in *.[0-9]; do			 /usr/pkg/bin/nbsed	-e "s|\(\$(srcdir)/\)\($man\)|\1cyrus-\2|g"  -e "s|\(\\\fB\)\($1($2)\\\fR\)|\1cyrus-\2|g"  $file > $file.fixed;			 /usr/bin/mv -f $file.fixed $file;			 done;							 if [ -f $man ]; then					 /usr/bin/mv $man cyrus-$man;			 fi;							 shift 2;						 done
/usr/bin/find /pkgobj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12 -type f -print |				 /usr/bin/xargs -n 1 /usr/xpg4/bin/grep -l -e /etc/imapd\.conf -e /etc/cyrus\.conf |  while read file; do						 /usr/pkg/bin/nbsed	-e "s|/etc/\(cyrus\.conf\)|/usr/pkg/etc/\1|g"  -e "s|/etc/\(imapd\.conf\)|/usr/pkg/etc/\1|g"  $file > $file.fixed;				 /usr/bin/mv -f $file.fixed $file;				 done
===> Overriding tools for cyrus-imapd-2.2.12
===> Creating toolchain wrappers for cyrus-imapd-2.2.12
===> Configuring for cyrus-imapd-2.2.12
=> Fixing locale directory references.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2
checking for makedepend... makedepend
checking for sparc-sun-solaris2-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for AIX... no
checking for strerror in -lcposix... no
checking for gawk... /usr/bin/nawk
checking for an ANSI C-conforming const... yes
checking for long file names... yes
checking for inline... inline
checking for __attribute__... no
checking if compiler supports -fPIC... no
checking for runpath switch... -R
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for memmove... yes
checking for strcasecmp... yes
checking for ftruncate... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for connect... no
checking for gethostbyname in -lnsl... yes
checking for connect in -lsocket... yes
checking for res_search... no
checking for res_search in -lresolv... yes
checking for dn_expand... yes
checking for dns_lookup... no
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for getnameinfo... yes
checking whether you have ss_family in struct sockaddr_storage... yes
checking whether you have sa_len in struct sockaddr... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... no
checking for tzname... yes
checking for vprintf... yes
checking for _doprnt... yes
checking authorization method... unix
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... lex
checking for yywrap in -lfl... no
checking for yywrap in -ll... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking for main in -lfl... no
checking for library containing regcomp... none required
checking rxposix.h usability... no
checking rxposix.h presence... no
checking for rxposix.h... no
checking for strerror... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for daemon... yes
checking for setsid... yes
checking for shutdown... yes
checking for setproctitle... no
checking for setproctitle in -lutil... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/sysnews.h usability... no
checking sys/sysnews.h presence... no
checking for sys/sysnews.h... no
checking for PS_STRINGS... no
checking for SCO... no
checking for setproctitle usability... yes
checking nonblocking method... fcntl
checking timezone GMT offset method... gmtime
checking for shared mmap... yes
checking for fcntl... yes
checking for fdatasync... no
checking for fdatasync in -lrt... yes
checking for sigvec... no
checking for sigvec in -lBSD... no
checking for sigvec in -lucb... no
checking for openssl... /usr/pkg
checking for modern syslog... yes
checking which syslog facility to use... LOG_LOCAL6
checking for getdtablesize... yes
checking to use old sieve service name... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for crypt... yes
checking GSSAPI... disabled
checking sasl/sasl.h usability... yes
checking sasl/sasl.h presence... yes
checking for sasl/sasl.h... yes
checking sasl/saslutil.h usability... yes
checking sasl/saslutil.h presence... yes
checking for sasl/saslutil.h... yes
checking for prop_get in -lsasl2... yes
checking for sasl_checkapop in -lsasl2... yes
checking for /usr/pkg/bin/perl... /usr/pkg/bin/perl
checking for MD5Init... no
checking for MD5Init in -lmd... no
checking for request_init in -lwrap... (cached) yes
checking tcpd.h usability... yes
checking tcpd.h presence... yes
checking for tcpd.h... yes
checking libwrap support... /usr/pkg
checking for yp_get_default_domain in -lnsl... yes
configure: creating ./config.status
config.status: creating man/Makefile
config.status: creating master/Makefile
config.status: creating lib/Makefile
config.status: creating imap/Makefile
config.status: creating imtest/Makefile
config.status: creating netnews/Makefile
config.status: creating perl/Makefile
config.status: creating sieve/Makefile
config.status: creating et/Makefile
config.status: creating timsieved/Makefile
config.status: creating notifyd/Makefile
config.status: creating perl/sieve/Makefile
config.status: creating perl/sieve/lib/Makefile
config.status: creating Makefile
config.status: creating config.h
===> Building for cyrus-imapd-2.2.12
### Making all in /pkgobj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12/man
### Making all in /pkgobj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12/et
./config_script ./compile_et.sh /usr/bin/nawk sed > compile_et
chmod 755 compile_et
cc -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. -I./../lib -I. -I.. -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 error_message.c
cc -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. -I./../lib -I. -I.. -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 et_name.c
cc -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. -I./../lib -I. -I.. -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 init_et.c
cc -c -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -I. -I./../lib -I. -I.. -O -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 /pkgobj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12/lib
./../tools/config2header CC=cc ./imapopts.c ./imapopts.h < ./imapoptions
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  libconfig.c
"libconfig.c", line 184: warning: enum type mismatch: op "="
"libconfig.c", line 348: warning: enum type mismatch: op "="
"libconfig.c", line 360: warning: enum type mismatch: op "="
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  imapopts.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  hash.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  mpool.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  xmalloc.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  strhash.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  assert.c
rm -f libcyrus_min.a
ar cr libcyrus_min.a libconfig.o imapopts.o hash.o mpool.o xmalloc.o strhash.o  assert.o
ranlib libcyrus_min.a
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  acl.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  bsearch.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  charset.c
"charset.c", line 881: warning: statement not reached
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  glob.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  retry.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  util.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  libcyr_cfg.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  mkgmtime.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  prot.c
"prot.c", line 581: warning: argument #5 is incompatible with prototype:
	prototype: pointer to unsigned int : "/pkgobj/mail/cyrus-imapd/work/.buildlink/include/sasl/sasl.h", line 1175
	argument : pointer to int
"prot.c", line 594: warning: assignment type mismatch:
	pointer to const char "=" pointer to unsigned char
"prot.c", line 626: warning: assignment type mismatch:
	pointer to const char "=" pointer to unsigned char
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  parseaddr.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  imclient.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  imparse.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  lsort.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  stristr.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  rfc822date.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  cyrusdb.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  mkchartable.c
cc -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib -L/usr/pkg/lib -o mkchartable mkchartable.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.
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  chartable.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  imapurl.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  nonblock_fcntl.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  lock_fcntl.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  gmtoff_gmtime.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  map_shared.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  acl_afs.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  auth_unix.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  cyrusdb_flat.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  cyrusdb_skiplist.c
"cyrusdb_skiplist.c", line 1073: warning: initializer does not fit or is out of range: -1
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  cyrusdb_quotalegacy.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  cyrusdb_berkeley.c
"cyrusdb_berkeley.c", line 152: warning: argument #2 is incompatible with prototype:
	prototype: pointer to function(pointer to const struct __db_env {pointer to function(..) returning void db_errcall, pointer to struct __FILE {..} db_errfile, pointer to const char db_errpfx, pointer to struct __FILE {..} db_msgfile, pointer to function(..) returning void db_msgcall, pointer to function(..) returning void db_feedback, pointer to function(..) returning void db_paniccall, pointer to function(..) returning pointer to void db_malloc, pointer to function(..) returning pointer to void db_realloc, pointer to function(..) returning void db_free, unsigned int verbose, pointer to void app_private, pointer to function(..) returning int app_dispatch, pointer to unsigned char lk_conflicts, int lk_modes, unsigned int lk_max, unsigned int lk_max_lockers, unsigned int lk_max_objects, unsigned int lk_detect, unsigned int lk_timeout, unsigned int lg_bsize, unsigned int lg_size, unsigned int lg_regionmax, unsigned int mp_gbytes, unsigned int mp_bytes, unsigned int mp_ncache, unsigned int mp_mmapsize, int mp_maxopenfd, int mp_maxwrite, int mp_maxwrite_sleep, int rep_eid, pointer to function(..) returning int rep_send, unsigned int tx_max, long tx_timestamp, unsigned int tx_timeout, pointer to char db_home, pointer to char db_log_dir, pointer to char db_tmp_dir, pointer to pointer to char db_data_dir, int data_cnt, int data_next, int db_mode, int dir_mode, unsigned int env_lid, unsigned int open_flags, pointer to void reginfo, pointer to struct __fh_t {..} lockfhp, pointer to pointer to function(..) returning int recover_dtab, unsigned int recover_dtab_size, pointer to void cl_handle, unsigned int cl_id, int db_ref, long shm_key, unsigned int tas_spins, pointer to struct __mutex_t {..} dblist_mutexp, struct  {..} dblist, struct  {..} links, struct __xa_txn {..} xa_txn, int xa_rmid, pointer to void api1_internal, pointer to void api2_internal, pointer to char passwd, unsigned int passwd_len, pointer to void crypto_handle, pointer to struct __mutex_t {..} mt_mutexp, int mti, pointer to unsigned long mt, pointer to function(..) returning int close, pointer to function(..) returning int dbremove, pointer to function(..) returning int dbrename, pointer to function(..) returning void err, pointer to function(..) returning void errx, pointer to function(..) returning int open, pointer to function(..) returning int remove, pointer to function(..) returning int stat_print, pointer to function(..) returning int fileid_reset, pointer to function(..) returning int is_bigendian, pointer to function(..) returning int lsn_reset, pointer to function(..) returning int prdbt, pointer to function(..) returning int set_alloc, pointer to function(..) returning int set_app_dispatch, pointer to function(..) returning int get_data_dirs, pointer to function(..) returning int set_data_dir, pointer to function(..) returning int get_encrypt_flags, pointer to function(..) returning int set_encrypt, pointer to function(..) returning void set_errcall, pointer to function(..) returning void get_errfile, pointer to function(..) returning void set_errfile, pointer to function(..) returning void get_errpfx, pointer to function(..) returning void set_errpfx, pointer to function(..) returning int set_feedback, pointer to function(..) returning int get_flags, pointer to function(..) returning int set_flags, pointer to function(..) returning int get_home, pointer to function(..) returning int set_intermediate_dir, pointer to function(..) returning int get_open_flags, pointer to function(..) returning int set_paniccall, pointer to function(..) returning int set_rpc_server, pointer to function(..) returning int get_shm_key, pointer to function(..) returning int set_shm_key, pointer to function(..) returning void set_msgcall, pointer to function(..) returning void get_msgfile, pointer to function(..) returning void set_msgfile, pointer to function(..) returning int get_tas_spins, pointer to function(..) returning int set_tas_spins, pointer to function(..) returning int get_tmp_dir, pointer to function(..) returning int set_tmp_dir, pointer to function(..) returning int get_verbose, pointer to function(..) returning int set_verbose, pointer to void lg_handle, pointer to function(..) returning int get_lg_bsize, pointer to function(..) returning int set_lg_bsize, pointer to function(..) returning int get_lg_dir, pointer to function(..) returning int set_lg_dir, pointer to function(..) returning int get_lg_max, pointer to function(..) returning int set_lg_max, pointer to function(..) returning int get_lg_regionmax, pointer to function(..) returning int set_lg_regionmax, pointer to function(..) returning int log_archive, pointer to function(..) returning int log_cursor, pointer to function(..) returning int log_file, pointer to function(..) returning int log_flush, pointer to function(..) returning int log_put, pointer to function(..) returning int log_stat, pointer to function(..) returning int log_stat_print, pointer to void lk_handle, pointer to function(..) returning int get_lk_conflicts, pointer to function(..) returning int set_lk_conflicts, pointer to function(..) returning int get_lk_detect, pointer to function(..) returning int set_lk_detect, pointer to function(..) returning int set_lk_max, pointer to function(..) returning int get_lk_max_locks, pointer to function(..) returning int set_lk_max_locks, pointer to function(..) returning int get_lk_max_lockers, pointer to function(..) returning int set_lk_max_lockers, pointer to function(..) returning int get_lk_max_objects, pointer to function(..) returning int set_lk_max_objects, pointer to function(..) returning int lock_detect, pointer to function(..) returning int lock_get, pointer to function(..) returning int lock_put, pointer to function(..) returning int lock_id, pointer to function(..) returning int lock_id_free, pointer to function(..) returning int lock_stat, pointer to function(..) returning int lock_stat_print, pointer to function(..) returning int lock_vec, pointer to void mp_handle, pointer to function(..) returning int get_cachesize, pointer to function(..) returning int set_cachesize, pointer to function(..) returning int get_mp_mmapsize, pointer to function(..) returning int set_mp_mmapsize, pointer to function(..) returning int get_mp_max_openfd, pointer to function(..) returning int set_mp_max_openfd, pointer to function(..) returning int get_mp_max_write, pointer to function(..) returning int set_mp_max_write, pointer to function(..) returning int memp_fcreate, pointer to function(..) returning int memp_register, pointer to function(..) returning int memp_stat, pointer to function(..) returning int memp_stat_print, pointer to function(..) returning int memp_sync, pointer to function(..) returning int memp_trickle, pointer to void rep_handle, pointer to function(..) returning int rep_elect, pointer to function(..) returning int rep_flush, pointer to function(..) returning int rep_process_message, pointer to function(..) returning int rep_start, pointer to function(..) returning int rep_stat, pointer to function(..) returning int rep_stat_print, pointer to function(..) returning int get_rep_limit, pointer to function(..) returning int set_rep_limit, pointer to function(..) returning int set_rep_request, pointer to function(..) returning int set_rep_transport, pointer to void tx_handle, pointer to function(..) returning int get_tx_max, pointer to function(..) returning int set_tx_max, pointer to function(..) returning int get_tx_timestamp, pointer to function(..) returning int set_tx_timestamp, pointer to function(..) returning int txn_begin, pointer to function(..) returning int txn_checkpoint, pointer to function(..) returning int txn_recover, pointer to function(..) returning int txn_stat, pointer to function(..) returning int txn_stat_print, pointer to function(..) returning int get_timeout, pointer to function(..) returning int set_timeout, int test_abort, int test_check, int test_copy, unsigned int flags}, pointer to const char, pointer to const char) returning void : "unknown", line 0
	argument : pointer to function(pointer to const char, pointer to char) returning void
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  iptostring.c
cc -c -I..  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I../et -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  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_gmtime.o map_shared.o acl_afs.o auth_unix.o  cyrusdb_flat.o cyrusdb_skiplist.o cyrusdb_quotalegacy.o cyrusdb_berkeley.o  iptostring.o xmalloc.o wildmat.o
ranlib libcyrus.a
### Making all in /pkgobj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12/sieve
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  sieve_err.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  sieve.c
"sieve.y", line 1012: warning: assignment type mismatch:
	pointer to const unsigned char "=" pointer to char
"sieve.y", line 1013: warning: assignment type mismatch:
	pointer to const unsigned char "=" pointer to char
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  sieve-lex.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  comparator.c
"comparator.c", line 212: warning: statement not reached
"comparator.c", line 366: warning: assignment type mismatch:
	pointer to void "=" pointer to function(pointer to const char, pointer to const char) returning int
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  interp.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  message.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  bc_generate.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  bc_dump.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  bc_emit.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  bc_eval.c
"bc_eval.c", line 844: warning: argument #4 is incompatible with prototype:
	prototype: pointer to int : "bc_eval.c", line 306
	argument : pointer to unsigned int
"bc_eval.c", line 949: warning: argument #2 is incompatible with prototype:
	prototype: pointer to int : "bc_eval.c", line 80
	argument : pointer to unsigned int
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  script.c
"script.c", line 373: warning: statement not reached
"script.c", line 389: warning: statement not reached
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  tree.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  addr.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  addr-lex.c
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  md5.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 md5.o
ranlib libsieve.a
cc -c -I.. -I./../lib -I../et  -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -DHAVE_CONFIG_H -O -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/db4 -KPIC  sievec.c
cc -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/pkg/lib -R/usr/pkg/lib -L/usr/lib -R/usr/lib -L/usr/pkg/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 -ldl   -lresolv -lsocket -lnsl   -ldb4 -lssl -lcrypto -lrt ../et/libcom_err.a
Undefined			first referenced
 symbol  			    in file
write_int                           libsieve.a(bc_emit.o)
ld: fatal: Symbol referencing errors. No output written to sievec
*** Error code 1

Stop.
bmake: stopped in /pkgobj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12/sieve
*** Error code 1

Stop.
bmake: stopped in /pkgobj/mail/cyrus-imapd/work/cyrus-imapd-2.2.12
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/cyrus-imapd
===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /pkgobj/mail/cyrus-imapd/work/.work.log
===> 
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/cyrus-imapd

Please view the work log for cyrus-imapd-2.2.12


BULK> cyrus-imapd-2.2.12 was marked as broken:
-rw-r--r--   1 root     other      40260 Jul  4 22:26 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for cyrus-imapd
BULK> Marking all packages which depend upon cyrus-imapd-2.2.12 as broken:
BULK> Build for cyrus-imapd-2.2.12 was not successful, aborting.