Kent Stewart wrote:

Kris Kennaway wrote:

On Thu, Nov 21, 2002 at 01:28:45PM +0700, Roger Merritt wrote:

At 02:04 AM 11/21/02, you wrote:

On Wed, Nov 20, 2002 at 10:21:07AM -0600, Scott Gerhardt wrote:

When running "portsupgrade -uU" I get the output below. How can I fix

these

malformed entries, non-existent entries and incomplete dependencies?
Running "pkgdb -F" shows everything to be fine.

If you're running "portsdb -Uu", you *don't*. It's up to port
maintainers to fix the problem with the port entries. Most of the
output are just warnings (intended for maintainers).

INDEX builds shouldn't have any warnings if you perform them in a
clean environment.  Either your ports collection is out of date
(i.e. in an inconsistent state) or the index build is picking up
things from the host environment like installed ports,
WITH_*/WITHOUT_* variables, etc.  If the latter, it's a bug in
portupgrade..someone should investigate and report it to the author.

I thought that I have a clean environment. There are no WITH_*/WITHOU_* variables in my /etc/make.conf. I just finished doing a "portupgrade -aufp" and still get them.

About the only time I don't see them, is right before a release and you are building iso's. The messages are real. For example, I see messages like

p5-Net-SSH-Perl-1.23:"" non-existent -- dependency list incomplete
p5-Net-SSH-Perl-1.23:"" non-existent -- dependency list incomplete

and the INDEX that is built has no r-deps. The Makefile sets r-deps to
RUN_DEPENDS= ${BUILD_DEPENDS}
but I have a b-deps with entries and a "R-deps:" with no entry.

One thing I have noticed is that most of them have a "PKGNAMEPREFIX= p5-" syntax.

I have thought about hiding them but considered that similar to redirecting my "buildworld to > /dev/null" and then doing an installworld.
I have done some experimenting and what I see using net-ssh-perl for the test is the following:

portsdb -uU
make search name=Net-SSH-Perl
Port: p5-Net-SSH-Perl-1.23
Path: /usr/ports/net/p5-Net-SSH-Perl
Info: Perl5 module implements both the SSH1 and SSH2 protocols
Maint: [EMAIL PROTECTED]
Index: net perl5
B-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 p5-Crypt-Random-1.11 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 p5-Digest-SHA1-2.01 p5-MIME-Base64-2.12 p5-Math-Pari-2.010201
R-deps:

make index & portsdb -u
make search name=Net-SSH-Perl
Port: p5-Net-SSH-Perl-1.23
Path: /usr/ports/net/p5-Net-SSH-Perl
Info: Perl5 module implements both the SSH1 and SSH2 protocols
Maint: [EMAIL PROTECTED]
Index: net perl5
B-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 p5-Crypt-IDEA-1.01 p5-Crypt-RSA-1.48 p5-Crypt-Random-1.11 p5-Digest-BubbleBabble-0.01 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 p5-Digest-SHA1-2.01 p5-IO-1.20 p5-MIME-Base64-2.12 p5-Math-GMP-1.07 p5-Math-Pari-2.010201 p5-String-CRC32-1.2
R-deps: p5-Convert-PEM-0.06 p5-Crypt-DH-0.03 p5-Crypt-DSA-0.12 p5-Crypt-IDEA-1.01 p5-Crypt-RSA-1.48 p5-Crypt-Random-1.11 p5-Digest-BubbleBabble-0.01 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20 p5-Digest-SHA1-2.01 p5-IO-1.20 p5-MIME-Base64-2.12 p5-Math-GMP-1.07 p5-Math-Pari-2.010201 p5-String-CRC32-1.2

The only thing "make index" complained about was
Warning: Duplicate INDEX entry: freeciv-imlib-1.13.0

Something is seriously wrong with the INDEX that portsdb -U generates.

Kent

--
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to