From owner-freebsd-ports@FreeBSD.ORG Sat Jan 10 19:20:49 2009 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 1E084106564A for ; Sat, 10 Jan 2009 19:20:49 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id AA1B38FC19 for ; Sat, 10 Jan 2009 19:20:48 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 10391 invoked by uid 399); 10 Jan 2009 19:20:48 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 10 Jan 2009 19:20:48 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4968F50E.6060506@FreeBSD.org> Date: Sat, 10 Jan 2009 11:20:46 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090102) MIME-Version: 1.0 To: Garrett Cooper References: <53980.67.177.142.45.1224810884.squirrel@ssl.eumx.net> <49681E6C.9060703@FreeBSD.org> <7d6fde3d0901100722g67c5200ex5552b2e19d1ae7d4@mail.gmail.com> In-Reply-To: <7d6fde3d0901100722g67c5200ex5552b2e19d1ae7d4@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Josh Rickmar , freebsd-ports@freebsd.org Subject: Re: Removing stale dependencies 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: Sat, 10 Jan 2009 19:20:49 -0000 Garrett Cooper wrote: > I just started using portmaster this past week, and it appears to go a > bit crazy removing dependencies -- there were a lot of libraries > broken after removing dependencies that shouldn't have been. This > could all be because of bad dependencies in the Makefiles though. It's more likely to be a case of having manually deleted things in the past (using pkg_delete -f) which can cause the ports infrastructure to lose track of what depends on what. Try using 'portmaster --check-depends' > For instance, I kept azureus, but zapped libcroco and libgnome (I > thought they had gotten included in the wine-doors install I deleted > on my system), and it broke my upgrade from azureus to vuze (the > libraries for both are essentially the same, but vuze uses swt-devel > whereas azureus uses swt I think..). When you use portmaster to update (or install) something it will check the existing ports on your system and update the dependency tracking accordingly, so while this breakage is unfortunate, it is more or less self healing. If you're concerned about this problem going forward you can use the -b option so that anything that is removed by mistake can easily be reinstalled. However once the dependency tracking in /var/db/pkg is updated this shouldn't be a problem going forward. hth, Doug -- This .signature sanitized for your protection