###
### Sat Jul 30 17:41:17 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for mailsync-5.2.1
### Current pkg count:  17 installed packages: digest-20050323 gettext-lib-0.11.5nb4 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 mailscanner-4.30.3.2nb1 p5-Archive-Zip-1.14nb1 p5-Compress-Zlib-1.34 p5-Convert-BinHex-1.119nb1 p5-IO-stringy-2.109nb1 p5-MIME-Base64-3.05nb1 p5-MIME-tools-5.417 p5-MailTools-1.67 p5-Net-1.19nb1 p5-Net-CIDR-0.09nb1 perl-5.8.6nb4 tnef-1.3.2 zlib-1.2.3
###
BULK> Full rebuild in progress...
BULK> Cleaning package mailsync-5.2.1 and pre-requisite packages
===> Cleaning for mailsync-5.2.1
===> Cleaning for gmake-3.80nb4
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for imap-uw-2004c1nb2
===> Cleaning for openssl-0.9.7f
===> Cleaning for perl-5.8.6nb4
BULK> Removing installed packages which are not needed to build mailsync-5.2.1
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r p5-Net-1.19nb1
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/Net 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/Net/FTP 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/Net 2>/dev/null || /usr/bin/true'
BULK> mailsync-5.2.1 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> mailsync-5.2.1 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r p5-Compress-Zlib-1.34
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/Archive/Zip 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/Archive/Zip 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/Archive 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/bin 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/Compress/Zlib 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/Compress 2>/dev/null || /usr/bin/true'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r zlib-1.2.3
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r p5-Net-CIDR-0.09nb1
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/Net/CIDR 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/Net 2>/dev/null || /usr/bin/true'
BULK> mailsync-5.2.1 requires installed package perl-5.8.6nb4 (lang/perl58) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r p5-Convert-BinHex-1.119nb1
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r p5-IO-stringy-2.109nb1
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/MIME-tools 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/MIME/Parser 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/MIME/Field 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/MIME/Decoder 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/MIME 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/IO-stringy 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/IO 2>/dev/null || /usr/bin/true'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r p5-MIME-Base64-3.05nb1
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/MIME/Base64 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/MIME 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/bin 2>/dev/null || /usr/bin/true'
BULK> mailsync-5.2.1 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r p5-MailTools-1.67
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/man/man3 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/sparc-solaris-thread-multi/auto/Mail 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/auto/Mail/Util 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/auto/Mail/Internet 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/Mail/Mailer 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/Mail/Field 2>/dev/null || /usr/bin/true'
Executing `/usr/bin/rmdir -p /usr/pkg/lib/perl5/site_perl/5.8.6/Mail 2>/dev/null || /usr/bin/true'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r tnef-1.3.2
BULK> Installing packages which are required to build mailsync-5.2.1.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/gmake-3.80nb4.tgz
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 libtool-base-1.5.18nb3 (devel/libtool-base) 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/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 perl-5.8.6nb4 (lang/perl58) is already installed
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (mailsync-5.2.1)
===> Checking for vulnerabilities in mailsync-5.2.1
=> Checksum SHA1 OK for mailsync_5.2.1.orig.tar.gz.
=> Checksum RMD160 OK for mailsync_5.2.1.orig.tar.gz.
work -> /pkgobj/mail/mailsync/work
===> Extracting for mailsync-5.2.1
==========================================================================
The following variables will affect the build process of this package,
mailsync-5.2.1.  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 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
===> Patching for mailsync-5.2.1
===> Applying pkgsrc patches for mailsync-5.2.1
===> Overriding tools for mailsync-5.2.1
===> Creating toolchain wrappers for mailsync-5.2.1
===> Configuring for mailsync-5.2.1
=> Fixing configure script.
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 for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking for sparc-sun-solaris2-gcc... cc
checking for C compiler default output file name... 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 style of include used by make... GNU
checking dependency style of cc... none
checking for sparc-sun-solaris2-g++... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking dependency style of CC... none
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking for gawk... (cached) /usr/bin/nawk
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
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 string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking whether lstat dereferences a symlink specified with a trailing slash... no
checking whether stat accepts an empty string... no
checking for getpass... yes
checking for memset... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strtoul... yes
checking for crypt in -lcrypt... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl_s... no
checking for gethostbyname in -lnsl... yes
checking for libssl... found in /usr/pkg/lib
checking for main in -lssl... yes
checking for main in -lcrypto... yes
checking for openssl/ssl.h... found in /usr/pkg/include
checking for pam library... not found
checking for c-client.h... found in /pkgobj/mail/mailsync/work/.buildlink/include/c-client
checking for c-client library... found /pkgobj/mail/mailsync/work/.buildlink/lib
checking whether c-client built with kerberos gssapi support... no
checking if kerberos is required and available for linking against c-client... not required
checking whether c-client requires ssl linkage... yes
checking if simple c-client program compiles without pam support... yes
checking if c-client works without -fno-operator-names in c++... yes
checking if c-client includes md5 support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===> Building for mailsync-5.2.1
cd . && /bin/ksh ./config.status Makefile 
config.status: creating Makefile
cd . && /bin/ksh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/pkgobj/mail/mailsync/work/mailsync-5.2.1'
Making all in src
gmake[2]: Entering directory `/pkgobj/mail/mailsync/work/mailsync-5.2.1/src'
cd .. && /bin/ksh ./config.status src/Makefile depfiles
config.status: creating src/Makefile
config.status: executing depfiles commands
gmake[2]: Leaving directory `/pkgobj/mail/mailsync/work/mailsync-5.2.1/src'
gmake[2]: Entering directory `/pkgobj/mail/mailsync/work/mailsync-5.2.1/src'
source='mailsync_main.cc' object='mailsync_main.o' libtool=no \
depfile='.deps/mailsync_main.Po' tmpdepfile='.deps/mailsync_main.TPo' \
depmode=none /bin/ksh ../depcomp \
CC -DHAVE_CONFIG_H -I. -I. -I.. -I/pkgobj/mail/mailsync/work/.buildlink/include/c-client  -I/usr/pkg/include  -O -I/usr/pkg/include -c -o mailsync_main.o `test -f 'mailsync_main.cc' || echo './'`mailsync_main.cc
"options.h", line 52: Warning: declarator required in declaration.
"types.h", line 26: Warning: declarator required in declaration.
"mailsync_main.cc", line 488: Warning: String literal converted to char* in formal argument place in call to Store::flag_message_for_removal(unsigned long, const MsgId&, char*).
"mailsync_main.cc", line 504: Warning: String literal converted to char* in formal argument place in call to Store::flag_message_for_removal(unsigned long, const MsgId&, char*).
4 Warning(s) detected.
source='commandline.cc' object='commandline.o' libtool=no \
depfile='.deps/commandline.Po' tmpdepfile='.deps/commandline.TPo' \
depmode=none /bin/ksh ../depcomp \
CC -DHAVE_CONFIG_H -I. -I. -I.. -I/pkgobj/mail/mailsync/work/.buildlink/include/c-client  -I/usr/pkg/include  -O -I/usr/pkg/include -c -o commandline.o `test -f 'commandline.cc' || echo './'`commandline.cc
"options.h", line 52: Warning: declarator required in declaration.
"types.h", line 26: Warning: declarator required in declaration.
"/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 54: Error: Could not find partial specialization matching std::vector<1, std::Allocator>.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 54: Error: Arguments out of order for std::vector<1, std::Allocator>.
"/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: Could not find partial specialization matching std::vector<1, std::Allocator>.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 63: Error: Multiple declaration for.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 65: Error: Use ";" to terminate statements.
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 65: Error: A declaration was expected instead of "if".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 65: Error: No direct declarator preceding "(".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 67: Error: No direct declarator preceding "(".
"/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: "std::vector<1, std::Allocator>::operator=(const std::vector<1, std::Allocator>&)" was previously declared "std::vector<1, std::Allocator>::operator=(const std::vector&)".
"/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 115: Error: "," expected instead of "1".
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 115: Error:  Expected "class" or "typename" before "1" .
"/opt/SUNWspro/prod/include/CC/Cstd/./vector.cc", line 116: Error: Template parameter std::T requires a type argument.
Compilation aborted, too many Error messages.
gmake[2]: *** [commandline.o] Error 1
gmake[2]: Leaving directory `/pkgobj/mail/mailsync/work/mailsync-5.2.1/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/pkgobj/mail/mailsync/work/mailsync-5.2.1'
gmake: *** [all] Error 2
*** Error code 2

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

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

Please view the work log for mailsync-5.2.1


BULK> mailsync-5.2.1 was marked as broken:
-rw-r--r--   1 root     other      18818 Jul 30 17:43 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for mailsync
BULK> Marking all packages which depend upon mailsync-5.2.1 as broken:
BULK> Build for mailsync-5.2.1 was not successful, aborting.