Bug 2442243

Summary: python-matplotlib: FTBFS in Fedora Rawhide: No match for argument: tex(cmb10.tfm) and more
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-matplotlibAssignee: Tom "spot" Callaway <spotrh>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: epel-packagers-sig, gwync, lbalhar, mjg, paulo.cesar.pereira.de.andrade, python-packagers-sig, quantum.analyst, spotrh
Target Milestone: ---Flags: quantum.analyst: needinfo? (spotrh)
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/python-matplotlib
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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: 2412434, 2433833    

Description Karolina Surma 2026-02-24 08:42:05 UTC
Description of problem:
Package python-matplotlib fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
3.10.8-2.fc44

Steps to Reproduce:
koji build --scratch f45 python-matplotlib-3.10.8-2.fc44.src.rpm

Additional info:
This package is tracked by Koschei. See:
https://koschei.fedoraproject.org/package/python-matplotlib

Reproducible: Always

Actual Results:
In root.log:

DEBUG util.py:459:  Failed to resolve the transaction:
DEBUG util.py:459:  No match for argument: tex(cmb10.tfm)
DEBUG util.py:459:  No match for argument: tex(cmex10.tfm)
DEBUG util.py:459:  No match for argument: tex(cmmi10.tfm)
DEBUG util.py:459:  No match for argument: tex(cmr10.tfm)
DEBUG util.py:459:  No match for argument: tex(cmss10.tfm)
DEBUG util.py:459:  No match for argument: tex(cmsy10.tfm)
DEBUG util.py:459:  No match for argument: tex(cmtt10.tfm)

Comment 1 Michael J Gruber 2026-03-27 20:54:35 UTC
FYI: The fix for the requires is simple, but the build still fails because of 3 test failures in test_norm_callback, test_pcolornearestunits[png], test_rcupdate.
The latter two may be due to changed ghostscript or image libraries (too strict image diff), but the first one is mysterious.

Comment 2 Lumír Balhar 2026-03-31 12:57:15 UTC
I know what is happening here, reported in https://github.com/matplotlib/matplotlib/issues/31429 with proposed solutions. I've built the patched package in the COPR so we should be able to continue the rebuilds.

Comment 3 Elliott Sales de Andrade 2026-03-31 23:27:12 UTC
The missing Requires would be fixed by rebuilding the texlive packages with the new automated Provides generator. The missing ones for this package are in the `texlive-cm` package, which is a subpackage of `texlive-collection-basic` now in Rawhide/F44. cc @spotrh 

The other issues should be handled upstream.