From owner-freebsd-ports@FreeBSD.ORG Wed Feb 20 22:14:11 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB8416A400 for ; Wed, 20 Feb 2008 22:14:11 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id C145A13C442 for ; Wed, 20 Feb 2008 22:14:10 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from [192.168.0.23] (rb5dg130.net.upc.cz [89.176.238.130]) (authenticated bits=0) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id m1KME2nr047179; Wed, 20 Feb 2008 23:14:05 +0100 (CET) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: James In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-r1TK7v4Ts+AFgGVrWaNU" Date: Wed, 20 Feb 2008 23:14:02 +0100 Message-Id: <1203545642.95757.24.camel@ikaros.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-Spam-Score: -2.547 () AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 89.176.238.130; Sender-helo: [192.168.0.23]; ) Cc: FreeBSD-ports Subject: Re: Portupgrade not running get_notinstalled_depends (2.4.3_1, 2 vs 2.4.3_2, 2) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 22:14:11 -0000 --=-r1TK7v4Ts+AFgGVrWaNU Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable James p=ED=B9e v st 20. 02. 2008 v 09:32 -0600: > hihi. I was wondering what sort of problems the following change to > portupgrade was solving: >=20 > -------------------------------------------------------------------------= - >=20 > sem 2008-02-11 16:17:39 UTC >=20 > FreeBSD ports repository >=20 > Modified files: > ports-mgmt/portupgrade Makefile > ports-mgmt/portupgrade/files patch-bin-portupgrade > Log: > - Remove code that gather not installed depends. It makes more problems > than solves. >=20 > Discussed with: pav >=20 > Revision Changes Path > 1.249 +1 -1 ports/ports-mgmt/portupgrade/Makefile > 1.13 +13 -3 ports/ports-mgmt/portupgrade/files/patch-bin-portu= pgrade >=20 > -------------------------------------------------------------------------= - >=20 > It seems to break ALT_PKGDEP processing during a portupgrade run > because alt_dep happens in get_notinstalled_depends. >=20 > For example, in my tests, if I have an alt-dep set for a package and I > install a port that depends on that package it'll still install the > original package rather than my alt-dep. It was installing dependent ports that does not needed to be getting installed. To be more precise, a build dependency of already up-to-date port in a dependency chain of an outdated port. --=20 Pav Lucistnik See file. Click file. Get file. --=-r1TK7v4Ts+AFgGVrWaNU Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAke8pioACgkQntdYP8FOsoLu/QCeMxnxDeatuVX/SS6JQriUHxcr xTMAoMszNp21RfNy8k5mlfGJF5I9UYHY =cYKm -----END PGP SIGNATURE----- --=-r1TK7v4Ts+AFgGVrWaNU--