Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Nov 2002 13:43:16 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kent Stewart <kstewart@owt.com>, knu@FreeBSD.org
Cc:        Kris Kennaway <kris@obsecurity.org>, Roger Merritt <mcrogerm@stjohn.ac.th>, freebsd-questions@FreeBSD.ORG, jesper@FreeBSD.ORG
Subject:   Re: Portsupgrade -uU
Message-ID:  <20021121214315.GA20447@rot13.obsecurity.org>
In-Reply-To: <3DDD4904.5030407@owt.com>
References:  <BA011293.2BD6%scott@g-it.ca> <BA011293.2BD6%scott@g-it.ca> <5.2.0.9.0.20021121132627.00a0e670@127.0.0.1> <20021121082130.GA17172@rot13.obsecurity.org> <3DDD31E8.5040208@owt.com> <3DDD4904.5030407@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021121214315.GA20447>