Bug 1484094 - fontconfig-2.10.95-11.el7 pulls random fonts as a dependency
fontconfig-2.10.95-11.el7 pulls random fonts as a dependency
Status: ON_QA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: fontconfig (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Akira TAGOH
Desktop QE
: i18n
: 1496299 (view as bug list)
Depends On:
Blocks: 1549949
  Show dependency treegraph
Reported: 2017-08-22 12:46 EDT by Viktor Ashirov
Modified: 2018-07-03 06:38 EDT (History)
11 users (show)

See Also:
Fixed In Version: fontconfig-2.13.0-4.3.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
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 Knowledge Base (Solution) 3197032 None None None 2017-10-16 03:01 EDT

  None (edit)
Description Viktor Ashirov 2017-08-22 12:46:26 EDT
Description of problem
bz1403957 introduced new dependency for fontconfig.
fontconfig-2.10.95-11.el7 now requires font(:lang=en)

$ repoquery --whatprovides 'font(:lang=en)' | wc -l

That's a huge list, and fonts get picked different each time.
For example, I have stix-fonts or paratype-pt-sans-caption-fonts installed on different machines.

With stix-fonts and java apps there is a known issue: bz1484079
Customers hit it after upgrade to RHEL7.4.

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

How reproducible:

Steps to Reproduce:
1. Install a fresh RHEL7.4 system
2. yum install fontconfig

Actual results:
Additional font package is pulled as a dependency, each time different.

Expected results:
I think fontconfig should depend on some particular known font, that provides font(:lang=en) and doesn't cause issues like the one in bz1484079.

Additional info:
Comment 2 Akira TAGOH 2017-08-22 22:35:48 EDT
Well, fontconfig itself simply requires ANY single font package to get it working. it doesn't care what that is. in fact, that dep was added to address Bug#1403957 which was caused by fontconfig right.

The sort of this issue is a mininum requirement for certain apps but it isn't for fontconfig. this should be fixed in apps as deps or comps for that installation as desktop does.
Comment 3 Viktor Ashirov 2017-08-24 07:53:33 EDT
So what would be the next steps to address that?
Comment 4 Akira TAGOH 2017-08-24 08:13:06 EDT
add a dep of a certain font package to java or to comps for server. dunno if comps helps for upgrade though.
Comment 5 Jens Petersen 2017-10-16 03:00:40 EDT
Maybe it is better to remove the meta font dependency from fontconfig now?

subscription-manager-gui requires Canterell font now at least.
Comment 6 Jens Petersen 2017-10-16 03:01:10 EDT
*** Bug 1496299 has been marked as a duplicate of this bug. ***
Comment 7 Stuart James 2018-01-30 06:46:39 EST
Internal bug reports duplicate, useful to have public visibility.
Comment 11 Akira TAGOH 2018-06-08 06:47:24 EDT
Fixed in fontconfig-2.13.0-4.1.el7

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