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 1484094 - fontconfig-2.10.95-11.el7 pulls random fonts as a dependency
Summary: fontconfig-2.10.95-11.el7 pulls random fonts as a dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: fontconfig
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Akira TAGOH
QA Contact: Desktop QE
URL:
Whiteboard:
: 1496299 (view as bug list)
Depends On:
Blocks: 1549949
TreeView+ depends on / blocked
 
Reported: 2017-08-22 16:46 UTC by Viktor Ashirov
Modified: 2021-12-10 15:13 UTC (History)
12 users (show)

Fixed In Version: fontconfig-2.13.0-4.3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-30 10:19:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 3197032 0 None None None 2017-10-16 07:01:09 UTC
Red Hat Product Errata RHSA-2018:3140 0 None None None 2018-10-30 10:20:48 UTC

Description Viktor Ashirov 2017-08-22 16:46:26 UTC
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
75

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):
fontconfig-2.10.95-11.el7

How reproducible:
Deterministically

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-23 02:35:48 UTC
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 11:53:33 UTC
So what would be the next steps to address that?

Comment 4 Akira TAGOH 2017-08-24 12:13:06 UTC
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 07:00:40 UTC
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 07:01:10 UTC
*** Bug 1496299 has been marked as a duplicate of this bug. ***

Comment 7 Stuart James 2018-01-30 11:46:39 UTC
Internal bug reports duplicate, useful to have public visibility.

Comment 11 Akira TAGOH 2018-06-08 10:47:24 UTC
Fixed in fontconfig-2.13.0-4.1.el7

Comment 14 Viktor Ashirov 2018-08-22 08:57:29 UTC
Build tested: fontconfig-2.13.0-4.3.el7.x86_64

Previously:
# repoquery --requires fontconfig | grep font | sort -u
font(:lang=en)
fontpackages-filesystem

In the build fontconfig-2.13.0-4.3.el7.x86_64:

# repoquery --requires fontconfig | grep font | sort -u 
dejavu-sans-fonts
fontpackages-filesystem

Indeed, dejavu-sans-fonts is pulled as a dependency:

# yum install fontconfig 
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed
--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64
--> Running transaction check
---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed
--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch
---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed
--> Running transaction check
---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                      Arch        Version               Repository
                                                                           Size
================================================================================
Installing:
 fontconfig                   x86_64      2.13.0-4.3.el7        rhel      254 k
Installing for dependencies:
 dejavu-fonts-common          noarch      2.33-6.el7            rhel       64 k
 dejavu-sans-fonts            noarch      2.33-6.el7            rhel      1.4 M
 fontpackages-filesystem      noarch      1.44-8.el7            rhel      9.9 k

Transaction Summary
================================================================================
Install  1 Package (+3 Dependent packages)

Total download size: 1.7 M
Installed size: 5.9 M
Is this ok [y/d/N]: y
Downloading packages:
(1/4): dejavu-fonts-common-2.33-6.el7.noarch.rpm           |  64 kB   00:00     
(2/4): fontconfig-2.13.0-4.3.el7.x86_64.rpm                | 254 kB   00:00     
(3/4): dejavu-sans-fonts-2.33-6.el7.noarch.rpm             | 1.4 MB   00:00     
(4/4): fontpackages-filesystem-1.44-8.el7.noarch.rpm       | 9.9 kB   00:00     
--------------------------------------------------------------------------------
Total                                              7.7 MB/s | 1.7 MB  00:00     
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : fontpackages-filesystem-1.44-8.el7.noarch                    1/4 
  Installing : dejavu-fonts-common-2.33-6.el7.noarch                        2/4 
  Installing : dejavu-sans-fonts-2.33-6.el7.noarch                          3/4 
  Installing : fontconfig-2.13.0-4.3.el7.x86_64                             4/4 
  Verifying  : dejavu-sans-fonts-2.33-6.el7.noarch                          1/4 
  Verifying  : fontconfig-2.13.0-4.3.el7.x86_64                             2/4 
  Verifying  : fontpackages-filesystem-1.44-8.el7.noarch                    3/4 
  Verifying  : dejavu-fonts-common-2.33-6.el7.noarch                        4/4 

Installed:
  fontconfig.x86_64 0:2.13.0-4.3.el7                                            

Dependency Installed:
  dejavu-fonts-common.noarch 0:2.33-6.el7                                       
  dejavu-sans-fonts.noarch 0:2.33-6.el7                                         
  fontpackages-filesystem.noarch 0:1.44-8.el7                                   

Complete!


Marking as VERIFIED.

Comment 21 errata-xmlrpc 2018-10-30 10:19:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:3140


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