###
### Thu Jun 24 20:02:42 EST 2004:
### /usr/pkg/bin/bmake bulk-package for openvpn-1.5.0nb1
### Current pkg count:  3 installed packages: digest-20021220 patch-2.5.4nb2 xpkgwedge-1.10
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for openvpn-1.5.0nb1
===> Cleaning for liblzo-1.08
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
===> Cleaning for openssl-0.9.6m
===> Cleaning for perl-5.8.4
BULK> Removing installed packages which are not needed to build openvpn-1.5.0nb1
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
BULK> openvpn-1.5.0nb1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build openvpn-1.5.0nb1.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/liblzo-1.08.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/libtool-base-1.5.6nb1.tgz
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/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>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/perl-5.8.4.tgz

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

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

	/usr/pkg/lib/perl5/site_perl/5.8.4

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

BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (openvpn-1.5.0nb1)
===> Checking for vulnerabilities in openvpn-1.5.0nb1
=> openvpn-1.5.0.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch openvpn-1.5.0.tar.gz from http://belnet.dl.sourceforge.net/sourceforge/openvpn/.
=> [403792 bytes]
=> Checksum OK for openvpn-1.5.0.tar.gz.
work -> /work/pkgbuild/net/openvpn/work
===> Extracting for openvpn-1.5.0nb1
===> Required installed package liblzo>=1.08: liblzo-1.08 found
===> Required installed package openssl>=0.9.6m: openssl-0.9.6m found
==========================================================================
The following variables will affect the build process of this package,
openvpn-1.5.0nb1.  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 openvpn-1.5.0nb1
===> Overriding tools for openvpn-1.5.0nb1
===> Buildlinking for openvpn-1.5.0nb1
===> Configuring for openvpn-1.5.0nb1
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... /sbin/ifconfig
checking for route... /usr/sbin/route
checking build system type... sparc-sun-solaris2.9
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 bmake 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 bmake... 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... no
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... yes
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 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.5.0nb1
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
"crypto.c", line 235: warning: end-of-loop code not reached
"crypto.c", line 244: warning: end-of-loop code not reached
"crypto.c", line 266: warning: end-of-loop code not reached
"crypto.c", line 276: warning: end-of-loop code not reached
"crypto.c", line 280: warning: end-of-loop code not reached
"crypto.c", line 284: warning: end-of-loop code not reached
"crypto.c", line 288: warning: end-of-loop code not reached
"crypto.c", line 293: warning: end-of-loop code not reached
"crypto.c", line 306: warning: end-of-loop code not reached
"crypto.c", line 319: warning: end-of-loop code not reached
"crypto.c", line 334: warning: end-of-loop code not reached
"crypto.c", line 766: cannot recover from previous errors
cc: acomp failed for crypto.c
*** Error code 2

Stop.
bmake: stopped in /work/pkgbuild/net/openvpn/work/openvpn-1.5.0
*** Error code 1

Stop.
bmake: stopped in /work/pkgbuild/net/openvpn/work/openvpn-1.5.0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/openvpn
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/openvpn
BULK> openvpn-1.5.0nb1 was marked as broken:
-rw-r--r--   1 root     other      14967 Jun 24 20:16 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for openvpn
BULK> Marking all packages which depend upon openvpn-1.5.0nb1 as broken:
BULK> Build for openvpn-1.5.0nb1 was not successful, aborting.