###
### Thu Jul 28 14:45:15 EDT 2005:
### /usr/pkg/bin/bmake bulk-package for cdb-0.75
### Current pkg count:  6 installed packages: digest-20050323 gettext-lib-0.11.5nb4 gmake-3.80nb4 libiconv-1.9.2nb1 libtool-base-1.5.18nb3 pkg_install-info-4.5nb3
###
BULK> Full rebuild in progress...
BULK> Cleaning package cdb-0.75 and pre-requisite packages
===> Cleaning for cdb-0.75
BULK> Removing installed packages which are not needed to build cdb-0.75
BULK> Keeping BULK_PREREQ: digest-20050323 (pkgtools/digest)
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libiconv-1.9.2nb1
Executing `/usr/bin/rm -f /usr/pkg/lib/charset.alias'
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r libtool-base-1.5.18nb3
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pkg_install-info-4.5nb3
BULK> Installing packages which are required to build cdb-0.75.
BULK> Required package digest-20050323 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (cdb-0.75)
===> Checking for vulnerabilities in cdb-0.75
=> Checksum SHA1 OK for cdb-0.75.tar.gz.
=> Checksum RMD160 OK for cdb-0.75.tar.gz.
work -> /pkgobj/databases/cdb/work
===> Extracting for cdb-0.75
==========================================================================
The following variables will affect the build process of this package,
cdb-0.75.  Their current value is shown below:

        * DJB_ERRNO_HACK = YES

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.
==========================================================================
===> Patching for cdb-0.75
===> Applying pkgsrc patches for cdb-0.75
===> Overriding tools for cdb-0.75
===> Creating toolchain wrappers for cdb-0.75
===> Configuring for cdb-0.75
=> Correcting definition of errno.
===> Building for cdb-0.75
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo exec "`head -1 conf-ld`"  '-o "$main" "$main".o ${1+"$@"}'  ) > load
chmod 755 load
( cat warn-auto.sh;  echo exec "`head -1 conf-cc`" '-c ${1+"$@"}'  ) > compile
chmod 755 compile
( ( ./compile tryulong32.c && ./load tryulong32 &&  ./tryulong32 ) >/dev/null 2>&1  && cat uint32.h2 || cat uint32.h1 ) > uint32.h
rm -f tryulong32.o tryulong32
./compile cdbget.c
"cdbget.c", line 27: warning: old-style declaration or incorrect type for: main
( cat warn-auto.sh;  echo CC=\'`head -1 conf-cc`\';  echo LD=\'`head -1 conf-ld`\';  cat find-systype.sh;  ) | sh > systype
( cat warn-auto.sh;  echo 'main="$1"; shift';  echo 'rm -f "$main"';  echo 'ar cr "$main" ${1+"$@"}';  case "`cat systype`" in  sunos-5.*) ;;  unix_sv*) ;;  irix64-*) ;;  irix-*) ;;  dgux-*) ;;  hp-ux-*) ;;  sco*) ;;  *) echo 'ranlib "$main"' ;;  esac  ) > makelib
chmod 755 makelib
./compile cdb.c
./compile cdb_hash.c
./compile cdb_make.c
./makelib cdb.a cdb.o cdb_hash.o cdb_make.o
./compile strerr_sys.c
./compile buffer.c
./compile buffer_put.c
./compile buffer_2.c
./compile strerr_die.c
./compile buffer_get.c
./compile buffer_copy.c
./compile buffer_1.c
./compile buffer_0.c
./compile buffer_1s.c
./makelib buffer.a strerr_sys.o buffer.o buffer_put.o  buffer_2.o strerr_die.o buffer_get.o buffer_copy.o  buffer_1.o buffer_0.o buffer_1s.o
./compile error.c
./compile open_read.c
./compile open_trunc.c
./compile error_str.c
./compile seek_set.c
"seek_set.c", line 7: warning: implicit function declaration: lseek
./compile seek_cur.c
"seek_cur.c", line 7: warning: implicit function declaration: lseek
./makelib unix.a error.o open_read.o open_trunc.o  error_str.o seek_set.o seek_cur.o
./compile byte_copy.c
./compile byte_cr.c
./compile str_len.c
./compile fmt_ulong.c
./compile uint32_unpack.c
./compile byte_diff.c
./compile uint32_pack.c
./compile scan_ulong.c
./makelib byte.a byte_copy.o byte_cr.o str_len.o  fmt_ulong.o uint32_unpack.o byte_diff.o uint32_pack.o  scan_ulong.o
./load cdbget cdb.a buffer.a unix.a byte.a
./compile cdbmake.c
"cdbmake.c", line 40: warning: old-style declaration or incorrect type for: main
"cdbmake.c", line 104: warning: implicit function declaration: fsync
"cdbmake.c", line 105: warning: implicit function declaration: close
"cdbmake.c", line 106: warning: implicit function declaration: rename
"cdbmake.c", line 109: warning: implicit function declaration: _exit
./compile alloc.c
./makelib alloc.a alloc.o
./load cdbmake cdb.a alloc.a buffer.a unix.a byte.a
Undefined			first referenced
 symbol  			    in file
get                                 cdbmake.o
ld: fatal: Symbol referencing errors. No output written to cdbmake
*** Error code 1

Stop.
bmake: stopped in /pkgobj/databases/cdb/work/cdb-0.75
*** Error code 1

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

Stop.
bmake: stopped in /usr/pkgsrc/databases/cdb

Please view the work log for cdb-0.75


BULK> cdb-0.75 was marked as broken:
-rw-r--r--   1 root     other       5091 Jul 28 14:45 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for cdb
BULK> Marking all packages which depend upon cdb-0.75 as broken:
BULK> Build for cdb-0.75 was not successful, aborting.