[Python-modules-team] Bug#1002216: jpylyzer: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Tue Dec 21 16:33:27 GMT 2021


Source: jpylyzer
Version: 2.0.0-3
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211220 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_build
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/byteconv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/__main__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/shared.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/jpylyzer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/mix.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/boxvalidator.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/config.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> copying jpylyzer/etpatch.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/jpylyzer
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests
> copying tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/unit
> copying tests/unit/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/unit
> copying tests/unit/test_jpylyzer.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/unit
> (cd doc && pandoc -s --toc --toc-depth=2 -N --top-level-division=chapter --pdf-engine=xelatex -o jpylyzerUserManual.pdf jpylyzerUserManual.md)
> [WARNING] Note with key '2' defined at line 2280 column 1 but not used.
> [WARNING] Missing character: There is no ∑ (U+2211) (U+2211) in font [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≤ (U+2264) (U+2264) in font [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≥ (U+2265) (U+2265) in font [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≥ (U+2265) (U+2265) in font [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≤ (U+2264) (U+2264) in font [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≥ (U+2265) (U+2265) in font [lmroman10-regular]:mapping=t
> [WARNING] Missing character: There is no ≥ (U+2265) (U+2265) in font [lmroman10-regular]:mapping=t
> (cd doc && pandoc -o jpylyzerUserManual.txt jpylyzerUserManual.md)
> [WARNING] Note with key '2' defined at line 2280 column 1 but not used.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> ============================= test session starts ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 0 items / 1 error
> 
> ==================================== ERRORS ====================================
> ___ ERROR collecting .pybuild/cpython3_3.9/build/tests/unit/test_jpylyzer.py ___
> ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build/tests/unit/test_jpylyzer.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/unit/test_jpylyzer.py:5: in <module>
>     from jpylyzer.jpylyzer import __version__, checkNullArgs, checkNoInput, \
> jpylyzer/jpylyzer.py:45: in <module>
>     from six import u
> E   ModuleNotFoundError: No module named 'six'
> =========================== short test summary info ============================
> ERROR tests/unit/test_jpylyzer.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.06s ===============================
> E: pybuild pybuild:355: test: plugin distutils failed with: exit code=2: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9/build; python3.9 -m pytest tests
> 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/12/20/jpylyzer_2.0.0-3_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.



More information about the Python-modules-team mailing list