Subject: Re: Package utils broken? or missing dependancy?
To: Paul Goyette <paul@whooppee.com>
From: Alistair Crooks <agc@pkgsrc.org>
List: current-users
Date: 03/29/2001 08:28:59
On Wed, Mar 28, 2001 at 07:47:51PM -0800, Paul Goyette wrote:
> Hi!
> 
> I noticed that graphics/s10sh was committed today, so I thought I'd
> give it a try.
> 
> But first, I was told I had to update pkgtools/pkg_install.
> 
> So, I tried.  But when pkg_install attempted to build plgtools/digest,
> it couldn't find a bunch of RMD160_* symbols.
> 
> Where should these symbols come from?  And why didn't digest's Makefile
> figure out that I needed something else and install it?

To quote from the digest Makefile in
pkgsrc/pkgtools/digest/files/Makefile:

> .if !exists(/usr/include/rmd160.h)
> SRCS+= rmd160.c rmd160hl.c
> .endif

i.e.  the digest utility's Makefile looks for /usr/include/rmd160.h,
and, if it's present, assumes that you have the rmd160*() routines in
libc, so it doesn't need its own copies.

I don't know how you have the header file, but not the routines in libc.

As a workaround, enable the SRCS line above unconditionally. I'll look
into the problem further.

Regards,
Alistair