From owner-freebsd-ports@FreeBSD.ORG Wed Feb 20 15:57:38 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 1879216A400 for ; Wed, 20 Feb 2008 15:57:38 +0000 (UTC) (envelope-from jamebus@gmail.com) Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 9AB1C13C469 for ; Wed, 20 Feb 2008 15:57:37 +0000 (UTC) (envelope-from jamebus@gmail.com) Received: by rv-out-0910.google.com with SMTP id g13so2074463rvb.43 for ; Wed, 20 Feb 2008 07:57:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; bh=TJtAC66HmgBkEUbC0pQH/mGsFpK6c8xvPBNXFyYLyhU=; b=JA8b0v8oRR1TKtoptlms5zRUkWKezcytSJ7pG8OOpTDvoZXmH5US0iOHivPdEfBgDpt0XPFRmwoWiTPDLKWK2gesFRaXD+VIdI4Vk5Uf+q3XPGBo7yPKd8KAnfIFwU+FzoMEqYXy8e358inJS7bV1dje0Ga1wwqh/9k9s1vIfKc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition:x-google-sender-auth; b=DcXBAP87u0w+Ih6LcJVymYXU2+N8Z9ny/Wj3ehLXhPX5W4S/yFitsJ6SFsKRPVQA0/5lr98Dlh5bcsHt1pAigtVqAmbxNlZQN5MGOzXFpW4aDJ0aBtJi9/vugAsO4jFihiPp4ootfYNwI8qGKeMzttQiwRoyYjFlr9gu6sg8fcU= Received: by 10.141.26.18 with SMTP id d18mr5771455rvj.264.1203521532277; Wed, 20 Feb 2008 07:32:12 -0800 (PST) Received: by 10.140.186.13 with HTTP; Wed, 20 Feb 2008 07:32:12 -0800 (PST) Message-ID: Date: Wed, 20 Feb 2008 09:32:12 -0600 From: James Sender: jamebus@gmail.com To: FreeBSD-ports MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 7470795c069c5a96 Subject: 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 List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Feb 2008 15:57:38 -0000 hihi. I was wondering what sort of problems the following change to portupgrade was solving: -------------------------------------------------------------------------- sem 2008-02-11 16:17:39 UTC FreeBSD ports repository 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. Discussed with: pav Revision Changes Path 1.249 +1 -1 ports/ports-mgmt/portupgrade/Makefile 1.13 +13 -3 ports/ports-mgmt/portupgrade/files/patch-bin-portupgrade -------------------------------------------------------------------------- It seems to break ALT_PKGDEP processing during a portupgrade run because alt_dep happens in get_notinstalled_depends. 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. If I revert the change that happened in 2.4.3_2,2 the alt-dep stuff works out. I'm worried that I'm opening up a can of worms because I don't understand what problems were trying to be solved in that version. Any ideas? Or does it sound like I'm misunderstanding ALT_PKGDEP? Thanks! -- James.