###
### Wed Jul 6 17:32:04 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for openvpn-1.6.0
### Current pkg count:  2 installed packages: digest-20050323 openvmps-1.3
###
BULK> Full rebuild in progress...
BULK> Cleaning package openvpn-1.6.0 and pre-requisite packages
===> Cleaning for openvpn-1.6.0
===> Cleaning for liblzo-1.08nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for openssl-0.9.7f
===> 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 perl-5.8.6nb4
BULK> Removing installed packages which are not needed to build openvpn-1.6.0
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r openvmps-1.3
BULK> Installing packages which are required to build openvpn-1.6.0.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/liblzo-1.08nb1.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/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/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/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> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (openvpn-1.6.0)
===> Checking for vulnerabilities in openvpn-1.6.0
=> openvpn-1.6.0.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch openvpn-1.6.0.tar.gz from ftp://netbsd.stevens-tech.edu/pub/NetBSD/packages/distfiles/.
=> [430324 bytes]
=> Checksum SHA1 OK for openvpn-1.6.0.tar.gz.
=> Checksum RMD160 OK for openvpn-1.6.0.tar.gz.
work -> /pkgobj/net/openvpn/work
===> Extracting for openvpn-1.6.0
==========================================================================
The following variables will affect the build process of this package,
openvpn-1.6.0.  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 liblzo>=1.08nb1: liblzo-1.08nb1 found
===> Required installed package openssl>=0.9.7d: openssl-0.9.7f found
===> Patching for openvpn-1.6.0
===> Applying pkgsrc patches for openvpn-1.6.0
===> Overriding tools for openvpn-1.6.0
===> Creating toolchain wrappers for openvpn-1.6.0
===> Configuring for openvpn-1.6.0
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 ifconfig... /usr/sbin/ifconfig
checking for ip... ip
checking for route... /usr/sbin/route
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2
checking target system type... sparc-sun-solaris2
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-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 style of include used by make... GNU
checking dependency style of cc... none
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 ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... 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 off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ISO C 1999 vararg macro support... yes
checking for GNU GCC vararg macro support... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/stat.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for stdlib.h... (cached) yes
checking for stdint.h... (cached) no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for unistd.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking net/if_tun.h usability... no
checking net/if_tun.h presence... no
checking for net/if_tun.h... no
checking net/if.h usability... no
checking net/if.h presence... yes
checking for net/if.h... yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking sys/sockio.h usability... yes
checking sys/sockio.h presence... yes
checking for sys/sockio.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/ip.h usability... no
checking netinet/ip.h presence... yes
checking for netinet/ip.h... yes
checking netinet/if_ether.h usability... no
checking netinet/if_ether.h presence... yes
checking for netinet/if_ether.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking resolv.h usability... no
checking resolv.h presence... yes
checking for resolv.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking linux/if_tun.h usability... no
checking linux/if_tun.h presence... no
checking for linux/if_tun.h... no
checking linux/sockios.h usability... no
checking linux/sockios.h presence... no
checking for linux/sockios.h... no
checking linux/types.h usability... no
checking linux/types.h presence... no
checking for linux/types.h... no
checking linux/errqueue.h usability... no
checking linux/errqueue.h presence... no
checking for linux/errqueue.h... no
checking for in_addr_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for struct tun_pi... no
checking for struct iphdr... no
checking for struct iovec... yes
checking for struct sock_extended_err... no
checking for struct msghdr... yes
checking for struct cmsghdr... yes
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 4
checking for socklen_t... yes
checking return type of signal handlers... void
checking for library containing socket... -lsocket
checking for library containing inet_ntoa... -lnsl
checking for library containing gethostbyname... none required
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for daemon... no
checking for chroot... yes
checking for getpwnam... yes
checking for setuid... yes
checking for nice... yes
checking for system... yes
checking for getpid... yes
checking for dup... yes
checking for dup2... yes
checking for getpass... yes
checking for strerror... yes
checking for syslog... yes
checking for openlog... yes
checking for mlockall... yes
checking for getgrnam... yes
checking for setgid... yes
checking for setgroups... yes
checking for stat... yes
checking for flock... no
checking for readv... yes
checking for writev... yes
checking for setsockopt... yes
checking for getsockopt... yes
checking for setsid... yes
checking for chdir... yes
checking for gettimeofday... yes
checking for putenv... yes
checking for getpeername... yes
checking for inet_aton... no
checking for working memcmp... yes
checking for socket... yes
checking for recv... yes
checking for recvfrom... yes
checking for send... yes
checking for sendto... yes
checking for listen... yes
checking for accept... yes
checking for connect... yes
checking for bind... yes
checking for select... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for time... yes
checking for ctime... yes
checking for memset... yes
checking for vsnprintf... yes
configure: checking for LZO Library and Header files...
checking lzo1x.h usability... yes
checking lzo1x.h presence... yes
checking for lzo1x.h... yes
checking for lzo1x_1_15_compress in -llzo... yes
configure: checking for OpenSSL Crypto Library and Header files...
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for EVP_CIPHER_CTX_init in -lcrypto... yes
configure: checking that OpenSSL Library is at least version 0.9.5...
checking for EVP_CIPHER_CTX_set_key_length... yes
configure: checking for OpenSSL SSL Library and Header files...
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_CTX_new in -lssl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating openvpn.spec
config.status: creating config-win32.h
config.status: creating install-win32/openvpn.nsi
config.status: creating config.h
config.status: executing default-1 commands
===> Building for openvpn-1.6.0
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/ksh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
/usr/pkg/bin/bmake  all-am
cd . &&  CONFIG_HEADERS= CONFIG_LINKS=  CONFIG_FILES=Makefile /bin/ksh ./config.status
config.status: creating Makefile
config.status: executing default-1 commands
source='buffer.c' object='buffer.o' libtool=no  depfile='.deps/buffer.Po' tmpdepfile='.deps/buffer.TPo'  depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/pkg/include -I/usr/pkg/include/openssl -I/usr/pkg/include -I.  -O -I/usr/pkg/include -c `test -f buffer.c || echo './'`buffer.c
"buffer.c", line 191: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const char : "/usr/include/iso/string_iso.h", line 70
	argument : const pointer to unsigned char
source='crypto.c' object='crypto.o' libtool=no  depfile='.deps/crypto.Po' tmpdepfile='.deps/crypto.TPo'  depmode=none /bin/ksh ./depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/pkg/include -I/usr/pkg/include/openssl -I/usr/pkg/include -I.  -O -I/usr/pkg/include -c `test -f crypto.c || echo './'`crypto.c
"packet_id.h", line 134: zero or negative subscript
cc: acomp failed for crypto.c
*** Error code 2

Stop.
bmake: stopped in /pkgobj/net/openvpn/work/openvpn-1.6.0
*** Error code 1

Stop.
bmake: stopped in /pkgobj/net/openvpn/work/openvpn-1.6.0
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/net/openvpn

Please view the work log for openvpn-1.6.0


BULK> openvpn-1.6.0 was marked as broken:
-rw-r--r--   1 root     other      14583 Jul  6 17:37 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for openvpn
BULK> Marking all packages which depend upon openvpn-1.6.0 as broken:
BULK> Build for openvpn-1.6.0 was not successful, aborting.