###
### Sat Jul 10 10:24:26 CEST 2004:
### /usr/pkg/bin/bmake bulk-package for sftp-0.5
### Current pkg count:  3 installed packages: digest-20021220 patch-2.5.4nb2 sendfile-2.1.0.2nb1
###
BULK> Full rebuild in progress...
BULK> Cleaning package and its depends
===> Cleaning for sftp-0.5
===> Cleaning for readline-4.3pl5
===> Cleaning for pkg_install-info-4.5nb2
===> Cleaning for libtool-base-1.5.6nb1
===> Cleaning for patch-2.5.4nb2
BULK> Removing installed packages which are not needed to build sftp-0.5
BULK> Keeping BULK_PREREQ: digest-20021220 (pkgtools/digest)
BULK> sftp-0.5 requires installed package patch-2.5.4nb2 (devel/patch) to build.
/usr/pkg/sbin/pkg_delete -K /var/db/pkg -r sendfile-2.1.0.2nb1

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

If you won't be using sendfile any longer, do the following:

 o remove the "saft" lines from /etc/services and /etc/inetd.conf;
   restart inetd.
 o remove the check_sendfile lines from /etc/profile and /etc/csh.login
 o remove the directory /var/spool/sendfile and its contents

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

pkg_delete: file `/usr/pkg/man/man7/fetchfile.7' doesn't really exist
pkg_delete: file `/usr/pkg/man/man8/sendfiled.8' doesn't really exist
pkg_delete: couldn't entirely delete package `sendfile-2.1.0.2nb1'
(perhaps the packing list is incorrectly specified?)
BULK> Installing packages which are required to build sftp-0.5.
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/readline-4.3pl5.tgz
BULK> Required package pkg_install-info-4.5nb2 (pkgtools/pkg_install-info) is already installed
BULK>  /usr/pkg/sbin/pkg_add -K /var/db/pkg  /packages/All/libtool-base-1.5.6nb1.tgz
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 (sftp-0.5)
===> Checking for vulnerabilities in sftp-0.5
=> sftp-0.5.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch sftp-0.5.tar.gz from ftp://ftp.cz.NetBSD.org/pub/NetBSD/packages/distfiles/.
=> [26072 bytes]
=> Checksum OK for sftp-0.5.tar.gz.
work -> /pkgbuild/net/sftp/work
===> Extracting for sftp-0.5
===> Required installed package readline>=2.2: readline-4.3pl5 found
===> Required installed package patch>=2.2: patch-2.5.4nb2 found
===> Patching for sftp-0.5
===> Applying pkgsrc patches for sftp-0.5
===> Overriding tools for sftp-0.5
===> Buildlinking for sftp-0.5
===> Configuring for sftp-0.5
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O -I/usr/pkg/include -L/usr/pkg/lib -R/usr/pkg/lib) works... yes
checking whether the C compiler (cc -O -I/usr/pkg/include -L/usr/pkg/lib -R/usr/pkg/lib) is a cross-compiler... no
checking whether we are using GNU C... no
checking whether cc accepts -g... yes
checking whether ln -s works... yes
checking for readline in -lreadline... no
checking for socket in -lsocket... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for sys/time.h... yes
checking for unistd.h... yes
checking for signal.h... yes
checking for sys/signal.h... yes
checking for working const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for wait3 that fills in rusage... no
checking for getcwd... yes
checking for gettimeofday... yes
checking for select... yes
checking for strdup... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
===> Building for sftp-0.5
cc -O -I/usr/pkg/include -DSFTPSERV_PATH='"sftpserv"' -c sftp.c
cc -O -I/usr/pkg/include   -I/usr/pkg/include -c sftpshare.c
cc -O -I/usr/pkg/include -o sftp sftp.o sftpshare.o -ledit -ltermcap
ld: fatal: library -ledit: not found
ld: fatal: File processing errors. No output written to sftp
*** Error code 1

Stop.
bmake: stopped in /pkgbuild/net/sftp/work/sftp-0.5
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/sftp
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/sftp
BULK> sftp-0.5 was marked as broken:
-rw-r--r--   1 root     other       4270 Jul 10 10:25 .broken.html
/usr/pkg/bin/bmake deinstall
===> Deinstalling for sftp
BULK> Marking all packages which depend upon sftp-0.5 as broken:
BULK> Build for sftp-0.5 was not successful, aborting.