[Python-modules-team] Bug#978360: python-whoosh: FTBFS: AttributeError: 'NullMatcherClass' object has no attribute '__name__'

Lucas Nussbaum lucas at debian.org
Sat Dec 26 22:08:12 GMT 2020


Source: python-whoosh
Version: 2.7.4+git6-g9134ad92-5
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201226 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 --buildsystem=pybuild
> dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use)
> I: pybuild base:232: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/externalsort.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/idsets.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/scoring.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/fields.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/index.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/highlight.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/columns.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/searching.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/compat.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/sorting.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/spelling.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/legacy.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/formats.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/multiproc.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/classify.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/collectors.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/writing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/system.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> copying src/whoosh/reading.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> copying src/whoosh/analysis/analyzers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> copying src/whoosh/analysis/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> copying src/whoosh/analysis/ngrams.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> copying src/whoosh/analysis/tokenizers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> copying src/whoosh/analysis/intraword.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> copying src/whoosh/analysis/acore.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> copying src/whoosh/analysis/morph.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> copying src/whoosh/analysis/filters.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/analysis
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/versions.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/cache.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/text.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/varints.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/loading.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/times.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/numlists.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/filelock.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/numeric.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> copying src/whoosh/util/testing.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/util
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/qparser
> copying src/whoosh/qparser/default.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/qparser
> copying src/whoosh/qparser/taggers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/qparser
> copying src/whoosh/qparser/dateparse.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/qparser
> copying src/whoosh/qparser/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/qparser
> copying src/whoosh/qparser/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/qparser
> copying src/whoosh/qparser/plugins.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/qparser
> copying src/whoosh/qparser/syntax.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/qparser
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/automata
> copying src/whoosh/automata/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/automata
> copying src/whoosh/automata/lev.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/automata
> copying src/whoosh/automata/fsa.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/automata
> copying src/whoosh/automata/reg.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/automata
> copying src/whoosh/automata/glob.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/automata
> copying src/whoosh/automata/nfa.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/automata
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/support
> copying src/whoosh/support/unicode.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/support
> copying src/whoosh/support/bench.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/support
> copying src/whoosh/support/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/support
> copying src/whoosh/support/relativedelta.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/support
> copying src/whoosh/support/base85.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/support
> copying src/whoosh/support/levenshtein.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/support
> copying src/whoosh/support/charset.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/support
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/matching
> copying src/whoosh/matching/wrappers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/matching
> copying src/whoosh/matching/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/matching
> copying src/whoosh/matching/combo.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/matching
> copying src/whoosh/matching/mcore.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/matching
> copying src/whoosh/matching/binary.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/matching
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/ranges.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/wrappers.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/terms.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/nested.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/positional.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/compound.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/spans.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/qcolumns.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> copying src/whoosh/query/qcore.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/query
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/codec
> copying src/whoosh/codec/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/codec
> copying src/whoosh/codec/memory.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/codec
> copying src/whoosh/codec/whoosh3.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/codec
> copying src/whoosh/codec/base.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/codec
> copying src/whoosh/codec/plaintext.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/codec
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/filedb
> copying src/whoosh/filedb/structfile.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/filedb
> copying src/whoosh/filedb/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/filedb
> copying src/whoosh/filedb/compound.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/filedb
> copying src/whoosh/filedb/filestore.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/filedb
> copying src/whoosh/filedb/filetables.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/filedb
> copying src/whoosh/filedb/gae.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/filedb
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/lovins.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/stopwords.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/isri.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/dmetaphone.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/morph_en.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/phonetic.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/porter.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/paicehusk.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/porter2.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> copying src/whoosh/lang/wordnet.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/hungarian.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/swedish.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/russian.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/dutch.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/portugese.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/spanish.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/french.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/italian.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/english.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/bases.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/norwegian.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/danish.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/finnish.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/german.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> copying src/whoosh/lang/snowball/romanian.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_whoosh/build/whoosh/lang/snowball
> python3 setup.py build_sphinx
> running build_sphinx
> Running Sphinx v3.4.1
> making output directory... done
> loading intersphinx inventory from http://docs.python.org/objects.inv...
> WARNING: failed to reach any of the inventories with the following issues:
> intersphinx inventory 'http://docs.python.org/objects.inv' not fetchable due to <class 'urllib3.exceptions.ProxySchemeUnknown'>: Not supported proxy scheme None
> building [mo]: targets for 0 po files that are out of date
> building [html]: targets for 58 source files that are out of date
> updating environment: [new config] 58 added, 0 changed, 0 removed
> reading sources... [  1%] analysis
> reading sources... [  3%] api/analysis
> reading sources... [  5%] api/api
> reading sources... [  6%] api/codec/base
> reading sources... [  8%] api/collectors
> reading sources... [ 10%] api/columns
> reading sources... [ 12%] api/fields
> reading sources... [ 13%] api/filedb/filestore
> reading sources... [ 15%] api/filedb/filetables
> reading sources... [ 17%] api/filedb/structfile
> reading sources... [ 18%] api/formats
> reading sources... [ 20%] api/highlight
> reading sources... [ 22%] api/idsets
> reading sources... [ 24%] api/index
> reading sources... [ 25%] api/lang/morph_en
> reading sources... [ 27%] api/lang/porter
> reading sources... [ 29%] api/lang/wordnet
> reading sources... [ 31%] api/matching
> /<<PKGBUILDDIR>>/src/whoosh/collectors.py:docstring of whoosh.collectors.UnlimitedCollector:5: WARNING: Field list ends without a blank line; unexpected unindent.
> /<<PKGBUILDDIR>>/src/whoosh/formats.py:docstring of whoosh.formats.Existence:8: WARNING: Field list ends without a blank line; unexpected unindent.
> 
> Exception occurred:
>   File "/usr/lib/python3/dist-packages/sphinx/util/typing.py", line 160, in _restify_py37
>     return ':obj:`%s.%s`' % (cls.__module__, cls.__name__)
> AttributeError: 'NullMatcherClass' object has no attribute '__name__'
> The full traceback has been saved in /tmp/sphinx-err-hjn4jxlc.log, if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error message can be provided next time.
> A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
> make[1]: *** [debian/rules:11: override_dh_auto_build] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/26/python-whoosh_2.7.4+git6-g9134ad92-5_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!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

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.



More information about the Python-modules-team mailing list