Bug#997489: fonttools: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
Source: fonttools
Version: 4.26.2-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest -k "not afmLib and not tfmLib"
> ============================= test session starts ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg
> collected 121 items / 2 deselected / 5 skipped / 114 selected
>
> fontTools/agl.py . [ 0%]
> fontTools/cffLib/specializer.py . [ 1%]
> fontTools/misc/arrayTools.py .. [ 3%]
> fontTools/misc/bezierTools.py ............... [ 15%]
> fontTools/misc/classifyTools.py . [ 16%]
> fontTools/misc/dictTools.py . [ 17%]
> fontTools/misc/eexec.py .. [ 19%]
> fontTools/misc/filenames.py ... [ 21%]
> fontTools/misc/fixedTools.py ....... [ 27%]
> fontTools/misc/intTools.py . [ 28%]
> fontTools/misc/loggingTools.py .... [ 31%]
> fontTools/misc/roundTools.py . [ 32%]
> fontTools/misc/textTools.py . [ 33%]
> fontTools/misc/timeTools.py . [ 34%]
> fontTools/misc/transform.py ................. [ 48%]
> fontTools/misc/plistlib/__init__.py . [ 49%]
> fontTools/pens/filterPen.py .. [ 51%]
> fontTools/pens/recordingPen.py . [ 52%]
> fontTools/pens/roundingPen.py .. [ 53%]
> fontTools/pens/svgPathPen.py ....... [ 59%]
> fontTools/pens/transformPen.py . [ 60%]
> fontTools/ttLib/sfnt.py . [ 61%]
> fontTools/ttLib/woff2.py ..... [ 65%]
> fontTools/ttLib/tables/__init__.py . [ 66%]
> fontTools/ttLib/tables/O_S_2f_2.py . [ 67%]
> fontTools/ttLib/tables/_f_p_g_m.py . [ 68%]
> fontTools/ttLib/tables/_g_l_y_f.py ............ [ 78%]
> fontTools/ttLib/tables/ttProgram.py .. [ 79%]
> fontTools/ufoLib/__init__.py . [ 80%]
> fontTools/ufoLib/converters.py .. [ 82%]
> fontTools/ufoLib/filenames.py ... [ 84%]
> fontTools/ufoLib/glifLib.py . [ 85%]
> fontTools/ufoLib/kerning.py . [ 86%]
> fontTools/ufoLib/utils.py . [ 87%]
> fontTools/ufoLib/validators.py ...... [ 92%]
> fontTools/unicodedata/__init__.py ..F [ 94%]
> fontTools/varLib/featureVars.py .. [ 96%]
> fontTools/varLib/models.py .... [100%]
>
> =================================== FAILURES ===================================
> _______________ [doctest] fontTools.unicodedata.script_extension _______________
> 071 Return the script extension property assigned to the Unicode character
> 072 'char' as a set of string.
> 073
> 074 >>> script_extension("a") == {'Latn'}
> 075 True
> 076 >>> script_extension(chr(0x060C)) == {'Rohg', 'Syrc', 'Yezi', 'Arab', 'Thaa'}
> Expected:
> True
> Got:
> False
>
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/fontTools/unicodedata/__init__.py:76: DocTestFailure
> =============================== warnings summary ===============================
> fontTools/misc/py23.py:11
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/fontTools/misc/py23.py:11: DeprecationWarning: The py23 module has been deprecated and will be removed in a future release. Please update your code.
> warnings.warn(
>
> fontTools/cffLib/specializer.py:40
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/fontTools/cffLib/specializer.py:40: DeprecationWarning: invalid escape sequence \_
> """Takes a T2CharString program list and returns list of commands.
>
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info ============================
> SKIPPED [1] ../../../../../../usr/lib/python3/dist-packages/_pytest/doctest.py:535: unable to import module local('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/fontTools/cu2qu/cu2qu.py')
> SKIPPED [1] ../../../../../../usr/lib/python3/dist-packages/_pytest/doctest.py:535: unable to import module local('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/fontTools/pens/quartzPen.py')
> SKIPPED [1] ../../../../../../usr/lib/python3/dist-packages/_pytest/doctest.py:535: unable to import module local('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/fontTools/pens/reportLabPen.py')
> SKIPPED [1] ../../../../../../usr/lib/python3/dist-packages/_pytest/doctest.py:535: unable to import module local('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/fontTools/ttLib/removeOverlaps.py')
> SKIPPED [1] ../../../../../../usr/lib/python3/dist-packages/_pytest/doctest.py:535: unable to import module local('/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/fontTools/varLib/plot.py')
> FAILED fontTools/unicodedata/__init__.py::fontTools.unicodedata.script_extension
> ====== 1 failed, 118 passed, 5 skipped, 2 deselected, 2 warnings in 1.99s ======
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest -k "not afmLib and not tfmLib"
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/fonttools_4.26.2-2_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
Reply to: