Package: src:python-guizero
Version: 1.5.0+dfsg-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 --with python3 --buildsystem=pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild
        pybuild --configure -i python{version} -p 3.12
D: pybuild pybuild:602: version: 6.20240824
D: pybuild pybuild:603: ['/usr/bin/pybuild', '--configure', '-i', 
'python{version}', '-p', '3.12']
D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, 
detect_only=False, clean_only=False, configure_only=True, build_only=False, 
install_only=False, test_only=False, autopkgtest_only=False, list_systems=False, 
print_args=None, before_clean=None, clean_args=None, after_clean=None, 
before_configure=None, configure_args=None, after_configure=None, before_build=None, 
build_args=None, after_build=None, before_install=None, install_args=None, 
after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, 
test_nose2=False, test_pytest=False, test_tox=False, test_stestr=False, test_custom=False, 
dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', ext_destdir=None, 
ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, 
name='guizero', system=None, versions=['3.12'], interpreter=['python{version}'], 
disable=None, custom_tests=False)
D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 
'cmake'
D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 
'meson'
D: pybuild tools:231: invoking: /usr/bin/dpkg-architecture
D: pybuild debhelper:166: skipping package python-guizero-doc (missing 
${python3:Depends} in Depends/Recommends)
D: pybuild debhelper:174: source=python-guizero, binary 
packages=['python3-guizero']
D: pybuild pybuild:124: Plugin autopkgtest: certainty 0
D: pybuild pybuild:124: Plugin custom: certainty 0
D: pybuild pybuild:124: Plugin distutils: certainty 50
D: pybuild pybuild:124: Plugin pyproject: certainty -20
D: pybuild pybuild:151: detected build system: distutils (certainty: 50%)
D: pybuild plugin_distutils:54: pydistutils config file:
[clean]
all=1
[build]
build_lib=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build
[install]
force=1
install_layout=deb
install_scripts=$base/bin
install_lib=/usr/lib/python3.12/dist-packages
prefix=/usr

I: pybuild base:311: python3.12 setup.py config
D: pybuild tools:231: invoking: python3.12 setup.py config
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build
        pybuild --build -i python{version} -p 3.12
D: pybuild pybuild:602: version: 6.20240824
D: pybuild pybuild:603: ['/usr/bin/pybuild', '--build', '-i', 
'python{version}', '-p', '3.12']
D: pybuild pybuild:39: cfg: Namespace(verbose=True, quiet=False, really_quiet=False, 
detect_only=False, clean_only=False, configure_only=False, build_only=True, 
install_only=False, test_only=False, autopkgtest_only=False, list_systems=False, 
print_args=None, before_clean=None, clean_args=None, after_clean=None, 
before_configure=None, configure_args=None, after_configure=None, before_build=None, 
build_args=None, after_build=None, before_install=None, install_args=None, 
after_install=None, before_test=None, test_args=None, after_test=None, test_nose=False, 
test_nose2=False, test_pytest=False, test_tox=False, test_stestr=False, test_custom=False, 
dir='/<<PKGBUILDDIR>>', destdir='debian/tmp', ext_destdir=None, 
ext_pattern='\\.so(\\.[^/]*)?$', ext_sub_pattern=None, ext_sub_repl=None, install_dir=None, 
name='guizero', system=None, versions=['3.12'], interpreter=['python{version}'], 
disable=None, custom_tests=False)
D: pybuild __init__:37: cannot initialize 'cmake' plugin: Missing command 
'cmake'
D: pybuild __init__:37: cannot initialize 'meson' plugin: Missing command 
'meson'
D: pybuild tools:231: invoking: /usr/bin/dpkg-architecture
D: pybuild debhelper:166: skipping package python-guizero-doc (missing 
${python3:Depends} in Depends/Recommends)
D: pybuild debhelper:174: source=python-guizero, binary 
packages=['python3-guizero']
D: pybuild pybuild:124: Plugin autopkgtest: certainty 0
D: pybuild pybuild:124: Plugin custom: certainty 0
D: pybuild pybuild:124: Plugin distutils: certainty 50
D: pybuild pybuild:124: Plugin pyproject: certainty -20
D: pybuild pybuild:151: detected build system: distutils (certainty: 50%)
I: pybuild base:311: /usr/bin/python3 setup.py build
D: pybuild tools:231: invoking: /usr/bin/python3 setup.py build
running build
running build_py
creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/App.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/Slider.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/CheckBox.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/Window.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/dialog.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/ListBox.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/TextBox.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/base.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/Box.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/PushButton.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/utilities.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/TitleBox.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/__init__.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/Text.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/tkmixins.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/MenuBar.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/ButtonGroup.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/Drawing.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/event.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/RadioButton.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/Waffle.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/Picture.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
copying guizero/Combo.py -> 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_guizero/build/guizero
mv /<<PKGBUILDDIR>>/docs-src/docs/index.md /<<PKGBUILDDIR>>/index.off
cp /<<PKGBUILDDIR>>/docs-src/docs/about.md /<<PKGBUILDDIR>>/about.off
mv /<<PKGBUILDDIR>>/docs-src/docs/about.md 
/<<PKGBUILDDIR>>/docs-src/docs/index.md
mkdocs build -d /<<PKGBUILDDIR>>/html -f /<<PKGBUILDDIR>>/docs-src/mkdocs.yml
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/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:27: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:16: 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.

Reply via email to