###
### Mon Jul 11 22:39:38 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for libssh-0.1
### Current pkg count:  1 installed packages: digest-20050323
###
BULK> Full rebuild in progress...
BULK> Cleaning package libssh-0.1 and pre-requisite packages
===> Cleaning for libssh-0.1
===> 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 libtool-base-1.5.18nb3
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for perl-5.8.6nb4
BULK> Removing installed packages which are not needed to build libssh-0.1
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> Installing packages which are required to build libssh-0.1.
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>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libtool-base-1.5.18nb3.tgz
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 (libssh-0.1)
===> Checking for vulnerabilities in libssh-0.1
=> libssh-0.1.tgz doesn't seem to exist on this system.
=> Attempting to fetch libssh-0.1.tgz from ftp://netbsd.stevens-tech.edu/pub/NetBSD/packages/distfiles/.
=> [122663 bytes]
=> Checksum SHA1 OK for libssh-0.1.tgz.
=> Checksum RMD160 OK for libssh-0.1.tgz.
work -> /pkgobj/security/libssh/work
===> Extracting for libssh-0.1
==========================================================================
The following variables will affect the build process of this package,
libssh-0.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 openssl>=0.9.7d: openssl-0.9.7f found
===> Patching for libssh-0.1
===> Overriding tools for libssh-0.1
===> Creating toolchain wrappers for libssh-0.1
===> Configuring for libssh-0.1
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 build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2
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 a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking whether byte ordering is bigendian... yes
checking for BN_init in -lcrypto... yes
checking for deflateInit_ in -lz... yes
checking for gethostbyname in -lresolv... no
checking for gethostbyname in -lnsl... yes
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking openssl/aes.h usability... yes
checking openssl/aes.h presence... yes
checking for openssl/aes.h... yes
checking openssl/blowfish.h usability... yes
checking openssl/blowfish.h presence... yes
checking for openssl/blowfish.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... yes
checking for endpwent... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for getpass... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for socket... no
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for poll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libssh/Makefile
config.status: creating config.h
===> Building for libssh-0.1
ln -s -f ../../config.h include/libssh/config.h
cc -O -I/usr/pkg/include -Iinclude/ -Wall -g -I/usr/pkg/include -c client.c
"client.c", line 94: warning: implicit function declaration: cfmakeraw
"client.c", line 97: warning: argument #2 is incompatible with prototype:
	prototype: pointer to function(int) returning void : "/usr/include/iso/signal_iso.h", line 48
	argument : pointer to function() returning void
"client.c", line 247: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "include/libssh/libssh.h", line 303
	argument : pointer to char
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c client.c
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c packet.c
"packet.c", line 41: warning: pointer to void or function used in arithmetic
"packet.c", line 118: warning: pointer to void or function used in arithmetic
"packet.c", line 136: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../include/libssh/libssh.h", line 425
	argument : pointer to unsigned char
"packet.c", line 161: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../include/libssh/libssh.h", line 425
	argument : pointer to unsigned char
"packet.c", line 273: warning: statement not reached
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c dh.c
"dh.c", line 152: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/security/libssh/work/.buildlink/include/openssl/bn.h", line 336
	argument : pointer to char
"dh.c", line 159: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const unsigned char : "/pkgobj/security/libssh/work/.buildlink/include/openssl/bn.h", line 335
	argument : pointer to char
"dh.c", line 233: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 82
	argument : pointer to char
"dh.c", line 260: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 82
	argument : pointer to char
"dh.c", line 280: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 82
	argument : pointer to char
"dh.c", line 290: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 82
	argument : pointer to char
"dh.c", line 314: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 79
	argument : pointer to char
"dh.c", line 341: warning: statement not reached
"dh.c", line 347: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 83
	argument : pointer to char
"dh.c", line 347: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 83
	argument : pointer to char
"dh.c", line 351: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const unsigned char : "/pkgobj/security/libssh/work/.buildlink/include/openssl/dsa.h", line 164
	argument : pointer to char
"dh.c", line 363: warning: argument #2 is incompatible with prototype:
	prototype: pointer to const unsigned char : "/pkgobj/security/libssh/work/.buildlink/include/openssl/rsa.h", line 248
	argument : pointer to char
"dh.c", line 363: warning: argument #4 is incompatible with prototype:
	prototype: pointer to unsigned char : "/pkgobj/security/libssh/work/.buildlink/include/openssl/rsa.h", line 248
	argument : pointer to char
"dh.c", line 376: warning: statement not reached
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c crypt.c
"crypt.c", line 71: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 88
	argument : pointer to char
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c connect.c
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c error.c
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c buffer.c
"buffer.c", line 144: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "buffer.c", line 132
	argument : pointer to unsigned long
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c string.c
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c kex.c
"kex.c", line 126: warning: argument #2 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 300
	argument : pointer to char
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c channels.c
"channels.c", line 116: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"channels.c", line 130: warning: statement not reached
"channels.c", line 261: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"channels.c", line 275: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"channels.c", line 291: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"channels.c", line 302: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../include/libssh/libssh.h", line 425
	argument : pointer to unsigned char
