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_*
> >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.0This 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
msg09658/pgp00000.pgp
Description: PGP signature
