Package: src:xmldiff
Version: 2.6.3-0.2
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:xmldiff, 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.
        
********************************************************************************

!!
  self._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/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.
        
********************************************************************************

!!
  self._finalize_license_expression()
running clean
removing '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/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
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf docs/build/
rm -rf xmldiff.egg-info/
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --with sphinxdoc --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 
/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.
        
********************************************************************************

!!
  self._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/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.
        
********************************************************************************

!!
  self._finalize_license_expression()
running config
   dh_auto_build -O--buildsystem=pybuild
I: pybuild base:311: /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 :: MIT License

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/__init__.py:94: _DeprecatedInstaller: 
setuptools.installer and fetch_build_eggs are deprecated.
!!

        
********************************************************************************
        Requirements should be satisfied by a PEP 517 installer.
        If you are using pip, you can try `pip install --use-pep517`.
        
********************************************************************************

!!
  dist.fetch_build_eggs(dist.setup_requires)
/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.
        
********************************************************************************

!!
  self._finalize_license_expression()
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
copying ./xmldiff/diff.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
copying ./xmldiff/patch.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
copying ./xmldiff/diff_match_patch.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
copying ./xmldiff/formatting.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
copying ./xmldiff/actions.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
copying ./xmldiff/utils.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
copying ./xmldiff/main.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
copying ./xmldiff/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff
running egg_info
creating xmldiff.egg-info
writing xmldiff.egg-info/PKG-INFO
writing dependency_links to xmldiff.egg-info/dependency_links.txt
writing entry points to xmldiff.egg-info/entry_points.txt
writing requirements to xmldiff.egg-info/requires.txt
writing top-level names to xmldiff.egg-info/top_level.txt
writing manifest file 'xmldiff.egg-info/SOURCES.txt'
reading manifest file 'xmldiff.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 
'docs/build'
adding license file 'LICENSE.txt'
writing manifest file 'xmldiff.egg-info/SOURCES.txt'
   debian/rules execute_after_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/usr/bin/make -C docs html
