Source: python-bleach
Version: 3.2.1-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201027 ftbfs-bullseye

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 -O--buildsystem=pybuild
> I: pybuild base:217: /usr/bin/python3.9 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach
> copying bleach/callbacks.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach
> copying bleach/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach
> copying bleach/html5lib_shim.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach
> copying bleach/linkifier.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach
> copying bleach/sanitizer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach
> copying bleach/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor
> copying bleach/_vendor/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/_inputstream.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/_tokenizer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/constants.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/html5parser.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/serializer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/_ihatexml.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/alphabeticalattributes.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/whitespace.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/inject_meta_charset.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/optionaltags.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/sanitizer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/filters
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/etree.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/genshi.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/etree_lxml.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/dom.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treewalkers
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/_trie
> copying bleach/_vendor/html5lib/_trie/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/_trie
> copying bleach/_vendor/html5lib/_trie/_base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/_trie
> copying bleach/_vendor/html5lib/_trie/py.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/_trie
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treeadapters
> copying bleach/_vendor/html5lib/treeadapters/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treeadapters
> copying bleach/_vendor/html5lib/treeadapters/genshi.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treeadapters
> copying bleach/_vendor/html5lib/treeadapters/sax.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treeadapters
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/etree.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/etree_lxml.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/dom.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib/treebuilders
> running egg_info
> creating bleach.egg-info
> writing bleach.egg-info/PKG-INFO
> writing dependency_links to bleach.egg-info/dependency_links.txt
> writing requirements to bleach.egg-info/requires.txt
> writing top-level names to bleach.egg-info/top_level.txt
> writing manifest file 'bleach.egg-info/SOURCES.txt'
> reading manifest file 'bleach.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.json' under directory 'bleach'
> writing manifest file 'bleach.egg-info/SOURCES.txt'
> copying bleach/_vendor/README.rst -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor
> copying bleach/_vendor/pip_install_vendor.sh -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor
> copying bleach/_vendor/vendor.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/AUTHORS.rst -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/INSTALLER -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/METADATA -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/RECORD -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/WHEEL -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/top_level.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> I: pybuild base:217: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach
> copying bleach/callbacks.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach
> copying bleach/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach
> copying bleach/html5lib_shim.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach
> copying bleach/linkifier.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach
> copying bleach/sanitizer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach
> copying bleach/utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor
> copying bleach/_vendor/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/_inputstream.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/_utils.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/_tokenizer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/constants.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/html5parser.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/serializer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> copying bleach/_vendor/html5lib/_ihatexml.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/lint.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/alphabeticalattributes.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/whitespace.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/inject_meta_charset.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/optionaltags.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> copying bleach/_vendor/html5lib/filters/sanitizer.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/filters
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/etree.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/genshi.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/etree_lxml.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/dom.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treewalkers
> copying bleach/_vendor/html5lib/treewalkers/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treewalkers
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/_trie
> copying bleach/_vendor/html5lib/_trie/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/_trie
> copying bleach/_vendor/html5lib/_trie/_base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/_trie
> copying bleach/_vendor/html5lib/_trie/py.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/_trie
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treeadapters
> copying bleach/_vendor/html5lib/treeadapters/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treeadapters
> copying bleach/_vendor/html5lib/treeadapters/genshi.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treeadapters
> copying bleach/_vendor/html5lib/treeadapters/sax.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treeadapters
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/etree.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/etree_lxml.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/dom.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treebuilders
> copying bleach/_vendor/html5lib/treebuilders/base.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib/treebuilders
> running egg_info
> writing bleach.egg-info/PKG-INFO
> writing dependency_links to bleach.egg-info/dependency_links.txt
> writing requirements to bleach.egg-info/requires.txt
> writing top-level names to bleach.egg-info/top_level.txt
> reading manifest file 'bleach.egg-info/SOURCES.txt'
> reading manifest template 'MANIFEST.in'
> warning: no files found matching '*.json' under directory 'bleach'
> writing manifest file 'bleach.egg-info/SOURCES.txt'
> copying bleach/_vendor/README.rst -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor
> copying bleach/_vendor/pip_install_vendor.sh -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor
> copying bleach/_vendor/vendor.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/AUTHORS.rst -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/INSTALLER -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/METADATA -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/RECORD -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/WHEEL -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> copying bleach/_vendor/html5lib-1.1.dist-info/top_level.txt -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.8_bleach/build/bleach/_vendor/html5lib-1.1.dist-info
> PYTHONPATH=. http_proxy='localhost' python3 -m sphinx -N -bhtml docs/ 
> build/html
> Running Sphinx v3.2.1
> making output directory... done
> WARNING: html_static_path entry '_static' does not exist
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 6 source files that are out of date
> updating environment: [new config] 6 added, 0 changed, 0 removed
> reading sources... [ 16%] changes
> reading sources... [ 33%] clean
> reading sources... [ 50%] dev
> reading sources... [ 66%] goals
> reading sources... [ 83%] index
> reading sources... [100%] linkify
> 
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [ 16%] changes
> writing output... [ 33%] clean
> writing output... [ 50%] dev
> writing output... [ 66%] goals
> writing output... [ 83%] index
> writing output... [100%] linkify
> 
> generating indices...  genindexdone
> highlighting module code... [ 33%] bleach
> highlighting module code... [ 66%] bleach.linkifier
> highlighting module code... [100%] bleach.sanitizer
> 
> writing additional pages...  searchdone
> copying static files... ... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 1 warning.
> 
> The HTML pages are in build/html.
> /usr/lib/python3/dist-packages/docutils/parsers/rst/states.py:2147: 
> RemovedInSphinx40Warning: highlightlang directive is deprecated. Please use 
> highlight directive instead.
>   result = directive_instance.run()
> /usr/lib/python3/dist-packages/docutils/parsers/rst/states.py:2147: 
> RemovedInSphinx40Warning: highlightlang directive is deprecated. Please use 
> highlight directive instead.
>   result = directive_instance.run()
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build; 
> python3.9 -m pytest tests
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, inifile: setup.cfg
> collected 353 items
> 
> tests/test_callbacks.py ..........                                       [  
> 2%]
> tests/test_clean.py .................................................... [ 
> 17%]
> ...............................................F.F.F.................... [ 
> 37%]
> .......x....x.x............................................              [ 
> 54%]
> tests/test_css.py .....x..xx..................                           [ 
> 62%]
> tests/test_html5lib_shim.py ....................                         [ 
> 68%]
> tests/test_linkify.py .................................................. [ 
> 82%]
> ..................................................                       [ 
> 96%]
> tests/test_unicode.py .........                                          [ 
> 99%]
> tests/test_utils.py ...                                                  
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _ test_uri_value_allowed_protocols[<a 
> href="example.com:8000">valid</a>-kwargs6-<a 
> href="example.com:8000">valid</a>] _
> 
> data = '<a href="example.com:8000">valid</a>', kwargs = {'protocols': 
> ['http']}
> expected = '<a href="example.com:8000">valid</a>'
> 
>     @pytest.mark.parametrize(
>         "data, kwargs, expected",
>         [
>             # javascript: is not allowed by default
>             ("<a href=\"javascript:alert('XSS')\">xss</a>", {}, "<a>xss</a>"),
>             # File protocol is not allowed by default
>             ('<a href="file:///tmp/foo">foo</a>', {}, "<a>foo</a>"),
>             # Specified protocols are allowed
>             (
>                 '<a href="myprotocol://more_text">allowed href</a>',
>                 {"protocols": ["myprotocol"]},
>                 '<a href="myprotocol://more_text">allowed href</a>',
>             ),
>             # Unspecified protocols are not allowed
>             (
>                 '<a href="http://example.com";>invalid href</a>',
>                 {"protocols": ["myprotocol"]},
>                 "<a>invalid href</a>",
>             ),
>             # Anchors are ok
>             (
>                 '<a href="#example.com">foo</a>',
>                 {"protocols": []},
>                 '<a href="#example.com">foo</a>',
>             ),
>             # Allow implicit http if allowed
>             (
>                 '<a href="example.com">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="example.com">valid</a>',
>             ),
>             (
>                 '<a href="example.com:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="example.com:8000">valid</a>',
>             ),
>             (
>                 '<a href="localhost">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="localhost">valid</a>',
>             ),
>             (
>                 '<a href="localhost:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="localhost:8000">valid</a>',
>             ),
>             (
>                 '<a href="192.168.100.100">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="192.168.100.100">valid</a>',
>             ),
>             (
>                 '<a href="192.168.100.100:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="192.168.100.100:8000">valid</a>',
>             ),
>             # Disallow implicit http if disallowed
>             ('<a href="example.com">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="example.com:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="localhost">foo</a>', {"protocols": []}, "<a>foo</a>"),
>             ('<a href="localhost:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="192.168.100.100">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="192.168.100.100:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             # Disallowed protocols with sneaky character entities
>             ('<a href="javas&#x09;cript:alert(1)">alert</a>', {}, 
> "<a>alert</a>"),
>             ('<a href="&#14;javascript:alert(1)">alert</a>', {}, 
> "<a>alert</a>"),
>             # Checking the uri should change it at all
>             (
>                 '<a href="http://example.com/?foo&nbsp;bar";>foo</a>',
>                 {},
>                 '<a href="http://example.com/?foo&nbsp;bar";>foo</a>',
>             ),
>         ],
>     )
>     def test_uri_value_allowed_protocols(data, kwargs, expected):
> >       assert clean(data, **kwargs) == expected
> E       assert '<a>valid</a>' == '<a href="example.com:8000">valid</a>'
> E         - <a>valid</a>
> E         + <a href="example.com:8000">valid</a>
> 
> tests/test_clean.py:546: AssertionError
> _ test_uri_value_allowed_protocols[<a 
> href="localhost:8000">valid</a>-kwargs8-<a href="localhost:8000">valid</a>] _
> 
> data = '<a href="localhost:8000">valid</a>', kwargs = {'protocols': ['http']}
> expected = '<a href="localhost:8000">valid</a>'
> 
>     @pytest.mark.parametrize(
>         "data, kwargs, expected",
>         [
>             # javascript: is not allowed by default
>             ("<a href=\"javascript:alert('XSS')\">xss</a>", {}, "<a>xss</a>"),
>             # File protocol is not allowed by default
>             ('<a href="file:///tmp/foo">foo</a>', {}, "<a>foo</a>"),
>             # Specified protocols are allowed
>             (
>                 '<a href="myprotocol://more_text">allowed href</a>',
>                 {"protocols": ["myprotocol"]},
>                 '<a href="myprotocol://more_text">allowed href</a>',
>             ),
>             # Unspecified protocols are not allowed
>             (
>                 '<a href="http://example.com";>invalid href</a>',
>                 {"protocols": ["myprotocol"]},
>                 "<a>invalid href</a>",
>             ),
>             # Anchors are ok
>             (
>                 '<a href="#example.com">foo</a>',
>                 {"protocols": []},
>                 '<a href="#example.com">foo</a>',
>             ),
>             # Allow implicit http if allowed
>             (
>                 '<a href="example.com">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="example.com">valid</a>',
>             ),
>             (
>                 '<a href="example.com:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="example.com:8000">valid</a>',
>             ),
>             (
>                 '<a href="localhost">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="localhost">valid</a>',
>             ),
>             (
>                 '<a href="localhost:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="localhost:8000">valid</a>',
>             ),
>             (
>                 '<a href="192.168.100.100">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="192.168.100.100">valid</a>',
>             ),
>             (
>                 '<a href="192.168.100.100:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="192.168.100.100:8000">valid</a>',
>             ),
>             # Disallow implicit http if disallowed
>             ('<a href="example.com">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="example.com:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="localhost">foo</a>', {"protocols": []}, "<a>foo</a>"),
>             ('<a href="localhost:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="192.168.100.100">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="192.168.100.100:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             # Disallowed protocols with sneaky character entities
>             ('<a href="javas&#x09;cript:alert(1)">alert</a>', {}, 
> "<a>alert</a>"),
>             ('<a href="&#14;javascript:alert(1)">alert</a>', {}, 
> "<a>alert</a>"),
>             # Checking the uri should change it at all
>             (
>                 '<a href="http://example.com/?foo&nbsp;bar";>foo</a>',
>                 {},
>                 '<a href="http://example.com/?foo&nbsp;bar";>foo</a>',
>             ),
>         ],
>     )
>     def test_uri_value_allowed_protocols(data, kwargs, expected):
> >       assert clean(data, **kwargs) == expected
> E       assert '<a>valid</a>' == '<a href="localhost:8000">valid</a>'
> E         - <a>valid</a>
> E         + <a href="localhost:8000">valid</a>
> 
> tests/test_clean.py:546: AssertionError
> _ test_uri_value_allowed_protocols[<a 
> href="192.168.100.100:8000">valid</a>-kwargs10-<a 
> href="192.168.100.100:8000">valid</a>] _
> 
> data = '<a href="192.168.100.100:8000">valid</a>'
> kwargs = {'protocols': ['http']}
> expected = '<a href="192.168.100.100:8000">valid</a>'
> 
>     @pytest.mark.parametrize(
>         "data, kwargs, expected",
>         [
>             # javascript: is not allowed by default
>             ("<a href=\"javascript:alert('XSS')\">xss</a>", {}, "<a>xss</a>"),
>             # File protocol is not allowed by default
>             ('<a href="file:///tmp/foo">foo</a>', {}, "<a>foo</a>"),
>             # Specified protocols are allowed
>             (
>                 '<a href="myprotocol://more_text">allowed href</a>',
>                 {"protocols": ["myprotocol"]},
>                 '<a href="myprotocol://more_text">allowed href</a>',
>             ),
>             # Unspecified protocols are not allowed
>             (
>                 '<a href="http://example.com";>invalid href</a>',
>                 {"protocols": ["myprotocol"]},
>                 "<a>invalid href</a>",
>             ),
>             # Anchors are ok
>             (
>                 '<a href="#example.com">foo</a>',
>                 {"protocols": []},
>                 '<a href="#example.com">foo</a>',
>             ),
>             # Allow implicit http if allowed
>             (
>                 '<a href="example.com">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="example.com">valid</a>',
>             ),
>             (
>                 '<a href="example.com:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="example.com:8000">valid</a>',
>             ),
>             (
>                 '<a href="localhost">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="localhost">valid</a>',
>             ),
>             (
>                 '<a href="localhost:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="localhost:8000">valid</a>',
>             ),
>             (
>                 '<a href="192.168.100.100">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="192.168.100.100">valid</a>',
>             ),
>             (
>                 '<a href="192.168.100.100:8000">valid</a>',
>                 {"protocols": ["http"]},
>                 '<a href="192.168.100.100:8000">valid</a>',
>             ),
>             # Disallow implicit http if disallowed
>             ('<a href="example.com">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="example.com:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="localhost">foo</a>', {"protocols": []}, "<a>foo</a>"),
>             ('<a href="localhost:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="192.168.100.100">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             ('<a href="192.168.100.100:8000">foo</a>', {"protocols": []}, 
> "<a>foo</a>"),
>             # Disallowed protocols with sneaky character entities
>             ('<a href="javas&#x09;cript:alert(1)">alert</a>', {}, 
> "<a>alert</a>"),
>             ('<a href="&#14;javascript:alert(1)">alert</a>', {}, 
> "<a>alert</a>"),
>             # Checking the uri should change it at all
>             (
>                 '<a href="http://example.com/?foo&nbsp;bar";>foo</a>',
>                 {},
>                 '<a href="http://example.com/?foo&nbsp;bar";>foo</a>',
>             ),
>         ],
>     )
>     def test_uri_value_allowed_protocols(data, kwargs, expected):
> >       assert clean(data, **kwargs) == expected
> E       assert '<a>valid</a>' == '<a href="192.168.100.100:8000">valid</a>'
> E         - <a>valid</a>
> E         + <a href="192.168.100.100:8000">valid</a>
> 
> tests/test_clean.py:546: AssertionError
> =============== 3 failed, 344 passed, 6 xfailed in 0.82 seconds 
> ================
> E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_bleach/build; python3.9 -m pytest tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 
> 3.8" returned exit code 13

The full build log is available from:
   http://qa-logs.debian.net/2020/10/27/python-bleach_3.2.1-1_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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Reply via email to