###
### Sat Jul 10 20:05:25 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for apg-2.1.0
### Current pkg count:  3 installed packages: digest-20021220 patch-2.5.4nb2 pgp-2.6.3ia
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for apg-2.1.0
===> Cleaning for perl-5.8.4
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build apg-2.1.0
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> apg-2.1.0 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r pgp-2.6.3ia
BULK> Installing packages which are required to build apg-2.1.0.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/perl-5.8.4.tgz

===========================================================================
$NetBSD: MESSAGE,v 1.1 2004/01/08 19:18:00 jlam Exp $

perl-5.8.4 will use the following directory as the default
location of the site-specific Perl modules:

	/usr/pkg/lib/perl5/site_perl/5.8.4

===========================================================================

BULK> Required package patch-2.5.4nb2 (devel/patch) is already installed
BULK> Required package digest-20021220 (pkgtools/digest) is already installed
/usr/pkg/bin/bmake package (apg-2.1.0)
===> Checking for vulnerabilities in apg-2.1.0
=> apg-2.1.0.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch apg-2.1.0.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [99202 bytes]
=> Checksum OK for apg-2.1.0.tar.gz.
work -> /pkgbuild/security/apg/work
===> Extracting for apg-2.1.0
===> Required installed package {perl>=5.0,perl-thread>=5.0}: perl-5.8.4 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for apg-2.1.0
===> Applying pkgsrc patches for apg-2.1.0
===> Overriding tools for apg-2.1.0
===> Configuring for apg-2.1.0
===> Building for apg-2.1.0
cc -O -DCLISERV -DAPG_DONOTUSE_SHA -o apgd bloom.c ./sha/sha.c ./cast/cast.c rnd.c pronpass.c  randpass.c restrict.c errors.c apg.c getopt.c  -lm
bloom.c:
./sha/sha.c:
./cast/cast.c:
rnd.c:
pronpass.c:
randpass.c:
restrict.c:
errors.c:
apg.c:
getopt.c:
Undefined			first referenced
 symbol  			    in file
getpeername                         apg.o
inet_ntoa                           apg.o
ld: fatal: Symbol referencing errors. No output written to apgd
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/security/apg/work/apg-2.1.0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/apg
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/apg
BULK> apg-2.1.0 was marked as broken:
-rw-r--r--   1 root     other       2645 Jul 10 20:07 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for apg
BULK> Marking all packages which depend upon apg-2.1.0 as broken:
BULK> Build for apg-2.1.0 was not successful, aborting.