Source: pymupdf
Version: 1.22.5+ds1-1
Severity: serious
The package fails to build from source with the latest mupdf:
dh_auto_test -O--buildsystem=pybuild
I: pybuild base:310: cd .pybuild/cpython3_3.11/build; python3.11 -m unittest
discover -v
fitz (unittest.loader._FailedTest.fitz) ... ERROR
======================================================================
ERROR: fitz (unittest.loader._FailedTest.fitz)
----------------------------------------------------------------------
ImportError: Failed to import test module: fitz
Traceback (most recent call last):
File "/usr/lib/python3.11/unittest/loader.py", line 452, in _find_test_path
package = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 362, in
_get_module_from_name
__import__(name)
File ".pybuild/cpython3_3.11/build/fitz/__init__.py", line 10, in <module>
import fitz.fitz as fitz
File ".pybuild/cpython3_3.11/build/fitz/fitz.py", line 14, in <module>
from . import _fitz
ImportError: .pybuild/cpython3_3.11/build/fitz/_fitz.cpython-311-x86_64-linux-gnu.so: undefined
symbol: pdf_lookup_anchor
----------------------------------------------------------------------
Ran 1 test in 0.000s
FAILED (errors=1)