[9579] in athena10
Bug#636173 closed by Keith Packard (Bug#636173:
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Wed Jul 25 13:18:12 2012
Date: Wed, 25 Jul 2012 10:18:08 -0700 (PDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: debathena@MIT.EDU
Message-ID: <alpine.DEB.2.00.1207251017500.30839@dr-wily.mit.edu>
MIME-Version: 1.0
Content-Type: MULTIPART/Mixed; BOUNDARY="----------=_1343232187-25188-1"
Content-ID: <alpine.DEB.2.00.1207251017501.30839@dr-wily.mit.edu>
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
------------=_1343232187-25188-1
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed
Content-ID: <alpine.DEB.2.00.1207251017502.30839@dr-wily.mit.edu>
Content-Disposition: INLINE
This was #975.
--
Geoffrey Thomas
geofft@mit.edu
---------- Forwarded message ----------
Date: Wed, 25 Jul 2012 16:03:07 +0000
From: Debian Bug Tracking System <owner@bugs.debian.org>
Reply-To: 636173@bugs.debian.org
To: Geoffrey Thomas <geofft@mit.edu>
Subject: Bug#636173 closed by Keith Packard <keithp@debian.org> (Bug#636173:
fixed in fontconfig 2.9.0-7)
This is an automatic notification regarding your Bug report
which was filed against the fontconfig package:
#636173: fontconfig: Don't "clean up" on a new install
It has been closed by Keith Packard <keithp@debian.org>.
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Keith Packard <keithp@debian.org> by
replying to this email.
--
636173: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=636173
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1343232187-25188-1
Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
Content-ID: <alpine.DEB.2.00.1207251017503.30839@dr-wily.mit.edu>
Content-Description:
Content-Disposition: INLINE
Received: (at 636173-close) by bugs.debian.org; 25 Jul 2012 16:02:14 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
(2010-03-16) on buxtehude.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-13.0 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
FROMDEVELOPER,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,PGPSIGNATURE,RCVD_IN_DNSWL_NONE
autolearn=ham version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 60; hammy, 150; neutral, 128; spammy,
1. spammytokens:0.993-1--(unknown) hammytokens:0.000-+--(unknown),
0.000-+--(unknown), 0.000-+--(unknown), 0.000-+--(unknown), 0.000-+--(unknown)
Return-path: <envelope@ftp-master.debian.org>
Received: from franck.debian.org ([128.148.34.3])
from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=franck.debian.org,EMAIL=hostmaster@franck.debian.org (verified)
by buxtehude.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
(Exim 4.72)
(envelope-from <envelope@ftp-master.debian.org>)
id 1Su42Q-0006U0-Bf
for 636173-close@bugs.debian.org; Wed, 25 Jul 2012 16:02:14 +0000
Received: from dak by franck.debian.org with local (Exim 4.72)
(envelope-from <envelope@ftp-master.debian.org>)
id 1Su42P-0000Dw-CM; Wed, 25 Jul 2012 16:02:13 +0000
Date: Wed, 25 Jul 2012 16:02:13 +0000
Message-Id: <E1Su42P-0000Dw-CM@franck.debian.org>
From: Keith Packard <keithp@debian.org>
To: 636173-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: fontconfig
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Bug#636173: fixed in fontconfig 2.9.0-7
Sender: Archive Administrator <dak@franck.debian.org>
Source: fontconfig
Source-Version: 2.9.0-7
We believe that the bug you reported is fixed in the latest version of
fontconfig, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 636173@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Keith Packard <keithp@debian.org> (supplier of updated fontconfig package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 25 Jul 2012 08:46:48 -0700
Source: fontconfig
Binary: fontconfig fontconfig-config fontconfig-udeb libfontconfig1-dev libfontconfig1 libfontconfig1-dbg
Architecture: source all i386
Version: 2.9.0-7
Distribution: unstable
Urgency: low
Maintainer: Keith Packard <keithp@debian.org>
Changed-By: Keith Packard <keithp@debian.org>
Description:
fontconfig - generic font configuration library - support binaries
fontconfig-config - generic font configuration library - configuration
fontconfig-udeb - generic font configuration library - minimal runtime (udeb)
libfontconfig1 - generic font configuration library - runtime
libfontconfig1-dbg - generic font configuration library - debugging symbols
libfontconfig1-dev - generic font configuration library - development
Closes: 636173 681700 681766 682577
Changes:
fontconfig (2.9.0-7) unstable; urgency=low
.
* Don't clean ancient cache files on new install. Closes: #636173.
* Update Czech translation. Closes: #681700.
* Update Spanish translation. Closes: #681766.
* Add Polish translation. Closes: #682577.
Checksums-Sha1:
67ced218b9307b54b8182f62954eae53eb27a7f2 1474 fontconfig_2.9.0-7.dsc
ef2f64616675c251d9e64a6a600e7a2bd4e466fa 52345 fontconfig_2.9.0-7.debian.tar.gz
0d2671745572e16fdb910b78e2bdbac08e07c784 232604 fontconfig-config_2.9.0-7_all.deb
5410a930dd984461285c6855c3bbe78955a1befb 300282 libfontconfig1_2.9.0-7_i386.deb
e4314c65ac96499188f4a32922c8c0604f262c4d 347142 fontconfig_2.9.0-7_i386.deb
e4d874d3ca5a08065aaeaad3071267780f245c54 120556 fontconfig-udeb_2.9.0-7_i386.udeb
ce2427a4f61d792dd9bfde589df2ef085b218642 850918 libfontconfig1-dev_2.9.0-7_i386.deb
75ab7c9654f0b5008ac2ade9d8bada91c93cbe31 446232 libfontconfig1-dbg_2.9.0-7_i386.deb
Checksums-Sha256:
f04a83e3c9de1c495b8240fcf61300af443670cb11c808d4e4203968b4dda376 1474 fontconfig_2.9.0-7.dsc
26b0441d7e0c4c27261e81c2652082640fdec2f1a10def18fa342031911b84e0 52345 fontconfig_2.9.0-7.debian.tar.gz
06e4195dc44f68b90a7860126671d843bfb194b4bad99e18224a59f2d3b43940 232604 fontconfig-config_2.9.0-7_all.deb
bd0d96c62a85fc1f56964cb135eb7fdbe6a0d1a42bef3e3c805cb8b95bcce4fa 300282 libfontconfig1_2.9.0-7_i386.deb
fc23120c6848bf9e3b020429c6fa31d607103a3aa8cae9d1b28cc0a02c5b0ac1 347142 fontconfig_2.9.0-7_i386.deb
5316eb82f2e710776be5534ce42d1d048d557459d52871e9a452c7e4c4e7a912 120556 fontconfig-udeb_2.9.0-7_i386.udeb
33f04bbfecc8716c164ef122d87efe753dde2cf6c2e2f53f4cf651aafa6b93de 850918 libfontconfig1-dev_2.9.0-7_i386.deb
e11e2ab5b553ddb9f383230b964671c87b8e6148b07c31dfb3922ffe73dce214 446232 libfontconfig1-dbg_2.9.0-7_i386.deb
Files:
842196407bfb128c7e92a36841cb52bb 1474 fonts optional fontconfig_2.9.0-7.dsc
95e07b51aaef6f046e782946a2b74e72 52345 fonts optional fontconfig_2.9.0-7.debian.tar.gz
d01267e02453f67d96580349f83960e7 232604 fonts optional fontconfig-config_2.9.0-7_all.deb
019af337e8b176500bae7436cfde2904 300282 libs optional libfontconfig1_2.9.0-7_i386.deb
8eedf6422553583e55b10ccc123622e5 347142 fonts optional fontconfig_2.9.0-7_i386.deb
cde4c985f8140ab10cd13f8ed5c1571a 120556 debian-installer extra fontconfig-udeb_2.9.0-7_i386.udeb
0080990873f7ace83d1cc09f27f2cb0c 850918 libdevel optional libfontconfig1-dev_2.9.0-7_i386.deb
7fe59f20a374b9d4a803be5fddf02066 446232 debug extra libfontconfig1-dbg_2.9.0-7_i386.deb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iD8DBQFQEBauQp8BWwlsTdMRAlnbAJ0fFGotS6tzTpp8AJXXs9u3qC0NxQCeJ7SQ
d0EeoNrE105iu+3qPjvri1s=
=+3YD
-----END PGP SIGNATURE-----
------------=_1343232187-25188-1
Content-Type: MESSAGE/RFC822; CHARSET=US-ASCII
Content-ID: <alpine.DEB.2.00.1207251017504.30839@dr-wily.mit.edu>
Content-Description:
Content-Disposition: INLINE
Received: (at submit) by bugs.debian.org; 1 Aug 2011 02:18:24 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
(2010-03-16) on busoni.debian.org
X-Spam-Level:
X-Spam-Status: No, score=-9.8 required=4.0 tests=BAYES_00,HAS_PACKAGE,
RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham
version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 39; hammy, 151; neutral, 123; spammy,
0. spammytokens: hammytokens:0.000-+--sk:ignore, 0.000-+--H*c:PLAIN,
0.000-+--H*u:DEB, 0.000-+--H*M:DEB, 0.000-+--sk:ignore-
Return-path: <geofft@mit.edu>
Received: from dmz-mailsec-scanner-7.mit.edu ([18.7.68.36])
by busoni.debian.org with esmtp (Exim 4.72)
(envelope-from <geofft@mit.edu>)
id 1Qni5I-0004yK-Kr
for submit@bugs.debian.org; Mon, 01 Aug 2011 02:18:24 +0000
X-AuditID: 12074424-b7b0fae000000a08-72-4e360cfd253b
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
by dmz-mailsec-scanner-7.mit.edu (Symantec Messaging Gateway) with SMTP id 28.BA.02568.DFC063E4; Sun, 31 Jul 2011 22:18:37 -0400 (EDT)
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id p712IG0X010381
for <submit@bugs.debian.org>; Sun, 31 Jul 2011 22:18:16 -0400
Received: from localhost (TYGER.MIT.EDU [18.187.1.183])
(authenticated bits=0)
(User authenticated as geofft@ATHENA.MIT.EDU)
by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id p712IC6d008482
for <submit@bugs.debian.org>; Sun, 31 Jul 2011 22:18:16 -0400 (EDT)
Date: Sun, 31 Jul 2011 22:18:12 -0400 (EDT)
From: Geoffrey Thomas <geofft@MIT.EDU>
To: submit@bugs.debian.org
Subject: fontconfig: Don't "clean up" on a new install
Message-ID: <alpine.DEB.2.00.1107312154150.9492@tyger.mit.edu>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUixCmqrPuXx8zPYOUmXoul7T/ZHRg9Lmyd
xBLAGMVlk5Kak1mWWqRvl8CV8eZiN3PBTf6KtS2trA2MV3i6GDk5JARMJI5vn8QCYYtJXLi3
nq2LkYtDSGAfo8SR5nlMEM5ZRomDh56xQzgTmCS2bu5nAmlhEdCW2PFkD1A7BwebgJrE74u6
IGERASmJpYs/gU0VFjCTmPJmJSuIzStgJ7Hh+WswW1RAV2LvoTPsEHFBiZMzn4DVMwtYSvxb
+4t1AiPvLCSpWUhSCxiZVjHKpuRW6eYmZuYUpybrFicn5uWlFuma6+VmluilppRuYgQFDbuL
yg7G5kNKhxgFOBiVeHgn1pn6CbEmlhVX5h5ilORgUhLl7eM28xPiS8pPqcxILM6ILyrNSS0+
xCjBwawkwru7DKicNyWxsiq1KB8mJc3BoiTOW+r931dIID2xJDU7NbUgtQgmK8PBoSTB2wiM
DiHBotT01Iq0zJwShDQTByfIcB6g4d4gi3mLCxJzizPTIfKnGBWlxHlFQZoFQBIZpXlwvbCo
fsUoDvSKMG8NSBUPMCHAdb8CGswENDjilwnI4JJEhJRUA+P20PUnfpzTTreb1MYrq1yVHDFj
x7nnHb+On8r8I+0z7+BhrWyjnqt113fPvR6Z9/nE5/7kV50+wic0mv70+wkEnnhb2vS7Ordn
fvhzR5WZBV/U+rtWHfkfyDRV+mGV/4cPzipBrdLftLe1NAY+rXA74vTnyZKJZ5foXZsfd925
W6C7PJtBxVmJpTgj0VCLuag4EQCFf/zSxQIAAA==
Delivered-To: submit@bugs.debian.org
Package: fontconfig
Version: 2.8.0-3
Hi,
debian/fontconfig.postinst includes this snippet:
if dpkg --compare-versions "$2" lt 2.4.0-1; then
printf "Cleaning up old fontconfig caches... "
for dir in /usr/share/fonts /var/lib/defoma/fontconfig.d /usr/X11R6/lib/X11/fonts /usr/local/share/fonts ; do
if [ -d $dir ]; then
find $dir -name fonts.cache-1 -exec rm -f \{\} \;
find $dir -depth -mindepth 1 -type d -exec rmdir --ignore-fail-on-non-empty \{\} \;
fi
done
...
Since this uses "lt" instead of "lt-nl" as the comparison operator, this
block gets run when fontconfig is initially installed, as well as when
upgrading from fontconfig (<< 2.4.0-1). While it's arguably fine to delete
empty directories in the upgrade case, running it on install can cause
problems if there are legitimately any empty directories.
In particular, Ubuntu's ttf-mscorefonts-installer package includes an
empty /usr/share/fonts/truetype/msttcorefonts directory in the package,
and writes files to that directory in the postinst. If you install
fontconfig and ttf-mscorefonts-installer in the same apt run, the
directory will get unpacked, fontconfig's postinst will rmdir it, and
ttf-mscorefont-installer's postinst will get really confused.
fontconfig really should not be delete directories owned by other packages
at all. But that's probably hard, and it shoulf suffice to just avoid this
cleanup entirely in the new install case. This would be solved by using
"lt-nl" instead of "lt", so that an empty $2 (a new install) causes dpkg
--compare-versions to return false.
For more context, see
https://bugs.launchpad.net/ubuntu/+source/msttcorefonts/+bug/670629
comments 14 (which prompted packaging the empty directory) and 29
http://debathena.mit.edu/trac/ticket/975
comments "Pretty sure this is entirely different..." and "Anders and I
found the bug..."
Thanks,
--
Geoffrey Thomas
geofft@mit.edu
------------=_1343232187-25188-1--