Package: src:flatlatex Version: 0.15-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:flatlatex, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with python3 --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py clean /<<PKGBUILDDIR>>/setup.py:17: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with open(path.join(here, 'flatlatex', '__init__.py'), encoding='utf-8') as f: /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() System error running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.14' does not exist -- can't clean it I: pybuild base:317: python3.13 setup.py clean /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() System error running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build' (and everything under it) 'build/bdist.linux-x86_64' does not exist -- can't clean it 'build/scripts-3.13' does not exist -- can't clean it dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:317: python3.14 setup.py config /<<PKGBUILDDIR>>/setup.py:17: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with open(path.join(here, 'flatlatex', '__init__.py'), encoding='utf-8') as f: /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() System error running config I: pybuild base:317: python3.13 setup.py config /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() System error running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:317: /usr/bin/python3.14 setup.py build /<<PKGBUILDDIR>>/setup.py:17: DeprecationWarning: codecs.open() is deprecated. Use open() instead. with open(path.join(here, 'flatlatex', '__init__.py'), encoding='utf-8') as f: /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() System error running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex copying flatlatex/parser.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex copying flatlatex/transliteration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex copying flatlatex/latexfuntypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex copying flatlatex/conv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex copying flatlatex/data.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex copying flatlatex/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex/tests copying flatlatex/tests/test_data_consistancy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex/tests copying flatlatex/tests/test_conv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex/tests copying flatlatex/tests/test_parser.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex/tests copying flatlatex/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex/tests creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex/bin copying flatlatex/bin/flatlatex.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex/bin copying flatlatex/bin/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build/flatlatex/bin I: pybuild base:317: /usr/bin/python3 setup.py build /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! ******************************************************************************** Please consider removing the following classifiers in favor of a SPDX license expression: License :: OSI Approved See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** !! self._finalize_license_expression() System error running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex copying flatlatex/parser.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex copying flatlatex/transliteration.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex copying flatlatex/latexfuntypes.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex copying flatlatex/conv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex copying flatlatex/data.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex copying flatlatex/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/tests copying flatlatex/tests/test_data_consistancy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/tests copying flatlatex/tests/test_conv.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/tests copying flatlatex/tests/test_parser.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/tests copying flatlatex/tests/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/tests creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/bin copying flatlatex/bin/flatlatex.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/bin copying flatlatex/bin/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/bin dh_auto_test -O--buildsystem=pybuild I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build; python3.14 -m pytest ============================= test session starts ============================== platform linux -- Python 3.14.2, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.4 collected 18 items flatlatex/tests/test_conv.py .......... [ 55%] flatlatex/tests/test_data_consistancy.py ......F [ 94%] flatlatex/tests/test_parser.py . [100%] =================================== FAILURES =================================== _______________________ test_replicated_in_the_same_dict _______________________ def test_replicated_in_the_same_dict(): with open(data.__file__, encoding='utf8') as f: data_ast = ast.parse(f.read()) def toobj(x): if type(x) is ast.Tuple: return tuple(toobj(v) for v in x.elts) return x.s for seg in data_ast.body: if type(seg) is ast.Assign: if type(seg.value) is ast.Dict: > keys = [toobj(k) for k in seg.value.keys] ^^^^^^^^ flatlatex/tests/test_data_consistancy.py:121: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ flatlatex/tests/test_data_consistancy.py:115: in toobj return tuple(toobj(v) for v in x.elts) ^^^^^ flatlatex/tests/test_data_consistancy.py:115: in <genexpr> return tuple(toobj(v) for v in x.elts) ^^^^^^^^ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ x = Constant(value='1', kind=None) def toobj(x): if type(x) is ast.Tuple: return tuple(toobj(v) for v in x.elts) > return x.s ^^^ E AttributeError: 'Constant' object has no attribute 's' flatlatex/tests/test_data_consistancy.py:116: AttributeError =========================== short test summary info ============================ FAILED flatlatex/tests/test_data_consistancy.py::test_replicated_in_the_same_dict ========================= 1 failed, 17 passed in 0.07s ========================= E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_flatlatex/build; python3.14 -m pytest I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build; python3.13 -m pytest ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.4 collected 18 items flatlatex/tests/test_conv.py .......... [ 55%] flatlatex/tests/test_data_consistancy.py ....... [ 94%] flatlatex/tests/test_parser.py . [100%] =============================== warnings summary =============================== .pybuild/cpython3_3.13_flatlatex/build/flatlatex/tests/test_data_consistancy.py: 932 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_flatlatex/build/flatlatex/tests/test_data_consistancy.py:116: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead return x.s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ======================= 18 passed, 932 warnings in 0.06s ======================= dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

