Your message dated Sat, 12 Oct 2024 20:50:22 +0000
with message-id <e1szj4a-00co3c...@fasolo.debian.org>
and subject line Bug#1084323: fixed in nltk 3.9.1-2
has caused the Debian Bug report #1084323,
regarding a2d: FTBFS: Resource wordnet not found.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1084323: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084323
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:a2d
Version: 2.0.5-2
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_a2d
* Building wheel...
Successfully built a2d-2.0.5-py3-none-any.whl
I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
"installer" module
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_a2d/build; 
python3.12 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_a2d/build
configfile: pyproject.toml
plugins: typeguard-4.3.0, flask-1.3.0
collected 24 items

tests/test_app.py ....                                                   [ 16%]
tests/test_data.py ..                                                    [ 25%]
tests/test_gunicorn.py ..........                                        [ 66%]
tests/test_reset.py ....                                                 [ 83%]
tests/test_run.py ..                                                     [ 91%]
tests/test_system.py ..                                                  [100%]

============================== 24 passed in 0.16s ==============================
   create-stamp debian/debhelper-build-stamp
   dh_testroot -O--buildsystem=pybuild
   dh_prep -O--buildsystem=pybuild
   dh_installdirs -O--buildsystem=pybuild
   debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_install
install -d -m 755 debian/a2d/usr/share/scripts/
install -m 755 scripts/*.sh debian/a2d/usr/share/scripts/
find debian/a2d/usr/share/scripts/ -name "*.sh" -exec chmod +x {} \;
dh_auto_install
I: pybuild plugin_pyproject:178: Copying package built for python3.12 to destdir
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -O--buildsystem=pybuild
   debian/rules override_dh_installdocs
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=. https_proxy='127.0.0.1:9' http_proxy='127.0.0.1:9' mkdocs build -d 
build/html
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 84, in __load
    root = nltk.data.find(f"{self.subdir}/{zip_name}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nltk/data.py", line 579, in find
    raise LookupError(resource_not_found)
LookupError:
**********************************************************************
  Resource wordnet not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('wordnet')
  
  For more information see: https://www.nltk.org/data.html

  Attempted to load corpora/wordnet.zip/wordnet/

  Searched in:
    - '/sbuild-nonexistent/nltk_data'
    - '/usr/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************


During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/mkdocs", line 6, in <module>
    cli()
  File "/usr/lib/python3/dist-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/__main__.py", line 283, in 
build_command
    cfg = config.load_config(**kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 378, in 
load_config
    errors, warnings = cfg.validate()
                       ^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 230, in 
validate
    run_failed, run_warnings = self._validate()
                               ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/base.py", line 188, in 
_validate
    self[key] = config_option.validate(value)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 
182, in validate
    return self.run_validation(value)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 
1064, in run_validation
    self.load_plugin_with_namespace(name, cfg)
  File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 
1102, in load_plugin_with_namespace
    return (name, self.load_plugin(name, config))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/mkdocs/config/config_options.py", line 
1120, in load_plugin
    plugin_cls = self.installed_plugins[name].load()
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/material/plugins/search/plugin.py", line 31, 
in <module>
    from .config import SearchConfig
  File "/usr/lib/python3/dist-packages/material/plugins/search/config.py", line 29, 
in <module>
    from mkdocs.contrib.search import LangOption
  File "/usr/lib/python3/dist-packages/mkdocs/contrib/search/__init__.py", line 10, 
in <module>
    from mkdocs.contrib.search.search_index import SearchIndex
  File "/usr/lib/python3/dist-packages/mkdocs/contrib/search/search_index.py", line 
16, in <module>
    from lunr import lunr
  File "/usr/lib/python3/dist-packages/lunr/__init__.py", line 1, in <module>
    from lunr.lunr import lunr, get_default_builder
  File "/usr/lib/python3/dist-packages/lunr/lunr.py", line 1, in <module>
    from lunr import languages as lang
  File "/usr/lib/python3/dist-packages/lunr/languages/__init__.py", line 34, in 
<module>
    import nltk  # type: ignore
    ^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nltk/__init__.py", line 153, in <module>
    from nltk.translate import *
  File "/usr/lib/python3/dist-packages/nltk/translate/__init__.py", line 24, in 
<module>
    from nltk.translate.meteor_score import meteor_score as meteor
  File "/usr/lib/python3/dist-packages/nltk/translate/meteor_score.py", line 14, in 
<module>
    from nltk.stem.api import StemmerI
  File "/usr/lib/python3/dist-packages/nltk/stem/__init__.py", line 34, in 
<module>
    from nltk.stem.wordnet import WordNetLemmatizer
  File "/usr/lib/python3/dist-packages/nltk/stem/wordnet.py", line 13, in 
<module>
    class WordNetLemmatizer:
  File "/usr/lib/python3/dist-packages/nltk/stem/wordnet.py", line 48, in 
WordNetLemmatizer
    morphy = wn.morphy
             ^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 120, in 
__getattr__
    self.__load()
  File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 86, in __load
    raise e
  File "/usr/lib/python3/dist-packages/nltk/corpus/util.py", line 81, in __load
    root = nltk.data.find(f"{self.subdir}/{self.__name}")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/nltk/data.py", line 579, in find
    raise LookupError(resource_not_found)
LookupError:
**********************************************************************
  Resource wordnet not found.
  Please use the NLTK Downloader to obtain the resource:

  >>> import nltk
  >>> nltk.download('wordnet')
  
  For more information see: https://www.nltk.org/data.html

  Attempted to load corpora/wordnet

  Searched in:
    - '/sbuild-nonexistent/nltk_data'
    - '/usr/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/share/nltk_data'
    - '/usr/local/share/nltk_data'
    - '/usr/lib/nltk_data'
    - '/usr/local/lib/nltk_data'
**********************************************************************

make[1]: *** [debian/rules:17: override_dh_installdocs] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
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.

--- End Message ---
--- Begin Message ---
Source: nltk
Source-Version: 3.9.1-2
Done: Santiago Vila <sanv...@debian.org>

We believe that the bug you reported is fixed in the latest version of
nltk, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1084...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanv...@debian.org> (supplier of updated nltk package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 12 Oct 2024 22:01:00 +0200
Source: nltk
Architecture: source
Version: 3.9.1-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Santiago Vila <sanv...@debian.org>
Closes: 1084323
Changes:
 nltk (3.9.1-2) unstable; urgency=medium
 .
   * Team upload.
   [ Colin Watson ]
   * Don't read the WordNet corpus before it is needed. (Closes: #1084323)
Checksums-Sha1:
 c1e017e352582a6e90ab04a15dec198dacf3adf8 1585 nltk_3.9.1-2.dsc
 ef7b1c18371a2f181e959fe6fda0b77dceca2834 9868 nltk_3.9.1-2.debian.tar.xz
 7839d51da2297bf05cf7d6662033163cf6e71d09 6034 nltk_3.9.1-2_source.buildinfo
Checksums-Sha256:
 8f13c129d6baf7c980f2d164d683c280637e533d58b8b1ed29e7621d6e292ed6 1585 
nltk_3.9.1-2.dsc
 a97b11c25a867b23402163aa3d430fd4d9fba79ff7ab2f1dcfe8024a0d9aaafc 9868 
nltk_3.9.1-2.debian.tar.xz
 c924eaea0c8c5d2ee8babb1a2eda571e5e32f06952f2ee91889baf38056596f1 6034 
nltk_3.9.1-2_source.buildinfo
Files:
 c34df995c6c723cac38bdb8ec9f37185 1585 science optional nltk_3.9.1-2.dsc
 efeeabac2de8053c9b79b12313b582cc 9868 science optional 
nltk_3.9.1-2.debian.tar.xz
 a5f30104fe887f950873c411a9570fa2 6034 science optional 
nltk_3.9.1-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmcK15gACgkQQc5/C58b
izLgVAgAgVUYJKKxvpjwXOjaigvtJZ7cSx9GMS1ugshoigVX8D53EzXCHME81YNn
vzZ9DF5qbVo0EOGsqnwhDoZiLBAcVO4wmUEVv+1vQtV7mpdLa5D6pqeITsJ7JG/5
XwFsHPP/VXEJ1Z6+Nlh3QNNWK3R1gnmEuSdcKWXXlDjUR566mVQi6xejZ48AC5WJ
DcT0RHZ0DU0q9VzOCKBnlyjccDhYCAzS1/KeavwO0MOTsEyFVqyqt03OwnKl9pqr
wkxtC5BAmuOzl6L2iv4G531bonslYAKJELhFBjyP/0WDie/NNT+5nYpVLjswI5fe
f1b36iM/LDqN509hgd1Le5ALgTdecQ==
=KqMH
-----END PGP SIGNATURE-----

Attachment: pgp2TY5NrFhvQ.pgp
Description: PGP signature


--- End Message ---

Reply via email to