make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
sphinx-build -b html -d build/doctrees   source build/html
Running Sphinx v8.2.3
loading translations [en]... done
making output directory... done
Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 
'restructuredtext'}`.
building [mo]: targets for 0 po files that are out of date
writing output... 
building [html]: targets for 6 source files that are out of date
updating environment: [new config] 6 added, 0 changed, 0 removed
reading sources... [ 17%] advanced
reading sources... [ 33%] api
reading sources... [ 50%] commandline
reading sources... [ 67%] contributing
reading sources... [ 83%] index
reading sources... [100%] installation

/<<PKGBUILDDIR>>/docs/source/commandline.rst:19: ERROR: Unknown directive type 
"argparse".

.. argparse::
   :module: xmldiff.main
   :func: make_parser
   :prog: xmldiff
   :nodescription: [docutils]
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying static files... 
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docs/build/html/_static/language_data.js
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docs/build/html/_static/basic.css
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docs/build/html/_static/documentation_options.js
Writing evaluated template result to 
/<<PKGBUILDDIR>>/docs/build/html/_static/alabaster.css
copying static files: done
copying extra files... 
copying extra files: done
copying assets: done
writing output... [ 17%] advanced
writing output... [ 33%] api
writing output... [ 50%] commandline
writing output... [ 67%] contributing
writing output... [ 83%] index
writing output... [100%] installation

generating indices... genindex done
writing additional pages... search done
dumping search index in English (code: en)... done
dumping object inventory... done
build succeeded, 1 warning.

The HTML pages are in build/html.

Build finished. The HTML pages are in build/html.
make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m unittest discover -v 
test_diff (tests.test_diff.APITests.test_diff) ... ok
test_match (tests.test_diff.APITests.test_match) ... ok
test_set_trees (tests.test_diff.APITests.test_set_trees) ... ok
test_move_children (tests.test_diff.AlignChildrenTests.test_move_children) ... 
ok
test_move_paragraph (tests.test_diff.AlignChildrenTests.test_move_paragraph) 
... ok
test_same_tree (tests.test_diff.AlignChildrenTests.test_same_tree) ... ok
test_delete_node (tests.test_diff.BestFastMatchTests.test_delete_node) ... ok
test_move_children (tests.test_diff.BestFastMatchTests.test_move_children) ... 
ok
test_move_paragraph (tests.test_diff.BestFastMatchTests.test_move_paragraph) 
... ok
test_compare_with_ignore_attrs 
(tests.test_diff.DiffTests.test_compare_with_ignore_attrs) ... ok
test_ignore_attribute (tests.test_diff.DiffTests.test_ignore_attribute) ... ok
test_insert_comment (tests.test_diff.DiffTests.test_insert_comment) ... ok
test_issue_21_default_namespaces 
(tests.test_diff.DiffTests.test_issue_21_default_namespaces) ... ok
test_multiple_tag_deletes (tests.test_diff.DiffTests.test_multiple_tag_deletes) 
... ok
test_namespace (tests.test_diff.DiffTests.test_namespace) ... ok
test_needs_align (tests.test_diff.DiffTests.test_needs_align) ... ok
test_no_root_match (tests.test_diff.DiffTests.test_no_root_match) ... ok
test_process (tests.test_diff.DiffTests.test_process) ... ok
test_rmldoc (tests.test_diff.DiffTests.test_rmldoc) ... ok
test_sbt_template (tests.test_diff.DiffTests.test_sbt_template) ... ok
test_change_attribs (tests.test_diff.MatchTests.test_change_attribs) ... ok
test_entirely_different (tests.test_diff.MatchTests.test_entirely_different) 
... ok
test_match_complex_text (tests.test_diff.MatchTests.test_match_complex_text) 
... ok
test_match_insert_node (tests.test_diff.MatchTests.test_match_insert_node) ... 
ok
test_move_paragraph (tests.test_diff.MatchTests.test_move_paragraph) ... ok
test_no_xml_id_match (tests.test_diff.MatchTests.test_no_xml_id_match) ... ok
test_same_tree (tests.test_diff.MatchTests.test_same_tree) ... ok
test_with_xmlid (tests.test_diff.MatchTests.test_with_xmlid) ... ok
test_compare_different_leafs 
(tests.test_diff.NodeRatioTests.test_compare_different_leafs) ... ok
test_compare_different_nodes 
(tests.test_diff.NodeRatioTests.test_compare_different_nodes) ... ok
test_compare_equal (tests.test_diff.NodeRatioTests.test_compare_equal) ... ok
test_compare_namespaces 
(tests.test_diff.NodeRatioTests.test_compare_namespaces) ... ok
test_compare_node_rename 
(tests.test_diff.NodeRatioTests.test_compare_node_rename) ... ok
test_compare_with_uniqueattrs 
(tests.test_diff.NodeRatioTests.test_compare_with_uniqueattrs) ... ok
test_compare_with_xmlid 
(tests.test_diff.NodeRatioTests.test_compare_with_xmlid) ... ok
test_different_ratio_modes 
(tests.test_diff.NodeRatioTests.test_different_ratio_modes) ... ok
test_attribute_changes (tests.test_diff.UpdateNodeTests.test_attribute_changes) 
... ok
test_same_tree (tests.test_diff.UpdateNodeTests.test_same_tree) ... ok
test_del_attr (tests.test_formatting.DiffFormatTests.test_del_attr) ... ok
test_del_node (tests.test_formatting.DiffFormatTests.test_del_node) ... ok
test_del_text (tests.test_formatting.DiffFormatTests.test_del_text) ... ok
test_insert_attr (tests.test_formatting.DiffFormatTests.test_insert_attr) ... ok
test_insert_comment (tests.test_formatting.DiffFormatTests.test_insert_comment) 
... ok
test_insert_node (tests.test_formatting.DiffFormatTests.test_insert_node) ... ok
test_move_node (tests.test_formatting.DiffFormatTests.test_move_node) ... ok
test_rename_attr (tests.test_formatting.DiffFormatTests.test_rename_attr) ... ok
test_rename_node (tests.test_formatting.DiffFormatTests.test_rename_node) ... ok
test_update_attr (tests.test_formatting.DiffFormatTests.test_update_attr) ... ok
test_update_text_after_1 
(tests.test_formatting.DiffFormatTests.test_update_text_after_1) ... ok
test_update_text_after_2 
(tests.test_formatting.DiffFormatTests.test_update_text_after_2) ... ok
test_update_text_in (tests.test_formatting.DiffFormatTests.test_update_text_in) 
... ok
test_complex-text-update-left-html 
(tests.test_formatting.HTMLFormatterFileTests.test_complex-text-update-left-html)
 ... ok
test_example-left-html 
(tests.test_formatting.HTMLFormatterFileTests.test_example-left-html) ... ok
test_insert-node-left-html 
(tests.test_formatting.HTMLFormatterFileTests.test_insert-node-left-html) ... ok
test_do_element (tests.test_formatting.PlaceholderMakerTests.test_do_element) 
... ok
test_do_undo_element 
(tests.test_formatting.PlaceholderMakerTests.test_do_undo_element) ... ok
test_do_undo_element_double_format 
(tests.test_formatting.PlaceholderMakerTests.test_do_undo_element_double_format)
 ... ok
test_get_placeholder 
(tests.test_formatting.PlaceholderMakerTests.test_get_placeholder) ... ok
test_placeholder_overflow 
(tests.test_formatting.PlaceholderMakerTests.test_placeholder_overflow) ... ok
test_rml_bug (tests.test_formatting.PlaceholderMakerTests.test_rml_bug) ... ok
test_del_attr (tests.test_formatting.XMLFormatTests.test_del_attr) ... ok
test_del_node (tests.test_formatting.XMLFormatTests.test_del_node) ... ok
test_del_text (tests.test_formatting.XMLFormatTests.test_del_text) ... ok
test_incorrect_xpaths 
(tests.test_formatting.XMLFormatTests.test_incorrect_xpaths) ... ok
test_insert_attr (tests.test_formatting.XMLFormatTests.test_insert_attr) ... ok
test_insert_node (tests.test_formatting.XMLFormatTests.test_insert_node) ... ok
test_move_attr (tests.test_formatting.XMLFormatTests.test_move_attr) ... ok
test_move_node (tests.test_formatting.XMLFormatTests.test_move_node) ... ok
test_rename_node (tests.test_formatting.XMLFormatTests.test_rename_node) ... ok
test_update_attr (tests.test_formatting.XMLFormatTests.test_update_attr) ... ok
test_update_text_after_1 
(tests.test_formatting.XMLFormatTests.test_update_text_after_1) ... ok
test_update_text_after_2 
(tests.test_formatting.XMLFormatTests.test_update_text_after_2) ... ok
test_update_text_in (tests.test_formatting.XMLFormatTests.test_update_text_in) 
... ok
test_all_actions-left-xml 
(tests.test_formatting.XMLFormatterFileTests.test_all_actions-left-xml) ... ok
test_namespace-left-xml 
(tests.test_formatting.XMLFormatterFileTests.test_namespace-left-xml) ... ok
test_rmldoc-left-xml 
(tests.test_formatting.XMLFormatterFileTests.test_rmldoc-left-xml) ... ok
test_sbt_template-left-xml 
(tests.test_formatting.XMLFormatterFileTests.test_sbt_template-left-xml) ... ok
test_all_actions (tests.test_formatting.XmlDiffFormatTests.test_all_actions) 
... ok
test_del_attr (tests.test_formatting.XmlDiffFormatTests.test_del_attr) ... ok
test_del_node (tests.test_formatting.XmlDiffFormatTests.test_del_node) ... ok
test_del_text (tests.test_formatting.XmlDiffFormatTests.test_del_text) ... ok
test_insert_attr (tests.test_formatting.XmlDiffFormatTests.test_insert_attr) 
... ok
test_insert_node (tests.test_formatting.XmlDiffFormatTests.test_insert_node) 
... ok
test_rename_node (tests.test_formatting.XmlDiffFormatTests.test_rename_node) 
... ok
test_update_attr (tests.test_formatting.XmlDiffFormatTests.test_update_attr) 
... ok
test_update_text_after_1 
(tests.test_formatting.XmlDiffFormatTests.test_update_text_after_1) ... ok
test_update_text_after_2 
(tests.test_formatting.XmlDiffFormatTests.test_update_text_after_2) ... ok
test_update_text_in 
(tests.test_formatting.XmlDiffFormatTests.test_update_text_in) ... ok
test_api_diff_files (tests.test_main.MainAPITests.test_api_diff_files) ... ok
test_api_diff_files_with_formatter 
(tests.test_main.MainAPITests.test_api_diff_files_with_formatter) ... ok
test_api_diff_texts (tests.test_main.MainAPITests.test_api_diff_texts) ... ERROR
test_api_diff_trees (tests.test_main.MainAPITests.test_api_diff_trees) ... ok
test_diff_cli_BOM (tests.test_main.MainCLITests.test_diff_cli_BOM)
Test comparison of files encoded with UTF-8 prepended by Byte Order Mark ... ok
test_diff_cli_args (tests.test_main.MainCLITests.test_diff_cli_args) ... ok
test_diff_cli_no_args (tests.test_main.MainCLITests.test_diff_cli_no_args) ... 
ok
test_diff_cli_simple (tests.test_main.MainCLITests.test_diff_cli_simple) ... ok
test_patch_cli_simple (tests.test_main.MainCLITests.test_patch_cli_simple) ... 
ok
test_diff_default_namespace 
(tests.test_patch.DiffPatch.test_diff_default_namespace) ... ok
test_diff_patch (tests.test_patch.DiffPatch.test_diff_patch) ... ok
test_diff_patch (tests.test_patch.ParserTests.test_diff_patch) ... ok
test_make_action (tests.test_patch.ParserTests.test_make_action) ... ok
test_parse (tests.test_patch.ParserTests.test_parse) ... ok
test_parse_broken (tests.test_patch.ParserTests.test_parse_broken) ... ok
test_patch_stream (tests.test_patch.ParserTests.test_patch_stream) ... ok
test_delete_attrib (tests.test_patch.PatcherTests.test_delete_attrib) ... ok
test_delete_node (tests.test_patch.PatcherTests.test_delete_node) ... ok
test_insert_attrib (tests.test_patch.PatcherTests.test_insert_attrib) ... ok
test_insert_comment (tests.test_patch.PatcherTests.test_insert_comment) ... ok
test_insert_node (tests.test_patch.PatcherTests.test_insert_node) ... ok
test_move_node (tests.test_patch.PatcherTests.test_move_node) ... ok
test_rename_attrib (tests.test_patch.PatcherTests.test_rename_attrib) ... ok
test_rename_node (tests.test_patch.PatcherTests.test_rename_node) ... ok
test_update_attrib (tests.test_patch.PatcherTests.test_update_attrib) ... ok
test_update_text_after (tests.test_patch.PatcherTests.test_update_text_after) 
... ok
test_update_text_in (tests.test_patch.PatcherTests.test_update_text_in) ... ok
test_lcs (tests.test_utils.LongestCommonSubsequenceTests.test_lcs) ... ok
test_make_ascii_tree (tests.test_utils.MakeAsciiTreeTests.test_make_ascii_tree) 
... ok
test_breadth_first (tests.test_utils.TraverseTests.test_breadth_first) ... ok
test_post_order (tests.test_utils.TraverseTests.test_post_order) ... ok
test_reverse_post_order 
(tests.test_utils.TraverseTests.test_reverse_post_order) ... ok

======================================================================
ERROR: test_api_diff_texts (tests.test_main.MainAPITests.test_api_diff_texts)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/tests/test_main.py", line 
48, in test_api_diff_texts
    main.diff_texts(infile, infile)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff/main.py", line 
43, in diff_texts
    return _diff(
        etree.fromstring, left, right, diff_options=diff_options, 
formatter=formatter
    )
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/xmldiff/main.py", line 
34, in _diff
    left_tree = parse_method(left, parser)
  File "src/lxml/etree.pyx", line 3428, in lxml.etree.fromstring
  File "src/lxml/parser.pxi", line 2059, in lxml.etree._parseMemoryDocument
  File "src/lxml/parser.pxi", line 1916, in lxml.etree._parseDoc
  File "src/lxml/parser.pxi", line 1941, in lxml.etree._parseDoc_charbuffer
TypeError: memoryview: a bytes-like object is required, not '_io.BufferedReader'

----------------------------------------------------------------------
Ran 120 tests in 0.245s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/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:5: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to