From owner-freebsd-questions Thu Nov 21 13: 0: 2 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6006937B40C; Thu, 21 Nov 2002 12:59:59 -0800 (PST) Received: from rutger.owt.com (rutger.owt.com [204.118.6.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id AACDD43E9C; Thu, 21 Nov 2002 12:59:58 -0800 (PST) (envelope-from kstewart@owt.com) Received: from owt.com (owt-207-41-94-232.owt.com [207.41.94.232]) by rutger.owt.com (8.9.3/8.9.3) with ESMTP id MAA29678; Thu, 21 Nov 2002 12:58:45 -0800 Message-ID: <3DDD4904.5030407@owt.com> Date: Thu, 21 Nov 2002 12:58:44 -0800 From: Kent Stewart User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, es-mx MIME-Version: 1.0 To: Kris Kennaway Cc: Roger Merritt , freebsd-questions@FreeBSD.ORG, jesper@FreeBSD.ORG Subject: Re: Portsupgrade -uU References: <5.2.0.9.0.20021121132627.00a0e670@127.0.0.1> <20021121082130.GA17172@rot13.obsecurity.org> <3DDD31E8.5040208@owt.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: jesper@FreeBSD.org 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: jesper@FreeBSD.org 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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message