Bug 118182
Summary: | /etc/fonts/fonts.conf multi-arch install conflict | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeremy Katz <katzj> |
Component: | fontconfig | Assignee: | Owen Taylor <otaylor> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | rawhide | CC: | 64bit_fedora, jbj, kas, wtogami |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 2.2.1-10 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-05-06 19:03:05 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 114961 |
Description
Jeremy Katz
2004-03-12 21:31:48 UTC
Justin this is fairly serious, you probably want to make sure it gets fixed. 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? http://togami.com/~warren/archive/2004/fontconfig-2.2.1-multiarch_date_conflict.patch 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.*//' $RPM_BUILD_ROOT%{_sysconfdir}/fonts/fonts.conf + %clean rm -rf $RPM_BUILD_ROOT @@ -158,6 +162,10 @@ %endif %changelog +* Sat Apr 17 2004 Warren Togami <wtogami> 2.2.1-9 +- #118182 Fix multiarch timestamp conflict +- BR zlib-devel + * Wed Mar 10 2004 Owen Taylor <otaylor> 2.2.1-8.1 - Rebuild hopefully can hit rawhide soon *** Bug 121230 has been marked as a duplicate of this bug. *** This is fixed in the currently shipping fontconfig-2.2.1-10. Closing as rawhide 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. http://rhn.redhat.com/errata/RHBA-2004-410.html |