###
### Thu Jun 10 04:59:30 EST 2004:
### /usr/pkg/bin/bmake bulk-package for dmalloc-5.3.0
### 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 dmalloc-5.3.0
===> Cleaning for pkg_install-info-4.5nb2
BULK> Removing installed packages which are not needed to build dmalloc-5.3.0
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r patch-2.5.4nb2
/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> Installing packages which are required to build dmalloc-5.3.0.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/SunOS/5.9/sparc/All/pkg_install-info-4.5nb2.tgz
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (dmalloc-5.3.0)
===> Checking for vulnerabilities in dmalloc-5.3.0
=> dmalloc-5.3.0.tgz doesn't seem to exist on this system.
=> Attempting to fetch dmalloc-5.3.0.tgz from http://belnet.dl.sourceforge.net/sourceforge/dmalloc/.
=> [346994 bytes]
=> Checksum OK for dmalloc-5.3.0.tgz.
work -> /work/pkgbuild/devel/dmalloc/work
===> Extracting for dmalloc-5.3.0
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb2 found
===> Patching for dmalloc-5.3.0
===> Overriding tools for dmalloc-5.3.0
===> Buildlinking for dmalloc-5.3.0
===> Configuring for dmalloc-5.3.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.
configure: configurations for the dmalloc library
configure: build utilities
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 sparc-sun-solaris2-g++... CC
checking whether we are using the GNU C++ compiler... no
checking whether CC accepts -g... yes
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking for sparc-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for an ANSI C-conforming const... 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 stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking shared library link args... ld -G -o $@.t
checking C++ support... enabled
checking thread support... enabled
checking shlib support... enabled
checking for size_t... yes
checking dmalloc size unsigned... yes
checking strdup macro... no
checking for mprotect... yes
checking mprotect works... yes
configure: important functionality
checking for sbrk... yes
checking heap grows... up
checking for getpagesize... yes
checking basic-block size... 13
checking for long... yes
checking size of long... 4
checking data-alignment size... 8
checking for abort... yes
checking abort safe... yes
checking return type of signal handlers... void
checking signal works... yes
checking for getenv... yes
checking getenv safe... yes
checking sys/cygwin.h usability... no
checking sys/cygwin.h presence... no
checking for sys/cygwin.h... no
checking w32api/windef.h usability... no
checking w32api/windef.h presence... no
checking for w32api/windef.h... no
checking for w32api/winbase.h... no
checking for GetEnvironmentVariableA... no
checking constructor attribute... no
checking destructor attribute... no
checking return.h macros work... yes
checking if ident works... yes
configure: pthread particulars
checking for library containing pthread_mutex_init... none required
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking pthreads.h usability... no
checking pthreads.h presence... no
checking for pthreads.h... no
checking for pthread_mutex_init... yes
checking for pthread_mutex_lock... yes
checking for pthread_mutex_unlock... yes
checking pthread mutex type... pthread_mutex_t
checking pthread attribute initialization... 0
configure: functions
checking for atexit... yes
checking for on_exit... no
checking for fork... yes
checking for gethostname... yes
checking for getpid... yes
checking for getuid... yes
checking for time... yes
checking for ctime... yes
checking for vprintf... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for recalloc... no
checking for memalign... yes
checking for valloc... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memset... yes
checking for strchr... yes
checking for strrchr... yes
checking for strlen... yes
checking for strcmp... yes
checking for strcpy... yes
checking for strsep... no
configure: various functions for argv files
checking for strncmp... yes
checking for strncpy... yes
configure: various functions for argument checking
checking for bcmp... yes
checking for bcopy... yes
checking for bzero... yes
checking for memccpy... yes
checking for memchr... yes
checking for index... yes
checking for rindex... yes
checking for strcasecmp... yes
checking for strncasecmp... yes
checking for strcat... yes
checking for strdup... yes
checking for strspn... yes
checking for strcspn... yes
checking for strncat... yes
checking for strpbrk... yes
checking for strstr... yes
checking for strtok... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf.h
config.status: executing dmalloc.h.2 commands
config.status: executing settings.h commands
configure: 
configure: Please check-out Makefile and conf.h to make sure that
configure: sane configuration values were a result.
configure: 
configure: You may want to change values in settings.h before
configure: running 'make'.
configure: 
configure: To run the basic library tests, you can execute:
configure:   make light
configure: or
configure:   make heavy
configure: 
===> Building for dmalloc-5.3.0
rm -f dmalloc.h dmalloc.h.t
cat ./dmalloc.h.1 dmalloc.h.2 ./dmalloc.h.3 > dmalloc.h.t
mv dmalloc.h.t dmalloc.h
rm -f arg_check.o
cc -O -fPIC -DPIC   -DHAVE_STDARG_H=1  -DHAVE_STDLIB_H=1  -DHAVE_STRING_H=1  -DHAVE_UNISTD_H=1  -DHAVE_SYS_MMAN_H=1  -DHAVE_SYS_TYPES_H=1  -DHAVE_W32API_WINBASE_H=0  -DHAVE_W32API_WINDEF_H=0  -DHAVE_SYS_CYGWIN_H=0   -I. -I.  -c arg_check.c -o ./arg_check.o
"arg_check.c", line 57: warning: implicit function declaration: bcmp
"arg_check.c", line 73: warning: implicit function declaration: bcopy
"arg_check.c", line 136: warning: implicit function declaration: index
"arg_check.c", line 151: warning: implicit function declaration: rindex
"arg_check.c", line 231: warning: implicit function declaration: bzero
rm -f compat.o
cc -O -fPIC -DPIC   -DHAVE_STDARG_H=1  -DHAVE_STDLIB_H=1  -DHAVE_STRING_H=1  -DHAVE_UNISTD_H=1  -DHAVE_SYS_MMAN_H=1  -DHAVE_SYS_TYPES_H=1  -DHAVE_W32API_WINBASE_H=0  -DHAVE_W32API_WINDEF_H=0  -DHAVE_SYS_CYGWIN_H=0   -I. -I.  -c compat.c -o ./compat.o
rm -f dmalloc_rand.o
cc -O -fPIC -DPIC   -DHAVE_STDARG_H=1  -DHAVE_STDLIB_H=1  -DHAVE_STRING_H=1  -DHAVE_UNISTD_H=1  -DHAVE_SYS_MMAN_H=1  -DHAVE_SYS_TYPES_H=1  -DHAVE_W32API_WINBASE_H=0  -DHAVE_W32API_WINDEF_H=0  -DHAVE_SYS_CYGWIN_H=0   -I. -I.  -c dmalloc_rand.c -o ./dmalloc_rand.o
rm -f dmalloc_tab.o
cc -O -fPIC -DPIC   -DHAVE_STDARG_H=1  -DHAVE_STDLIB_H=1  -DHAVE_STRING_H=1  -DHAVE_UNISTD_H=1  -DHAVE_SYS_MMAN_H=1  -DHAVE_SYS_TYPES_H=1  -DHAVE_W32API_WINBASE_H=0  -DHAVE_W32API_WINDEF_H=0  -DHAVE_SYS_CYGWIN_H=0   -I. -I.  -c dmalloc_tab.c -o ./dmalloc_tab.o
"dmalloc.h", line 316: identifier redeclared: malloc
	current : function(unsigned int) returning pointer to char
	previous: function(unsigned int) returning pointer to void : "/usr/include/iso/stdlib_iso.h", line 105
