###
### Sun Jul 31 22:34:24 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for dropbear-0.45
### Current pkg count:  8 installed packages: digest-20050323 gawk-3.1.4nb2 gettext-lib-0.11.5nb4 libgcrypt-1.2.1 libgpg-error-1.0 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pkg_install-info-4.5nb3
###
BULK> Full rebuild in progress...
BULK> Cleaning package dropbear-0.45 and pre-requisite packages
===> Cleaning for dropbear-0.45
===> 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 zlib-1.2.3
BULK> Removing installed packages which are not needed to build dropbear-0.45
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> dropbear-0.45 requires installed package pkg_install-info-4.5nb3 (pkgtools/pkg_install-info) to build.
BULK> dropbear-0.45 requires installed package libiconv-1.9.2nb1 (converters/libiconv) to build.
BULK> dropbear-0.45 requires installed package gettext-lib-0.11.5nb4 (devel/gettext-lib) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libgpg-error-1.0
BULK> dropbear-0.45 requires installed package libtool-base-1.5.18nb3 (devel/libtool-base) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r gawk-3.1.4nb2
BULK> Installing packages which are required to build dropbear-0.45.
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/zlib-1.2.3.tgz
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (dropbear-0.45)
===> Checking for vulnerabilities in dropbear-0.45
=> Checksum SHA1 OK for dropbear-0.45.tar.bz2.
=> Checksum RMD160 OK for dropbear-0.45.tar.bz2.
work -> /pkgobj/security/dropbear/work
===> Extracting for dropbear-0.45
===> Required installed package zlib>=1.2.3: zlib-1.2.3 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Patching for dropbear-0.45
===> Applying pkgsrc patches for dropbear-0.45
===> Overriding tools for dropbear-0.45
===> Creating toolchain wrappers for dropbear-0.45
===> Configuring for dropbear-0.45
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 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 whether make sets $(MAKE)... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2
checking for obsolete utmp and wtmp in solaris2.x... ./configure[2378]: sparc-sun-solaris2: bad number
no
checking for socket in -lsocket... yes
checking for yp_match in -lnsl... yes
checking for sparc-sun-solaris2-ar... no
checking for ar... ar
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for sparc-sun-solaris2-strip... no
checking for strip... strip
checking for sparc-sun-solaris2-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 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 whether __UCLIBC__ is declared... no
checking for crypt in -lcrypt... yes
checking for deflate in -lz... yes
Enabling zlib
Disabling PAM
Using openpty if available
checking for library containing openpty... no
Enabling syslog
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
Using shadow passwords if available
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.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 crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking pty.h usability... no
checking pty.h presence... no
checking for pty.h... no
checking ioctl.h usability... no
checking ioctl.h presence... no
checking for ioctl.h... no
checking libutil.h usability... no
checking libutil.h presence... no
checking for libutil.h... no
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking for inttypes.h... (cached) yes
checking stropts.h usability... yes
checking stropts.h presence... yes
checking for stropts.h... yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking lastlog.h usability... yes
checking lastlog.h presence... yes
checking for lastlog.h... yes
checking paths.h usability... no
checking paths.h presence... no
checking for paths.h... no
checking util.h usability... no
checking util.h presence... no
checking for util.h... no
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for uint16_t... yes
checking for u_int16_t... no
checking for struct sockaddr_storage... no
checking for socklen_t... yes
checking for struct sockaddr_storage... yes
checking for struct sockaddr_in6... yes
checking for struct in6_addr... yes
checking for struct addrinfo... yes
checking for gai_strerror... yes
checking for struct utmp.ut_host... no
checking for struct utmp.ut_pid... yes
checking for struct utmp.ut_type... yes
checking for struct utmp.ut_tv... no
checking for struct utmp.ut_id... yes
checking for struct utmp.ut_addr... no
checking for struct utmp.ut_addr_v6... no
checking for struct utmp.ut_exit... yes
checking for struct utmp.ut_time... yes
checking for struct utmpx.ut_host... yes
checking for struct utmpx.ut_syslen... yes
checking for struct utmpx.ut_type... yes
checking for struct utmpx.ut_id... yes
checking for struct utmpx.ut_addr... no
checking for struct utmpx.ut_addr_v6... no
checking for struct utmpx.ut_time... no
checking for struct utmpx.ut_tv... yes
checking for endutent... yes
checking for getutent... yes
checking for getutid... yes
checking for getutline... yes
checking for pututline... yes
checking for setutent... yes
checking for utmpname... yes
checking for endutxent... yes
checking for getutxent... yes
checking for getutxid... yes
checking for getutxline... yes
checking for pututxline... yes
checking for setutxent... yes
checking for utmpxname... yes
checking for logout... no
checking for updwtmp... yes
checking for logwtmp... no
checking for library containing login... no
checking for logout... (cached) no
checking for updwtmp... (cached) yes
checking for logwtmp... (cached) no
checking if your system defines LASTLOG_FILE... no
checking if your system defines _PATH_LASTLOG... no
checking if your system defines UTMP_FILE... yes
checking if your system defines WTMP_FILE... yes
checking if your system defines UTMPX_FILE... yes
checking if your system defines WTMPX_FILE... yes
checking for working memcmp... 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 dup2... yes
checking for getspnam... yes
checking for getusershell... yes
checking for memset... yes
checking for putenv... yes
checking for select... yes
checking for socket... yes
checking for strdup... yes
checking for clearenv... no
checking for strlcpy... yes
checking for strlcat... yes
checking for daemon... no
checking for basename... yes
checking for _getpty... no
checking for getaddrinfo... yes
checking for freeaddrinfo... yes
checking for getnameinfo... yes
checking for library containing basename... none required
checking for "/dev/ptmx"... yes
checking for "/dev/ptc"... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libtomcrypt/Makefile
config.status: creating config.h
config.status: config.h is unchanged
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libtomcrypt/Makefile
config.status: creating libtommath/Makefile
config.status: creating config.h
config.status: config.h is unchanged

