Package: src:pydoctor
Version: 24.3.3-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 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
   dh_auto_build -O--buildsystem=pybuild
I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
module
I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel 
--outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib

[... snipped ...]

    class WordNetLemmatizer:
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:48: in WordNetLemmatizer
    morphy = wn.morphy
/usr/lib/python3/dist-packages/nltk/corpus/util.py:120: in __getattr__
    self.__load()
/usr/lib/python3/dist-packages/nltk/corpus/util.py:86: in __load
    raise e
/usr/lib/python3/dist-packages/nltk/corpus/util.py:81: in __load
    root = nltk.data.find(f"{self.subdir}/{self.__name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************
_ ERROR collecting 
.pybuild/cpython3_3.12_pydoctor/build/pydoctor/test/test_type_fields.py _
/usr/lib/python3/dist-packages/nltk/corpus/util.py:84: in __load
    root = nltk.data.find(f"{self.subdir}/{zip_name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet.zip/wordnet/
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************

During handling of the above exception, another exception occurred:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pydoctor/test/__init__.py:13: in <module>
    from pydoctor.templatewriter import IWriter, TemplateLookup
pydoctor/templatewriter/__init__.py:423: in <module>
    from pydoctor.templatewriter.writer import TemplateWriter
pydoctor/templatewriter/writer.py:10: in <module>
    from pydoctor.templatewriter import (
pydoctor/templatewriter/search.py:16: in <module>
    from lunr import lunr, get_default_builder
/usr/lib/python3/dist-packages/lunr/__init__.py:1: in <module>
    from lunr.lunr import lunr, get_default_builder
/usr/lib/python3/dist-packages/lunr/lunr.py:1: in <module>
    from lunr import languages as lang
/usr/lib/python3/dist-packages/lunr/languages/__init__.py:34: in <module>
    import nltk  # type: ignore
/usr/lib/python3/dist-packages/nltk/__init__.py:156: in <module>
    from nltk.stem import *
/usr/lib/python3/dist-packages/nltk/stem/__init__.py:34: in <module>
    from nltk.stem.wordnet import WordNetLemmatizer
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:13: in <module>
    class WordNetLemmatizer:
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:48: in WordNetLemmatizer
    morphy = wn.morphy
/usr/lib/python3/dist-packages/nltk/corpus/util.py:120: in __getattr__
    self.__load()
/usr/lib/python3/dist-packages/nltk/corpus/util.py:86: in __load
    raise e
/usr/lib/python3/dist-packages/nltk/corpus/util.py:81: in __load
    root = nltk.data.find(f"{self.subdir}/{self.__name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************
_ ERROR collecting 
.pybuild/cpython3_3.12_pydoctor/build/pydoctor/test/test_utils.py _
/usr/lib/python3/dist-packages/nltk/corpus/util.py:84: in __load
    root = nltk.data.find(f"{self.subdir}/{zip_name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet.zip/wordnet/
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************

During handling of the above exception, another exception occurred:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pydoctor/test/__init__.py:13: in <module>
    from pydoctor.templatewriter import IWriter, TemplateLookup
pydoctor/templatewriter/__init__.py:423: in <module>
    from pydoctor.templatewriter.writer import TemplateWriter
pydoctor/templatewriter/writer.py:10: in <module>
    from pydoctor.templatewriter import (
pydoctor/templatewriter/search.py:16: in <module>
    from lunr import lunr, get_default_builder
/usr/lib/python3/dist-packages/lunr/__init__.py:1: in <module>
    from lunr.lunr import lunr, get_default_builder
/usr/lib/python3/dist-packages/lunr/lunr.py:1: in <module>
    from lunr import languages as lang
/usr/lib/python3/dist-packages/lunr/languages/__init__.py:34: in <module>
    import nltk  # type: ignore
/usr/lib/python3/dist-packages/nltk/__init__.py:156: in <module>
    from nltk.stem import *
/usr/lib/python3/dist-packages/nltk/stem/__init__.py:34: in <module>
    from nltk.stem.wordnet import WordNetLemmatizer
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:13: in <module>
    class WordNetLemmatizer:
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:48: in WordNetLemmatizer
    morphy = wn.morphy
/usr/lib/python3/dist-packages/nltk/corpus/util.py:120: in __getattr__
    self.__load()
/usr/lib/python3/dist-packages/nltk/corpus/util.py:86: in __load
    raise e
/usr/lib/python3/dist-packages/nltk/corpus/util.py:81: in __load
    root = nltk.data.find(f"{self.subdir}/{self.__name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************
_ ERROR collecting 
.pybuild/cpython3_3.12_pydoctor/build/pydoctor/test/test_visitor.py _
/usr/lib/python3/dist-packages/nltk/corpus/util.py:84: in __load
    root = nltk.data.find(f"{self.subdir}/{zip_name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet.zip/wordnet/
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************

During handling of the above exception, another exception occurred:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pydoctor/test/__init__.py:13: in <module>
    from pydoctor.templatewriter import IWriter, TemplateLookup
pydoctor/templatewriter/__init__.py:423: in <module>
    from pydoctor.templatewriter.writer import TemplateWriter
pydoctor/templatewriter/writer.py:10: in <module>
    from pydoctor.templatewriter import (
pydoctor/templatewriter/search.py:16: in <module>
    from lunr import lunr, get_default_builder
/usr/lib/python3/dist-packages/lunr/__init__.py:1: in <module>
    from lunr.lunr import lunr, get_default_builder
/usr/lib/python3/dist-packages/lunr/lunr.py:1: in <module>
    from lunr import languages as lang
/usr/lib/python3/dist-packages/lunr/languages/__init__.py:34: in <module>
    import nltk  # type: ignore
/usr/lib/python3/dist-packages/nltk/__init__.py:156: in <module>
    from nltk.stem import *
/usr/lib/python3/dist-packages/nltk/stem/__init__.py:34: in <module>
    from nltk.stem.wordnet import WordNetLemmatizer
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:13: in <module>
    class WordNetLemmatizer:
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:48: in WordNetLemmatizer
    morphy = wn.morphy
/usr/lib/python3/dist-packages/nltk/corpus/util.py:120: in __getattr__
    self.__load()
/usr/lib/python3/dist-packages/nltk/corpus/util.py:86: in __load
    raise e
/usr/lib/python3/dist-packages/nltk/corpus/util.py:81: in __load
    root = nltk.data.find(f"{self.subdir}/{self.__name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************
_ ERROR collecting 
.pybuild/cpython3_3.12_pydoctor/build/pydoctor/test/test_zopeinterface.py _
/usr/lib/python3/dist-packages/nltk/corpus/util.py:84: in __load
    root = nltk.data.find(f"{self.subdir}/{zip_name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet.zip/wordnet/
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************

During handling of the above exception, another exception occurred:
/usr/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1310: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
pydoctor/test/__init__.py:13: in <module>
    from pydoctor.templatewriter import IWriter, TemplateLookup
pydoctor/templatewriter/__init__.py:423: in <module>
    from pydoctor.templatewriter.writer import TemplateWriter
pydoctor/templatewriter/writer.py:10: in <module>
    from pydoctor.templatewriter import (
pydoctor/templatewriter/search.py:16: in <module>
    from lunr import lunr, get_default_builder
/usr/lib/python3/dist-packages/lunr/__init__.py:1: in <module>
    from lunr.lunr import lunr, get_default_builder
/usr/lib/python3/dist-packages/lunr/lunr.py:1: in <module>
    from lunr import languages as lang
/usr/lib/python3/dist-packages/lunr/languages/__init__.py:34: in <module>
    import nltk  # type: ignore
/usr/lib/python3/dist-packages/nltk/__init__.py:156: in <module>
    from nltk.stem import *
/usr/lib/python3/dist-packages/nltk/stem/__init__.py:34: in <module>
    from nltk.stem.wordnet import WordNetLemmatizer
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:13: in <module>
    class WordNetLemmatizer:
/usr/lib/python3/dist-packages/nltk/stem/wordnet.py:48: in WordNetLemmatizer
    morphy = wn.morphy
/usr/lib/python3/dist-packages/nltk/corpus/util.py:120: in __getattr__
    self.__load()
/usr/lib/python3/dist-packages/nltk/corpus/util.py:86: in __load
    raise e
/usr/lib/python3/dist-packages/nltk/corpus/util.py:81: in __load
    root = nltk.data.find(f"{self.subdir}/{self.__name}")
/usr/lib/python3/dist-packages/nltk/data.py:579: in find
    raise LookupError(resource_not_found)
E   LookupError:
E   **********************************************************************
E     Resource wordnet not found.
E     Please use the NLTK Downloader to obtain the resource:
E
E     >>> import nltk
E     >>> nltk.download('wordnet')
E     
E     For more information see: https://www.nltk.org/data.html
E
E     Attempted to load corpora/wordnet
E
E     Searched in:
E       - '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/nltk_data'
E       - '/usr/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/share/nltk_data'
E       - '/usr/local/share/nltk_data'
E       - '/usr/lib/nltk_data'
E       - '/usr/local/lib/nltk_data'
E   **********************************************************************
=========================== short test summary info ============================
ERROR pydoctor/test/epydoc/test_epytext.py - LookupError:
ERROR pydoctor/test/epydoc/test_epytext2html.py - LookupError:
ERROR pydoctor/test/epydoc/test_epytext2node.py - LookupError:
ERROR pydoctor/test/epydoc/test_google_numpy.py - LookupError:
ERROR pydoctor/test/epydoc/test_parsed_docstrings.py - LookupError:
ERROR pydoctor/test/epydoc/test_pyval_repr.py - LookupError:
ERROR pydoctor/test/epydoc/test_restructuredtext.py - LookupError:
ERROR pydoctor/test/test_astbuilder.py - LookupError:
ERROR pydoctor/test/test_attrs.py - LookupError:
ERROR pydoctor/test/test_colorize.py - LookupError:
ERROR pydoctor/test/test_commandline.py - LookupError:
ERROR pydoctor/test/test_configparser.py - LookupError:
ERROR pydoctor/test/test_cyclic_imports_base_classes.py - LookupError:
ERROR pydoctor/test/test_epydoc2stan.py - LookupError:
ERROR pydoctor/test/test_model.py - LookupError:
ERROR pydoctor/test/test_mro.py - LookupError:
ERROR pydoctor/test/test_napoleon_iterators.py - LookupError:
ERROR pydoctor/test/test_node2stan.py - LookupError:
ERROR pydoctor/test/test_options.py - LookupError:
ERROR pydoctor/test/test_packages.py - LookupError:
ERROR pydoctor/test/test_pydantic_fields.py - LookupError:
ERROR pydoctor/test/test_qnmatch.py - LookupError:
ERROR pydoctor/test/test_sphinx.py - LookupError:
ERROR pydoctor/test/test_templatewriter.py - LookupError:
ERROR pydoctor/test/test_twisted_python_deprecate.py - LookupError:
ERROR pydoctor/test/test_type_fields.py - LookupError:
ERROR pydoctor/test/test_utils.py - LookupError:
ERROR pydoctor/test/test_visitor.py - LookupError:
ERROR pydoctor/test/test_zopeinterface.py - LookupError:
!!!!!!!!!!!!!!!!!!! Interrupted: 29 errors during collection !!!!!!!!!!!!!!!!!!!
============================== 29 errors in 1.53s ==============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_pydoctor/build; python3.12 -m pytest -W 
'once::DeprecationWarning' -k ' not test_c_module_python_module_name_clash and not 
test_c_module_text_signature and not test_cyclic_imports_base_classes and not 
test_expressions_parens and not test_unquote_naughty_quoted_strings '
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.12 
returned exit code 13
make: *** [debian/rules:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to