"dmalloc.h", line 338: identifier redeclared: calloc
	current : function(unsigned int, unsigned int) returning pointer to char
	previous: function(unsigned int, unsigned int) returning pointer to void : "/usr/include/iso/stdlib_iso.h", line 98
"dmalloc.h", line 362: identifier redeclared: realloc
	current : function(pointer to char, unsigned int) returning pointer to char
	previous: function(pointer to void, unsigned int) returning pointer to void : "/usr/include/iso/stdlib_iso.h", line 112
"dmalloc.h", line 413: identifier redeclared: memalign
	current : function(unsigned int, unsigned int) returning pointer to char
	previous: function(unsigned int, unsigned int) returning pointer to void : "/usr/include/stdlib.h", line 198
"dmalloc.h", line 435: identifier redeclared: valloc
	current : function(unsigned int) returning pointer to char
	previous: function(unsigned int) returning pointer to void : "/usr/include/stdlib.h", line 177
"dmalloc.h", line 477: identifier redeclared: free
	current : function(pointer to char) returning int
	previous: function(pointer to void) returning void : "/usr/include/iso/stdlib_iso.h", line 101
"dmalloc_tab.c", line 487: cannot recover from previous errors
cc: acomp failed for dmalloc_tab.c
*** Error code 2

Stop.
bmake: stopped in /work/pkgbuild/devel/dmalloc/work/dmalloc-5.3.0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/dmalloc
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/devel/dmalloc
BULK> dmalloc-5.3.0 was marked as broken:
-rw-r--r--   1 root     other      10144 Jun 10 05:05 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for dmalloc
BULK> Marking all packages which depend upon dmalloc-5.3.0 as broken:
BULK> marking package that requires dmalloc-5.3.0 as broken: crossfire-server-1.0.0nb1 (games/crossfire-srv)
NOTE: Couldn't lock the package database.
NOTE: Couldn't lock the package database.
BULK> Build for dmalloc-5.3.0 was not successful, aborting.