Subject: Strange 1.6.2 problem
To: None <tech-pkg@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 02/26/2005 22:03:41
Hi,

On a newly installed 1.6.2 system, with everything recompiled from a 
netbsd-1-6 source tree except ld.elf_so (it's broken on PPC 604 
processors), with the latest pkgsrc tree, I've observed one problem and am 
still observing another.

First, it seems strange that pkg_install doesn't also build and install 
digest. Considering how digest is required for anything, it seems like a 
bug that trying to install a package after pkg_install simply says
"/usr/pkg/bin/digest not found" or whatever.

Second, now when I try to install a package, I get this after the 
download finishes (with debugging):

221-Goodbye. You uploaded 0 and downloaded 821 kbytes.
221 Logout.
+ [ -n yes -a -f /usr/pkgsrc/misc/screen/distinfo -a -f 
/usr/pkgsrc/distfiles//screen-4.0.2.tar.gz ]
+ /usr/bin/awk NF == 4 && $2 == "(screen-4.0.2.tar.gz)" && $3 == "=" 
{print $1;} /usr/pkgsrc/misc/screen/distinfo
+ alg=SHA1
RMD160
+ [ -z SHA1
RMD160 ]
+ /usr/local/bin/digest SHA1 RMD160
RMD160
+ CKSUM=
*** Error code 1

If I try to run make again, it continues past that point and works (unless 
it starts building a dependency, in which case it fails).

Does anyone know how to fix this?

John Klos