From owner-freebsd-questions@FreeBSD.ORG Sat Sep 10 15:27:06 2011 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 CEB78106564A for ; Sat, 10 Sep 2011 15:27:06 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id 6BE458FC0A for ; Sat, 10 Sep 2011 15:27:06 +0000 (UTC) Received: (qmail 52539 invoked from network); 10 Sep 2011 15:22:15 -0000 Received: from pool-71-167-240-59.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@71.167.240.59) by 199.4.235.5 with SMTP; 10 Sep 2011 15:22:15 -0000 Received: (qmail 70167 invoked by uid 103); 10 Sep 2011 15:12:19 -0000 Date: 10 Sep 2011 15:12:19 -0000 Message-ID: <20110910151219.70166.qmail@irelay.ssr.com> From: Scott Ballantyne To: Matthew Seaman In-reply-to: <4E6A7762.4050508@infracaninophile.co.uk> (message from Matthew Seaman on Fri, 09 Sep 2011 21:30:26 +0100) References: <20110909141315.96273.qmail@irelay.ssr.com> <4E6A7762.4050508@infracaninophile.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: portmaster -r libnotify-0 problems 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: Sat, 10 Sep 2011 15:27:06 -0000 Hi Mathew, > On 09/09/2011 15:13, Scott Ballantyne wrote: > > I've been trying to update libnotify and libproxy following the > > instructions in UPDATING, which is to do > > > > portmaster -r libnotify-0 > > > > This trys to install ghostscript9, and fails. Apparently ghostscript9 > > conflicts with ghostscript8-8.71_6, which presumably is the reason for > > the failure. > > > > Could someone help me resolve this? The obvious solution of pkg_delete > > ghostscript8-8.71_6 doesn't work, because too many installed ports > > depend on ghostscript8-8.71_6. > > There are two approaches you might take here. Either > > * replace ghostscript8 with ghostscript9 > > or > > * work out why libnotify triggers a dependency on ghostscript9 > and try and make it use ghostscript8 (or nothing) instead. > > The first is a relatively mechanical process, which should work fine > from the point of view of doing all the port wrangling, but might result > in further ghostscript8 vs ghostscript9 problems down the line. > Just run: > > # portmaster -o print/ghostscript9 ghostscript8- > > That will change the dependency settings in your /var/db/pkg directory, > which may or may not be appropriate for all ghostscript dependent ports, > and indeed some may not work at all. (Although I rather doubt the > simply not-working thing: functionality between those versions hasn't > changed much at all.) > > The second is a more satisfying fix. Lets see... Try defining > > WITH_GHOSTSCRIPT_VER=8 > > in /etc/make.conf (the default is 9 nowadays) -- then try reinstalling > libnotify according to the instructions in UPDATING. > > Read /usr/ports/Mk/bsd.port.mk for the details -- search for GHOSTSCRIPT > to find the relevant bits. > Thanks so much, I am in your debt. However, I also feel that I am in maze of twisty little passages, all different. The next step here is to portmaster -r libproxy-0, where I get: ----------- ===>>> Currently installed version: libproxy-0.4.6 ===>>> Port directory: /usr/ports/net/libproxy ===>>> Gathering distinfo list for installed ports ===>>> Launching 'make checksum' for net/libproxy in background ===>>> Gathering dependency list for net/libproxy from ports ===>>> Initial dependency check complete for net/libproxy ===>>> Checking ports that depend on libproxy-0.4.6 ===>>> Launching child to reinstall alacarte-0.13.2_1 libproxy-0.4.6 >> alacarte-0.13.2_1 ===>>> Port directory: /usr/ports/deskutils/alacarte ===>>> No DISTINFO_FILE in /usr/ports/x11-themes/gnome-art ===>>> Aborting update Terminated Terminated ===>>> Update for alacarte-0.13.2_1 failed ===>>> Aborting update -------------- gnome-art is peculiar. There is nothing in that directory but the work directory, no makefile or anything. And nothing I can find in UPDATE about alacarte or gnome-art. Any further thoughts, if you have time? Thanks again, Scott