Source: pymupdf
Version: 1.25.4+ds1-4
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]

Dear maintainer,

pymupdf FTBFS with Python 3.14:

pipcl.py:657:build_wheel(): Have created wheel size=723642: 
/build/reproducible-path/pymupdf-1.25.4+ds1/.pybuild/cpython3_3.13/pymupdf-1.25.4-cp313-none-linux_x86_64.whl
Successfully built pymupdf-1.25.4-cp313-none-linux_x86_64.whl
I: pybuild plugin_pyproject:155: Unpacking wheel built for python3.13 with 
"installer" module
   dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:317: cd 
/build/reproducible-path/pymupdf-1.25.4+ds1/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest --ignore tests/test_codespell.py --ignore 
tests/test_flake8.py --ignore tests/test_memory.py --ignore 
tests/test_pylint.py --ignore tests/test_spikes.py --ignore 
tests/test_tesseract.py --ignore tests/test_textextract.py --ignore 
tests/test_story.py -k 'not test_3050 and not test_textbox3 and not 
test_subset_fonts and not test_fontarchive and not test_htmlbox1 and not 
test_color_count and not test_4309 and not test_4309 and not test_3624 and not 
test_2246 and not test_1645 and not test_pilsave and not test_deletion'
Segmentation fault
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=139: cd 
/build/reproducible-path/pymupdf-1.25.4+ds1/.pybuild/cpython3_3.14/build; 
python3.14 -m pytest --ignore tests/test_codespell.py --ignore 
tests/test_flake8.py --ignore tests/test_memory.py --ignore 
tests/test_pylint.py --ignore tests/test_spikes.py --ignore 
tests/test_tesseract.py --ignore tests/test_textextract.py --ignore 
tests/test_story.py -k 'not test_3050 and not test_textbox3 and not 
test_subset_fonts and not test_fontarchive and not test_htmlbox1 and not 
test_color_count and not test_4309 and not test_4309 and not test_3624 and not 
test_2246 and not test_1645 and not test_pilsave and not test_deletion'
I: pybuild base:317: cd 
/build/reproducible-path/pymupdf-1.25.4+ds1/.pybuild/cpython3_3.13/build; 
python3.13 -m pytest --ignore tests/test_codespell.py --ignore 
tests/test_flake8.py --ignore tests/test_memory.py --ignore 
tests/test_pylint.py --ignore tests/test_spikes.py --ignore 
tests/test_tesseract.py --ignore tests/test_textextract.py --ignore 
tests/test_story.py -k 'not test_3050 and not test_textbox3 and not 
test_subset_fonts and not test_fontarchive and not test_htmlbox1 and not 
test_color_count and not test_4309 and not test_4309 and not test_3624 and not 
test_2246 and not test_1645 and not test_pilsave and not test_deletion'
============================= test session starts ==============================
platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0
rootdir: 
/build/reproducible-path/pymupdf-1.25.4+ds1/.pybuild/cpython3_3.13/build
configfile: pytest.ini
collected 291 items / 12 deselected / 279 selected

tests/test_2548.py .                                                     [  0%]
tests/test_2634.py .                                                     [  0%]
tests/test_2904.py .                                                     [  1%]
tests/test_2907.py .                                                     [  1%]
tests/test_4141.py .                                                     [  1%]
tests/test_annots.py ................................                    [ 13%]
tests/test_badfonts.py .                                                 [ 13%]
tests/test_balance_count.py .                                            [ 13%]
tests/test_barcode.py .                                                  [ 14%]
tests/test_cluster_drawings.py ...                                       [ 15%]
tests/test_crypting.py .                                                 [ 15%]
tests/test_docs_samples.py s                                             [ 16%]
tests/test_drawings.py ........                                          [ 18%]
tests/test_embeddedfiles.py ..                                           [ 19%]
tests/test_extractimage.py ...                                           [ 20%]
tests/test_font.py ..........                                            [ 24%]
tests/test_general.py .................................................. [ 42%]
.........................                                                [ 51%]
tests/test_geometry.py ..........                                        [ 54%]
tests/test_imagebbox.py ..                                               [ 55%]
tests/test_imagemasks.py ..                                              [ 56%]
tests/test_import.py .                                                   [ 56%]
tests/test_insertimage.py ...                                            [ 57%]
tests/test_insertpdf.py ........                                         [ 60%]
tests/test_linebreaks.py .                                               [ 60%]
tests/test_linequad.py .                                                 [ 61%]
tests/test_metadata.py ...                                               [ 62%]
tests/test_mupdf_regressions.py .....                                    [ 64%]
tests/test_named_links.py ...                                            [ 65%]
tests/test_nonpdf.py ...                                                 [ 66%]
tests/test_object_manipulation.py ....                                   [ 67%]
tests/test_objectstreams.py ...                                          [ 68%]
tests/test_optional_content.py ....                                      [ 70%]
tests/test_page_links.py .                                               [ 70%]
tests/test_pagedelete.py ..                                              [ 71%]
tests/test_pagelabels.py ..                                              [ 72%]
tests/test_pixmap.py ......................                              [ 79%]
tests/test_remove-rotation.py .                                          [ 80%]
tests/test_rtl.py .                                                      [ 80%]
tests/test_showpdfpage.py ..                                             [ 81%]
tests/test_tables.py .............                                       [ 86%]
tests/test_textbox.py .........                                          [ 89%]
tests/test_textsearch.py ...                                             [ 90%]
tests/test_toc.py ............                                           [ 94%]
tests/test_widgets.py ..............                                     [ 99%]
tests/test_word_delimiters.py .                                          [100%]

=========== 278 passed, 1 skipped, 12 deselected in 88.98s (0:01:28) ===========
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:9: binary-arch] Error 25
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2

See
https://buildd.debian.org/status/fetch.php?pkg=pymupdf&arch=amd64&ver=1.25.4%2Bds1-4%2Bb1&stamp=1764760605&raw=0
for more details.

Cheers
-- 
Sebastian Ramacher

Reply via email to