Package: src:lxml-html-clean Version: 0.4.2-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build. Below you will find how the build ends (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202509/ 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 could not 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:lxml-html-clean, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py clean running clean removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/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 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild I: pybuild base:311: python3.13 setup.py config running config dh_auto_build -O--buildsystem=pybuild I: pybuild base:311: /usr/bin/python3 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/lxml_html_clean copying lxml_html_clean/clean.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/lxml_html_clean copying lxml_html_clean/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/lxml_html_clean copying lxml_html_clean/__init__.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/lxml_html_clean copying lxml_html_clean/clean.pyi -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/lxml_html_clean copying lxml_html_clean/py.typed -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/lxml_html_clean dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build; python3.13 -m unittest discover -v test_allow_and_remove (tests.test_clean.CleanerTest.test_allow_and_remove) ... ok test_allow_tags (tests.test_clean.CleanerTest.test_allow_tags) ... ok test_ascii_control_chars_removed (tests.test_clean.CleanerTest.test_ascii_control_chars_removed) ... ok test_ascii_control_chars_removed_from_bytes (tests.test_clean.CleanerTest.test_ascii_control_chars_removed_from_bytes) ... ok test_clean_invalid_root_tag (tests.test_clean.CleanerTest.test_clean_invalid_root_tag) ... ok test_clean_with_comments (tests.test_clean.CleanerTest.test_clean_with_comments) ... ok test_formaction_attribute_in_button_input (tests.test_clean.CleanerTest.test_formaction_attribute_in_button_input) ... ok test_host_whitelist_invalid (tests.test_clean.CleanerTest.test_host_whitelist_invalid) ... FAIL test_host_whitelist_slash_type_confusion (tests.test_clean.CleanerTest.test_host_whitelist_slash_type_confusion) ... ok test_host_whitelist_sneaky_userinfo (tests.test_clean.CleanerTest.test_host_whitelist_sneaky_userinfo) ... FAIL test_host_whitelist_valid (tests.test_clean.CleanerTest.test_host_whitelist_valid) ... FAIL test_image_data_links (tests.test_clean.CleanerTest.test_image_data_links) ... ok test_image_data_links_in_inline_style (tests.test_clean.CleanerTest.test_image_data_links_in_inline_style) ... ok test_image_data_links_in_style (tests.test_clean.CleanerTest.test_image_data_links_in_style) ... ok test_memory_usage_many_elements_with_long_tails (tests.test_clean.CleanerTest.test_memory_usage_many_elements_with_long_tails) ... skipped 'memory-profiler is not available' test_possibly_invalid_url_with_whitelist (tests.test_clean.CleanerTest.test_possibly_invalid_url_with_whitelist) ... ok test_possibly_invalid_url_without_whitelist (tests.test_clean.CleanerTest.test_possibly_invalid_url_without_whitelist) ... ok test_remove_unknown_tags (tests.test_clean.CleanerTest.test_remove_unknown_tags) ... ok test_safe_attrs_excluded (tests.test_clean.CleanerTest.test_safe_attrs_excluded) ... ok test_safe_attrs_included (tests.test_clean.CleanerTest.test_safe_attrs_included) ... ok test_sneaky_import_in_style (tests.test_clean.CleanerTest.test_sneaky_import_in_style) ... ok test_sneaky_js_in_math_style (tests.test_clean.CleanerTest.test_sneaky_js_in_math_style) ... ok test_sneaky_js_in_style_comment_math_svg (tests.test_clean.CleanerTest.test_sneaky_js_in_style_comment_math_svg) ... ok test_sneaky_js_in_style_comment_noscript (tests.test_clean.CleanerTest.test_sneaky_js_in_style_comment_noscript) ... ok test_sneaky_noscript_in_style (tests.test_clean.CleanerTest.test_sneaky_noscript_in_style) ... ok test_sneaky_schemes_in_style (tests.test_clean.CleanerTest.test_sneaky_schemes_in_style) ... ok test_sneaky_urls_in_style (tests.test_clean.CleanerTest.test_sneaky_urls_in_style) ... ok test_svg_data_links (tests.test_clean.CleanerTest.test_svg_data_links) ... ok ====================================================================== FAIL: test_host_whitelist_invalid (tests.test_clean.CleanerTest.test_host_whitelist_invalid) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/tests/test_clean.py", line 343, in test_host_whitelist_invalid self.assertEqual(expected, cleaner.clean_html(html)) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '<div></div>' != '<div></div></div>' - <div></div> + <div></div></div> ====================================================================== FAIL: test_host_whitelist_sneaky_userinfo (tests.test_clean.CleanerTest.test_host_whitelist_sneaky_userinfo) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/tests/test_clean.py", line 350, in test_host_whitelist_sneaky_userinfo self.assertEqual(expected, cleaner.clean_html(html)) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '<div></div>' != '<div></div></div>' - <div></div> + <div></div></div> ====================================================================== FAIL: test_host_whitelist_valid (tests.test_clean.CleanerTest.test_host_whitelist_valid) ---------------------------------------------------------------------- Traceback (most recent call last): File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build/tests/test_clean.py", line 337, in test_host_whitelist_valid self.assertEqual(expected, cleaner.clean_html(html)) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '<div><iframe src="https://example.com/page"></iframe></div>' != '<div><iframe src="https://example.com/page"></div></iframe></div>' - <div><iframe src="https://example.com/page"></iframe></div> + <div><iframe src="https://example.com/page"></div></iframe></div> ? ++++++++++++ ---------------------------------------------------------------------- Ran 28 tests in 0.005s FAILED (failures=3, skipped=1) E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_lxml-html-clean/build; python3.13 -m unittest discover -v dh_auto_test: error: pybuild --test -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:10: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

