###
### Tue Feb 3 14:44:20 EST 2004:
### bmake bulk-package for dmalloc-5.2.1
### Current pkg count:  3 installed packages: digest-20021220 patch-2.5.4nb2 xpkgwedge-1.9
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for dmalloc-5.2.1
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build dmalloc-5.2.1
BULK> Keeping BULK_PREREQ: xpkgwedge-1.9 (pkgtools/xpkgwedge)
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> dmalloc-5.2.1 requires installed package patch-2.5.4nb2 (devel/patch) to build.
BULK> Installing packages which are required to build dmalloc-5.2.1.
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 patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package xpkgwedge-1.9 (pkgtools/xpkgwedge) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
bmake package (dmalloc-5.2.1)
===> Checking for vulnerabilities in dmalloc-5.2.1
=> Checksum OK for dmalloc-5.2.1.tgz.
work.sol9 -> /work/pkgbuild/devel/dmalloc/work.sol9
===> Extracting for dmalloc-5.2.1
===> Required installed package pkg_install-info-[0-9]*: pkg_install-info-4.5nb2 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for dmalloc-5.2.1
===> Applying pkgsrc patches for dmalloc-5.2.1
===> Overriding tools for dmalloc-5.2.1
===> Buildlinking for dmalloc-5.2.1
===> Configuring for dmalloc-5.2.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.
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 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.2.1
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 -I/usr/pkg/include   -I/usr/pkg/include -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   -I. -I.  -c arg_check.c -o ./arg_check.o
cc: Warning: illegal option -fPIC
"arg_check.c", line 57: warning: implicit function declaration: bcmp
"arg_check.c", line 73: warning: implicit function declaration: bcopy
"arg_check.c", line 135: warning: implicit function declaration: index
"arg_check.c", line 150: warning: implicit function declaration: rindex
"arg_check.c", line 230: warning: implicit function declaration: bzero
rm -f compat.o
cc -O -fPIC -DPIC -I/usr/pkg/include   -I/usr/pkg/include -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   -I. -I.  -c compat.c -o ./compat.o
cc: Warning: illegal option -fPIC
rm -f dmalloc_rand.o
cc -O -fPIC -DPIC -I/usr/pkg/include   -I/usr/pkg/include -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   -I. -I.  -c dmalloc_rand.c -o ./dmalloc_rand.o
cc: Warning: illegal option -fPIC
rm -f dmalloc_tab.o
cc -O -fPIC -DPIC -I/usr/pkg/include   -I/usr/pkg/include -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   -I. -I.  -c dmalloc_tab.c -o ./dmalloc_tab.o
cc: Warning: illegal option -fPIC
"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.sol9/dmalloc-5.2.1
*** 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.2.1 was marked as broken:
-rw-r--r--   1 root     other       9717 Feb  3 14:46 .broken.html
bmake deinstall
===> Deinstalling for dmalloc
BULK> Marking all packages which depend upon dmalloc-5.2.1 as broken:
BULK> marking package that requires dmalloc-5.2.1 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.2.1 was not successful, aborting.