Bug 118182 - /etc/fonts/fonts.conf multi-arch install conflict
Summary: /etc/fonts/fonts.conf multi-arch install conflict
Alias: None
Product: Fedora
Classification: Fedora
Component: fontconfig (Show other bugs)
(Show other bugs)
Version: rawhide
Hardware: All Linux
Target Milestone: ---
Assignee: Owen Taylor
QA Contact:
: 121230 (view as bug list)
Depends On:
Blocks: FC2Blocker
TreeView+ depends on / blocked
Reported: 2004-03-12 21:31 UTC by Jeremy Katz
Modified: 2007-11-30 22:10 UTC (History)
4 users (show)

Fixed In Version: 2.2.1-10
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-05-06 19:03:05 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2004:410 normal SHIPPED_LIVE Updated fontconfig packages 2004-09-02 04:00:00 UTC

Description Jeremy Katz 2004-03-12 21:31:48 UTC
/etc/fonts/fonts.conf contains a timestamp in a comment which leads to
a file conflict when attempting to install both the i386 and x86_64
versions of fontconfig on an x86_64 box.  

(Note: needed for x86 OOo which is shipped on x86_64)

Comment 1 Warren Togami 2004-04-11 02:18:24 UTC
Justin this is fairly serious, you probably want to make sure it gets

Jeff, more of a general RPM question:
Even if this bug were fixed by making the file exactly the same
between the two archs, would it fail and conflict in the event of the
file being modified by something else before installing the other arch?

Comment 2 Warren Togami 2004-04-18 03:52:01 UTC
At first I made this patch, but then I realized there is the remote
possibility of builds succeeding and the files will still conflict if
the two build servers are only a second apart when the date rolls
over.  I do not want to take that risk so instead used this to remove
the timestamp entirely.

diff -u -r1.36 -r1.37
--- fontconfig.spec	10 Mar 2004 17:21:56 -0000	1.36
+++ fontconfig.spec	18 Apr 2004 03:53:29 -0000	1.37
@@ -12,7 +12,7 @@
 Summary: Font configuration and customization library
 Name: fontconfig
 Version: 2.2.1
-Release: 8.1
+Release: 9
 License: MIT
 Group: System Environment/Libraries
 Source: http://fontconfig.org/release/fontconfig-%{version}.tar.gz
@@ -34,6 +34,7 @@
 BuildRequires: freetype-devel >= %{freetype_version}
 BuildRequires: expat-devel
+BuildRequires: zlib-devel
 BuildRequires: perl
 # For nodocs patch
 BuildRequires: /usr/bin/automake-1.4
@@ -113,6 +114,9 @@
 # Remove unpackaged files
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
+# Fix multiarch timestamp conflict
+sed -i 's/^<\!-- Font directory list configured on.*//'
@@ -158,6 +162,10 @@
+* Sat Apr 17 2004 Warren Togami <wtogami@redhat.com> 2.2.1-9
+- #118182 Fix multiarch timestamp conflict
+- BR zlib-devel
 * Wed Mar 10 2004 Owen Taylor <otaylor@redhat.com> 2.2.1-8.1
 - Rebuild
hopefully can hit rawhide soon

Comment 3 Owen Taylor 2004-04-19 15:13:10 UTC
*** Bug 121230 has been marked as a duplicate of this bug. ***

Comment 4 Justin M. Forbes 2004-05-06 19:03:05 UTC
This is fixed in the currently shipping fontconfig-2.2.1-10. Closing
as rawhide

Comment 5 John Flanagan 2004-09-02 05:42:02 UTC
An errata has been issued which should help the problem 
described in this bug report. This report is therefore being 
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, 
please follow the link below. You may reopen this bug report 
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.