Package: src:hovercraft Version: 2.7-10 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/202511/ 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:hovercraft, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:311: 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 :: MIT License See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. ******************************************************************************** [... snipped ...] ******************************************************************************** !! check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'hovercraft.templates.default.js' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'hovercraft.templates.default.js' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'hovercraft.templates.default.js' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'hovercraft.templates.default.js' to be distributed and are already explicitly excluding 'hovercraft.templates.default.js' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'hovercraft.templates.simple' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'hovercraft.templates.simple' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'hovercraft.templates.simple' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'hovercraft.templates.simple' to be distributed and are already explicitly excluding 'hovercraft.templates.simple' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'hovercraft.templates.simple.css' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'hovercraft.templates.simple.css' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'hovercraft.templates.simple.css' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'hovercraft.templates.simple.css' to be distributed and are already explicitly excluding 'hovercraft.templates.simple.css' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) /usr/lib/python3/dist-packages/setuptools/command/build_py.py:212: _Warning: Package 'hovercraft.templates.simple.js' is absent from the `packages` configuration. !! ******************************************************************************** ############################ # Package would be ignored # ############################ Python recognizes 'hovercraft.templates.simple.js' as an importable package[^1], but it is absent from setuptools' `packages` configuration. This leads to an ambiguous overall configuration. If you want to distribute this package, please make sure that 'hovercraft.templates.simple.js' is explicitly added to the `packages` configuration field. Alternatively, you can also rely on setuptools' discovery methods (for example by using `find_namespace_packages(...)`/`find_namespace:` instead of `find_packages(...)`/`find:`). You can read more about "package discovery" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html If you don't want 'hovercraft.templates.simple.js' to be distributed and are already explicitly excluding 'hovercraft.templates.simple.js' via `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`, you can try to use `exclude_package_data`, or `include-package-data=False` in combination with a more fine grained `package-data` configuration. You can read more about "package data files" on setuptools documentation page: - https://setuptools.pypa.io/en/latest/userguide/datafiles.html [^1]: For Python, any directory (with suitable naming) can be imported, even if it does not contain any `.py` files. On the other hand, currently there is no concept of package data directory, all directories are treated like packages. ******************************************************************************** !! check.warn(importable) creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates copying hovercraft/templates/reST.xsl -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default copying hovercraft/templates/default/template.cfg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default copying hovercraft/templates/default/template.xsl -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default/css copying hovercraft/templates/default/css/highlight.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default/css copying hovercraft/templates/default/css/hovercraft.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default/css creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default/js copying hovercraft/templates/default/js/gotoSlide.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default/js copying hovercraft/templates/default/js/hovercraft.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default/js copying hovercraft/templates/default/js/impress.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/default/js creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple copying hovercraft/templates/simple/template.cfg -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple copying hovercraft/templates/simple/template.xsl -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple/css copying hovercraft/templates/simple/css/highlight.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple/css copying hovercraft/templates/simple/css/hovercraft.css -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple/css creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple/js copying hovercraft/templates/simple/js/hovercraft.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple/js copying hovercraft/templates/simple/js/impress.js -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/templates/simple/js debian/rules override_dh_auto_test make[1]: Entering directory '/<<PKGBUILDDIR>>' PYTHONPATH=. dh_auto_test I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/tests/ /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/ I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build; python3.13 -m pytest tests/test_*.py ============================= test session starts ============================== platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>> plugins: typeguard-4.4.4 collected 35 items tests/test_generator.py F......... [ 28%] tests/test_hovercraft.py .FF...... [ 54%] tests/test_parse.py .... [ 65%] tests/test_position.py ....... [ 85%] tests/test_template.py ..... [100%] =================================== FAILURES =================================== ___________________________ GeneratorTests.test_big ____________________________ self = <tests.test_generator.GeneratorTests testMethod=test_big> def test_big(self): template = Template(os.path.join(TEST_DATA, "maximal")) html, deps = rst2html(os.path.join(TEST_DATA, "advanced.rst"), template) > self.assertEqual(html, HTML_OUTPUTS["advanced"]) E AssertionError: b'<!D[2467 chars]s: åäö.</p></div></div><div id=[475 chars]tml>' != b'<!D[2467 chars]s: åäö.</p></div></div><div id=[475 chars]tml>' tests/test_generator.py:24: AssertionError ______________________________ HTMLTests.test_big ______________________________ self = <tests.test_hovercraft.HTMLTests testMethod=test_big> def test_big(self): with TemporaryDirectory() as tmpdir: sys.argv = [ "bin/hovercraft", "-t" + os.path.join(TEST_DATA, "maximal", "template.cfg"), os.path.join(TEST_DATA, "advanced.rst"), tmpdir, ] main() with open(os.path.join(tmpdir, "index.html"), "rb") as outfile: # We have verified the contents in test_generator.py, let's # just check that it writes the right thing: > self.assertEqual(outfile.read(), HTML_OUTPUTS["advanced"]) E AssertionError: b'<!D[2467 chars]s: åäö.</p></div></div><div id=[475 chars]tml>' != b'<!D[2467 chars]s: åäö.</p></div></div><div id=[475 chars]tml>' tests/test_hovercraft.py:98: AssertionError _______________________ HTMLTests.test_default_template ________________________ self = <tests.test_hovercraft.HTMLTests testMethod=test_default_template> def test_default_template(self): with TemporaryDirectory() as tmpdir: # Adding a non-existant subdir, to test that it gets created. tmpdir = os.path.join(tmpdir, "foo") sys.argv = [ "bin/hovercraft", os.path.join(TEST_DATA, "advanced.rst"), tmpdir, ] main() with open(os.path.join(tmpdir, "index.html"), "rb") as outfile: > self.assertEqual(outfile.read(), > HTML_OUTPUTS["default-template"]) E AssertionError: b'<!D[2661 chars]s: åäö.</p></div></div><script [242 chars]tml>' != b'<!D[2661 chars]s: åäö.</p></div></div><script [242 chars]tml>' tests/test_hovercraft.py:203: AssertionError =============================== warnings summary =============================== hovercraft/generate.py:5 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build/hovercraft/generate.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html from pkg_resources import resource_string -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_generator.py::GeneratorTests::test_big - AssertionError: b'... FAILED tests/test_hovercraft.py::HTMLTests::test_big - AssertionError: b'<!D[... FAILED tests/test_hovercraft.py::HTMLTests::test_default_template - Assertion... =================== 3 failed, 32 passed, 1 warning in 0.29s ==================== E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_hovercraft/build; python3.13 -m pytest tests/test_*.py dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make[1]: *** [debian/rules:15: override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:12: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

