###
### Tue Aug 9 02:03:38 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for prayer-1.0.12
### Current pkg count:  2 installed packages: digest-20050323 postfix-2.2-20040628nb1
###
BULK> Full rebuild in progress...
BULK> Cleaning package prayer-1.0.12 and pre-requisite packages
===> Cleaning for prayer-1.0.12
===> Cleaning for db4-4.3.28
===> Cleaning for libtool-base-1.5.18nb3
===> 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 zlib-1.2.3
===> Cleaning for perl-5.8.6nb4
===> Cleaning for imap-uw-2004c1nb2
===> Cleaning for openssl-0.9.7f
BULK> Removing installed packages which are not needed to build prayer-1.0.12
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r postfix-2.2-20040628nb1
===========================================================================
The following users are no longer being used by postfix-2.2-20040628nb1,
and they can be removed if no other packages are using them:

	postfix

===========================================================================
===========================================================================
The following directories are no longer being used by postfix-2.2-20040628nb1,
and they can be removed if no other packages are using them:

	/var/spool/postfix

===========================================================================
BULK> Installing packages which are required to build prayer-1.0.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/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/zlib-1.2.3.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/imap-uw-2004c1nb2.tgz
===========================================================================
Installing files needed by openssl-0.9.7f:

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

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

===========================================================================
$NetBSD: MESSAGE,v 1.3 2005/03/06 17:03:06 thorpej Exp $

Add the following to /etc/services (if not already there):

 imap		143/tcp		# Internet Message Access Protocol
 imap		143/udp
 imaps		993/tcp		# imap4 protocol over TLS/SSL
 imaps		993/udp		# imap4 protocol over TLS/SSL
 pop3s		995/tcp		# pop3 protocol over TLS/SSL (was spop3)
 pop3s		995/udp		# pop3 protocol over TLS/SSL (was spop3)

Add the following to /etc/inetd.conf:

 imap   stream  tcp     nowait  root    /usr/pkg/libexec/imapd    imapd
 imaps  stream  tcp     nowait  root    /usr/pkg/libexec/imapd    imapd
 pop2   stream  tcp     nowait  root    /usr/pkg/libexec/ipop2d   ipop2d
 pop3   stream  tcp     nowait  root    /usr/pkg/libexec/ipop3d   ipop3d
 pop3s  stream  tcp     nowait  root    /usr/pkg/libexec/ipop3d   ipop3d

In order to use SSL, you will need to configure a certificate and store it
in the /usr/pkg/etc/openssl/certs directory, using the imapd.pem name.  Place the key for
the certificate in the /usr/pkg/etc/openssl/private directory, also using the imapd.pem name.
If you want to use an existing certificate, say from Apache, just copy the
certificate and key files to the appropriate locations.

To put the changes into effect, make inetd reload its configuration:
On NetBSD 1.5 or later:
	/etc/rc.d/inetd reload
on earlier NetBSD releases:
	kill -HUP `cat /var/run/inetd.pid`

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

BULK> Required package openssl-0.9.7f (security/openssl) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (prayer-1.0.12)
===> Checking for vulnerabilities in prayer-1.0.12
=> Checksum SHA1 OK for prayer-1.0.12.tar.gz.
=> Checksum RMD160 OK for prayer-1.0.12.tar.gz.
work -> /pkgobj/mail/prayer/work
===> Extracting for prayer-1.0.12
==========================================================================
The following variables will affect the build process of this package,
prayer-1.0.12.  Their current value is shown below:

        * 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 db4>=4.2.52nb7: db4-4.3.28 found
===> Required installed package zlib>=1.2.3: zlib-1.2.3 found
===> Required installed package imap-uw>=2004anb2: imap-uw-2004c1nb2 found
===> Required installed package openssl>=0.9.7d: openssl-0.9.7f found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> 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
===> Patching for prayer-1.0.12
===> Applying pkgsrc patches for prayer-1.0.12
/usr/bin/find /pkgobj/mail/prayer/work/prayer-1.0.12 -name CVS -type d -print | /usr/bin/sort -r |  /usr/bin/xargs /usr/bin/rm -r
===> Overriding tools for prayer-1.0.12
===> Creating toolchain wrappers for prayer-1.0.12
===> Configuring for prayer-1.0.12
===> Building for prayer-1.0.12
(cd files; gmake all)
gmake[1]: Entering directory `/pkgobj/mail/prayer/work/prayer-1.0.12/files'
perl -pe "s&__PREFIX__&/usr/pkg&; s&__VAR_PREFIX__&/var/spool/prayer&; s&__BIN_DIR__&/usr/pkg/sbin&; s&__PKG_SYSCONFDIR__&/usr/pkg/etc/prayer&;" < ./etc/prayer.cf.SRC > ./etc/prayer.cf
perl -pe "s&__PREFIX__&/usr/pkg&; s&__VAR_PREFIX__&/var/spool/prayer&; s&__BIN_DIR__&/usr/pkg/sbin&; s&__PKG_SYSCONFDIR__&/usr/pkg/etc/prayer&; s&__PRAYER_CONFIG_FILE__&/usr/pkg/etc/prayer/prayer.cf&;" < ./init.d/prayer.SRC > ./init.d/prayer
gmake[1]: Leaving directory `/pkgobj/mail/prayer/work/prayer-1.0.12/files'
(cd prayer; gmake all)
gmake[1]: Entering directory `/pkgobj/mail/prayer/work/prayer-1.0.12/prayer'
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c pool.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c list.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c assoc.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c memblock.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c buffer.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c string.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c config.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c user_agent.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c iostream.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c request.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -DGZIP_ENABLE  -c response.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -DGZIP_ENABLE -c gzip.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c html_common.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c setproctitle.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c ipaddr.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client  -c mymutex.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c log.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c os.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -c prayer.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -I/usr/kerberos/include \
  -DSSL_ENABLE -DSESSION_CACHE_ENABLE -c prayer_ssl.c
gcc -O -I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include -Wall  -I/usr/include -I/usr/kerberos/include -I /include/c-client -I/include/db4 \
  -DDB_ENABLE -c mydb_db3.c
"mydb_db3.c", line 100: syntax error before or at: __attribute__
"mydb_db3.c", line 100: warning: undefined or missing type for: __attribute__
"mydb_db3.c", line 101: warning: old-style declaration or incorrect type for: __attribute__
"mydb_db3.c", line 155: 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
"mydb_db3.c", line 873: syntax error before or at: __attribute__
"mydb_db3.c", line 873: warning: undefined or missing type for: __attribute__
"mydb_db3.c", line 874: syntax error before or at: int
"mydb_db3.c", line 899: warning: old-style declaration or incorrect type for: r
"mydb_db3.c", line 905: cannot recover from previous errors
cc: acomp failed for mydb_db3.c
gmake[1]: *** [mydb_db3.o] Error 2
gmake[1]: Leaving directory `/pkgobj/mail/prayer/work/prayer-1.0.12/prayer'
gmake: *** [all] Error 2
*** Error code 2

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

Stop.
bmake: stopped in /usr/pkgsrc/mail/prayer

Please view the work log for prayer-1.0.12


BULK> prayer-1.0.12 was marked as broken:
-rw-r--r--   1 root     other      19857 Aug  9 02:07 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for prayer
BULK> Marking all packages which depend upon prayer-1.0.12 as broken:
BULK> Build for prayer-1.0.12 was not successful, aborting.