From owner-freebsd-ports@FreeBSD.ORG Fri Jul 2 09:23:59 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09E6C16A4CE for ; Fri, 2 Jul 2004 09:23:58 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9418543D1D for ; Fri, 2 Jul 2004 09:23:57 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost.infracaninophile.co.uk [IPv6:::1])i629MgAJ083711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jul 2004 10:22:42 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i629MgU9083710; Fri, 2 Jul 2004 10:22:42 +0100 (BST) (envelope-from matthew) Date: Fri, 2 Jul 2004 10:22:42 +0100 From: Matthew Seaman To: Alan Ryan Message-ID: <20040702092242.GA83255@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Alan Ryan , Ports Mailing List References: <1088757925.5840.6.camel@ERG-038.it.nuigalway.ie> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: <1088757925.5840.6.camel@ERG-038.it.nuigalway.ie> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Fri, 02 Jul 2004 10:22:42 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040612, clamav-milter version 0.72a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: Ports Mailing List Subject: Re: Stale Dependency X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jul 2004 09:23:59 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 02, 2004 at 09:45:25AM +0100, Alan Ryan wrote: > Hi, I'm not sure if this is where I should be posting this, but I guess > I'll find out soon. >=20 > The last two or three times I have run portversion, I received the > following message: >=20 > "Stale dependency: gimp-gnome-2.0.2,1 --> gsfonts-8.11_1 -- manually run > 'pkgdb -F' to fix, or specify -O to force."=20 This means that you haven't installed the Ghostscript fonts port -- either you're doing without, or you've installed some other port which provides equivalent functionality. =20 > I run the command suggested (pkgdb -F), but as it is a little confusing > I ran "pkgdb -fu", which always seems to exit fine but does not solve > the problem. You've basically got three choices. i) Install the print/gsfonts port. Running pkgdb(1) after you've done that will detect that port has been installed and can resolve the dependency, meaning pkgdb(1) will shut up about this issue for ever after. ii) Decide you don't want a dependency on print/gsfonts -- which would be appropriate if you've deleted that port or installed those fonts outside the ports system. In this case, use 'Ctrl-D' to delete the dependency when prompted by pkgdb(1). iii) You've installed some other port that provides the standard 35 postscript fonts. The X-Windows fonts collections also include those fonts, and there has been some move to get both X and ghostscript to use the same font definition files (mostly so things will look the same on screen and on printout), but I'm not sure if it's been released for public consumption yet. In this case, you need to find out what port you are using to provide those fonts, and type it's name in when pkgdb(1) prompts you for the dependency. For either of cases (ii) and (iii) you may well have to repeat those corrections should some port in the dependency tree between gimp and gsfonts get updated. In theory you can populate the ALT_PKGDEP array in /usr/local/etc/pkgtools.conf, but in practice this doesn't seem to have a great deal of effect. Don't expect too much from pkgdb's attempts to guess the name of any replacement packages. All it does is look for packages where the name starts similarly, which is sometimes OK but quite often wildly wrong. For instance pkgdb(1) doesn't understand that xorg-libraries-\* is a suitable replacement for XFree86-libraries-\*, or that p5-DBD-mysql-\* can replace p5-Mysql-modules-\*. Note too that while you're typing in the replacement package name, you can hit the TAB key and have the package name autocomplete. Very handy feature, that. Cheers, Matthew=09 --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA5SliiD657aJF7eIRAuXeAJ9brlXbzg0S+V+creH28AuMZYOt1QCdE7MY Q/a3nyCeUeR3Kvy/4UY+gpo= =OwCX -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--