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"
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?
Mark, thanks for the patch, Jan is going to handle that.