###
### Thu Jun 17 11:05:25 EST 2004:
### /usr/pkg/bin/bmake bulk-package for mailsync-4.4.4
### Current pkg count:  5 installed packages: digest-20021220 mailserv-3.29 patch-2.5.4nb2 perl-5.8.4 xpkgwedge-1.10
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for mailsync-4.4.4
===> Cleaning for openssl-0.9.6m
===> Cleaning for perl-5.8.4
===> Cleaning for patch-2.5.4nb2
===> Cleaning for imap-uw-2004
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for gmake-3.80nb3
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for gettext-lib-0.11.5nb3
===> Cleaning for libiconv-1.9.1nb2
BULK> Removing installed packages which are not needed to build mailsync-4.4.4
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r xpkgwedge-1.10
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
pkg_delete: package 'xpkgwedge-1.10' doesn't have a prefix
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r mailserv-3.29
BULK> mailsync-4.4.4 requires installed package perl-5.8.4 (lang/perl58) to build.
BULK> mailsync-4.4.4 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build mailsync-4.4.4.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/openssl-0.9.6m.tgz

===> Installing configuration/support files for openssl-0.9.6m

	/usr/pkg/etc/openssl/openssl.cnf

===========================================================================
You may wish to customize the following files for openssl-0.9.6m:

	/usr/pkg/etc/openssl/openssl.cnf
===========================================================================

===========================================================================
$NetBSD: MESSAGE,v 1.5 2003/09/22 03:13:58 grant Exp $

If upgrading from SSLeay, you will need to copy your ssleay.cnf (used for
creating certificate requests with "ca") into
/usr/pkg/etc/openssl/openssl.cnf.

If installing from scratch, you may want to take a look
at /usr/pkg/share/examples/openssl/openssl.cnf copy it
to /usr/pkg/etc/openssl/openssl.cnf, and customize it.

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

BULK> Required package perl-5.8.4 (lang/perl58) is already installed
BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/imap-uw-2004.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.2 2003/09/16 19:16:44 jmmv 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.
If you want to use an existing certificate, say from Apache, just copy it
there (you may need to concatenate .key and .crt files together).

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>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/libtool-base-1.5.6nb1.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/gmake-3.80nb3.tgz

===> Installing configuration/support files for libiconv-1.9.1nb2

	/usr/pkg/lib/charset.alias
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK> Required package gettext-lib-0.11.5nb3 (devel/gettext-lib) is already installed
BULK> Required package libiconv-1.9.1nb2 (converters/libiconv) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (mailsync-4.4.4)
===> Checking for vulnerabilities in mailsync-4.4.4
=> mailsync_4.4.4-1.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch mailsync_4.4.4-1.tar.gz from http://belnet.dl.sourceforge.net/sourceforge/mailsync/.
=> [27408 bytes]
=> Checksum OK for mailsync_4.4.4-1.tar.gz.
work -> /work/pkgbuild/mail/mailsync/work
===> Extracting for mailsync-4.4.4
===> Required installed package imap-uw>=2004: imap-uw-2004 found
===> Required installed package openssl>=0.9.6m: openssl-0.9.6m found
===> Required installed package gmake>=3.78: gmake-3.80nb3 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
==========================================================================
The following variables will affect the build process of this package,
mailsync-4.4.4.  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.
==========================================================================
===> Patching for mailsync-4.4.4
===> Applying pkgsrc patches for mailsync-4.4.4
===> Overriding tools for mailsync-4.4.4
===> Buildlinking for mailsync-4.4.4
===> Configuring for mailsync-4.4.4
===> Building for mailsync-4.4.4
g++ -O -I/usr/pkg/include -I/usr/pkg/include/c-client   -I/usr/pkg/include  -c -o mailsync.o mailsync.c
"msgstring.c", line 12: Warning (Anachronism): Using void(*)(mailstring*,void*,unsigned long) to initialize extern "C" void(*)(mailstring*,void*,unsigned long).
"msgstring.c", line 13: Warning (Anachronism): Using char(*)(mailstring*) to initialize extern "C" char(*)(mailstring*).
"msgstring.c", line 14: Warning (Anachronism): Using void(*)(mailstring*,unsigned long) to initialize extern "C" void(*)(mailstring*,unsigned long).
"mailsync.c", line 411: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 486: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 492: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 500: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 522: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 539: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 546: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 550: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 555: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 562: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 572: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 575: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 579: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 582: Warning: String literal converted to char* in formal argument errorMessage in call to die_with_fatal_parse_error(Token*, char*, const char*).
"mailsync.c", line 886: Warning: String literal converted to char* in formal argument flag in call to mail_flag(mail_stream*, char*, char*, long).
"mailsync.c", line 1048: Warning: String literal converted to char* in formal argument flag in call to mail_flag(mail_stream*, char*, char*, long).
"mailsync.c", line 1104: Warning: String literal converted to char* in formal argument flag in call to mail_flag(mail_stream*, char*, char*, long).
"mailsync.c", line 1640: Warning: String literal converted to char* in formal argument place in call to remove_message(mail_stream*&, Store&, unsigned long, const std::string &, char*).
"mailsync.c", line 1648: Warning: String literal converted to char* in formal argument place in call to remove_message(mail_stream*&, Store&, unsigned long, const std::string &, char*).
"mailsync.c", line 1672: Warning: String literal converted to char* in formal argument direction in call to copy_message(mail_stream*&, Passwd&, unsigned long, const std::string &, mail_stream*&, Passwd&, std::string, char*).
"mailsync.c", line 1695: Warning: String literal converted to char* in formal argument direction in call to copy_message(mail_stream*&, Passwd&, unsigned long, const std::string &, mail_stream*&, Passwd&, std::string, char*).
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 52: Error: "," expected instead of "1".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 52: Error:  Expected "class" or "typename" before "1" .
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 53: Error: Template parameter std::T requires a type argument.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 53: Error: size_type is not defined.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 62: Error: "," expected instead of "1".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 62: Error:  Expected "class" or "typename" before "1" .
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 63: Error: Template parameter std::T requires a type argument.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 63: Error: size_type is not defined.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 71: Error: "," expected instead of "1".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 71: Error:  Expected "class" or "typename" before "1" .
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 72: Error: Template parameter std::T requires a type argument.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 72: Error: Template parameter std::T requires a type argument.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 72: Error: Template parameter std::T requires a type argument.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 73: Error: Could not find partial specialization matching std::vector<1, std::Allocator>.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 73: Error: Arguments out of order for std::vector<1, std::Allocator>.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 107: Error: "," expected instead of "1".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 107: Error:  Expected "class" or "typename" before "1" .
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 108: Error: Template parameter std::T requires a type argument.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 108: Error: Could not find partial specialization matching std::vector<1, std::Allocator>.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 108: Error: __insert_aux is not a member of std::vector<1, std::Allocator>.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 111: Error: Use ";" to terminate statements.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 111: Error: A declaration was expected instead of "if".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 111: Error: ")" expected instead of "!=".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 114: Error: position is not defined.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 115: Error: x is not defined.
Compilation aborted, too many Error messages.
gmake: *** [mailsync.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/mail/mailsync
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/mail/mailsync
BULK> mailsync-4.4.4 was marked as broken:
-rw-r--r--   1 root     other      13014 Jun 17 11:06 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for mailsync
BULK> Marking all packages which depend upon mailsync-4.4.4 as broken:
BULK> Build for mailsync-4.4.4 was not successful, aborting.