RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1601475 - firefox 60.1.0 gives fontconfig warnings on start up
Summary: firefox 60.1.0 gives fontconfig warnings on start up
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: firefox
Version: 6.10
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jan Horak
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-07-16 13:10 UTC by James Pearson
Modified: 2021-12-10 16:39 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-03 12:26:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Article) 3538261 0 None None None 2018-07-19 16:16:59 UTC

Description James Pearson 2018-07-16 13:10:17 UTC
Description of problem:

When starting firefox 60.1.0 on el6, it gives lots of warning like:

Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple <family> in <alias> isn't supported and may not work as expected       
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 84: Having multiple <family> in <alias> isn't supported and may not work as expected       
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93: Having multiple <family> in <alias> isn't supported and may not work as expected       
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 93: Having multiple <family> in <alias> isn't supported and may not work as expected       
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102: Having multiple <family> in <alias> isn't supported and may not work as expected      
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 102: Having multiple <family> in <alias> isn't supported and may not work as expected      
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 33: Having multiple <family> in <alias> isn't supported and may not work as expected           
...

Version-Release number of selected component (if applicable):

firefox-60.1.0-5.el6

How reproducible:

Always

Steps to Reproduce:
1. Install firefox-60.1.0-5.el6
2. Run firefox from a terminal window

Actual results:

Fontconfig warning messages as above

Expected results:

No Fontconfig warning messages

Additional info:

Issue can be fixed by adding the following line to the /usr/bin/firefox wrapper script before firefox is exec'd:

 export FONTCONFIG_FILE="$MOZ_LIB_DIR/firefox/bundled/etc/fonts/fonts.conf"

Comment 4 Mark Mielke 2018-12-27 10:38:44 UTC
I think this is the correct fix to /usr/bin/firefox:

--- firefox.original	2018-12-27 05:35:03.100336478 -0500
+++ firefox	2018-12-27 05:35:56.660076859 -0500
@@ -104,5 +104,5 @@
 ## Set FONTCONFIG_PATH for Xft/fontconfig
 ##
-FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft"
+FONTCONFIG_PATH="$MOZ_LIB_DIR/firefox/bundled/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft"
 export FONTCONFIG_PATH

The /etc/fonts in RHEL 6.10 is owned by a different version of fontconfig, and seems to have incompatibilities with the version embedded in firefox. So, using /etc/fonts introduces a problem, and using $MOZ_LIB_DIR/firefox/bundled/etc/fonts should fix this problem?

Comment 5 Martin Stransky 2019-01-04 12:51:58 UTC
Mark, thanks for the patch, Jan is going to handle that.


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