"channels.c", line 412: warning: statement not reached
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c options.c
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c keys.c
"keys.c", line 331: warning: argument #1 is incompatible with prototype:
	prototype: pointer to unsigned char : "../include/libssh/libssh.h", line 82
	argument : pointer to char
"keys.c", line 336: warning: argument #1 is incompatible with prototype:
	prototype: pointer to const unsigned char : "/pkgobj/security/libssh/work/.buildlink/include/openssl/dsa.h", line 163
	argument : pointer to char
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c auth.c
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c base64.c
"base64.c", line 121: warning: statement not reached
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c keyfiles.c
"keyfiles.c", line 69: warning: argument #3 is incompatible with prototype:
	prototype: pointer to function(pointer to char, int, int, pointer to void) returning int : "/pkgobj/security/libssh/work/.buildlink/include/openssl/pem.h", line 569
	argument : pointer to void
"keyfiles.c", line 71: warning: argument #3 is incompatible with prototype:
	prototype: pointer to function(pointer to char, int, int, pointer to void) returning int : "/pkgobj/security/libssh/work/.buildlink/include/openssl/pem.h", line 569
	argument : pointer to void
"keyfiles.c", line 74: warning: argument #3 is incompatible with prototype:
	prototype: pointer to function(pointer to char, int, int, pointer to void) returning int : "/pkgobj/security/libssh/work/.buildlink/include/openssl/pem.h", line 569
	argument : pointer to void
"keyfiles.c", line 84: warning: argument #3 is incompatible with prototype:
	prototype: pointer to function(pointer to char, int, int, pointer to void) returning int : "/pkgobj/security/libssh/work/.buildlink/include/openssl/pem.h", line 560
	argument : pointer to void
"keyfiles.c", line 86: warning: argument #3 is incompatible with prototype:
	prototype: pointer to function(pointer to char, int, int, pointer to void) returning int : "/pkgobj/security/libssh/work/.buildlink/include/openssl/pem.h", line 560
	argument : pointer to void
"keyfiles.c", line 89: warning: argument #3 is incompatible with prototype:
	prototype: pointer to function(pointer to char, int, int, pointer to void) returning int : "/pkgobj/security/libssh/work/.buildlink/include/openssl/pem.h", line 560
	argument : pointer to void
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c misc.c
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c gzip.c
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c wrapper.c
"wrapper.c", line 102: warning: argument #3 is incompatible with prototype:
	prototype: pointer to unsigned int : "/pkgobj/security/libssh/work/.buildlink/include/openssl/hmac.h", line 96
	argument : pointer to int
cc -O -I/usr/pkg/include -Wall -g -I../include/ -I/usr/pkg/include -c sftp.c
"sftp.c", line 96: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 103: warning: argument #2 is incompatible with prototype:
	prototype: pointer to char : "../include/libssh/libssh.h", line 425
	argument : pointer to unsigned char
"sftp.c", line 137: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 184: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 271: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 381: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 386: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long long : "../include/libssh/libssh.h", line 427
	argument : pointer to unsigned long long
"sftp.c", line 397: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 402: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long long : "../include/libssh/libssh.h", line 427
	argument : pointer to unsigned long long
"sftp.c", line 407: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 412: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long long : "../include/libssh/libssh.h", line 427
	argument : pointer to unsigned long long
"sftp.c", line 417: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 422: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long long : "../include/libssh/libssh.h", line 427
	argument : pointer to unsigned long long
"sftp.c", line 427: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 436: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 510: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 516: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long long : "../include/libssh/libssh.h", line 427
	argument : pointer to unsigned long long
"sftp.c", line 522: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 524: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 530: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 535: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 538: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 543: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 606: warning: statement not reached
"sftp.c", line 648: warning: argument #2 is incompatible with prototype:
	prototype: pointer to long : "../include/libssh/libssh.h", line 426
	argument : pointer to unsigned long
"sftp.c", line 872: warning: statement not reached
"sftp.c", line 918: warning: statement not reached
cc -o libssh.so -shared client.o packet.o dh.o crypt.o connect.o error.o buffer.o  string.o kex.o channels.o options.o keys.o auth.o base64.o  keyfiles.o misc.o gzip.o wrapper.o sftp.o -lnsl -lz -lcrypto -L/usr/pkg/lib -R/usr/pkg/lib
cc -o ssh client.o -L/usr/pkg/lib -R/usr/pkg/lib -lssh -Llibssh/
Undefined			first referenced
 symbol  			    in file
cfmakeraw                           client.o
hstrerror                           libssh//libssh.so
ld: fatal: Symbol referencing errors. No output written to ssh
*** Error code 1

Stop.
bmake: stopped in /pkgobj/security/libssh/work/libssh-0.1
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/security/libssh

Please view the work log for libssh-0.1


BULK> libssh-0.1 was marked as broken:
-rw-r--r--   1 root     other      21801 Jul 11 22:42 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for libssh
BULK> Marking all packages which depend upon libssh-0.1 as broken:
BULK> marking package that requires libssh-0.1 as broken: hydra-4.6 (security/hydra)
BULK> Build for libssh-0.1 was not successful, aborting.