###
### Tue Aug 9 08:58:53 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for dpkg-1.10.24
### Current pkg count:  1 installed packages: digest-20050323
###
BULK> Full rebuild in progress...
BULK> Cleaning package dpkg-1.10.24 and pre-requisite packages
===> Cleaning for dpkg-1.10.24
===> Cleaning for libiconv-1.9.2nb1
===> Cleaning for libtool-base-1.5.18nb3
===> Cleaning for gettext-0.11.5nb5
===> Cleaning for gettext-lib-0.11.5nb4
===> Cleaning for gettext-m4-0.11.5
===> Cleaning for pkg_install-info-4.5nb3
===> Cleaning for gmake-3.80nb4
===> Cleaning for ncurses-5.4nb1
===> Cleaning for zlib-1.2.3
===> Cleaning for perl-5.8.6nb4
BULK> Removing installed packages which are not needed to build dpkg-1.10.24
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
BULK> Installing packages which are required to build dpkg-1.10.24.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/libiconv-1.9.2nb1.tgz
===========================================================================
Installing files needed by libiconv-1.9.2nb1:

	/usr/pkg/lib/charset.alias
	    [/usr/pkg/share/examples/libiconv/charset.alias]

===========================================================================
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/gettext-0.11.5nb5.tgz
BULK> Required package gettext-lib-0.11.5nb4 (devel/gettext-lib) is already installed
BULK> Required package gettext-m4-0.11.5 (devel/gettext-m4) 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/gmake-3.80nb4.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/ncurses-5.4nb1.tgz
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS-5.8/sparc/All/zlib-1.2.3.tgz
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 (dpkg-1.10.24)
===> Checking for vulnerabilities in dpkg-1.10.24
=> Checksum SHA1 OK for dpkg_1.10.24.tar.gz.
=> Checksum RMD160 OK for dpkg_1.10.24.tar.gz.
work -> /pkgobj/misc/dpkg/work
===> Extracting for dpkg-1.10.24
===> Required installed package gettext-lib>=0.11.5nb4: gettext-lib-0.11.5nb4 found
===> Required installed package ncurses>=5.4nb1: ncurses-5.4nb1 found
===> Required installed package zlib>=1.2.3: zlib-1.2.3 found
===> Required installed package libiconv>=1.9.1nb4: libiconv-1.9.2nb1 found
===> Required installed package gettext>=0.10.35nb1: gettext-0.11.5nb5 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.6nb4 found
===> Required installed package perl>=5.8.5nb6: perl-5.8.6nb4 found
===> Patching for dpkg-1.10.24
===> Applying pkgsrc patches for dpkg-1.10.24
===> Overriding tools for dpkg-1.10.24
===> Creating toolchain wrappers for dpkg-1.10.24
===> Configuring for dpkg-1.10.24
=> Fixing locale directory references.
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 target system type... sparc-sun-solaris2
checking for sparc-sun-solaris2-gcc... cc
checking for sparc-sun-solaris2-gcc... (cached) 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 sparc-sun-solaris2-g++... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking for sparc-sun-solaris2-ld... no
checking for ld... ld
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking whether make sets $(MAKE)... yes
checking dpkg version... 1.10.24
checking Operating system type... solaris2
checking Debian architecture... awk: illegal field $()
 input record number 1, file ./archtable
 source line number 1
