From owner-freebsd-x11@FreeBSD.ORG Thu Feb 2 19:05:32 2006 Return-Path: X-Original-To: freebsd-x11@freebsd.org Delivered-To: freebsd-x11@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B77A16A420; Thu, 2 Feb 2006 19:05:32 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C350F43D4C; Thu, 2 Feb 2006 19:05:31 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id AB02B1A3C1B; Thu, 2 Feb 2006 11:05:31 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 07488521F7; Thu, 2 Feb 2006 14:05:31 -0500 (EST) Date: Thu, 2 Feb 2006 14:05:30 -0500 From: Kris Kennaway To: Joe Marcus Clarke Message-ID: <20060202190530.GB97268@xor.obsecurity.org> References: <20060202161851.GA29539@xor.obsecurity.org> <200602021744.01452.dejan.lesjak@ijs.si> <1138901747.8738.7.camel@shumai.marcuscom.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="f2QGlHpHGjS2mn6Y" Content-Disposition: inline In-Reply-To: <1138901747.8738.7.camel@shumai.marcuscom.com> User-Agent: Mutt/1.4.2.1i Cc: gnome@freebsd.org, freebsd-x11@freebsd.org, Kris Kennaway Subject: Re: [ports-i386@FreeBSD.org: gtk-2.8.11 failed on i386 6] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2006 19:05:32 -0000 --f2QGlHpHGjS2mn6Y Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 02, 2006 at 12:35:47PM -0500, Joe Marcus Clarke wrote: > On Thu, 2006-02-02 at 17:43 +0100, Dejan Lesjak wrote: > > [fontconfig maintainers cced] > >=20 > > On Thursday 02 February 2006 17:18, Kris Kennaway wrote: > > > This failure is caused by the following files left in the directory > > > after xorg-font-encodings has been removed: > > > > > > -rw-r--r-- 1 root wheel 17 Feb 1 19:53 > > > /usr/X11R6/lib/X11/fonts/encodings/fonts.cache-1 -rw-r--r-- 1 root = wheel=20 > > > 0 Feb 1 19:53 /usr/X11R6/lib/X11/fonts/encodings/large/fonts.cache-1 > > > > > > These are then removed by fontconfig, but nothing cleans up the > > > directories. What should be doing that? > >=20 > > Interesting question. fontencodings don't create fonts.cache-1, but it= will=20 > > probably be easier and less messy if they remove them so they can also = remove=20 > > directories. Can it be assumed that fontconfig is present at the time= =20 > > fontencodings are uninstalled? >=20 > Not necessarily. fontconfig is only a build dependency of > xorg-font-encodings. Therefore, you could remove fontconfig, and keep > encodings around. The strange thing is that fontconfig removes all > fonts.cache-1 files under /usr/X11R6/lib/X11/fonts upon deinstallation. It's the converse ordering issue: xorg-font-encodings may also be removed while fontconfig is still present because they are listed as being independent. xorg-font-encodings then tries to remove its directory while the fonts.cache-1 is still there, so it fails, and when fontconfig is later removed, it cleans up these files but leaves behind the directory. In this situation where two independent ports are both touching files inside the same directory, both of them should try to @dirrmtry it at deinstallation time, so it gets cleaned up no matter what order the ports are removed in. Kris --f2QGlHpHGjS2mn6Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD4lf6Wry0BWjoQKURAtl5AKDOxgLvwJ5Z90hMf4+ymd2GU7W8EQCgmKWs HfGlDipCYlz9nzakAnGxAbk= =4x/e -----END PGP SIGNATURE----- --f2QGlHpHGjS2mn6Y--