Subject: Why do some +CONTENTS files have duplicate dependencies?
To: None <>
From: Jeremy C. Reed <>
List: tech-pkg
Date: 09/27/2002 15:55:21
I was guessing that "pkg_info -n" based its "Requires:" output on
the currently installed packages.

For example, I do a:
 pkg_info -n gimp-1.2.3nb2.tgz
and I get duplicates like:

 pth>=1.4.1nb2  -- is what I have installed

So I looked at original +CONTENTS file. But I saw it also had duplicates:

 @blddep gimp-base-1.2.3nb1
 @pkgdep gimp-base-1.2.3nb1
 @blddep gimp-base-1.2.3nb1
 @pkgdep gimp-base>=1.2.3nb1
 @blddep pth-1.4.1nb2
 @pkgdep pth>=1.4.0
 @blddep pth-1.4.1nb2
 @pkgdep pth>=1.4.1nb2

(This particular package was retrieved from ftp site.)

Why are some repeated? (Because many aren't.)

Does it need pth >=1.4.0 or >-1.4.1nb2?

I am thinking that the build server had duplicates or something.

Also, I think that @blddep is not a build dependency (like autoconf), but
the actual package it was built with. I am making a depencency database
(as discussed earlier) -- so I am thinking I should use this actual
@blddep information and not the "pkg_info -n" results or the @pkgdep. Any

   Jeremy C. Reed