From owner-freebsd-questions@FreeBSD.ORG Sun Dec 20 22:03:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C69E106566C for ; Sun, 20 Dec 2009 22:03:11 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 16F738FC13 for ; Sun, 20 Dec 2009 22:03:10 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nBKM3AeY090570; Sun, 20 Dec 2009 15:03:10 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nBKM39BU090567; Sun, 20 Dec 2009 15:03:09 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 20 Dec 2009 15:03:09 -0700 (MST) From: Warren Block To: Jamie Griffin In-Reply-To: <20091220194653.GA3197@bsdbox.koderize.com> Message-ID: References: <20091220194653.GA3197@bsdbox.koderize.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.3 (wonkity.com [127.0.0.1]); Sun, 20 Dec 2009 15:03:10 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Ghostscript8 portupgrade failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Dec 2009 22:03:11 -0000 On Sun, 20 Dec 2009, Jamie Griffin wrote: > I've now got a different problem when trying to portupgrade ghostscript8 > and the build fails with an error: (new compiler error). > > I had a problem with ghostscript the last time it need upgrading. I > think then I removed it from the system and just built the new port. > This time, I have a number of other ports that depend on it and > pkg_delete ghostscript8 won't remove it because of the dependent ports. The ghostscript8 problem has been fixed, so update your ports tree again and portupgrade will work. > If I `pkg_delete -f` it and then rebuilt it from the ports tree will > this cause problems with my system? Not necessary in this case, but if needed you can find out what portupgrade would have done by using the -n (noexecute) flag: portupgrade -nr ghostscript8 (On one system this showed portupgrade was only going to rebuild ghostscript anyway.) Afterwards you can manually rebuild those dependent ports in that order. For at least the problem port, do a plain 'make' first to be sure it can download and build before you get rid of the installed version. Once that completes successfully, do a 'make deinstall install' to delete the previous version and install the new one. The brute-force version of all this is portupgrade -rf ghostscript8 Depending on the port, that can force unecessary rebuilding of a lot of stuff. -Warren Block * Rapid City, South Dakota USA