Now edit options.h to choose features.
===> Building for dropbear-0.45
cd libtomcrypt && /usr/pkg/bin/gmake clean && /usr/pkg/bin/gmake
gmake[1]: Entering directory `/pkgobj/security/dropbear/work/dropbear-0.45/libtomcrypt'
rm -f error_to_string.o mpi_to_ltc_error.o base64_encode.o base64_decode.o crypt.o                    crypt_find_cipher.o      crypt_find_hash_any.o crypt_hash_is_valid.o      crypt_register_hash.o    crypt_unregister_prng.o crypt_argchk.o             crypt_find_cipher_any.o  crypt_find_hash_id.o crypt_prng_descriptor.o    crypt_register_prng.o    crypt_cipher_descriptor.o crypt_find_cipher_id.o     crypt_find_prng.o        crypt_prng_is_valid.o crypt_unregister_cipher.o  crypt_cipher_is_valid.o  crypt_find_hash.o crypt_hash_descriptor.o    crypt_register_cipher.o  crypt_unregister_hash.o rand_prime.o is_prime.o aes.o blowfish.o des.o twofish.o md5.o sha1.o sha512.o cbc_start.o cbc_encrypt.o cbc_decrypt.o cbc_getiv.o cbc_setiv.o ecb_start.o ecb_encrypt.o ecb_decrypt.o hash_memory.o hmac_done.o  hmac_file.o  hmac_init.o  hmac_memory.o  hmac_process.o  hmac_test.o burn_stack.o zeromem.o  demos/test.o demos/hashsum.o demos/encrypt.o demos/small.o *.dvi *.log *.aux *.toc *.idx *.ilg *.ind *.out libtomcrypt.a
rm -f  hashsum crypt-0.99.tar.bz2 crypt-0.99.zip demos/x86_prof.o x86_prof demos/tv_gen.o tv_gen
rm -f *.la *.lo *.o *.a *.dll *stackdump *.lib *.exe *.obj demos/*.obj demos/*.o *.bat *.txt *.il *.da demos/*.il demos/*.da *.dyn *.dpi \
*.gcda *.gcno demos/*.gcno demos/*.gcda *~ doc/*
cd demos/test && make clean   
make[2]: Entering directory `/pkgobj/security/dropbear/work/dropbear-0.45/libtomcrypt/demos/test'
rm -rf test *.o *.obj *.exe *~	.libs
make[2]: Leaving directory `/pkgobj/security/dropbear/work/dropbear-0.45/libtomcrypt/demos/test'
rm -rf .libs demos/.libs demos/test/.libs
gmake[1]: Leaving directory `/pkgobj/security/dropbear/work/dropbear-0.45/libtomcrypt'
gmake[1]: Entering directory `/pkgobj/security/dropbear/work/dropbear-0.45/libtomcrypt'
cc -I. -I./libtomcrypt -O -I/usr/pkg/include -I/usr/local/include -DDROPBEAR_SERVER -DDROPBEAR_CLIENT -c -I. -I/usr/pkg/include  -c -o error_to_string.o error_to_string.c
"./mycrypt_prng.h", line 14: zero or negative subscript
"./mycrypt_prng.h", line 53: zero-sized struct/union
cc: acomp failed for error_to_string.c
gmake[1]: *** [error_to_string.o] Error 2
gmake[1]: Leaving directory `/pkgobj/security/dropbear/work/dropbear-0.45/libtomcrypt'
gmake: *** [libtomcrypt/libtomcrypt.a] Error 2
*** Error code 2

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

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

Please view the work log for dropbear-0.45


BULK> dropbear-0.45 was marked as broken:
-rw-r--r--   1 root     other      13527 Jul 31 22:37 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for dropbear
BULK> Marking all packages which depend upon dropbear-0.45 as broken:
BULK> Build for dropbear-0.45 was not successful, aborting.