Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952907 - dev-python/matplotlib-3.10.1 - FAILED tests/test_dviread.py::test_dviread - FileNotFoundError: Matplotlib's TeX implementation searched for a file named 'cmr10.tfm' in your texmf tree, but could not find it
Summary: dev-python/matplotlib-3.10.1 - FAILED tests/test_dviread.py::test_dviread - F...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2025-03-29 12:31 UTC by ernsteiswuerfel
Modified: 2025-03-29 12:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (ppc, 3.10.1) (matplotlib-3.10.1:20250329-112553.log.xz,184.11 KB, application/x-xz)
2025-03-29 12:31 UTC, ernsteiswuerfel
Details
emerge --info (file_952907.txt,5.96 KB, text/plain)
2025-03-29 12:34 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2025-03-29 12:31:52 UTC
Created attachment 923254 [details]
build.log.xz (ppc, 3.10.1)

[...]

../matplotlib-3.10.1-python3_12/test/usr/lib/python3.12/site-packages/matplotlib/dviread.py:261: in __iter__
    while self._read():
        self       = <matplotlib.dviread.Dvi object at 0xec656f18>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <matplotlib.dviread.Dvi object at 0xec656f18>

    def _read(self):
        """
        Read one page from the file. Return True if successful,
        False if there were no more pages.
        """
        # Pages appear to start with the sequence
        #   bop (begin of page)
        #   xxx comment
        #   <push, ..., pop>  # if using chemformula
        #   down
        #   push
        #     down
        #     <push, push, xxx, right, xxx, pop, pop>  # if using xcolor
        #     down
        #     push
        #       down (possibly multiple)
        #       push  <=  here, v is the baseline position.
        #         etc.
        # (dviasm is useful to explore this structure.)
        # Thus, we use the vertical position at the first time the stack depth
        # reaches 3, while at least three "downs" have been executed (excluding
        # those popped out (corresponding to the chemformula preamble)), as the
        # baseline (the "down" count is necessary to handle xcolor).
        down_stack = [0]
        self._baseline_v = None
        while True:
            byte = self.file.read(1)[0]
            self._dtable[byte](self, byte)
            if self._missing_font:
>               raise self._missing_font.to_exception()
E               FileNotFoundError: Matplotlib's TeX implementation searched for a file named 'cmr10.tfm' in your texmf tree, but could not find it

byte       = 84
down_stack = [1, 3, 4, 4]
name       = '_fnt_num_immediate'
self       = <matplotlib.dviread.Dvi object at 0xec656f18>

../matplotlib-3.10.1-python3_12/test/usr/lib/python3.12/site-packages/matplotlib/dviread.py:343: FileNotFoundError

[...]

FAILED tests/test_dviread.py::test_dviread - FileNotFoundError: Matplotlib's TeX implementation searched for a file named 'cmr10.tfm' in your texmf tree, but could not find it
= 1 failed, 8664 passed, 1109 skipped, 32 xfailed, 1 xpassed, 153 warnings, 3 rerun in 153.53s (0:02:33) =
 * pytest failed with python3.12
 * ERROR: dev-python/matplotlib-3.10.1::gentoo failed (test phase):
Comment 1 ernsteiswuerfel archtester 2025-03-29 12:34:47 UTC
Created attachment 923255 [details]
emerge --info