From owner-freebsd-questions Thu Nov 21 13:43:24 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 021DB37B401; Thu, 21 Nov 2002 13:43:21 -0800 (PST) Received: from obsecurity.dyndns.org (adsl-63-207-60-146.dsl.lsan03.pacbell.net [63.207.60.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D7B843ED4; Thu, 21 Nov 2002 13:43:17 -0800 (PST) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id AE14666C61; Thu, 21 Nov 2002 13:43:16 -0800 (PST) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 1B3F1129D; Thu, 21 Nov 2002 13:43:16 -0800 (PST) Date: Thu, 21 Nov 2002 13:43:16 -0800 From: Kris Kennaway To: Kent Stewart , knu@FreeBSD.org Cc: Kris Kennaway , Roger Merritt , freebsd-questions@FreeBSD.ORG, jesper@FreeBSD.ORG Subject: Re: Portsupgrade -uU Message-ID: <20021121214315.GA20447@rot13.obsecurity.org> References: <5.2.0.9.0.20021121132627.00a0e670@127.0.0.1> <20021121082130.GA17172@rot13.obsecurity.org> <3DDD31E8.5040208@owt.com> <3DDD4904.5030407@owt.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: <3DDD4904.5030407@owt.com> User-Agent: Mutt/1.4i 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 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 21, 2002 at 12:58:44PM -0800, Kent Stewart wrote: > >>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_*= =20 > >variables in my /etc/make.conf. I just finished doing a "portupgrade=20 > >-aufp" and still get them. > > > >About the only time I don't see them, is right before a release and you= =20 > >are building iso's. The messages are real. For example, I see messages l= ike > > > >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=3D ${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=3D= =20 > >p5-" syntax. > > > >I have thought about hiding them but considered that similar to=20 > >redirecting my "buildworld to > /dev/null" and then doing an installworl= d. >=20 > I have done some experimenting and what I see using net-ssh-perl for=20 > the test is the following: >=20 > portsdb -uU > make search name=3DNet-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=20 > p5-Crypt-Random-1.11 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20=20 > p5-Digest-SHA1-2.01 p5-MIME-Base64-2.12 p5-Math-Pari-2.010201 > R-deps: >=20 > make index & portsdb -u > make search name=3DNet-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=20 > p5-Crypt-IDEA-1.01 p5-Crypt-RSA-1.48 p5-Crypt-Random-1.11=20 > p5-Digest-BubbleBabble-0.01 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20=20 > p5-Digest-SHA1-2.01 p5-IO-1.20 p5-MIME-Base64-2.12 p5-Math-GMP-1.07=20 > 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=20 > p5-Crypt-IDEA-1.01 p5-Crypt-RSA-1.48 p5-Crypt-Random-1.11=20 > p5-Digest-BubbleBabble-0.01 p5-Digest-HMAC-1.01 p5-Digest-MD5-2.20=20 > p5-Digest-SHA1-2.01 p5-IO-1.20 p5-MIME-Base64-2.12 p5-Math-GMP-1.07=20 > p5-Math-Pari-2.010201 p5-String-CRC32-1.2 >=20 > The only thing "make index" complained about was > Warning: Duplicate INDEX entry: freeciv-imlib-1.13.0 This one is because you have imlib installed, and freeciv auto-detects this (unless you set WITHOUT_IMLIB or change PREFIX/X11BASE/LOCALBASE to something bogus) and changes its package name (and configure behaviour). The duplicate comes because the freeciv-gtk port does the same thing. I use the /usr/ports/Tools/portbuild/scripts/makeindex script on bento that takes care of everything to generate a clean INDEX..I probably should fold this back into 'make index' itself. > Something is seriously wrong with the INDEX that portsdb -U generates. Yes, it appears so. I've CC'ed knu@ Kris --17pEHd4RhPHOinZp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE93VNzWry0BWjoQKURAsUoAJ4sR9dKpH1TEA93irfxAF1PIWmnAwCdEs/V 41DyRK4GO2OYnAoOMWwBZOU= =ZdWf -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message