sparc-solaris2, but not found in archtable
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether NLS is requested... yes
checking for msgfmt... /usr/pkg/bin/msgfmt
checking for gmsgfmt... /usr/pkg/bin/msgfmt
checking for xgettext... no
checking for msgmerge... /usr/pkg/bin/msgmerge
checking for non-GNU ld... ld
checking if the linker (ld) is GNU ld... no
checking for shared library run path origin... done
checking whether NLS is requested... yes
checking for GNU gettext in libc... no
checking for iconv... yes
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/pkg/lib/libintl.so /usr/pkg/lib/libiconv.so -lc -R/usr/pkg/lib
checking for msgfmt... (cached) /usr/pkg/bin/msgfmt
checking for gmsgfmt... (cached) /usr/pkg/bin/msgfmt
checking for xgettext... (cached) no
checking for msgmerge... (cached) /usr/pkg/bin/msgmerge
checking whether setlocale() is available... yes
checking how to run the C preprocessor... cc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for rm... /usr/bin/rm
checking for sed... /usr/pkg/bin/nbsed
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking for perl... /usr/pkg/bin/perl
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 mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... yes
checking for inline... inline
checking for unsigned long... yes
checking size of unsigned long... 4
checking for unsigned int... yes
checking size of unsigned int... 4
checking for ptrdiff_t... yes
checking for unsetenv... no
checking for alphasort... no
checking for scandir... no
checking for strerror... yes
checking for strsignal... yes
checking for strtoul... yes
checking for setsid... yes
checking for vsnprintf... yes
checking for lchown... yes
checking for snprintf... yes
checking sys/cdefs.h usability... no
checking sys/cdefs.h presence... no
checking for sys/cdefs.h... no
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking error.h usability... no
checking error.h presence... no
checking for error.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking whether sys_siglist is declared... no
checking for ihash_create in -lihash... no
checking for proc_stat_list_create in -lps... no
checking for fmt_past_time in -lshouldbeinlibc... no
checking for kvm_openfiles in -lkvm... no
checking for initscr in -lncurses... yes
checking if TIOCNOTTY is defined in sys/ioctl.h... no
checking for va_copy... yes
checking __attribute__((,,))... no
checking whether to use -Werror... no
checking GCC warning flag(s) -Wall ... no
checking GCC warning flag(s) -Wwrite-strings... no
checking GCC warning flag(s) -Wpointer-arith... no
checking GCC warning flag(s) -Wimplicit -Wnested-externs... no
checking GCC warning flag(s) -Wstrict-prototypes... no
checking GCC warning flag(s) -Wmissing-prototypes... no
checking GCC warning flag(s) -Wmissing-declarations... no
checking GCC warning flag(s) -Wbad-function-cast... no
checking GCC warning flag(s) -Wcast-qual -Wcast-align... no
checking GCC warning flag(s) -Winline... no
checking GCC warning flag(s) -Wmissing-noreturn... no
checking GCC warning flag(s) -Wsign-compare... no
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating Makefile.conf
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating dpkg-deb/Makefile
config.status: creating split/Makefile
config.status: creating lib/Makefile
config.status: creating optlib/Makefile
config.status: creating doc/Makefile
config.status: creating man/Makefile
config.status: creating man/paths.ent
config.status: creating man/de/Makefile
config.status: creating man/en/Makefile
config.status: creating man/es/Makefile
config.status: creating man/fr/Makefile
config.status: creating man/ja/Makefile
config.status: creating man/pt_BR/Makefile
config.status: creating man/ru/Makefile
config.status: creating man/sv/Makefile
config.status: creating scripts/Makefile
config.status: creating main/Makefile
config.status: creating dselect/Makefile
config.status: creating methods/Makefile
config.status: creating utils/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing default-2 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
===> Building for dpkg-1.10.24
echo "#define DPKG_VERSION \"1.10.24\" /* This line modified by Makefile */" > version.h
/usr/pkg/bin/gmake  all-include all-optlib all-lib all-dpkg-deb all-split all-scripts all-main all-dselect all-po all-methods
gmake[1]: Entering directory `/pkgobj/misc/dpkg/work/dpkg-1.10.24'
/usr/pkg/bin/gmake -w -C "include" "all"
gmake[2]: Entering directory `/pkgobj/misc/dpkg/work/dpkg-1.10.24/include'
sed -e 's,#CONFIGDIR#,/usr/pkg/share/dpkg/dpkg,' \
-e 's,#ADMINDIR#,/usr/pkg/var/db,' \
-e 's,#LIBDIR#,/usr/pkg/lib/dpkg,' dpkg.h.in > dpkg.h
gmake[2]: Leaving directory `/pkgobj/misc/dpkg/work/dpkg-1.10.24/include'
/usr/pkg/bin/gmake -w -C "optlib" "all"
gmake[2]: Entering directory `/pkgobj/misc/dpkg/work/dpkg-1.10.24/optlib'
cc -I/usr/pkg/include -O -I/usr/pkg/include  -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/pkg/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -c getopt.c
"getopt.c", line 582: warning: implicit function declaration: strcmp
"getopt.c", line 658: warning: implicit function declaration: strncmp
"getopt.c", line 661: warning: implicit function declaration: strlen
cc -I/usr/pkg/include -O -I/usr/pkg/include  -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/pkg/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -c getopt1.c
cc -I/usr/pkg/include -O -I/usr/pkg/include  -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/pkg/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -c long-options.c
cc -I/usr/pkg/include -O -I/usr/pkg/include  -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/pkg/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -c closeout.c
cc -I/usr/pkg/include -O -I/usr/pkg/include  -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/pkg/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -c obstack.c
ar r libopt.a getopt.o getopt1.o long-options.o closeout.o obstack.o
ar: creating libopt.a
ranlib libopt.a
gmake[2]: Leaving directory `/pkgobj/misc/dpkg/work/dpkg-1.10.24/optlib'
/usr/pkg/bin/gmake -w -C "lib" "all"
gmake[2]: Entering directory `/pkgobj/misc/dpkg/work/dpkg-1.10.24/lib'
cc -I/usr/pkg/include -O -I/usr/pkg/include  -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/pkg/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/usr/pkg/share/doc/dpkg/copyright\" -c compat.c
cc -I/usr/pkg/include -O -I/usr/pkg/include  -DHAVE_CONFIG_H -D_GNU_SOURCE -DLOCALEDIR=\"/usr/pkg/share/locale\" -I../intl -I../intl -I../include -I.. -I. -I../include -I.. -I. -I../optlib -DUSE_ZLIB -DUSE_BZ2LIB -DCOPYINGFILE=\"/usr/pkg/share/doc/dpkg/copyright\" -c compression.c
"/usr/include/bzlib.h", line 170: syntax error before or at: FILE
"/usr/include/bzlib.h", line 170: warning: undefined or missing type for: FILE
"/usr/include/bzlib.h", line 171: warning: undefined or missing type for: int
"/usr/include/bzlib.h", line 172: warning: undefined or missing type for: int
"/usr/include/bzlib.h", line 173: warning: undefined or missing type for: void
"/usr/include/bzlib.h", line 174: warning: undefined or missing type for: int
"/usr/include/bzlib.h", line 198: syntax error before or at: FILE
"/usr/include/bzlib.h", line 198: warning: undefined or missing type for: FILE
"/usr/include/bzlib.h", line 199: warning: undefined or missing type for: int
"/usr/include/bzlib.h", line 200: warning: undefined or missing type for: int
"/usr/include/bzlib.h", line 201: warning: undefined or missing type for: int
"compression.c", line 67: warning: implicit function declaration: BZ2_bzdopen
"compression.c", line 67: warning: improper pointer/integer combination: op "="
"compression.c", line 68: warning: implicit function declaration: BZ2_bzread
"compression.c", line 71: warning: implicit function declaration: BZ2_bzerror
"compression.c", line 71: warning: improper pointer/integer combination: op "="
"compression.c", line 167: warning: improper pointer/integer combination: op "="
"compression.c", line 173: warning: implicit function declaration: BZ2_bzwrite
"compression.c", line 176: warning: improper pointer/integer combination: op "="
"compression.c", line 186: warning: implicit function declaration: BZ2_bzclose
cc: acomp failed for compression.c
gmake[2]: *** [compression.o] Error 2
gmake[2]: Leaving directory `/pkgobj/misc/dpkg/work/dpkg-1.10.24/lib'
gmake[1]: *** [all-lib] Error 2
gmake[1]: Leaving directory `/pkgobj/misc/dpkg/work/dpkg-1.10.24'
gmake: *** [all-recursive] Error 2
*** Error code 2

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

Stop.
bmake: stopped in /usr/pkgsrc/misc/dpkg

Please view the work log for dpkg-1.10.24


BULK> dpkg-1.10.24 was marked as broken:
-rw-r--r--   1 root     other      15479 Aug  9 09:03 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for dpkg
BULK> Marking all packages which depend upon dpkg-1.10.24 as broken:
BULK> Build for dpkg-1.10.24 was not successful, aborting.